修改bug 51963 企标库编辑的文件上传人员是输入框吗
This commit is contained in:
+50
-5
@@ -764,6 +764,17 @@
|
||||
:disabled="true"
|
||||
></custom-input>
|
||||
</template>
|
||||
<template v-else-if="field.attrField === 'WJSCRYBUSS'">
|
||||
<el-form-item
|
||||
prop="WJSCRYBUSS"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">文件上传人员</template>
|
||||
<el-input v-model="sarBussionessStandEO[field.attrField]" :title="sarBussionessStandEO[field.attrField]" placeholder="选择文件上传人员" @click.native="choiceWJSCRY('WJSCRYBUSS', '选择文件上传人员', sarBussionessStandEO[field.attrField])">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template v-else>
|
||||
<custom-input
|
||||
:config="field"
|
||||
@@ -1475,7 +1486,12 @@
|
||||
@checkedRole="checkedRole2"
|
||||
:nodeList="nodeList2"
|
||||
></Role-tree>
|
||||
|
||||
<Role-tree
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="modalShowRoleFlag1"
|
||||
@checkedRole="checkedRole2"
|
||||
:nodeList="nodeList3"
|
||||
></Role-tree>
|
||||
<Mechanism-tree
|
||||
is-title="选择部门信息"
|
||||
:is-visible.sync="modalshowflagZRBM"
|
||||
@@ -2358,8 +2374,10 @@ export default {
|
||||
drawerTitle4: '',
|
||||
drawerTitle2: '',
|
||||
modalShowRoleFlag: false,
|
||||
modalShowRoleFlag1: false,
|
||||
nodeList: [],
|
||||
nodeList2: [],
|
||||
nodeList3: [],
|
||||
nodeListZRBM: [],
|
||||
modalshowflagZRBM: false,
|
||||
addOrUPdateFlag: 1, // 新增:1, 修改:2
|
||||
@@ -3625,6 +3643,24 @@ export default {
|
||||
this.drawerTitle = title
|
||||
this.modalShowRoleFlag = true
|
||||
},
|
||||
choiceWJSCRY(type, title, nameId) {
|
||||
this.nodeList3 = []
|
||||
if (nameId) {
|
||||
let nameId1 = nameId.split(',')
|
||||
let idList = []
|
||||
nameId1.forEach(item => {
|
||||
let a, b
|
||||
a = item.substring(item.indexOf('(') +1)
|
||||
b = a.substring(0, a.lastIndexOf(')'))
|
||||
idList.push(b)
|
||||
})
|
||||
idList = idList.join(',')
|
||||
this.nodeList3 = idList.split(',')
|
||||
}
|
||||
this.userType = type
|
||||
this.drawerTitle = title
|
||||
this.modalShowRoleFlag1 = true
|
||||
},
|
||||
checkedRole2(data) {
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
@@ -3645,10 +3681,19 @@ export default {
|
||||
if (this.drawerTitle === '查询起草人') {
|
||||
this.sarBussionessSearch['QCRBUSS'] = nameList
|
||||
}
|
||||
this.$set(this.sarBussionessStandEO, 'QCRBUSS', nameList)
|
||||
if (this.sarBussionessStandEO.QCRBUSS) {
|
||||
this.$refs.sarBussionessStandForm.validateField('QCRBUSS')
|
||||
if (this.drawerTitle === '选择起草人') {
|
||||
this.$set(this.sarBussionessStandEO, 'QCRBUSS', nameList)
|
||||
if (this.sarBussionessStandEO.QCRBUSS) {
|
||||
this.$refs.sarBussionessStandForm.validateField('QCRBUSS')
|
||||
}
|
||||
}
|
||||
if (this.drawerTitle === '选择文件上传人员') {
|
||||
this.$set(this.sarBussionessStandEO, 'WJSCRYBUSS', nameList)
|
||||
if (this.sarBussionessStandEO.WJSCRYBUSS) {
|
||||
this.$refs.sarBussionessStandForm.validateField('WJSCRYBUSS')
|
||||
}
|
||||
}
|
||||
|
||||
// this.sarBussionessStandEO['QCRBUSS'] = nameList
|
||||
},
|
||||
choiceQCDW(type, title, id) {
|
||||
@@ -4603,7 +4648,7 @@ export default {
|
||||
this.OCRData = res.data
|
||||
} else {
|
||||
this.$message.warning('当前标准没有' + text + '文件')
|
||||
this.this.OCRData = []
|
||||
this.OCRData = []
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user