修改法规预警去除默认六个月
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<div class='drawer-bootom-button' style="margin-top: 4px">
|
<div class='drawer-bootom-button' style="margin-top: 4px">
|
||||||
<a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>
|
<a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>
|
||||||
<a-button @click='handleSubmit' type='primary' :loading='confirmLoading'>{{ $t('submit') }}</a-button>
|
<a-button @click='handleSubmit' type='primary' :loading='confirmLoading'>{{ $t('confirm') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -226,9 +226,9 @@
|
|||||||
methods: {
|
methods: {
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
if (this.isDefault) {
|
if (this.isDefault) {
|
||||||
if (!this.queryParam['WarnTimeText']) {
|
// if (!this.queryParam['WarnTimeText']) {
|
||||||
this.queryParam['WarnTimeText'] = '2'
|
// this.queryParam['WarnTimeText'] = '2'
|
||||||
}
|
// }
|
||||||
let startTime = moment(new Date()).format('YYYY-MM-DD')
|
let startTime = moment(new Date()).format('YYYY-MM-DD')
|
||||||
let endTime = this.getNowdate()
|
let endTime = this.getNowdate()
|
||||||
this.queryParam['WarnTime'] = [startTime, endTime]
|
this.queryParam['WarnTime'] = [startTime, endTime]
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
if (this.isDefault) {
|
if (this.isDefault) {
|
||||||
let startTime = moment(new Date()).format('YYYY-MM-DD')
|
let startTime = moment(new Date()).format('YYYY-MM-DD')
|
||||||
this.queryParam['WarnTimeText'] = '2'
|
// this.queryParam['WarnTimeText'] = '2'
|
||||||
let endTime = this.getNowdate()
|
let endTime = this.getNowdate()
|
||||||
this.queryParam['WarnTime'] = [startTime, endTime]
|
this.queryParam['WarnTime'] = [startTime, endTime]
|
||||||
this.queryParam = { ...this.queryParam }
|
this.queryParam = { ...this.queryParam }
|
||||||
|
|||||||
+1
-1
@@ -219,7 +219,7 @@
|
|||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: 190,
|
width: 230,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user