diff --git a/src/resources/api/cmdb/resource/applicationManage/applicationManage.js b/src/resources/api/cmdb/resource/applicationManage/applicationManage.js index ec520e3f0d95b8f61b0925968fdf195621c6c13c..b8a9f4996c8dca2a44c84b3fe9cb620e95a631cd 100644 --- a/src/resources/api/cmdb/resource/applicationManage/applicationManage.js +++ b/src/resources/api/cmdb/resource/applicationManage/applicationManage.js @@ -39,6 +39,18 @@ const applicationManage = { getAppmoduleById(params) { // 根据模块id,获取模块信息 return axios.post('api/rest/resourcecenter/appmodule/get', params); + }, + getApplicationlistSetting() { //获取应用清单显示设置 + return axios.post('/api/rest/resourcecenter/applicationlist/display/get', {}); + }, + saveApplicationlistSetting(params) { //保存应用清单显示设置 + return axios.post('/api/rest/resourcecenter/applicationlist/display/save', params); + }, + getAppResourceList(params) { + return axios.post('/api/rest/resourcecenter/app/resource/list', params); + }, + getAppAssetTheadlist() { + return axios.post('/api/rest/resourcecenter/app/assetlist/theadlist', {}); } }; export default applicationManage; diff --git a/src/resources/api/cmdb/resource/resourceentity/resourceentity.js b/src/resources/api/cmdb/resource/resourceentity/resourceentity.js index d0a043521a117efd53abcb39d755356c5faf7c20..cd4416dd2f5a4b1a5d91580f76c282318ec0e513 100644 --- a/src/resources/api/cmdb/resource/resourceentity/resourceentity.js +++ b/src/resources/api/cmdb/resource/resourceentity/resourceentity.js @@ -14,6 +14,18 @@ const resourceentity = { }, getResourceEntityViewDataList(params) { return axios.post('/api/rest/resourcecenter/resourceentity/viewdata/list', params); + }, + getAssetlist() { + return axios.post('/api/rest/resourcecenter/assetlist/display/get', {}); + }, + getResourcetypeTree(params) { + return axios.post('/api/rest/resourcecenter/resourcetype/listtree', params); + }, + saveAssetlistData(params) { + return axios.post('/api/rest/resourcecenter/assetlist/display/save', params); + }, + deleteResourceentityData(params) { + return axios.post('/api/rest/resourcecenter/resourceentity/delete', params); } }; export default resourceentity; diff --git a/src/resources/api/inspect/applicationInspect/applicationInspect.js b/src/resources/api/inspect/applicationInspect/applicationInspect.js index 1b5de9dde3123788b544571f30c607ce3ae5070b..d63548137e7d1efa9ad9dd651b44f9c6eb990300 100644 --- a/src/resources/api/inspect/applicationInspect/applicationInspect.js +++ b/src/resources/api/inspect/applicationInspect/applicationInspect.js @@ -5,6 +5,10 @@ const applicationInspect = { // 获取应用巡检列表 return axios.post('/api/rest/inspect/appmodule/report/search', params); }, + getNewapplicationInspectList(params) { + // 获取新的应用巡检列表 + return axios.post('/api/rest/inspect/app/resource/list', params); + }, getResourceTypeList(params) { // 发起应用巡检 return axios.post('/api/rest/resourcecenter/appmodule/resource/type/list', params); diff --git a/src/resources/assets/css/theme.less b/src/resources/assets/css/theme.less index 8e600bb3a5d396aa4da6893f12073ac404f6d35e..1e11750b45e84ee48c75bae3c0f03fb5cf0f7ff9 100644 --- a/src/resources/assets/css/theme.less +++ b/src/resources/assets/css/theme.less @@ -3393,6 +3393,8 @@ //Tabs .@{iv-prev}tabs { + border-spacing: 0px; //表格组件边框间距问题 + .@{iv-prev}tabs-bar { border-color: var(--dividing-color, @dividing-color); } diff --git a/src/resources/plugins/TsForm/TsFormTree.vue b/src/resources/plugins/TsForm/TsFormTree.vue index 0b5947666839ca9c17b7ba2213877c2c4a7b8bb2..83ced231ff22e4effcfba86156e1735f7267320b 100755 --- a/src/resources/plugins/TsForm/TsFormTree.vue +++ b/src/resources/plugins/TsForm/TsFormTree.vue @@ -441,7 +441,7 @@ export default { let label = this.multiple ? this.selectedList.map(s => s[this.textName]) : this.selectedList.length > 0 ? this.selectedList[0][this.textName] : ''; let valueObject = this.selectedList.map((item) => { - return { 'value': item[this.valueName], 'text': item[this.textName] }; + return { ...item || {}, 'value': item[this.valueName], 'text': item[this.textName] }; }); valueObject = this.multiple ? valueObject : (valueObject[0] || {}); this.$emit('change', this.currentValue, valueObject); diff --git a/src/views/pages/cmdb/application/application-manage.vue b/src/views/pages/cmdb/application/application-manage.vue index 4558fa4520ad2c6d9ff4d39ab14b296dc23eddec..9fb6c635346babe517bc7ed46a516f22da4eaec7 100644 --- a/src/views/pages/cmdb/application/application-manage.vue +++ b/src/views/pages/cmdb/application/application-manage.vue @@ -5,6 +5,7 @@
{{ $t('page.apply') }} {{ $t('page.module') }} + {{ $t('page.setting') }}
+ diff --git a/src/views/pages/cmdb/asset/components/tree-edit.vue b/src/views/pages/cmdb/asset/components/tree-edit.vue index 05f909f60010662a9ca87fbcc7de41494cc63a7f..cb25c3c7fd80121fc832a45c6edcb6ba9ce362bc 100644 --- a/src/views/pages/cmdb/asset/components/tree-edit.vue +++ b/src/views/pages/cmdb/asset/components/tree-edit.vue @@ -1,14 +1,20 @@ -