修改项目库的查询条件
This commit is contained in:
@@ -39,8 +39,12 @@
|
||||
<div class="title-text" :title="$t('StudioEngineer')">
|
||||
<span>{{$t('StudioEngineer')}}</span>
|
||||
</div>
|
||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('StudioEngineer')"
|
||||
v-model="queryParam.studioEngineerName"></a-input>
|
||||
<PersonnelSelection class="box-input"
|
||||
:query="{db_field_name:'studioEngineer',db_field_txt:$t('StudioEngineer')}"
|
||||
:isInput="true"
|
||||
:personneQuery="queryParam"
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="queryParam.studioEngineerName"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
@@ -48,8 +52,12 @@
|
||||
<div class="title-text" :title="$t('certifiedEngineer')">
|
||||
<span>{{$t('certifiedEngineer')}}</span>
|
||||
</div>
|
||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('certifiedEngineer')"
|
||||
v-model="queryParam.certificationEngineerName"></a-input>
|
||||
<PersonnelSelection :query="{db_field_name:'certificationEngineer',db_field_txt:$t('certifiedEngineer')}"
|
||||
:isInput="true"
|
||||
class="box-input"
|
||||
:personneQuery="queryParam"
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="queryParam.certificationEngineerName"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
@@ -137,11 +145,13 @@
|
||||
<script>
|
||||
import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
|
||||
import addModel from '../components/addModel'
|
||||
import PersonnelSelection from '@/components/PersonnelSelection/index'
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
components: {
|
||||
addModel
|
||||
addModel,
|
||||
PersonnelSelection
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -300,6 +310,10 @@
|
||||
this.pageNo = 1
|
||||
this.getList()
|
||||
},
|
||||
PersonnelSelectionChange(value, id) {
|
||||
this.queryParam[value] = id
|
||||
this.queryParam = { ...this.queryParam }
|
||||
},
|
||||
getList() {
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
|
||||
Reference in New Issue
Block a user