法规清单高级搜索修改

This commit is contained in:
zyx.net
2023-04-18 13:32:06 +08:00
parent 3893045b55
commit 1cd1dd339a
4 changed files with 93 additions and 8 deletions
@@ -1251,18 +1251,40 @@
text: this.$t('certificationLevel'),
dictCode: 'attestation_rank'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
},
{
type: 'deliverables',
value: 'designDeliverableType',
text: this.$t('designaconformancedeliverabletype'),
},
{
type: 'deliverables',
value: 'verifyDeliverableType',
text: this.$t('verifytheconformancedeliverabletype'),
},
{
type: 'Personnel',
value: 'designDutyId',
valueName: 'designDutyIdName',
text: this.$t('responsiblepersonfordesigncompliance')
},
{
type: 'Personnel',
value: 'verifyDutyId',
valueName: 'verifyDutyIdName',
text: this.$t('responsiblepersonforverifyingcompliance')
},
// {
// type: '',
// value: 'dutyTerritory',
// text: this.$t('areaOfResponsibility'),
// dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
// },
{
type: 'Personnel',
value: 'engineeringInterfacePerson',
valueName: 'engineeringInterfacePersonName',
text: this.$t('engineeringInterfacePerson')
}
// {
// type: 'Personnel',
// value: 'engineeringInterfacePerson',
// valueName: 'engineeringInterfacePersonName',
// text: this.$t('engineeringInterfacePerson')
// }
],
listOptions: [
{
@@ -1414,6 +1436,7 @@
this.JLoading = true
this.getHeader()
this.queryLawEngineerByProjectId()
this.queryengineeringInterfacePersonId()
this.getRoleByUserId(() => {
this.getAndUserId()
})
@@ -1530,6 +1553,32 @@
}
})
},
queryengineeringInterfacePersonId() {
let query = {
projectLibraryId: this.$route.query.id
}
getAction('/project/projectRelatedPersonnel/queryEngineeringInterfacePersonByProjectId', query).then((res) => {
if (res.success) {
let engineeringInterfacePerson = {
value: 'engineeringInterfacePerson',
text: this.$t('engineeringInterfacePerson'),
options: []
}
if (res.result && res.result.length > 0) {
res.result.forEach(val => {
engineeringInterfacePerson.options.push({
value: val.id,
key: val.id,
label: val.userName
})
})
}
this.fieldList.push(engineeringInterfacePerson)
} else {
}
})
},
//流程状态点击事件
designFlowStatusClick(row, name) {
let query = {}