diff --git a/project/oms/apps/develop/AppDeployCustom/AiLibTable.vue b/project/oms/apps/develop/AppDeployCustom/AiLibTable.vue index 60a6ffe8..f9c28eec 100644 --- a/project/oms/apps/develop/AppDeployCustom/AiLibTable.vue +++ b/project/oms/apps/develop/AppDeployCustom/AiLibTable.vue @@ -45,7 +45,7 @@ export default { default: () => [ {prop: 'label', label: "应用名称"}, {prop: 'project', label: "项目/框架"}, - {prop: 'category', label: "分类", dict: "appsCategory"}, + {prop: 'category', label: "分类"}, {prop: 'name', label: "模块名"}, ] }, @@ -87,7 +87,7 @@ export default { const {page, search, action, meta, searchKey, dict, customData} = this if (meta.length > 0 || customData) { const reg = new RegExp(search[searchKey]) - this.handleTableData(meta.filter(e => reg.test(e.label) || reg.test(e.name) || reg.test(dict.getLabel('appsCategory', e.category)))) + this.handleTableData(meta.filter(e => reg.test(e.label) || reg.test(e.name) || reg.test(e.category))) } else this.instance?.post(action, null, { params: {...page, ...search} }).then(res => { @@ -143,7 +143,6 @@ export default { } }, created() { - this.dict.load('appsCategory') this.$set(this.search, this.searchKey, "") this.getTableData() } diff --git a/project/oms/apps/develop/AppDeployCustom/AppDeployCustom.vue b/project/oms/apps/develop/AppDeployCustom/AppDeployCustom.vue index 2f5dd796..f8c01c10 100644 --- a/project/oms/apps/develop/AppDeployCustom/AppDeployCustom.vue +++ b/project/oms/apps/develop/AppDeployCustom/AppDeployCustom.vue @@ -24,7 +24,16 @@ export default { } }, created() { - this.dict.load('yesOrNo', 'systemType', 'appsCategory') + this.dict.setStorage([{ + key: "systemType", + name: "系统类型", + values: [ + {dictValue: "web", dictName: "web端"}, + {dictValue: "mp", dictName: "小程序"}, + {dictValue: "h5", dictName: "移动端H5"}, + ] + }]) + this.dict.load('yesOrNo') } }