修改已知bug

This commit is contained in:
qq787203167
2022-06-02 09:24:30 +08:00
parent 533c8b504a
commit 0d53c5b9f1
@@ -53,7 +53,7 @@
</div> </div>
</a-range-picker> </a-range-picker>
</span> </span>
<div class="box-top-content"> <div class="box-top-content" style="position: relative">
<div id="main"></div> <div id="main"></div>
<div class="axis-tip"></div> <div class="axis-tip"></div>
<JLoading :loading="loadingMain">{{this.$t('dataLoading')}}</JLoading> <JLoading :loading="loadingMain">{{this.$t('dataLoading')}}</JLoading>
@@ -134,21 +134,21 @@
dataIndex: 'projectName', dataIndex: 'projectName',
scopedSlots: { customRender: 'projectName' }, scopedSlots: { customRender: 'projectName' },
width: 180, width: 180,
ellipsis: true, ellipsis: true
}, },
{ {
title: this.$t('targetMarket'), title: this.$t('targetMarket'),
align: 'center', align: 'center',
dataIndex: 'targetMarket', dataIndex: 'targetMarket',
width: 180, width: 180,
ellipsis: true, ellipsis: true
}, },
{ {
align: 'center', align: 'center',
dataIndex: 'projectStatus', dataIndex: 'projectStatus',
scopedSlots: { title: 'projectStatusTitle' }, scopedSlots: { title: 'projectStatusTitle' },
width: 240, width: 240,
ellipsis: true, ellipsis: true
}, },
{ {
align: 'center', align: 'center',
@@ -202,7 +202,8 @@
getTimeline() { getTimeline() {
let query = { let query = {
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime endTime: this.endTime,
...this.queryParam
} }
this.loadingMain = true this.loadingMain = true
getAction(this.url.timeline, query).then((res) => { getAction(this.url.timeline, query).then((res) => {
@@ -232,7 +233,8 @@
getTimelineList(time) { getTimelineList(time) {
let query = { let query = {
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime endTime: this.endTime,
...this.queryParam
} }
getAction(this.url.timelineList, query).then((res) => { getAction(this.url.timelineList, query).then((res) => {
if (res.success) { if (res.success) {
@@ -401,10 +403,12 @@
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
}, },
searchQuery() { searchQuery() {
this.getTimeline()
this.getList() this.getList()
}, },
searchReset() { searchReset() {
this.queryParam = {} this.queryParam = {}
this.getTimeline()
this.getList() this.getList()
}, },
getList() { getList() {