ota-填写记录增加搜索条件
This commit is contained in:
@@ -1829,4 +1829,5 @@ module.exports = {
|
||||
GRPSystemProjectProgressStatistics:'GRP system project progress statistics',
|
||||
statisticalNodes:'Statistical Nodes',
|
||||
proportionWithInTheAreaOfResponsibility:'Proportion within the area of responsibility',
|
||||
contentsearch:'Content Search',
|
||||
}
|
||||
@@ -1930,4 +1930,5 @@ module.exports = {
|
||||
GRPSystemProjectProgressStatistics:'GRP系统项目进度统计',
|
||||
statisticalNodes:'统计节点',
|
||||
proportionWithInTheAreaOfResponsibility:'责任领域内占比',
|
||||
contentsearch:'内容搜索',
|
||||
}
|
||||
@@ -48,6 +48,40 @@
|
||||
:maskClosable="false"
|
||||
@close="handleCancel"
|
||||
>
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('contentsearch')">
|
||||
<span>{{$t('contentsearch')}}</span>
|
||||
</div>
|
||||
<a-input
|
||||
class="box-input"
|
||||
:placeholder="$t('PleaseEnter')+$t('contentsearch')"
|
||||
v-model='queryParam.realname' />
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('module')">
|
||||
<span>{{$t('module')}}</span>
|
||||
</div>
|
||||
<j-dict-select-tag class="box-input" type="select"
|
||||
v-model="queryParam.module"
|
||||
dictCode="O_T_A_che1_xing2_mo2_kuai4"
|
||||
:placeholder="$t('PleaseSelect')+$t('module')"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<span style="float: right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
<a-col :md="6" :sm="24">
|
||||
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||
</a-col>
|
||||
</span>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
<!-- :components="drag(columnshistory,'columnshistory')"-->
|
||||
<a-table
|
||||
class="table"
|
||||
@@ -118,9 +152,16 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
queryParam: {
|
||||
projectName:this.$route.query.projectName?this.$route.query.projectName:''
|
||||
queryParam: {},
|
||||
labelCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 7 }
|
||||
},
|
||||
wrapperCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 14 }
|
||||
},
|
||||
rules: {},
|
||||
visible:false,
|
||||
confirmLoading: false,
|
||||
pageNohistory: 1,
|
||||
@@ -198,6 +239,7 @@ export default {
|
||||
},
|
||||
bussLogList(val) {
|
||||
let query = {
|
||||
...this.queryParam,
|
||||
pageNo: this.pageNohistory,
|
||||
pageSize: this.pageSizehistory,
|
||||
otaId:localStorage.getItem('otaId')
|
||||
@@ -213,6 +255,13 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
searchQuery() {
|
||||
this.bussLogList()
|
||||
},
|
||||
searchReset() {
|
||||
this.queryParam = {}
|
||||
this.bussLogList()
|
||||
},
|
||||
handleOk() {
|
||||
this.pageNohistory = 1
|
||||
this.visible = false
|
||||
|
||||
@@ -48,6 +48,40 @@
|
||||
:maskClosable="false"
|
||||
@close="handleCancel"
|
||||
>
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('contentsearch')">
|
||||
<span>{{$t('contentsearch')}}</span>
|
||||
</div>
|
||||
<a-input
|
||||
class="box-input"
|
||||
:placeholder="$t('PleaseEnter')+$t('contentsearch')"
|
||||
v-model='queryParam.realname' />
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('module')">
|
||||
<span>{{$t('module')}}</span>
|
||||
</div>
|
||||
<j-dict-select-tag class="box-input" type="select"
|
||||
v-model="queryParam.module"
|
||||
dictCode="O_T_A_che1_xing2_mo2_kuai4"
|
||||
:placeholder="$t('PleaseSelect')+$t('module')"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<span style="float: right;overflow: hidden;margin-right: 17px" class="table-page-search-submitButtons">
|
||||
<a-col :md="6" :sm="24">
|
||||
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||
</a-col>
|
||||
</span>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
<!-- :components="drag(columnshistory,'columnshistory')"-->
|
||||
<a-table
|
||||
class="table"
|
||||
@@ -118,9 +152,17 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
queryParam: {
|
||||
projectName:this.$route.query.projectName?this.$route.query.projectName:''
|
||||
queryParam: {},
|
||||
labelCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 7 }
|
||||
},
|
||||
wrapperCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 14 }
|
||||
},
|
||||
rules: {},
|
||||
spinLoading: false,
|
||||
visible:false,
|
||||
confirmLoading: false,
|
||||
pageNohistory: 1,
|
||||
@@ -199,6 +241,7 @@ export default {
|
||||
},
|
||||
bussLogList(val) {
|
||||
let query = {
|
||||
...this.queryParam,
|
||||
pageNo: this.pageNohistory,
|
||||
pageSize: this.pageSizehistory,
|
||||
otaId:localStorage.getItem('otaId')
|
||||
@@ -214,6 +257,13 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
searchQuery() {
|
||||
this.bussLogList()
|
||||
},
|
||||
searchReset() {
|
||||
this.queryParam = {}
|
||||
this.bussLogList()
|
||||
},
|
||||
handleOk() {
|
||||
this.pageNohistory = 1
|
||||
this.visible = false
|
||||
@@ -302,7 +352,7 @@ export default {
|
||||
|
||||
.title-text {
|
||||
width: 20%;
|
||||
min-width: 110px;
|
||||
min-width: 90px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user