Commit 4140bf9a by cwq0219
2 parents ebb02e4c 1437b4f3
......@@ -371,7 +371,6 @@ export default {
const obj = {
productId: item.dictValue,
menuIdList: menuIdList,
partSelectList: [],
functionIdList: list
}
requestList.push(obj)
......@@ -416,8 +415,9 @@ export default {
this.treeData = _.cloneDeep(res.data)
this.treeData.forEach((i, idx) => {
const arr = data.responseList[idx]
const idList = arr.menuIdList.concat(arr.functionIdList)
// setCheckedKeys全选的接口,
this.$refs[`tree${idx}`][0].setCheckedKeys(arr.menuIdList)
this.$refs[`tree${idx}`][0].setCheckedKeys(idList)
})
this.$nextTick(() => {
this.addStyle()
......
......@@ -112,10 +112,10 @@
></own-cus-com>
</template>
<template slot="funValueTxt">
<div class="edit-tip">有属性值和属性文本示例1:1,奥迪;2,宝马;3,奔驰</div>
<div class="edit-tip">有属性值和属性文本示例1:1:奥迪;2:宝马;3:奔驰</div>
</template>
<template slot="newFunValueTxt">
<div :class="{'edit-tip': editForm.id }">有属性值和属性文本示例1:1,奥迪;2,宝马;3,奔驰</div>
<div :class="{'edit-tip': editForm.id }">有属性值和属性文本示例1:1:奥迪;2:宝马;3:奔驰</div>
</template>
</glsx-combi-form>
</glsx-dialog>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!