Commit bcee2f63 by 史敦盼

Merge branch 'sdp-v1'

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