From d4ad5101a4a7d956b973d050c65a97e1a9d6b1c0 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期二, 24 六月 2025 16:33:12 +0800
Subject: [PATCH] qx

---
 src/views/system/tijian/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 86cf8f4..3b421a8 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -1,4 +1,6 @@
 <template>
+   <div v-loading="isLoading" element-loading-text="璇风◢鍊�..." element-loading-spinner="el-icon-loading"
+    element-loading-background="rgba(255, 255, 255, 0.8)" style="height: 100%; padding: 20px; position: relative;">
   <div class="app-container">
     <el-dialog :title="title" :visible.sync="open1" width="1000px" append-to-body>
       <el-form ref="form1" :model="form1" :rules="rules1" label-width="100px" :inline="true">
@@ -759,6 +761,7 @@
     <Packages ref="aaa" @add="handleChanges" />
     <selectName ref="bbb" @add="handleChangesName" />
   </div>
+</div>
 </template>
 
 <script>
@@ -826,6 +829,7 @@
     return {
       isSubmitting: false,
       contentLoading: false,
+      isLoading: false,
       open1: false,
       filterage: "",
       checkedkeys: [],
@@ -2921,6 +2925,7 @@
 
     // 椤圭洰鎻愪氦
     submit() {
+    this.isLoading = true;
       if (this.form.cusIdcard) {
         var cusId = this.form.cusIdcard;
       } else {
@@ -2972,11 +2977,11 @@
               this.processOrderItems(cusId);
             }
             this.isSubmitting = false; // 鎻愪氦瀹屾垚鍚庨噸缃爣蹇�
-            // this.contentLoading = false;
+             this.isLoading = false;
           })
           .catch(() => {
             this.isSubmitting = false; // 纭繚鍦ㄩ敊璇儏鍐典笅涔熼噸缃爣蹇�
-            // this.contentLoading = false;
+             this.isLoading = false;
           });
       } else {
         getaddtTransition(data)
@@ -2985,10 +2990,12 @@
               this.processOrderItems(cusId);
             }
             this.isSubmitting = false; // 鎻愪氦瀹屾垚鍚庨噸缃爣蹇�
+             this.isLoading = false;
             // this.contentLoading = false;
           })
           .catch(() => {
             this.isSubmitting = false; // 纭繚鍦ㄩ敊璇儏鍐典笅涔熼噸缃爣蹇�
+             this.isLoading = false;
             // this.contentLoading = false;
           });
       }

--
Gitblit v1.8.0