diff --git a/src/pages/shop/IncreaseStoreManager.vue b/src/pages/shop/IncreaseStoreManager.vue
index abcb172..2e472f9 100644
--- a/src/pages/shop/IncreaseStoreManager.vue
+++ b/src/pages/shop/IncreaseStoreManager.vue
@@ -17,6 +17,7 @@
+
@@ -32,7 +33,7 @@
class="table-img-qr-code"/>
-
+
@@ -57,7 +58,7 @@
开通企业微信号
@@ -85,6 +86,38 @@
+
+
+ 开通企业微信号
+
+
+
+
item.level === 3);
+ let customerIds = customerList.map(item => item.id);
+ let request =
+ {userId: that.userId, customerIds: JSON.stringify(customerIds)};
+ staff.downShopData(request, function (data) {
+ data = data.data.results;
+ if (data) {
+ that.cpShopList = [{"id": 0, "name": "全部"}];
+ for (let i = 0; i < data.length; i++) {
+ let entity = data[i];
+ if (entity) {
+ that.cpShopList.push(entity);
+ }
+ }
+ }
+ })
+ },
changeData: function (value) {
if (value == 0) {
return null;
@@ -436,9 +512,23 @@
cancel: function () {
this.isShow = false;
},
- open: function (item) {
+ open: function () {
this.isShowAdd = true;
+ this.formValidate = {
+ alias: "",
+ cpUserName: "",
+ userId: "",
+ id: "",
+ mobile: "",
+ checkbox: ['vail'],
+ storeId: "",
+ shopName: "",
+ }
+ },
+ openModify: function (item) {
+ this.isShowModify = true;
+
this.formValidate = {
alias: item.alias,
cpUserName: item.cpUserName,
@@ -465,8 +555,17 @@
this.$Message.error('Fail!');
}
},
+ handleSubmitAdd(value) {
+ if (value) {
+ // 调用添加接口
+ this.addStoreWX(value);
+ } else {
+ this.$Message.error('Fail!');
+ }
+ },
handleReset(name) {
this.$refs[name].resetFields();
+ this.isShowModify = false;
this.isShowAdd = false;
},
downLoadImportExcel() {