Commit a0ea7744 by 史敦盼

修改上级节点接口参数

1 parent 23948cfe
Showing with 6 additions and 1 deletions
......@@ -390,7 +390,7 @@
</el-form-item>
<el-form-item label="上级节点:" prop="let2">
<el-cascader
:disabled="is_add_edit == 'view' || !ruleForm.preArc ? true : false"
:disabled="is_add_edit == 'view' || !ruleForm.preArc && !treeSelectData.length ? true : false"
v-model="cascaderValue"
:options="treeSelectData"
filterable
......@@ -742,6 +742,8 @@ export default {
this.selectGraphShape = ''
this.addDialog = false
this.graphId = ''
this.treeSelectData = []
this.preArcList = []
},
getChooseSvg(svgInfo) {
this.selectGraphSrc = svgInfo.icon
......@@ -1309,6 +1311,9 @@ export default {
getPreArc({eleName: item?.elementName}).then(res => {
if(res.code === 200) {
this.preArcList = res.data
if(!this.preArcList.length) {
this.getShangJiJieDianSelect(item?.elementName)
}
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!