From 8f1658f2eb8e80189cc12ff994443abec7e36e6c Mon Sep 17 00:00:00 2001 From: wuhongjian Date: Wed, 12 Oct 2022 17:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/public/config/basicConfig.js | 7 +- .../views/modules/sys/menu-add-or-update.vue | 13 +- front/public/static/config/basicConfig.js | 4 +- .../components/ResourceAggregation.vue | 1089 +++++----- .../home/components/searchResultList.vue | 1846 +++++++++-------- .../views/newHome/components/Navigation2.vue | 8 +- .../newHome/components/PopularAbility.vue | 6 +- 7 files changed, 1555 insertions(+), 1418 deletions(-) diff --git a/back/public/config/basicConfig.js b/back/public/config/basicConfig.js index fb5e785c..9608ff60 100644 --- a/back/public/config/basicConfig.js +++ b/back/public/config/basicConfig.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-08-25 14:37:49 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-10-12 13:40:14 + * @LastEditTime: 2022-10-12 15:25:01 * @Description: 告诉大家这是什么 */ var _global = {} @@ -11,7 +11,7 @@ var CONFIGITEM = { // version: 'xihaian', // 西海岸 // version: 'test', // 测试 // version: 'frp', // 内网穿透 - version: 'dev', // 开发 + version: 'xihaian', // 开发 vNum: 'v0.8.7.2', configData: { // 青岛市大数据局 @@ -25,7 +25,8 @@ var CONFIGITEM = { previewUrl: 'http://10.134.135.9:9796/', // apiURL: 'http://10.134.135.9:8888/renren-admin', // apiURL: 'http://10.16.5.35:8888/renren-admin', // 李志成-研发 - apiURL: 'http://192.168.124.254:8888/renren-admin', // 李志成-远雄 + apiURL: 'http://192.168.124.236:8888/renren-admin', + // apiURL: 'http://192.168.124.254:8888/renren-admin', // 李志成-远雄 websocketURL: 'ws://10.134.135.9:8888/renren-admin/websocket' }, // 测试 diff --git a/back/src/views/modules/sys/menu-add-or-update.vue b/back/src/views/modules/sys/menu-add-or-update.vue index 4df7fa18..ed7ddd49 100644 --- a/back/src/views/modules/sys/menu-add-or-update.vue +++ b/back/src/views/modules/sys/menu-add-or-update.vue @@ -33,9 +33,13 @@ + + + +
@@ -77,6 +81,7 @@ export default { name: '', pid: '0', parentName: '', + site: 0, url: '', permissions: '', sort: 0, @@ -98,14 +103,14 @@ export default { }, watch: { 'dataForm.type' (val) { - this.$refs['dataForm'].clearValidate() + this.$refs.dataForm.clearValidate() } }, methods: { init () { this.visible = true this.$nextTick(() => { - this.$refs['dataForm'].resetFields() + this.$refs.dataForm.resetFields() this.iconList = getIconList() console.log('iconList', this.iconList) this.dataForm.parentName = this.$t('menu.parentNameDefault') @@ -159,7 +164,7 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { - this.$refs['dataForm'].validate((valid) => { + this.$refs.dataForm.validate((valid) => { if (!valid) { return false } @@ -178,7 +183,7 @@ export default { }) }).catch(() => {}) }) - }, 1000, { 'leading': true, 'trailing': false }) + }, 1000, { leading: true, trailing: false }) } } diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js index 5072b016..b67b249c 100644 --- a/front/public/static/config/basicConfig.js +++ b/front/public/static/config/basicConfig.js @@ -2,13 +2,13 @@ * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-10-11 10:46:03 + * @LastEditTime: 2022-10-12 15:29:29 * @Description: 系统静态参数配置 */ var _global = {} var CONFIGITEM = { // version: 'qingdao', //青岛 - //version: 'xihaian', // 西海岸 + // version: 'xihaian', // 西海岸 version: 'dev', // 开发 // version: 'zhanTingDev', // 展厅dev (2022-09-13:姜永超让添加) //version: 'test', // 测试 diff --git a/front/src/views/abilityStatistics/components/ResourceAggregation.vue b/front/src/views/abilityStatistics/components/ResourceAggregation.vue index 64c3021b..018e14a8 100644 --- a/front/src/views/abilityStatistics/components/ResourceAggregation.vue +++ b/front/src/views/abilityStatistics/components/ResourceAggregation.vue @@ -11,9 +11,12 @@
- + {{ item.type }}
@@ -52,579 +55,591 @@
diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index c32a2f60..96d345a2 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -6,106 +6,159 @@ 检测结果: {{ resourceTotal || '' }} 个{{ - cardType == '组件服务' ? '组件' : cardType == '应用资源' ? '应用' : '' + cardType == '组件服务' ? '组件' : cardType == '应用资源' ? '应用' : '' }}
- +
    -
  • +
  • {{ item.name }} - +
-
-
+
-
- + " + > +
-
- + " + > +
-
+
-
+
{{ item.name }} - + " + style="margin-left: 10px; min-width: 40px" + > + fill="#d81e06" + p-id="3063" + > + fill="#d81e06" + p-id="3064" + > + fill="#d81e06" + p-id="3065" + >
-
-