提交更改

This commit is contained in:
zhujiyan
2024-10-14 15:09:58 +08:00
parent 3e91dae797
commit 3fd897fca2
5 changed files with 223 additions and 159 deletions

View File

@@ -60,6 +60,7 @@ const handleClose = () => {
//文件信息
const fileData: any = ref({})
const open = async (row: any, id: any) => {
status.value = 0
fileData.value = {}
dialogVisible.value = true
loading.value = true
@@ -126,7 +127,7 @@ const handleDownLoad = () => {
onMounted(() => {})
onUnmounted(() => {})
const status = ref(0)
const fileName=ref('')
const fileName = ref('')
const setStatus = (val: any) => {
status.value = parseInt(Number((val.nowStep / val.allStep) * 100))
fileName.value = val.fileName
@@ -140,11 +141,11 @@ defineExpose({ open, setStatus })
margin: 10px 0;
align-items: center;
justify-content: space-between;
.progress_left{
.progress_left {
width: auto;
}
.progress_right{
flex:1;
.progress_right {
flex: 1;
padding-left: 10px;
box-sizing: border-box;
}