Commit 5800ccba by 杨北旺

修改企微关联页面

1 parent cc760693
......@@ -75,14 +75,14 @@ export default {
label: 'label',
children: 'children',
checkStrictly: true,
disabled: 'disabled'
disabled: 'entmicroName'
},
mypropsParam: {
label: 'departmentName',
value: 'id',
children: 'children',
checkStrictly: true,
disabled: 'disabled'
disabled: 'relevanceMerchant'
},
dataList: [],
customWidth: 113,
......@@ -127,27 +127,27 @@ export default {
},
getDepartmentList() {
getDepartment({ id: 1 }).then(res => {
res.map(item=>{
if(item.relevanceMerchant){
item.disabled = true
}else{
item.disabled = false
}
return item
})
// res.map(item=>{
// if(item.relevanceMerchant){
// item.disabled = true
// }else{
// item.disabled = false
// }
// return item
// })
this.departmentList = res
})
},
getMerchantList() {
getMerchantTree().then(res => {
res.map(item=>{
if(item.entmicroName){
item.disabled = true
}else{
item.disabled = false
}
return item
})
// res.map(item=>{
// if(item.entmicroName){
// item.disabled = true
// }else{
// item.disabled = false
// }
// return item
// })
this.shopList = res
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!