diff --git a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputbiztypetree/index.js b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputbiztypetree/index.js index 00e5cbe..aad5ec1 100644 --- a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputbiztypetree/index.js +++ b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputbiztypetree/index.js @@ -27,7 +27,7 @@ export default { }, // 字段key,用于取出数据中的名字 fieldName: { - default: 'title' + default: 'busTypeName' }, emptyText: { default: '无匹配项' @@ -114,6 +114,9 @@ export default { }, watch: {}, mounted() { + + }, + created() { let that = this; //加载资源列表 const { proxy } = Vue.getCurrentInstance() @@ -123,9 +126,6 @@ export default { that.list = res.data; } }) - }, - created() { - } } diff --git a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputkpitree/index.js b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputkpitree/index.js index e94a721..b2b9f9e 100644 --- a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputkpitree/index.js +++ b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputkpitree/index.js @@ -27,7 +27,7 @@ export default { }, // 字段key,用于取出数据中的名字 fieldName: { - default: 'title' + default: 'kpiName' }, emptyText: { default: '无匹配项' @@ -114,6 +114,9 @@ export default { }, watch: {}, mounted() { + + }, + created() { let that = this; //加载资源列表 const { proxy } = Vue.getCurrentInstance() @@ -123,9 +126,6 @@ export default { that.list = res.data; } }) - }, - created() { - } } diff --git a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputrestypetree/index.js b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputrestypetree/index.js index 3697d95..6998ae0 100644 --- a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputrestypetree/index.js +++ b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputrestypetree/index.js @@ -114,6 +114,9 @@ export default { }, watch: {}, mounted() { + + }, + created() { let that = this; //加载资源列表 const { proxy } = Vue.getCurrentInstance() @@ -123,9 +126,6 @@ export default { that.list = res.data; } }) - }, - created() { - } } diff --git a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputusertree/index.js b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputusertree/index.js index 005fbaf..7c0f1b8 100644 --- a/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputusertree/index.js +++ b/hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/inputusertree/index.js @@ -27,7 +27,7 @@ export default { }, // 字段key,用于取出数据中的名字 fieldName: { - default: 'title' + default: 'nickname' }, emptyText: { default: '无匹配项' @@ -100,7 +100,7 @@ export default { } else { that.modelValue.forEach(function (v, i) { selectArr.forEach(function (v1) { - if (v.busId == v1.busId) { + if (v.id === v1.id) { that.modelValue.splice(i, 1); } }) @@ -114,6 +114,9 @@ export default { }, watch: {}, mounted() { + + }, + created() { let that = this; //加载资源列表 const {proxy} = Vue.getCurrentInstance() @@ -123,9 +126,6 @@ export default { that.list = res; } }) - }, - created() { - } }