Merge remote-tracking branch 'origin/fix_20230508' into fix_20230508
This commit is contained in:
@@ -147,6 +147,8 @@
|
|||||||
let username = []
|
let username = []
|
||||||
if (this.selectValue.length > 0) {
|
if (this.selectValue.length > 0) {
|
||||||
this.selectValue.forEach(res => {
|
this.selectValue.forEach(res => {
|
||||||
|
let reg = /[\t\r\f\n\s]*/g
|
||||||
|
res.label = res.label.replace(reg, '')
|
||||||
id.push(res.key)
|
id.push(res.key)
|
||||||
username.push(res.label)
|
username.push(res.label)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<template v-if="toggleSearchStatus">
|
<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="box-title-text">
|
||||||
<div class="title-text" :title="$t('StudioEngineer')">
|
<div class="title-text" :title="$t('StudioEngineer')">
|
||||||
<span>{{$t('StudioEngineer')}}</span>
|
<span>{{$t('StudioEngineer')}}</span>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
v-model="queryParam.studioEngineerName"/>
|
v-model="queryParam.studioEngineerName"/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('certifiedEngineer')">
|
<div class="title-text" :title="$t('certifiedEngineer')">
|
||||||
<span>{{$t('certifiedEngineer')}}</span>
|
<span>{{$t('certifiedEngineer')}}</span>
|
||||||
@@ -199,6 +199,7 @@
|
|||||||
formInline: {},
|
formInline: {},
|
||||||
rules: {},
|
rules: {},
|
||||||
visible: false,
|
visible: false,
|
||||||
|
isPersonnelSelection:true,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
url: {
|
url: {
|
||||||
@@ -404,6 +405,10 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
|
this.isPersonnelSelection = false
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.isPersonnelSelection = true
|
||||||
|
})
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('Sponsor')">
|
<div class="title-text" :title="$t('Sponsor')">
|
||||||
<span>{{$t('Sponsor')}}</span>
|
<span>{{$t('Sponsor')}}</span>
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
v-model="queryParam.initiatorName"/>
|
v-model="queryParam.initiatorName"/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8" v-if="isPersonnelSelection">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('personLiable')">
|
<div class="title-text" :title="$t('personLiable')">
|
||||||
<span>{{$t('personLiable')}}</span>
|
<span>{{$t('personLiable')}}</span>
|
||||||
@@ -274,6 +274,7 @@
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
orderBy: '1',
|
orderBy: '1',
|
||||||
orderByField: '',
|
orderByField: '',
|
||||||
|
isPersonnelSelection:true,
|
||||||
url: {
|
url: {
|
||||||
page: '/project/ncrTrackController/queryPage',
|
page: '/project/ncrTrackController/queryPage',
|
||||||
exportData: '/project/ncrTrackController/exportData'
|
exportData: '/project/ncrTrackController/exportData'
|
||||||
@@ -336,6 +337,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
|
this.isPersonnelSelection = false
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.isPersonnelSelection = true
|
||||||
|
})
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.getList()
|
this.getList()
|
||||||
@@ -392,6 +397,7 @@
|
|||||||
PersonnelSelectionChange(value, id) {
|
PersonnelSelectionChange(value, id) {
|
||||||
this.queryParam[value] = id
|
this.queryParam[value] = id
|
||||||
this.queryParam = { ...this.queryParam }
|
this.queryParam = { ...this.queryParam }
|
||||||
|
console.log(this.queryParam)
|
||||||
},
|
},
|
||||||
|
|
||||||
//流程状态点击事件
|
//流程状态点击事件
|
||||||
|
|||||||
Reference in New Issue
Block a user