Commit 7da63d56 by 前端

企微机器人多选报错

1 parent 0e48c274
......@@ -289,7 +289,17 @@ export default {
},
//勾选
handleCheck(val) {
console.log(val)
if (val.children.length) {
this.$message({
message: '企微机器人只能选择单个员工',
type: 'error',
})
this.$refs[this.memberRef].setCheckedKeys([])
return
}
this.currentCheckData = val
console.log(111)
this.$refs[this.memberRef].setCheckedKeys([val.id])
if (!this.treeArr.length) {
this.treeArr = [this.currentCheckData]
......
......@@ -165,6 +165,10 @@ const sceneOption = [
label: '1.3众筹活动',
value: '3',
},
{
label: '5.2私域用户代运营',
value: '4',
},
]
const statusNum = {
ALL: '',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!