From e31c2d72f186602747e38e3ed54eba774a3aeeb2 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期二, 05 十二月 2023 17:42:30 +0800
Subject: [PATCH] 1、数据更改的升版方法进行添加修改码值表的创建数据oid为最新数据的oid。
---
Source/UBCS-WEB/src/views/system/post.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/system/post.vue b/Source/UBCS-WEB/src/views/system/post.vue
index 0c22c51..94d7b46 100644
--- a/Source/UBCS-WEB/src/views/system/post.vue
+++ b/Source/UBCS-WEB/src/views/system/post.vue
@@ -21,11 +21,11 @@
@on-load="onLoad">
<template slot="menuLeft">
<el-button type="danger"
- size="small"
- icon="el-icon-delete"
- plain
- v-if="permission.post_delete"
- @click="handleDelete">鍒� 闄�
+ size="small"
+ icon="el-icon-delete"
+ plain
+ v-if="permissionList.delBtn"
+ @click="handleDelete">鍒� 闄�
</el-button>
</template>
<template slot-scope="{row}"
@@ -152,10 +152,10 @@
...mapGetters(["permission"]),
permissionList() {
return {
- addBtn: this.vaildData(this.permission.post_add, false),
- viewBtn: this.vaildData(this.permission.post_view, false),
- delBtn: this.vaildData(this.permission.post_delete, false),
- editBtn: this.vaildData(this.permission.post_edit, false)
+ addBtn: this.vaildData(this.permission.post.post_add, false),
+ viewBtn: this.vaildData(this.permission.post.post_view, false),
+ delBtn: this.vaildData(this.permission.post.post_delete, false),
+ editBtn: this.vaildData(this.permission.post.post_edit, false)
};
},
ids() {
--
Gitblit v1.10.0