From 34e9605033b51eed37a3c7e1df4e4a2f394c9ab0 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期二, 13 九月 2022 10:42:16 +0800 Subject: [PATCH] 问题修改 --- src/views/system/notice/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 9c793f5..5a72073 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -96,7 +96,7 @@ <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> </template> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> + <el-table-column label="鎿嶄綔" align="center" fixed="right" width="120" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button size="mini" @@ -125,7 +125,7 @@ /> <!-- 娣诲姞鎴栦慨鏀瑰叕鍛婂璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="780px" append-to-body> + <Dialog :title="title" :visible.sync="open" width="780px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-row> <el-col :span="12"> @@ -167,7 +167,7 @@ <el-button type="primary" @click="submitForm">纭� 瀹�</el-button> <el-button @click="cancel">鍙� 娑�</el-button> </div> - </el-dialog> + </Dialog> </div> </template> @@ -302,7 +302,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const noticeIds = row.noticeId || this.ids - this.$modal.confirm('鏄惁纭鍒犻櫎鍏憡缂栧彿涓�"' + noticeIds + '"鐨勬暟鎹」锛�').then(function() { + this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() { return delNotice(noticeIds); }).then(() => { this.getList(); @@ -311,4 +311,4 @@ } } }; -</script> \ No newline at end of file +</script> -- Gitblit v1.9.1