Commit 0f4779e6 by caoyanzhi

fix:修复企业详情查看共享范围bug

parent dcb39db5
......@@ -68,7 +68,7 @@
</el-table>
<el-dialog :visible.sync="bindInfo.show" title="门店授权范围" width="600px" @closed="onBindInfoClose">
<el-form label-width="140px">
<el-form-item label="门店绑定授权范围">
<el-form-item :label="bindInfo.type == 0 ? '门店绑定授权范围' : '门店共享授权范围'">
<el-select style="width: 392px" disabled multiple :value="bindInfo.selected">
<el-option v-for="el in bindInfo.data" :key="el.id" :value="el.id" :label="el.name"></el-option>
</el-select>
......@@ -99,6 +99,7 @@ export default {
},
bindInfo: {
show: false,
type: 0,
data: [],
selected: []
}
......@@ -140,6 +141,7 @@ export default {
operationType: type, // 0 门店绑定 1门店分享
}
this.bindInfo.show = true;
this.bindInfo.type = type;
storeRangeDetail(params).then(res => {
this.bindInfo.data = res.result || [];
this.bindInfo.selected = this.bindInfo.data.map(el => el.id);
......
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