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 fd8a2497..6d37819d 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/api/file.js b/front/src/api/file.js index 9e4133e2..19b43c8d 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -99,7 +99,7 @@ export function getHls(params) { } // 西海岸--获取摄像头列表的后台地址 (测试环境地址:10.134.135.92:9537) -let _cameraUrl = _global && _global.config && _global.config.camreaInfo.cameraUrl || '10.134.135.92:9537'; +let _cameraUrl = _global && _global.config && _global.config.camreaInfo && _global.config.camreaInfo.cameraUrl || '10.134.135.92:9537'; //能力集市基础设施-左侧列表 export function getCameraInfoByAreaId(params) { return axios.get(`http://${_cameraUrl}/data_service/getCamera/getCameraInfoByAreaId?areaId=${params.areaId}`, diff --git a/front/src/api/home.js b/front/src/api/home.js index db989ea8..7daee6ff 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -74,7 +74,15 @@ export function getHls(params) { // 加入申购车 export function sgcInsert(data) { return request({ - // url: '/resourcecar/insert', + url: '/resourcecar/insert', + method: 'post', + data, + }) +} + +// 西海岸--加入申购车 +export function xhaAddCart(data) { + return request({ url: '/resourcecar/batchInsert', // 西海岸-加入购物车相当于收藏功能 method: 'post', data, 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" + >
-
-