From 7c7c4ae64b84be1766a5ebbe3ba5ee97cba8c6da Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 04 七月 2024 16:21:41 +0800 Subject: [PATCH] ‘’ --- admin/src/views/business/approvalConfiguration.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/admin/src/views/business/approvalConfiguration.vue b/admin/src/views/business/approvalConfiguration.vue index 320a8b2..eba5df1 100644 --- a/admin/src/views/business/approvalConfiguration.vue +++ b/admin/src/views/business/approvalConfiguration.vue @@ -163,6 +163,7 @@ <div class="config_data_submit"> <el-button @click="onSubmit" + :loading="subLoading" style="background: #435ebe" type="primary" >淇濆瓨閰嶇疆椤�</el-button @@ -243,6 +244,7 @@ data () { return { activeType: '0', + subLoading: false, apprList: [ { remark: '瀹℃壒浜�', active: false, type: '0', objIds: [] }, { remark: '鎶勯�佷汉', active: false, type: '1', objIds: [] } @@ -323,13 +325,15 @@ item.objIds = '' } }) + this.subLoading = true approveTemplSave({ type: activeType, paramList: temp }).then(res => { - // if (res.code === 200) { - this.$message.success('淇濆瓨鎴愬姛') - // } + this.subLoading = false + this.$tip.success('淇濆瓨鎴愬姛') + }, () => { + this.subLoading = false }) }, handleDel () { -- Gitblit v1.9.3