企标库 - 起草人
This commit is contained in:
+56
-3
@@ -537,10 +537,10 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
<template v-for="field in displayLocation.child">
|
<template v-for="field in displayLocation.child">
|
||||||
<!--起草单位-->
|
<!--起草单位QCDW-->
|
||||||
<template v-if="field.attrField === 'QCDW'">
|
<template v-if="field.attrField === 'QCDW'">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
prop="ZRBM"
|
prop="QCDW"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
class="add-form-item"
|
class="add-form-item"
|
||||||
>
|
>
|
||||||
@@ -555,6 +555,26 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
|
<!--起草人QCRBUSS-->
|
||||||
|
<template v-if="field.attrField === 'QCRBUSS'">
|
||||||
|
<el-form-item
|
||||||
|
prop="QCRBUSS"
|
||||||
|
label-width="150px"
|
||||||
|
class="add-form-item"
|
||||||
|
>
|
||||||
|
<template slot="label">起草人</template>
|
||||||
|
<el-input v-model="sarBussionessStandEO[field.attrField]" placeholder="选择起草人" @click.native="choiceZRRS('QCRBUSS', '选择起草人', sarBussionessStandEO[field.attrField])">
|
||||||
|
</el-input>
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- :key="field.attrField"-->
|
||||||
|
<!-- :config="field"-->
|
||||||
|
<!-- clearable-->
|
||||||
|
<!-- v-model="sarStandardsInfoEO['ZRGCS']"-->
|
||||||
|
<!-- :disabled="formdisableflag" placeholder="选择责任工程师"-->
|
||||||
|
<!-- @click.native="choiceRole('ZRGCSUserId', '责任工程师', sarStandardsInfoEO.ZRGCSUserId)">-->
|
||||||
|
<!-- </el-input>-->
|
||||||
|
</el-form-item>
|
||||||
|
</template>
|
||||||
<template v-if="field.attrField === 'SVPPS'">
|
<template v-if="field.attrField === 'SVPPS'">
|
||||||
<custom-SVPPS
|
<custom-SVPPS
|
||||||
:key="field.attrField"
|
:key="field.attrField"
|
||||||
@@ -702,7 +722,7 @@
|
|||||||
:disabled="formdisableflag"
|
:disabled="formdisableflag"
|
||||||
></custom-select>
|
></custom-select>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.attrType === 'SEL_OPTS' && field.attrField !== 'QCDW'">
|
<template v-else-if="field.attrType === 'SEL_OPTS' && field.attrField !== 'QCDW' && field.attrField !== 'QCRBUSS'">
|
||||||
<custom-select-array
|
<custom-select-array
|
||||||
:key="field.attrField"
|
:key="field.attrField"
|
||||||
:config="field"
|
:config="field"
|
||||||
@@ -1168,6 +1188,13 @@
|
|||||||
@isOk="isOk"
|
@isOk="isOk"
|
||||||
></GenerationNumber>
|
></GenerationNumber>
|
||||||
|
|
||||||
|
<Role-tree
|
||||||
|
:is-title="drawerTitle"
|
||||||
|
:is-visible.sync="modalShowRoleFlag"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:nodeList="nodeList2"
|
||||||
|
></Role-tree>
|
||||||
|
|
||||||
<Mechanism-tree
|
<Mechanism-tree
|
||||||
is-title="选择部门信息"
|
is-title="选择部门信息"
|
||||||
:is-visible.sync="modalshowflagZRBM"
|
:is-visible.sync="modalshowflagZRBM"
|
||||||
@@ -1938,6 +1965,9 @@ export default {
|
|||||||
syrzOptions:[],//适用认证下拉框
|
syrzOptions:[],//适用认证下拉框
|
||||||
gkglbmOptions:[],//归口管理部门下拉框
|
gkglbmOptions:[],//归口管理部门下拉框
|
||||||
drawerTitle: '',
|
drawerTitle: '',
|
||||||
|
modalShowRoleFlag: false,
|
||||||
|
nodeList: [],
|
||||||
|
nodeList2: [],
|
||||||
nodeListZRBM: [],
|
nodeListZRBM: [],
|
||||||
modalshowflagZRBM: false,
|
modalshowflagZRBM: false,
|
||||||
addOrUPdateFlag: 1, // 新增:1, 修改:2
|
addOrUPdateFlag: 1, // 新增:1, 修改:2
|
||||||
@@ -2904,6 +2934,29 @@ export default {
|
|||||||
// $('#deptBtn').click()
|
// $('#deptBtn').click()
|
||||||
$('#deptBtn2').click()
|
$('#deptBtn2').click()
|
||||||
},
|
},
|
||||||
|
choiceZRRS (type, title, id) {
|
||||||
|
console.log('2077',title)
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.userType = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowRoleFlag = true
|
||||||
|
},
|
||||||
|
checkedRole2 (data) {
|
||||||
|
console.log('1712',this.drawerTitle)
|
||||||
|
let idList = ''
|
||||||
|
let nameList = ''
|
||||||
|
data.forEach( item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.sarBussionessStandEO['QCRBUSS'] = nameList
|
||||||
|
|
||||||
|
},
|
||||||
choiceQCDW(type, title, id) {
|
choiceQCDW(type, title, id) {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user