From d1ce83391deac7bbafe7316e91ede5edd6ca30c9 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 30 十二月 2022 11:12:00 +0800
Subject: [PATCH] 1.基础设置模块下的变换肤色完成
---
src/views/xtsz/cjgg.vue | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/src/views/xtsz/cjgg.vue b/src/views/xtsz/cjgg.vue
index 23fa776..91100f4 100644
--- a/src/views/xtsz/cjgg.vue
+++ b/src/views/xtsz/cjgg.vue
@@ -100,6 +100,7 @@
prop="wksp_name"
label="鎵ц杞﹂棿"
sortable="custom"
+ show-tooltip-when-overflow
/>
<el-table-column
prop="title"
@@ -116,17 +117,19 @@
/>
<el-table-column
prop="lm_user"
+ show-tooltip-when-overflow
label="鍒涘缓浜哄憳"
sortable="custom"
/>
<el-table-column
prop="lm_date"
label="鍒涘缓鏃堕棿"
-
+ show-tooltip-when-overflow
sortable="custom"
/>
<el-table-column
prop="if_cancel"
+ show-tooltip-when-overflow
label="鏄惁鎾ら攢"
sortable="custom"
>
@@ -139,6 +142,7 @@
prop="priority"
label="鍏憡绛夌骇"
sortable="custom"
+ show-tooltip-when-overflow
>
<template slot-scope="{row}">
<div v-if="row.priority===3">涓�鑸�</div>
@@ -242,7 +246,12 @@
<span slot="footer" class="dialog-footer">
<div class="footerButton">
<el-button @click="dialogVisibleCancel">鍙� 娑�</el-button>
- <el-button type="primary" @click="dialogVisibleConfirm">纭� 瀹�</el-button>
+ <el-button
+ type="primary"
+ :loading="$store.state.app.buttonIsDisabled"
+ :disabled="$store.state.app.buttonIsDisabled"
+ @click="dialogVisibleConfirm"
+ >纭� 瀹�</el-button>
</div>
</span>
</el-dialog>
@@ -454,19 +463,19 @@
},
// 瀵硅瘽妗嗙‘璁�
dialogVisibleConfirm() {
- console.log(this.dialogForm.dtString, 111)
- console.log(this.dialogForm.id, this.dialogForm.ancetitle, this.dialogForm.ancecont, this.dialogForm.level, this.dialogForm.cancel, this.dialogForm.opertype, 111)
this.$refs.dialogForm.validate(valid => {
if (valid) {
+ this.$store.state.app.buttonIsDisabled = true
const data = []
this.dialogForm.dtString.forEach(item => {
data.push({ wksp_code: item })
})
SystemAnnouncementAddUpdate(data, this.dialogForm.id, this.dialogForm.ancetitle, this.dialogForm.ancecont, this.dialogForm.level, this.dialogForm.cancel, this.operation === 'add' ? 'Add' : 'Update').then(res => {
if (res.code === '200') {
- this.$message.success(this.operation === 'add' ? '娣诲姞鎴愬姛锛�' : '淇敼鎴愬姛锛�')
this.dialogVisible = false
+ this.$message.success(this.operation === 'add' ? '娣诲姞鎴愬姛锛�' : '淇敼鎴愬姛锛�')
this.getSystemAnnouncementSearch()
+ this.$store.state.app.buttonIsDisabled = false
} else {
this.$message.error(this.operation === 'add' ? '娣诲姞澶辫触锛�' : '淇敼澶辫触锛�')
}
--
Gitblit v1.9.3