|
@@ -180,7 +180,7 @@
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="hc-import-node-tree-box">
|
|
|
+ <div class="hc-import-node-tree-box" v-loading="uploadLoading" element-loading-text="Loading...">
|
|
|
<div class="import-node-tree-box">
|
|
|
<div class="hc-tree-title-box">导入并识别成功</div>
|
|
|
<div class="hc-tree-bar-box">
|
|
@@ -202,7 +202,7 @@
|
|
|
<template #footer>
|
|
|
<div class="lr-dialog-footer">
|
|
|
<div class="left">
|
|
|
- <HcUpload ref="uploadRef" :contractId="contractId" :type="importRadio" :isSplicingNumber="isSplicingNumber" @change="uploadChange" @progres="uploadprogress" @finished="uploadFinished"/>
|
|
|
+ <HcUpload ref="uploadRef" :contractId="contractId" :type="importRadio" :isSplicingNumber="isSplicingNumber" @change="uploadChange" @progress="uploadprogress" @finished="uploadFinished"/>
|
|
|
</div>
|
|
|
<div class="right flex">
|
|
|
<div class="mr-6">
|
|
@@ -249,7 +249,6 @@ import {getDictionary} from "~api/other"
|
|
|
import wbsApi from "~api/data-fill/wbs";
|
|
|
import divisionApi from "~api/data-fill/division";
|
|
|
import Draggable from "vuedraggable";
|
|
|
-import queryApi from "~api/data-fill/query";
|
|
|
|
|
|
//初始变量
|
|
|
const router = useRouter()
|
|
@@ -753,6 +752,7 @@ const uploadChange = (file) => {
|
|
|
//上传中
|
|
|
const uploadLoading = ref(false)
|
|
|
const uploadprogress = (state) => {
|
|
|
+ console.log(state)
|
|
|
uploadLoading.value = state
|
|
|
}
|
|
|
|