feature(参数模板管理): 去掉创建时间列,添加更新时间搜索
This commit is contained in:
@@ -23,6 +23,15 @@
|
||||
:triggerChange="false" :dictCode="'region'"/>
|
||||
</div>
|
||||
</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">
|
||||
<a-col :md="6" :sm="24">
|
||||
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
||||
@@ -256,14 +265,14 @@
|
||||
ellipsis: true,
|
||||
dataIndex: 'maintainerName'
|
||||
},
|
||||
{
|
||||
title: this.$t('created'),
|
||||
align: 'left',
|
||||
dataIndex: 'createTime',
|
||||
width: 200,
|
||||
sorter: true,
|
||||
ellipsis: true
|
||||
},
|
||||
// {
|
||||
// title: this.$t('created'),
|
||||
// align: 'left',
|
||||
// dataIndex: 'createTime',
|
||||
// width: 200,
|
||||
// sorter: true,
|
||||
// ellipsis: true
|
||||
// },
|
||||
{
|
||||
title: this.$t('updated'),
|
||||
align: 'left',
|
||||
@@ -281,6 +290,7 @@
|
||||
}
|
||||
],
|
||||
queryParam: {},
|
||||
updateTime: [],
|
||||
areaVisible: false,
|
||||
paramsTemplateName: ''
|
||||
}
|
||||
@@ -290,6 +300,12 @@
|
||||
},
|
||||
methods: {
|
||||
...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) {
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
|
||||
Reference in New Issue
Block a user