diff --git a/back/src/views/modules/ability/components/tag-directory.vue b/back/src/views/modules/ability/components/tag-directory.vue
index a4debe40..772709da 100644
--- a/back/src/views/modules/ability/components/tag-directory.vue
+++ b/back/src/views/modules/ability/components/tag-directory.vue
@@ -3,10 +3,10 @@
-
+
- 标签检索
+ 标签检索
-
标签详情
-
+ 标签详情查看
+
-
+
-
+
-
+
-
+
@@ -66,6 +66,7 @@ export default {
label: 'dictName'
},
defaultNode: '',
+ rowData: {},
}
},
watch: {
@@ -76,12 +77,12 @@ export default {
handler(newVal) {
this.dataListCopy = [];
this.defaultNode = null;
- this.dataForm = {};
+ this.rowData = {};
newVal.map((v, i) => {
v.id = `${v.id}`;
if (i == 0) {
this.defaultNode = v.id;
- this.dataForm = v;
+ this.rowData = v;
this.$nextTick(() => {
this.$refs.treeDom.setCurrentKey(this.defaultNode); //一定要加这个选中了否则样式没有出来
});
@@ -95,7 +96,8 @@ export default {
}
this.dataListCopy.push(v)
})
- }
+ },
+ deep: true,
}
},
methods: {
@@ -104,7 +106,7 @@ export default {
return data.label.indexOf(value) !== -1;
},
handleNodeClick(data) {
- this.dataForm = data
+ this.rowData = data
},
},
diff --git a/back/src/views/modules/ability/components/tag-sys-build.vue b/back/src/views/modules/ability/components/tag-sys-build.vue
index 863e26cd..911576c4 100644
--- a/back/src/views/modules/ability/components/tag-sys-build.vue
+++ b/back/src/views/modules/ability/components/tag-sys-build.vue
@@ -9,7 +9,7 @@
{{ $t('query') }}
- 新增分类
+ 新增标签分类
import mixinViewModule from '@/mixins/view-module'
-// import AddOrUpdate from './dict-data-add-or-update'
+import AddOrUpdate from './tag-type-add-or-update'
export default {
mixins: [mixinViewModule],
data() {
@@ -79,7 +79,7 @@ export default {
}
},
components: {
- // AddOrUpdate
+ AddOrUpdate
},
created() {
this.dataForm.dictTypeId = this.$route.params.dictTypeId || '0'
diff --git a/back/src/views/modules/ability/tag-type-add-or-update.vue b/back/src/views/modules/ability/tag-type-add-or-update.vue
index 5b438514..7c53d74c 100644
--- a/back/src/views/modules/ability/tag-type-add-or-update.vue
+++ b/back/src/views/modules/ability/tag-type-add-or-update.vue
@@ -1,10 +1,10 @@
-
-
-
+
+
diff --git a/back/src/views/modules/ability/tag.vue b/back/src/views/modules/ability/tag.vue
index 2a4780fb..7b192548 100644
--- a/back/src/views/modules/ability/tag.vue
+++ b/back/src/views/modules/ability/tag.vue
@@ -6,7 +6,7 @@
{{ tab.name }}
-
+
@@ -23,7 +23,7 @@ export default {
return {
tabList: [
{
- name: '标签体系构建',
+ name: '标签体系分类',
key: 'build'
}, {
name: '标签目录管理',