From c3e60cd54a0222c7ed22edbd2cf9a8838dcb4563 Mon Sep 17 00:00:00 2001
From: clay <20932067@zju.edu.cn>
Date: Fri, 7 Jan 2022 00:02:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E7=B1=BB=E5=88=AB=E7=AE=A1?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ebts-ui/src/views/sist/articledic/index.vue | 2 +-
ebts-ui/src/views/sist/dire/index.vue | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ebts-ui/src/views/sist/articledic/index.vue b/ebts-ui/src/views/sist/articledic/index.vue
index da5ca9b..db128f6 100644
--- a/ebts-ui/src/views/sist/articledic/index.vue
+++ b/ebts-ui/src/views/sist/articledic/index.vue
@@ -236,7 +236,6 @@ export default {
/** 查询字典数据列表 */
getList() {
this.loading = true;
- this.queryParams.dictType='article_type';
listData(this.queryParams).then(response => {
this.dataList = response.rows;
this.total = response.total;
@@ -303,6 +302,7 @@ export default {
submitForm: function() {
this.$refs["form"].validate(valid => {
if (valid) {
+ this.form.dictType = 'article_type'
if (this.form.dictCode != undefined) {
updateData(this.form).then(response => {
this.msgSuccess("修改成功");
diff --git a/ebts-ui/src/views/sist/dire/index.vue b/ebts-ui/src/views/sist/dire/index.vue
index 3e19e9e..432b9d5 100644
--- a/ebts-ui/src/views/sist/dire/index.vue
+++ b/ebts-ui/src/views/sist/dire/index.vue
@@ -34,7 +34,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
- v-hasPermi="['system:dict:add']"
+ v-hasPermi="['sist:dire:add']"
>新增
@@ -45,7 +45,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
- v-hasPermi="['system:dict:edit']"
+ v-hasPermi="['sist:dire:edit']"
>修改
@@ -56,7 +56,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['system:dict:remove']"
+ v-hasPermi="['sist:dire:remove']"
>删除
@@ -66,7 +66,7 @@
icon="el-icon-download"
size="mini"
@click="handleExport"
- v-hasPermi="['system:dict:export']"
+ v-hasPermi="['sist:dire:export']"
>导出
@@ -93,7 +93,7 @@
plain
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
- v-hasPermi="['system:dict:edit']"
+ v-hasPermi="['sist:dire:edit']"
>修改
删除
@@ -210,7 +210,6 @@ export default {
/** 查询字典数据列表 */
getList() {
this.loading = true;
- this.queryParams.dictType='dire_type';
listData(this.queryParams).then(response => {
this.dataList = response.rows;
this.total = response.total;
@@ -276,6 +275,7 @@ export default {
submitForm: function() {
this.$refs["form"].validate(valid => {
if (valid) {
+ this.form.dictType = 'dire_type'
if (this.form.dictCode != undefined) {
updateData(this.form).then(response => {
this.msgSuccess("修改成功");