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("修改成功");