Commit bcee2f63 by 史敦盼

Merge branch 'sdp-v1'

2 parents 9ce7ab24 22837867
Showing with 8 additions and 3 deletions
......@@ -337,6 +337,7 @@
</el-form-item>
<el-form-item label="上级元素:" v-if="ruleForm.let3 && preArcList.length">
<el-select
@change="handlePreEleChange"
:disabled="is_add_edit == 'view' ? true : false"
v-model="ruleForm.preArc"
filterable
......@@ -1241,13 +1242,13 @@ export default {
}
},
getShangJiJieDianSelect(item) {console.log('item',item)
getShangJiJieDianSelect(eleName) {
//上级节点下拉框值
const params = {
archiType: this.archiType,
archiAssetState: this.searchParams.archiAssetState,
archiStage: this.searchParams.archiStage,
eleName: item?.elementName
eleName
// parentAssetId: this.archiBelongId,
// archiAssetTypeId: this.archiAssetTypeId,
}
......@@ -1281,6 +1282,10 @@ export default {
}
})
},
handlePreEleChange(data) {
this.getShangJiJieDianSelect(data)
},
zuJianLeiXingSelectChange(data) {
//所属元素选择后
......@@ -1289,7 +1294,7 @@ export default {
const currentItem = this.zuJianLeiXingSelect.find(
(item) => item.elementId == data,
)
this.getShangJiJieDianSelect(currentItem)
// this.getShangJiJieDianSelect(currentItem)
this.getPreArc(currentItem)
if (currentItem?.eaLevel == 1) {
this.disabled1 = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!