From ca26e87474787aa197211398f5b961d6dd4ea1a5 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 21 十二月 2023 17:05:23 +0800
Subject: [PATCH] 内网

---
 src/views/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index f1a17c7..54fc4a4 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -99,14 +99,14 @@
     <el-dialog
       v-model="dialogVisible"
       title=""
-      width="30%"
+      width="37%"
       :close-on-click-modal = "false"
       :close-on-press-escape = "false"
       :show-close = "false"
 
     >
     <span @closePopup1="lookPawsd1()">
-    <el-progress type="dashboard" :percentage="percentage2" :color="colors" />
+    <el-progress type="dashboard" :percentage="percentage2" style="display: flex;justify-content: center" :color="colors" />
     </span>
     </el-dialog>
   </div>
@@ -289,6 +289,7 @@
 /** 浠诲姟鏃ュ織鍒楄〃鏌ヨ */
 /** 鏂囦欢鎸夐挳鎿嶄綔 */
 const handleFile = () => {
+  percentage2.value = 0;
   reset();
   type.value = 0;
   dialog.visible = true;
@@ -328,7 +329,6 @@
 }
 const lookPawsd = async (row: any) => {
   console.log(row, row.ossId);
-  percentage2.value = 0;
   clearInterval(state.mytime);
   state.mytime = 0;
   if(row == '123123'){
@@ -341,7 +341,7 @@
     dialogVisible.value = false;
     clearInterval(state.mytime);
     state.mytime = 0;
-    testtxt.value = row.data.password;
+    testtxt.value = row.password;
     titleDownload.value = '鏌ョ湅鎻愬彇鐮�'
     pasTxt.value = ''
     visibleCode.value = true
@@ -354,7 +354,7 @@
   await examineIds(row.ossId).then(res => {
     console.log(res);
     if (res.code == 200) {
-      testtxt.value = res.msg;
+      testtxt.value = res.data.password
       titleDownload.value = '鏌ョ湅鎻愬彇鐮�'
       pasTxt.value = ''
       // inputSty.value ={

--
Gitblit v1.8.0