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