Commit 29dd5bb1 by Kyle_Li

上传接口

parent 8d85892f
......@@ -66,7 +66,10 @@ const urlConfig = {
batchUpdateStore: '/api-member/batch-update-members-store', // 回收站修改主门店
getStorePicture: '/api-member/enterprise-info', // 获取企业配置信息
getReturnMember: '/api-member/query-members-page', // 回收站门店
getSubStoreList: 'api-member/members-sub-store-list' // 获取选中会员的协管门店
getSubStoreList: 'api-member/members-sub-store-list', // 获取选中会员的协管门店
getBatchRecord: '/api-member/queryBatchRecord', // 批量积分导入-获取积分导入数据
downLoadExcelTemplate: '/api-member/downLoadExcelTemplate', // 批量积分导入-下载积分导入模板
uploadExecl: '/api-member/uploadExecl', // 批量积分导入-导入数据
}
const defaultUrl = Object.assign({}, urlConfig);
......
......@@ -789,12 +789,54 @@ export default {
checkStatus(err);
});
},
handleVisibleBatch(val) {
if(this.multipleList.length < 1) {
this.batchValue = '';
checkFalse('请勾选会员');
return false;
}
// handleVisibleBatch(val) {
// if (this.batchValue == "bulkIntegral") {
// this.$router.push({ path: '/bulkIntegral', query: { ids: 123 } });
// } else if(this.multipleList.length < 1) {
// this.batchValue = '';
// checkFalse('请勾选会员');
// return false;
// }
// if (!val) {
// if (this.batchValue == "integral") {
// this.dilogIntegralVisible = true;
// this.getEnterpriseInfo();
// if (this.$refs.IntegralForm) {
// this.$refs.IntegralForm.resetFields();
// }
// }
// if (this.batchValue == "grade") {
// this.dilogGradeVisible = true;
// if (this.$refs.gradeForm) {
// this.$refs.gradeForm.resetFields();
// }
// }
// if (this.batchValue == "mainstore") {
// this.dilogMainstoreVisible = true;
// this.selectStore(val);
// if (this.$refs.mainstoreForm) {
// this.$refs.mainstoreForm.resetFields();
// }
// this.storeName = '';
// }
// if (this.batchValue == "store") {
// this.dilogSubStoreVisible = true;
// if (this.$refs.storeForm) {
// this.$refs.storeForm.resetFields();
// }
// this.getSubStoreList();
// }
// }
// },
handleFocusBatch() {
if (this.batchValue == "bulkIntegral") {
this.batchValue = '';
this.$router.push({ path: '/bulkIntegral', query: { ids: 123 } });
} else if(this.multipleList.length < 1) {
this.batchValue = '';
checkFalse('请勾选会员');
return false;
}
if (!val) {
if (this.batchValue == "integral") {
this.dilogIntegralVisible = true;
......@@ -824,16 +866,6 @@ export default {
}
this.getSubStoreList();
}
if (this.batchValue == "bulkIntegral") {
this.$router.push({ path: '/bulkIntegral', query: { ids: 123 } });
}
}
},
handleFocusBatch() {
if (this.multipleList.length < 1) {
this.batchValue = "";
checkFalse("请勾选会员");
return false;
}
},
selectAllmultipleList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment