feat: 新增数据导出中心功能
This commit is contained in:
parent
ab6d3d442b
commit
151315d683
@ -15,7 +15,6 @@ import Vue from 'vue'
|
|||||||
import { exportDetails, innerExportDetails } from '@/api/panel/panel'
|
import { exportDetails, innerExportDetails } from '@/api/panel/panel'
|
||||||
import { getLinkToken, getToken } from '@/utils/auth'
|
import { getLinkToken, getToken } from '@/utils/auth'
|
||||||
import { toPngUrl } from '@/utils/CanvasUtils'
|
import { toPngUrl } from '@/utils/CanvasUtils'
|
||||||
import {Button} from "element-ui";
|
|
||||||
|
|
||||||
export function deepCopy(target) {
|
export function deepCopy(target) {
|
||||||
if (typeof target === 'object' && target !== null) {
|
if (typeof target === 'object' && target !== null) {
|
||||||
|
|||||||
@ -33,7 +33,9 @@
|
|||||||
<svg-icon style="font-size: 24px;" icon-class="icon_file-excel_colorful"> </svg-icon>
|
<svg-icon style="font-size: 24px;" icon-class="icon_file-excel_colorful"> </svg-icon>
|
||||||
<span style="margin-left: 8px">{{ scope.row.fileName }}</span>
|
<span style="margin-left: 8px">{{ scope.row.fileName }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<el-progress v-show="activeName==='IN_PROGRESS'" :percentage="scope.row.exportPogress"></el-progress>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="exportFromName" label="导出对象" width="200">
|
<el-table-column prop="exportFromName" label="导出对象" width="200">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -115,6 +117,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
this.drawer = true;
|
this.drawer = true;
|
||||||
|
this.handleClick()
|
||||||
|
this.timer = setInterval(() => {
|
||||||
|
if(this.activeName === 'IN_PROGRESS'){
|
||||||
|
this.handleClick()
|
||||||
|
}
|
||||||
|
}, 5000);
|
||||||
},
|
},
|
||||||
handleClick() {
|
handleClick() {
|
||||||
request({
|
request({
|
||||||
@ -226,6 +234,7 @@ export default {
|
|||||||
|
|
||||||
handleClose() {
|
handleClose() {
|
||||||
this.drawer = false;
|
this.drawer = false;
|
||||||
|
clearInterval(this.timer);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user