From 942697763a76be6f6e9402d34015c8a94336406c Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期二, 24 六月 2025 16:37:05 +0800 Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb --- 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