添加注释,删除无用代码

This commit is contained in:
mabo
2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

View File

@@ -49,7 +49,7 @@
},
data() {
return {
distributionStatusList,
distributionStatusList, // 分销状态
openSearch: true, // 显示搜索
loading: true, // 表单加载状态
searchForm: { // 搜索框初始化对象

View File

@@ -52,7 +52,6 @@
startDate: "", // 起始时间
endDate: "" // 终止时间
},
selectDate: null,
form: { // 添加或编辑表单对象初始化数据
memberName: "",
},
@@ -144,16 +143,6 @@
this.searchForm.pageSize = 10;
this.getDataList();
},
handleReset() {
this.$refs.searchForm.resetFields();
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.selectDate = null;
this.searchForm.startDate = "";
this.searchForm.endDate = "";
// 重新加载数据
this.getDataList();
},
changeSort(e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;

View File

@@ -70,11 +70,10 @@ export default {
data() {
return {
cashStatusList, // 状态列表
openSearch: true, // 显示搜索
loading: true, // 表单加载状态
modalVisible: false, // 添加或编辑显示
modalTitle: "", // 添加或编辑标题
result: -1,
result: -1, // 是否通过
searchForm: { // 搜索框初始化对象
pageNumber: 1, // 当前页数
pageSize: 10, // 页面大小
@@ -87,7 +86,7 @@ export default {
memberName: "",
price: "",
},
auditForm: {
auditForm: { // 编辑表单
result: -1
},
submitLoading: false, // 添加或编辑提交状态

View File

@@ -64,10 +64,10 @@
components: {},
data() {
return {
timeRange: [],
orderStatusList,
timeRange: [], // 范围时间
orderStatusList, // 订单状态列表
shopList: [], // 店铺列表
distributionId: this.$route.query.id,
distributionId: this.$route.query.id, // 分销id
openSearch: true, // 显示搜索
openTip: true, // 显示提示
loading: true, // 表单加载状态

View File

@@ -24,7 +24,6 @@
data() {
return {
loading: true, // 表单加载状态
selectDate: null,
form: { // 添加或编辑表单对象初始化数据
isOpen: ""
},