修改bug 51963 企标库编辑的文件上传人员是输入框吗
This commit is contained in:
+47
-2
@@ -764,6 +764,17 @@
|
|||||||
:disabled="true"
|
:disabled="true"
|
||||||
></custom-input>
|
></custom-input>
|
||||||
</template>
|
</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>
|
<template v-else>
|
||||||
<custom-input
|
<custom-input
|
||||||
:config="field"
|
:config="field"
|
||||||
@@ -1475,7 +1486,12 @@
|
|||||||
@checkedRole="checkedRole2"
|
@checkedRole="checkedRole2"
|
||||||
:nodeList="nodeList2"
|
:nodeList="nodeList2"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
|
<Role-tree
|
||||||
|
:is-title="drawerTitle"
|
||||||
|
:is-visible.sync="modalShowRoleFlag1"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:nodeList="nodeList3"
|
||||||
|
></Role-tree>
|
||||||
<Mechanism-tree
|
<Mechanism-tree
|
||||||
is-title="选择部门信息"
|
is-title="选择部门信息"
|
||||||
:is-visible.sync="modalshowflagZRBM"
|
:is-visible.sync="modalshowflagZRBM"
|
||||||
@@ -2358,8 +2374,10 @@ export default {
|
|||||||
drawerTitle4: '',
|
drawerTitle4: '',
|
||||||
drawerTitle2: '',
|
drawerTitle2: '',
|
||||||
modalShowRoleFlag: false,
|
modalShowRoleFlag: false,
|
||||||
|
modalShowRoleFlag1: false,
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
|
nodeList3: [],
|
||||||
nodeListZRBM: [],
|
nodeListZRBM: [],
|
||||||
modalshowflagZRBM: false,
|
modalshowflagZRBM: false,
|
||||||
addOrUPdateFlag: 1, // 新增:1, 修改:2
|
addOrUPdateFlag: 1, // 新增:1, 修改:2
|
||||||
@@ -3625,6 +3643,24 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalShowRoleFlag = true
|
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) {
|
checkedRole2(data) {
|
||||||
let idList = ''
|
let idList = ''
|
||||||
let nameList = ''
|
let nameList = ''
|
||||||
@@ -3645,10 +3681,19 @@ export default {
|
|||||||
if (this.drawerTitle === '查询起草人') {
|
if (this.drawerTitle === '查询起草人') {
|
||||||
this.sarBussionessSearch['QCRBUSS'] = nameList
|
this.sarBussionessSearch['QCRBUSS'] = nameList
|
||||||
}
|
}
|
||||||
|
if (this.drawerTitle === '选择起草人') {
|
||||||
this.$set(this.sarBussionessStandEO, 'QCRBUSS', nameList)
|
this.$set(this.sarBussionessStandEO, 'QCRBUSS', nameList)
|
||||||
if (this.sarBussionessStandEO.QCRBUSS) {
|
if (this.sarBussionessStandEO.QCRBUSS) {
|
||||||
this.$refs.sarBussionessStandForm.validateField('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
|
// this.sarBussionessStandEO['QCRBUSS'] = nameList
|
||||||
},
|
},
|
||||||
choiceQCDW(type, title, id) {
|
choiceQCDW(type, title, id) {
|
||||||
@@ -4603,7 +4648,7 @@ export default {
|
|||||||
this.OCRData = res.data
|
this.OCRData = res.data
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('当前标准没有' + text + '文件')
|
this.$message.warning('当前标准没有' + text + '文件')
|
||||||
this.this.OCRData = []
|
this.OCRData = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user