Merge remote-tracking branch 'origin/fix_20230508' into fix_20230508

This commit is contained in:
wangzhijiang
2023-05-09 11:10:30 +08:00
3 changed files with 17 additions and 4 deletions
@@ -147,6 +147,8 @@
let username = []
if (this.selectValue.length > 0) {
this.selectValue.forEach(res => {
let reg = /[\t\r\f\n\s]*/g
res.label = res.label.replace(reg, '')
id.push(res.key)
username.push(res.label)
})
@@ -35,7 +35,7 @@
</div>
</a-col>
<template v-if="toggleSearchStatus">
<a-col :md="6" :sm="8">
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
<div class="box-title-text">
<div class="title-text" :title="$t('StudioEngineer')">
<span>{{$t('StudioEngineer')}}</span>
@@ -48,7 +48,7 @@
v-model="queryParam.studioEngineerName"/>
</div>
</a-col>
<a-col :md="6" :sm="8">
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
<div class="box-title-text">
<div class="title-text" :title="$t('certifiedEngineer')">
<span>{{$t('certifiedEngineer')}}</span>
@@ -199,6 +199,7 @@
formInline: {},
rules: {},
visible: false,
isPersonnelSelection:true,
dataSource: [],
confirmLoading: false,
url: {
@@ -404,6 +405,10 @@
this.getList()
},
searchReset() {
this.isPersonnelSelection = false
this.$nextTick(()=>{
this.isPersonnelSelection = true
})
this.pageNo = 1
this.queryParam = {}
this.getList()
@@ -101,7 +101,7 @@
</a-select>
</div>
</a-col>
<a-col :md="6" :sm="8">
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
<div class="box-title-text">
<div class="title-text" :title="$t('Sponsor')">
<span>{{$t('Sponsor')}}</span>
@@ -114,7 +114,7 @@
v-model="queryParam.initiatorName"/>
</div>
</a-col>
<a-col :md="6" :sm="8">
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
<div class="box-title-text">
<div class="title-text" :title="$t('personLiable')">
<span>{{$t('personLiable')}}</span>
@@ -274,6 +274,7 @@
pageNo: 1,
orderBy: '1',
orderByField: '',
isPersonnelSelection:true,
url: {
page: '/project/ncrTrackController/queryPage',
exportData: '/project/ncrTrackController/exportData'
@@ -336,6 +337,10 @@
}
},
searchReset() {
this.isPersonnelSelection = false
this.$nextTick(()=>{
this.isPersonnelSelection = true
})
this.pageNo = 1
this.queryParam = {}
this.getList()
@@ -392,6 +397,7 @@
PersonnelSelectionChange(value, id) {
this.queryParam[value] = id
this.queryParam = { ...this.queryParam }
console.log(this.queryParam)
},
//流程状态点击事件