Commit 47f0c859 by 无尘

fix: 修改添加管理员判断

parent 857c8b29
.bind-store-body[data-v-5d7bf61d]{width:331px;padding:10px;margin:0 auto;border:1px solid #e4e7ed}.bind-store-body .w-215[data-v-5d7bf61d]{width:215px}.bind-store-body .w-115[data-v-5d7bf61d]{width:115px}.bind-store-body .select-tree-wrap[data-v-5d7bf61d]{height:323px;overflow-y:auto}.bind-store-body .select-tree-wrap .el-tree[data-v-5d7bf61d]{width:309px;height:323px;overflow-x:auto}.bind-store-body .select-tree-wrap .el-tree .custom-tree-node[data-v-5d7bf61d]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.bind-store-body .select-tree-wrap .el-select-dropdown__wrap[data-v-5d7bf61d]{max-height:343px}.bind-store-body .select-tree-wrap .el-checkbox-group[data-v-5d7bf61d]{overflow-x:auto}.bind-store-body .select-tree-wrap .el-checkbox-group ul[data-v-5d7bf61d]{height:100%}.bind-store-body .select-tree-wrap .el-checkbox-group ul li[data-v-5d7bf61d]{overflow:unset;text-overflow:unset}.bind-store-body[data-v-6b5961d4]{width:331px;padding:10px;margin:20px 0 0 0;border:1px solid #e4e7ed}.bind-store-body .w-215[data-v-6b5961d4]{width:215px}.bind-store-body .w-115[data-v-6b5961d4]{width:115px}.bind-store-body .select-tree-wrap[data-v-6b5961d4]{height:323px;overflow-y:auto}.bind-store-body .select-tree-wrap .el-tree[data-v-6b5961d4]{width:309px;height:323px;overflow-x:auto}.bind-store-body .select-tree-wrap .el-tree .custom-tree-node[data-v-6b5961d4]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.daily-store-select[data-v-76ddfdb6]{position:relative;width:331px;min-height:398px;margin:20px 0 0 0;padding:10px;border:1px solid #e4e7ed}.daily-store-select .define-search-select .el-select-dropdown__wrap[data-v-76ddfdb6]{max-height:343px}.daily-store-select .define-search-select .el-checkbox-group[data-v-76ddfdb6]{overflow-x:auto;height:338px}.daily-store-select .define-search-select .el-checkbox-group ul[data-v-76ddfdb6]{height:100%}.daily-store-select .define-search-select .el-checkbox-group ul li[data-v-76ddfdb6]{overflow:unset;text-overflow:unset}.store-auth-range[data-v-2868cea9]{display:block;-webkit-transition:all .3s;transition:all .3s}.store-auth-range.show-range .common-mask[data-v-2868cea9],.store-auth-range.show-range[data-v-2868cea9]{display:block}.store-auth-range.show-range .bind-body[data-v-2868cea9]{right:0}.store-auth-range.hide-range .common-mask[data-v-2868cea9]{display:none;opacity:0}.store-auth-range.hide-range .bind-body[data-v-2868cea9]{right:-620px}.common-mask[data-v-2868cea9]{left:0;opacity:.5;background:#000;z-index:1000}.bind-body[data-v-2868cea9],.common-mask[data-v-2868cea9]{position:fixed;top:0;bottom:0;right:0;-webkit-transition:all .3s;transition:all .3s}.bind-body[data-v-2868cea9]{width:604px;padding:20px;z-index:5000;overflow-y:auto;background:#fff}.my-customer-wrap[data-v-00167920]{height:100%}.my-customer-wrap .navwrap[data-v-00167920]{padding-left:0;background:#f0f2f5}.my-customer-wrap .apps-content-right[data-v-00167920]{width:100%;padding:20px}.my-customer-wrap .apps-content-right .admin-list-wrap .add-admin-btn[data-v-00167920]{width:114px;height:32px;line-height:32px;text-align:center;border:1px solid #e4e7ed}.my-customer-wrap .apps-content-right .store-item-content[data-v-00167920]{position:relative;display:inline-block;vertical-align:middle;width:302px;height:32px;line-height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.my-customer-wrap .apps-content-right .store-item-content.admin-select[data-v-00167920]{border:none}.my-customer-wrap .apps-content-right .store-item-content .el-select__tags[data-v-00167920]{max-width:348px;white-space:nowrap;overflow:hidden}
\ No newline at end of file
.bind-store-body[data-v-5d7bf61d]{width:331px;padding:10px;margin:0 auto;border:1px solid #e4e7ed}.bind-store-body .w-215[data-v-5d7bf61d]{width:215px}.bind-store-body .w-115[data-v-5d7bf61d]{width:115px}.bind-store-body .select-tree-wrap[data-v-5d7bf61d]{height:323px;overflow-y:auto}.bind-store-body .select-tree-wrap .el-tree[data-v-5d7bf61d]{width:309px;height:323px;overflow-x:auto}.bind-store-body .select-tree-wrap .el-tree .custom-tree-node[data-v-5d7bf61d]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.bind-store-body .select-tree-wrap .el-select-dropdown__wrap[data-v-5d7bf61d]{max-height:343px}.bind-store-body .select-tree-wrap .el-checkbox-group[data-v-5d7bf61d]{overflow-x:auto}.bind-store-body .select-tree-wrap .el-checkbox-group ul[data-v-5d7bf61d]{height:100%}.bind-store-body .select-tree-wrap .el-checkbox-group ul li[data-v-5d7bf61d]{overflow:unset;text-overflow:unset}.bind-store-body[data-v-3b0d2344]{width:331px;padding:10px;margin:20px 0 0 0;border:1px solid #e4e7ed}.bind-store-body .w-215[data-v-3b0d2344]{width:215px}.bind-store-body .w-115[data-v-3b0d2344]{width:115px}.bind-store-body .select-tree-wrap[data-v-3b0d2344]{height:323px;overflow-y:auto}.bind-store-body .select-tree-wrap .el-tree[data-v-3b0d2344]{width:309px;height:323px;overflow-x:auto}.bind-store-body .select-tree-wrap .el-tree .custom-tree-node[data-v-3b0d2344]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.daily-store-select[data-v-4f92e523]{position:relative;width:331px;min-height:398px;margin:20px 0 0 0;padding:10px;border:1px solid #e4e7ed}.daily-store-select .define-search-select .el-select-dropdown__wrap[data-v-4f92e523]{max-height:343px}.daily-store-select .define-search-select .el-checkbox-group[data-v-4f92e523]{overflow-x:auto;height:338px}.daily-store-select .define-search-select .el-checkbox-group ul[data-v-4f92e523]{height:100%}.daily-store-select .define-search-select .el-checkbox-group ul li[data-v-4f92e523]{overflow:unset;text-overflow:unset}.store-auth-range[data-v-2d791360]{display:block;-webkit-transition:all .3s;transition:all .3s}.store-auth-range.show-range .common-mask[data-v-2d791360],.store-auth-range.show-range[data-v-2d791360]{display:block}.store-auth-range.show-range .bind-body[data-v-2d791360]{right:0}.store-auth-range.hide-range .common-mask[data-v-2d791360]{display:none;opacity:0}.store-auth-range.hide-range .bind-body[data-v-2d791360]{right:-620px}.common-mask[data-v-2d791360]{left:0;opacity:.5;background:#000;z-index:1000}.bind-body[data-v-2d791360],.common-mask[data-v-2d791360]{position:fixed;top:0;bottom:0;right:0;-webkit-transition:all .3s;transition:all .3s}.bind-body[data-v-2d791360]{width:604px;padding:20px;z-index:5000;overflow-y:auto;background:#fff}.my-customer-wrap[data-v-aeb6739a]{height:100%}.my-customer-wrap .navwrap[data-v-aeb6739a]{padding-left:0;background:#f0f2f5}.my-customer-wrap .apps-content-right[data-v-aeb6739a]{width:100%;padding:20px}.my-customer-wrap .apps-content-right .admin-list-wrap .add-admin-btn[data-v-aeb6739a]{width:114px;height:32px;line-height:32px;text-align:center;border:1px solid #e4e7ed}.my-customer-wrap .apps-content-right .store-item-content[data-v-aeb6739a]{position:relative;display:inline-block;vertical-align:middle;width:302px;height:32px;line-height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.my-customer-wrap .apps-content-right .store-item-content.admin-select[data-v-aeb6739a]{border:none}.my-customer-wrap .apps-content-right .store-item-content .el-select__tags[data-v-aeb6739a]{max-width:348px;white-space:nowrap;overflow:hidden}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-0d204189.9cb54b4c.css rel=prefetch><link href=css/chunk-16a8dcde.2a3bfb87.css rel=prefetch><link href=css/chunk-184176c0.e72073d4.css rel=prefetch><link href=css/chunk-197fa0b0.35b95f7b.css rel=prefetch><link href=css/chunk-19db1fc6.ba890a33.css rel=prefetch><link href=css/chunk-1a478984.0a8aa86e.css rel=prefetch><link href=css/chunk-1b93a01a.01549a8d.css rel=prefetch><link href=css/chunk-21e5a3a4.e94b4a3f.css rel=prefetch><link href=css/chunk-231fd9c7.2ad631a5.css rel=prefetch><link href=css/chunk-29a5079e.0d5615a8.css rel=prefetch><link href=css/chunk-2a71205a.2b864288.css rel=prefetch><link href=css/chunk-2d2aadc8.4845b06e.css rel=prefetch><link href=css/chunk-3837ab1b.c9900cd9.css rel=prefetch><link href=css/chunk-3b33df6c.90bf2234.css rel=prefetch><link href=css/chunk-563bb835.b437b2a0.css rel=prefetch><link href=css/chunk-5ad5501a.2e633b37.css rel=prefetch><link href=css/chunk-63cd2773.5fbdcef6.css rel=prefetch><link href=css/chunk-640ce348.5f9e0b2e.css rel=prefetch><link href=css/chunk-68d4add8.a141f7a0.css rel=prefetch><link href=css/chunk-785e0d7f.f35acc8c.css rel=prefetch><link href=css/chunk-7adb782a.4c1804c0.css rel=prefetch><link href=css/chunk-7bd988f4.ff9ed7a9.css rel=prefetch><link href=css/chunk-7ea1f4c1.2edbc58c.css rel=prefetch><link href=css/chunk-c106e1c6.6b520689.css rel=prefetch><link href=css/chunk-dee25b04.1397cae0.css rel=prefetch><link href=css/chunk-dff92c8e.a5b77268.css rel=prefetch><link href=css/chunk-ea9d6bee.492c0f7d.css rel=prefetch><link href=css/chunk-ff451ebc.c468c061.css rel=prefetch><link href=js/chunk-0d204189.f58688a5.js rel=prefetch><link href=js/chunk-16a8dcde.422b0989.js rel=prefetch><link href=js/chunk-184176c0.6eb7a3e9.js rel=prefetch><link href=js/chunk-197fa0b0.1ed90177.js rel=prefetch><link href=js/chunk-19db1fc6.10fbf935.js rel=prefetch><link href=js/chunk-1a478984.d5bc8ab8.js rel=prefetch><link href=js/chunk-1b93a01a.19b25334.js rel=prefetch><link href=js/chunk-21e5a3a4.1ca962cf.js rel=prefetch><link href=js/chunk-231fd9c7.b001a13c.js rel=prefetch><link href=js/chunk-29a5079e.65b38a47.js rel=prefetch><link href=js/chunk-2a71205a.284a7dd8.js rel=prefetch><link href=js/chunk-2d2aadc8.5363cd53.js rel=prefetch><link href=js/chunk-3837ab1b.93ccee45.js rel=prefetch><link href=js/chunk-3b33df6c.aca0c3e0.js rel=prefetch><link href=js/chunk-563bb835.d14ab9f1.js rel=prefetch><link href=js/chunk-5ad5501a.0b1aa86a.js rel=prefetch><link href=js/chunk-63cd2773.7c931d9c.js rel=prefetch><link href=js/chunk-640ce348.096d7742.js rel=prefetch><link href=js/chunk-68d4add8.8df048f3.js rel=prefetch><link href=js/chunk-737eaf4a.62ab001e.js rel=prefetch><link href=js/chunk-785e0d7f.88919fce.js rel=prefetch><link href=js/chunk-7adb782a.d3a50b41.js rel=prefetch><link href=js/chunk-7bd988f4.c45457b1.js rel=prefetch><link href=js/chunk-7ea1f4c1.fd6c8daa.js rel=prefetch><link href=js/chunk-c106e1c6.54134e3b.js rel=prefetch><link href=js/chunk-dee25b04.1540469b.js rel=prefetch><link href=js/chunk-dff92c8e.8ed97cac.js rel=prefetch><link href=js/chunk-ea9d6bee.51f6b850.js rel=prefetch><link href=js/chunk-ff451ebc.638818ce.js rel=prefetch><link href=css/app.dc6afa5f.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.8dcf10d5.js rel=preload as=script><link href=js/chunk-vendors.e7b30cab.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.dc6afa5f.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=js/chunk-vendors.e7b30cab.js></script><script src=js/app.8dcf10d5.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-0d204189.9cb54b4c.css rel=prefetch><link href=css/chunk-16a8dcde.2a3bfb87.css rel=prefetch><link href=css/chunk-184176c0.e72073d4.css rel=prefetch><link href=css/chunk-197fa0b0.35b95f7b.css rel=prefetch><link href=css/chunk-19db1fc6.ba890a33.css rel=prefetch><link href=css/chunk-1a478984.0a8aa86e.css rel=prefetch><link href=css/chunk-1b93a01a.01549a8d.css rel=prefetch><link href=css/chunk-231fd9c7.2ad631a5.css rel=prefetch><link href=css/chunk-29a5079e.0d5615a8.css rel=prefetch><link href=css/chunk-2a71205a.2b864288.css rel=prefetch><link href=css/chunk-2c2b71e0.76866b49.css rel=prefetch><link href=css/chunk-2d2aadc8.4845b06e.css rel=prefetch><link href=css/chunk-3837ab1b.c9900cd9.css rel=prefetch><link href=css/chunk-3b33df6c.90bf2234.css rel=prefetch><link href=css/chunk-535f230e.e1e67e57.css rel=prefetch><link href=css/chunk-563bb835.b437b2a0.css rel=prefetch><link href=css/chunk-5ad5501a.2e633b37.css rel=prefetch><link href=css/chunk-63cd2773.5fbdcef6.css rel=prefetch><link href=css/chunk-640ce348.5f9e0b2e.css rel=prefetch><link href=css/chunk-68d4add8.a141f7a0.css rel=prefetch><link href=css/chunk-785e0d7f.f35acc8c.css rel=prefetch><link href=css/chunk-7bd988f4.ff9ed7a9.css rel=prefetch><link href=css/chunk-7ea1f4c1.2edbc58c.css rel=prefetch><link href=css/chunk-c106e1c6.6b520689.css rel=prefetch><link href=css/chunk-dee25b04.1397cae0.css rel=prefetch><link href=css/chunk-dff92c8e.a5b77268.css rel=prefetch><link href=css/chunk-ea9d6bee.492c0f7d.css rel=prefetch><link href=css/chunk-ff451ebc.c468c061.css rel=prefetch><link href=js/chunk-0d204189.f58688a5.js rel=prefetch><link href=js/chunk-16a8dcde.422b0989.js rel=prefetch><link href=js/chunk-184176c0.6eb7a3e9.js rel=prefetch><link href=js/chunk-197fa0b0.1ed90177.js rel=prefetch><link href=js/chunk-19db1fc6.10fbf935.js rel=prefetch><link href=js/chunk-1a478984.d5bc8ab8.js rel=prefetch><link href=js/chunk-1b93a01a.19b25334.js rel=prefetch><link href=js/chunk-231fd9c7.b001a13c.js rel=prefetch><link href=js/chunk-29a5079e.65b38a47.js rel=prefetch><link href=js/chunk-2a71205a.284a7dd8.js rel=prefetch><link href=js/chunk-2c2b71e0.f4fa80a1.js rel=prefetch><link href=js/chunk-2d2aadc8.5363cd53.js rel=prefetch><link href=js/chunk-3837ab1b.93ccee45.js rel=prefetch><link href=js/chunk-3b33df6c.aca0c3e0.js rel=prefetch><link href=js/chunk-535f230e.7105d118.js rel=prefetch><link href=js/chunk-563bb835.d14ab9f1.js rel=prefetch><link href=js/chunk-5ad5501a.0b1aa86a.js rel=prefetch><link href=js/chunk-63cd2773.7c931d9c.js rel=prefetch><link href=js/chunk-640ce348.096d7742.js rel=prefetch><link href=js/chunk-68d4add8.8df048f3.js rel=prefetch><link href=js/chunk-737eaf4a.62ab001e.js rel=prefetch><link href=js/chunk-785e0d7f.88919fce.js rel=prefetch><link href=js/chunk-7bd988f4.c45457b1.js rel=prefetch><link href=js/chunk-7ea1f4c1.fd6c8daa.js rel=prefetch><link href=js/chunk-c106e1c6.54134e3b.js rel=prefetch><link href=js/chunk-dee25b04.1540469b.js rel=prefetch><link href=js/chunk-dff92c8e.8ed97cac.js rel=prefetch><link href=js/chunk-ea9d6bee.51f6b850.js rel=prefetch><link href=js/chunk-ff451ebc.638818ce.js rel=prefetch><link href=css/app.dc6afa5f.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.ae5f3545.js rel=preload as=script><link href=js/chunk-vendors.e7b30cab.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.dc6afa5f.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=js/chunk-vendors.e7b30cab.js></script><script src=js/app.ae5f3545.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-07 10:38:48
* @LastEditTime: 2020-08-07 11:18:36
-->
<!--
授权选择门店绑定弹窗
......@@ -223,13 +223,14 @@ export default {
},
rangeData(val) {
const that = this;
console.log(val);
console.log('rangeData:',val);
that.selectGroupData = that.selectMode == 1 ? JSON.parse(JSON.stringify(val)) : [];
that.selectStoreData = that.selectMode == 2 ? JSON.parse(JSON.stringify(val)) : [];
that.selectList = JSON.parse(JSON.stringify(val)) || [];
},
enterpriseId(val) {
const that = this;
console.log('enterpriseId:',val);
if (!!val) {
that.getData();
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-07 10:40:19
* @LastEditTime: 2020-08-07 11:17:09
-->
<!--
门店绑定-选择分组(仅展示)
......@@ -187,6 +187,7 @@ export default {
},
companyId(val) {
const that = this;
console.log('group:',val)
if (!!val) {
that.getGroup();
}
......@@ -194,6 +195,7 @@ export default {
},
mounted() {
const that = this;
console.log('group:',that.companyId,that.selectGroup)
if (that.companyId) {
that.getGroup();
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-08-06 18:27:11
* @LastEditTime: 2020-08-07 11:17:51
-->
<!--
门店绑定-选择门店(仅展示)
......@@ -164,6 +164,7 @@ export default {
},
companyId(val) {
const that = this;
console.log('store:',val)
if (!!val) {
that.getStoreData();
}
......@@ -171,6 +172,7 @@ export default {
},
mounted() {
const that = this;
console.log('store:',that.companyId,that.selectGroup)
that.stores = [];
that.storesCopy = [];
if (!!that.companyId) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-04 16:33:10
* @LastEditTime: 2020-08-07 11:14:06
-->
<template>
<div class="contacts-wrap common-set-wrap">
......@@ -36,7 +36,7 @@
</div>
</li>
</ul>
<div class="no-search-data font-14 color-909399">暂无搜索结果</div>
<div v-if="!searchData.length" class="no-search-data font-14 color-909399">暂无搜索结果</div>
</div>
</div>
</div>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-07 10:47:01
* @LastEditTime: 2020-08-07 11:26:55
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -154,7 +154,9 @@ export default {
flag = false;
}
})
console.log(arr)
arr.forEach(ele => {
delete ele.bindRange;
})
if (!flag) {
that.adminForm.enterpriseList = [];
}else {
......@@ -163,19 +165,19 @@ export default {
that.loadBtn = true;
that.$refs[formName].validate((valid) => {
if (valid) {
that.postSave()
that.postSave(arr)
} else {
that.loadBtn = false;
return false;
}
});
},
postSave() {
postSave(arr) {
const that = this;
let para = {
roleId: that.$route.query.roleId,
staffIds: that.$route.query.staffId || that.adminForm.adminList.map(ele => ele.levelId).join(','),
enterpriseRange: JSON.stringify(that.tableData),
enterpriseRange: JSON.stringify(arr),
wxEnterpriseId: that.wxEnterpriseId
};
addAdmin(para)
......@@ -222,7 +224,7 @@ export default {
that.editRow = row;
that.enterpriseId = row.enterpriseId;
that.selectMode = row.bindStoreMode;
that.rangeData = row.bindRange || [];
that.rangeData = JSON.parse(JSON.stringify(row.bindRange)) || [];
that.showAuthFlag = true;
},
closeSet(type, arr) {
......
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