feature(参数模板管理): 去掉创建时间列,添加更新时间搜索
This commit is contained in:
@@ -23,6 +23,15 @@
|
|||||||
:triggerChange="false" :dictCode="'region'"/>
|
:triggerChange="false" :dictCode="'region'"/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="8">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text" :title="$t('updated')">
|
||||||
|
<span>{{$t('updated')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-range-picker class="box-input" v-model="updateTime"
|
||||||
|
@change="onChangeUpdateTime"></a-range-picker>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
||||||
@@ -256,14 +265,14 @@
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'maintainerName'
|
dataIndex: 'maintainerName'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: this.$t('created'),
|
// title: this.$t('created'),
|
||||||
align: 'left',
|
// align: 'left',
|
||||||
dataIndex: 'createTime',
|
// dataIndex: 'createTime',
|
||||||
width: 200,
|
// width: 200,
|
||||||
sorter: true,
|
// sorter: true,
|
||||||
ellipsis: true
|
// ellipsis: true
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: this.$t('updated'),
|
title: this.$t('updated'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
@@ -281,6 +290,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
|
updateTime: [],
|
||||||
areaVisible: false,
|
areaVisible: false,
|
||||||
paramsTemplateName: ''
|
paramsTemplateName: ''
|
||||||
}
|
}
|
||||||
@@ -290,6 +300,12 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
|
onChangeUpdateTime(values) {
|
||||||
|
let StartTime = values[0].format('YYYY-MM-DD')
|
||||||
|
let EndTime = values[1].format('YYYY-MM-DD')
|
||||||
|
this.queryParam.updateTimeStart = StartTime
|
||||||
|
this.queryParam.updateTimeEnd = EndTime
|
||||||
|
},
|
||||||
subscribeClick(val) {
|
subscribeClick(val) {
|
||||||
let _this = this
|
let _this = this
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
|
|||||||
Reference in New Issue
Block a user