国内库 - 高级检索 - 责任部门和责任工程师要改成右侧弹框
This commit is contained in:
@@ -1712,12 +1712,24 @@
|
||||
<!-- </el-form-item>-->
|
||||
<!-- 责任工程师-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="zrgcsOptions.options"
|
||||
:config="zrgcsOptions"
|
||||
v-model="advanceSearchMapping['ZRGCS']"
|
||||
></custom-select-array>
|
||||
<el-form-item
|
||||
prop="ZRGCSUser"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">责任工程师</template>
|
||||
<el-input v-model="advanceSearchMapping['ZRGCS']" placeholder="查询责任工程师"
|
||||
@click.native="choiceZRRS('zrgcs', '查询责任工程师', advanceSearchMapping['ZRGCS'])">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<!-- <template>-->
|
||||
<!-- <custom-select-array-->
|
||||
<!-- :key="zrgcsOptions.options"-->
|
||||
<!-- :config="zrgcsOptions"-->
|
||||
<!-- v-model="advanceSearchMapping['ZRGCS']"-->
|
||||
<!-- ></custom-select-array>-->
|
||||
<!-- </template>-->
|
||||
<!-- <el-form-item label="责任工程师" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.ZRGCS" placeholder="根据责任工程师查找" clearable filterable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
@@ -1791,12 +1803,29 @@
|
||||
<!-- </el-form-item>-->
|
||||
<!-- 责任部门-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="zrbmOptions.options"
|
||||
:config="zrbmOptions"
|
||||
v-model="advanceSearchMapping['ZRBM']"
|
||||
></custom-select-array>
|
||||
<el-form-item
|
||||
prop="ZRBM"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">责任部门</template>
|
||||
<el-input
|
||||
:key="zrbmOptions.options"
|
||||
:config="zrbmOptions"
|
||||
clearable
|
||||
v-model="advanceSearchMapping['ZRBM']"
|
||||
:disabled="formdisableflag" placeholder="查询责任部门"
|
||||
@click.native="choiceZRBM('ZRBMId', '查询责任部门', advanceSearchMapping['ZRBM'])">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<!-- <template>-->
|
||||
<!-- <custom-select-array-->
|
||||
<!-- :key="zrbmOptions.options"-->
|
||||
<!-- :config="zrbmOptions"-->
|
||||
<!-- v-model="advanceSearchMapping['ZRBM']"-->
|
||||
<!-- ></custom-select-array>-->
|
||||
<!-- </template>-->
|
||||
<!-- <el-form-item label="责任部门" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.ZRBM" placeholder="根据责任部门查找" clearable filterable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
@@ -5521,7 +5550,7 @@ export default {
|
||||
})
|
||||
},
|
||||
choiceZRRS (type, title, id) {
|
||||
console.log('2077',title)
|
||||
console.log('2077',type, title, id)
|
||||
this.nodeList = []
|
||||
this.nodeList.push(id)
|
||||
this.userType = type
|
||||
@@ -5529,7 +5558,7 @@ export default {
|
||||
this.modalShowRoleFlag = true
|
||||
},
|
||||
checkedRole2 (data) {
|
||||
console.log('1712',this.drawerTitle)
|
||||
console.log('1712',data)
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
data.forEach( item => {
|
||||
@@ -5544,6 +5573,8 @@ export default {
|
||||
this.sarStandardsInfoEO['WSSMR'] = nameList
|
||||
}else if (this.drawerTitle === '选择责任工程师'){
|
||||
this.sarStandardsInfoEO['ZRGCS'] = nameList
|
||||
}else if (this.drawerTitle === '查询责任工程师'){
|
||||
this.advanceSearchMapping['ZRGCS'] = nameList
|
||||
}
|
||||
|
||||
},
|
||||
@@ -5577,7 +5608,7 @@ export default {
|
||||
},
|
||||
drawerCheckZRBM(data) {
|
||||
|
||||
console.log("5389", data);
|
||||
console.log("5389", this.drawerTitle);
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
data.forEach(item => {
|
||||
@@ -5590,9 +5621,12 @@ export default {
|
||||
nameList += item.name
|
||||
// }
|
||||
})
|
||||
|
||||
this.sarStandardsInfoEO.ZRBMId = idList;
|
||||
this.sarStandardsInfoEO['ZRBM'] = nameList;
|
||||
if (this.drawerTitle === '责任部门'){
|
||||
this.sarStandardsInfoEO.ZRBMId = idList;
|
||||
this.sarStandardsInfoEO['ZRBM'] = nameList;
|
||||
}else if (this.drawerTitle === '查询责任部门'){
|
||||
this.advanceSearchMapping['ZRBM'] = nameList
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user