From fe349c3ff3308bc81dd263a79e71b50a0e7bfbf2 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Mon, 25 Jul 2022 09:51:55 +0800
Subject: [PATCH 01/29] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/activiti/demo/putaway-process3.vue | 3 +++
.../views/modules/myAgent/AbilityResourceShelf.vue | 9 ++++++++-
.../modules/myAgent/AbilityResourcesRemoved.vue | 9 ++++++++-
.../views/modules/myAgent/CompetencyApplication.vue | 9 ++++++++-
.../modules/myAgent/demo/ability-resource-shelf.vue | 3 +++
.../modules/myAgent/demo/competency-application.vue | 13 +++++++++----
6 files changed, 39 insertions(+), 7 deletions(-)
diff --git a/back/src/views/modules/activiti/demo/putaway-process3.vue b/back/src/views/modules/activiti/demo/putaway-process3.vue
index e6625af1..b428aa2e 100644
--- a/back/src/views/modules/activiti/demo/putaway-process3.vue
+++ b/back/src/views/modules/activiti/demo/putaway-process3.vue
@@ -136,6 +136,7 @@
diff --git a/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue b/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue
index 1a1154ed..91a1826c 100644
--- a/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue
+++ b/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-27 11:27:22
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-06-29 16:31:26
+ * @LastEditTime: 2022-07-25 09:48:46
* @Description: "能力资源下架"
-->
@@ -128,6 +128,7 @@
diff --git a/back/src/views/modules/myAgent/CompetencyApplication.vue b/back/src/views/modules/myAgent/CompetencyApplication.vue
index ceae9900..cde3984b 100644
--- a/back/src/views/modules/myAgent/CompetencyApplication.vue
+++ b/back/src/views/modules/myAgent/CompetencyApplication.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-27 11:27:22
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-06-29 16:31:26
+ * @LastEditTime: 2022-07-25 09:39:01
* @Description: 能力申请
-->
@@ -118,6 +118,7 @@
diff --git a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
index 13153689..b7ce4506 100644
--- a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
+++ b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue
@@ -83,6 +83,7 @@
diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
index ae406496..59c5ffc3 100644
--- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
+++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
@@ -204,7 +204,7 @@
message.config({
top: '100px', // 距离顶部的位置
})
- message.error('暂未上传接口文档')
+ message.error('暂未开放技术文档')
}
}
function technicalNew() {
@@ -228,7 +228,7 @@
message.config({
top: '100px', // 距离顶部的位置
})
- message.error('暂未上传使用手册')
+ message.error('暂未开放新手指引')
}
}
From 73ef6f5bdc527fa53d1d9602bd911af1d40c3d53 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 10:17:47 +0800
Subject: [PATCH 17/29] =?UTF-8?q?BUG=20=E4=BF=AE=E6=94=B9=20=E6=88=91?=
=?UTF-8?q?=E7=9A=84=E5=8F=91=E5=B8=83=E6=97=A0=E6=B3=95=E8=B7=B3=E8=BD=AC?=
=?UTF-8?q?=20=20=E7=94=B3=E8=B4=AD=E8=BD=A6=20=E8=BF=87=E6=BB=A4=E5=B7=B2?=
=?UTF-8?q?=E7=BB=8F=E4=B8=8B=E6=9E=B6=E7=9A=84=E8=83=BD=E5=8A=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/personalCenter/components/MyPublish.vue | 2 +-
.../personalCenter/components/PurchaseVehicle.vue | 12 +++++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/front/src/views/personalCenter/components/MyPublish.vue b/front/src/views/personalCenter/components/MyPublish.vue
index f802d426..03508c97 100644
--- a/front/src/views/personalCenter/components/MyPublish.vue
+++ b/front/src/views/personalCenter/components/MyPublish.vue
@@ -484,7 +484,7 @@
del()
})
onBeforeUnmount(() => {
- mybus.off('tabsChange')
+ mybus.off('Cancellation')
mybus.off('Determine')
})
const reason = ref('')
diff --git a/front/src/views/personalCenter/components/PurchaseVehicle.vue b/front/src/views/personalCenter/components/PurchaseVehicle.vue
index fc707d66..f557a4b3 100644
--- a/front/src/views/personalCenter/components/PurchaseVehicle.vue
+++ b/front/src/views/personalCenter/components/PurchaseVehicle.vue
@@ -821,9 +821,15 @@
} else {
let arr = []
list.value.map((val) => {
- val.arr = val.children.filter(
- (item) => checkedListAbility.value.indexOf(item.id) > -1
- )
+ val.arr = val.children.filter((item) => {
+ console.log('选择的数据=============>', item)
+ if (
+ checkedListAbility.value.indexOf(item.id) > -1 &&
+ item.delFlag != 0
+ ) {
+ return item
+ }
+ })
})
arr = list.value.filter((val) => val.arr.length !== 0)
console.log('一键申请===================>', arr)
From 14d684bdfde5e7c35f4470c66f0363f3675b449d Mon Sep 17 00:00:00 2001
From: gaoyuanwei <2826352639@qq.com>
Date: Tue, 26 Jul 2022 10:18:34 +0800
Subject: [PATCH 18/29] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E5=BF=85=E5=A1=AB?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/capacityOnTheShelf/Application.vue | 21 ++-
.../components/PutOnTheShelf.vue | 162 +++++++++++-------
2 files changed, 114 insertions(+), 69 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/Application.vue b/front/src/views/capacityOnTheShelf/Application.vue
index 64b5abc6..a2de4f76 100644
--- a/front/src/views/capacityOnTheShelf/Application.vue
+++ b/front/src/views/capacityOnTheShelf/Application.vue
@@ -301,6 +301,9 @@
if (!dataFrom.value.name) {
notFilled.value.push('应用名称')
}
+ if (!dataFrom.value.shareCondition) {
+ notFilled.value.push('共享条件')
+ }
if (!dataFrom.value.description) {
notFilled.value.push('应用描述')
}
@@ -337,15 +340,15 @@
) {
notFilled.value.push('应用类型')
}
- if (
- !dataFrom.value.infoList.filter(
- (val) => val.attrType === '共享条件'
- )[0] ||
- !dataFrom.value.infoList.filter((val) => val.attrType === '共享条件')[0]
- .attrValue
- ) {
- notFilled.value.push('共享条件')
- }
+ // if (
+ // !dataFrom.value.infoList.filter(
+ // (val) => val.attrType === '共享条件'
+ // )[0] ||
+ // !dataFrom.value.infoList.filter((val) => val.attrType === '共享条件')[0]
+ // .attrValue
+ // ) {
+ // notFilled.value.push('共享条件')
+ // }
if (notFilled.value.length > 0) {
message.warning('请填写必填字段')
console.log(notFilled.value)
diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
index 2c5bf849..0e8cc563 100644
--- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
+++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
@@ -14,9 +14,8 @@
-
-
-
+
-
{{ title.name }}-{{ index + 1 }}
+
- {{ title.name }}-{{ index + 1 }}
-
-
-
-
-
+
From 15a32365169861d67bcd8578fb6d1beec40ed4e7 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 10:43:28 +0800
Subject: [PATCH 19/29] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9=20=20=E4=B8=8B?=
=?UTF-8?q?=E6=9E=B6=E7=9A=84=E8=83=BD=E5=8A=9B=20=E4=B8=8D=E5=85=81?=
=?UTF-8?q?=E8=AE=B8=E7=94=B3=E8=AF=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/PurchaseVehicle.vue | 58 +++++++++----------
1 file changed, 28 insertions(+), 30 deletions(-)
diff --git a/front/src/views/personalCenter/components/PurchaseVehicle.vue b/front/src/views/personalCenter/components/PurchaseVehicle.vue
index f557a4b3..6fd1634f 100644
--- a/front/src/views/personalCenter/components/PurchaseVehicle.vue
+++ b/front/src/views/personalCenter/components/PurchaseVehicle.vue
@@ -312,18 +312,18 @@
// )
let scArr = []
if (checkedListAbility.value.length === 0) {
- message.error('请选择需要收藏的数据')
+ message.warning('请选择需要收藏的数据')
} else {
list.value.forEach((val) => {
if (val.children) {
val.children.map((item) => {
- if (item.resourceId == '8888888880000000001') {
- message.warning('摄像头无法添加收藏!')
- } else {
- if (
- checkedListAbility.value.indexOf(item.id) > -1 &&
- item.delFlag == 0
- ) {
+ if (
+ checkedListAbility.value.indexOf(item.id) > -1 &&
+ item.delFlag == 0
+ ) {
+ if (item.resourceId == '8888888880000000001') {
+ message.warning('摄像头无法添加收藏!')
+ } else {
scArr.push({ resourceId: item.resourceId })
}
}
@@ -338,7 +338,7 @@
}
})
} else {
- message.error('下架的数据无法收藏')
+ message.warning('下架的数据无法收藏')
}
}
}
@@ -750,7 +750,7 @@
// 删除按钮
const delList = () => {
if (checkedListAbility.value.length == 0) {
- message.error('请先选择需要操作的数据!')
+ message.warning('请先选择需要操作的数据!')
} else {
sgcDel({
ids: checkedListAbility.value,
@@ -807,36 +807,34 @@
}
// 一键申请
const apply = () => {
- // list.value.forEach((val) => {
- // if (checkedList.value.indexOf(val.deptId) !== -1) {
- // if (val.delFlag != 0) {
- // checkedList.value.splice(checkedList.value.indexOf(val.deptId), 1)
- // val.checked = false
- // message.error('已下架的能力无法申请!')
- // }
- // }
- // })
if (checkedListAbility.value.length == 0) {
- message.error('请先选择需要申请的数据!')
+ message.warning('请先选择需要申请的数据!')
} else {
let arr = []
+ let delArr = []
list.value.map((val) => {
val.arr = val.children.filter((item) => {
console.log('选择的数据=============>', item)
- if (
- checkedListAbility.value.indexOf(item.id) > -1 &&
- item.delFlag != 0
- ) {
- return item
+ if (checkedListAbility.value.indexOf(item.id) > -1) {
+ if (item.delFlag == 0) {
+ return item
+ } else {
+ delArr.push(item)
+ }
}
})
})
arr = list.value.filter((val) => val.arr.length !== 0)
- console.log('一键申请===================>', arr)
- localStorage.setItem('applyList', JSON.stringify(arr))
- router.push({
- path: '/apply',
- })
+ if (delArr.length > 0) {
+ message.warning('已经下架的能力无法申请!')
+ }
+ if (arr.length > 0) {
+ console.log('一键申请===================>', arr)
+ localStorage.setItem('applyList', JSON.stringify(arr))
+ router.push({
+ path: '/apply',
+ })
+ }
}
}
From fe5b5e1102d610a08be62aeb7ac56d2b6bd633bf Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 10:54:19 +0800
Subject: [PATCH 20/29] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9=20=20=20=E6=A0=87?=
=?UTF-8?q?=E9=A2=98=E8=BF=87=E9=95=BF=E5=AF=BC=E8=87=B4=E5=8F=B3=E8=BE=B9?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=B8=8D=E7=BB=9F=E4=B8=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/PurchaseVehicle.vue | 44 +++++++++++++------
1 file changed, 30 insertions(+), 14 deletions(-)
diff --git a/front/src/views/personalCenter/components/PurchaseVehicle.vue b/front/src/views/personalCenter/components/PurchaseVehicle.vue
index 6fd1634f..2e2814df 100644
--- a/front/src/views/personalCenter/components/PurchaseVehicle.vue
+++ b/front/src/views/personalCenter/components/PurchaseVehicle.vue
@@ -108,20 +108,23 @@
>
-
- {{ item.resourceName }}
-
+
+ {{ item.resourceName }}
+
+ {{ item.resourceName }}
+
+
{{ item.type }}
@@ -973,6 +976,14 @@
color: #0087ff;
}
}
+ .name {
+ max-width: 4.15rem;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ -o-text-overflow: ellipsis;
+ word-break: break-all;
+ }
.name:hover {
color: #0087ff;
}
@@ -1048,5 +1059,10 @@
:deep(.ant-list-item-meta-title) {
display: flex;
justify-content: space-between;
+ align-items: center;
+ div {
+ display: flex;
+ align-items: center;
+ }
}
From 20e75d78cc6c27baa380de6ac61777569c335bb8 Mon Sep 17 00:00:00 2001
From: gaoyuanwei <2826352639@qq.com>
Date: Tue, 26 Jul 2022 11:36:15 +0800
Subject: [PATCH 21/29] =?UTF-8?q?=E5=A1=AB=E5=86=99=E6=97=B6=E7=BA=A2?=
=?UTF-8?q?=E5=AD=97=E6=8F=90=E7=A4=BA=E6=B6=88=E5=A4=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/PutOnTheShelf.vue | 24 +++++++++++++++----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
index 0e8cc563..bb8c58a2 100644
--- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
+++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
@@ -231,7 +231,7 @@
v-if="item.type == 'input' && item.name.indexOf('名称') == -1"
v-model:value="item.note1"
:placeholder="'请输入' + item.name"
- @change="changeIiem(name, data.note1)"
+ @change="changeIiem(item.name, item.note1)"
/>
{
- console.log('点击=========》', item, itemson)
+ // console.log('点击=========》', item, itemson)
// console.log(item, itemson)
if (item.note2.indexOf(itemson.dictLabel) === -1) {
item.note2.push(itemson.dictLabel)
} else {
item.note2.splice(item.note2.indexOf(itemson.dictLabel), 1)
}
+ // 多选判断是否为空
+ if (
+ item.note2.length !== 0 &&
+ changeField.value.indexOf('应用领域') == -1
+ ) {
+ changeField.value.push('应用领域')
+ console.log('点击=========》1', changeField.value, item.note2)
+ } else if (item.note2.length == 0) {
+ if (changeField.value.indexOf('应用领域') > -1) {
+ changeField.value.splice(changeField.value.indexOf('应用领域'), 1)
+ console.log('点击=========》2', changeField.value, item.note2)
+ }
+ }
mybus.emit('chageDataFrom', {
attrType: item.name,
attrValue: item.note2.join(';'),
From 486c3e8d4611f18d1754b77c156d53ac16fb1f20 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 14:05:58 +0800
Subject: [PATCH 22/29] =?UTF-8?q?websocket=20=E9=92=A9=E5=AD=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/App.vue | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/front/src/App.vue b/front/src/App.vue
index 245c68e0..0dce7f04 100644
--- a/front/src/App.vue
+++ b/front/src/App.vue
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-05-06 11:12:00
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-21 17:09:10
+ * @LastEditTime: 2022-07-26 11:27:50
* @Description: 告诉大家这是什么
-->
@@ -31,19 +31,28 @@
const locale = zhCN
const token = Cookies.get('ucsToken')
console.log('token=================>', token)
- var ws = new WebSocket(
+ let ws = new WebSocket(
`ws://${window.SITE_CONFIG['websocketURL']}/websocket?token=${token}`
)
// ws.send()给服务器发送信息
// 服务器每次返回信息都会执行一次onmessage方法
ws.onmessage = function (e) {
- console.log('服务器返回的信息: ' + e.data)
+ console.log('WebSocket服务器返回的信息: ' + e.data)
mybus.emit('getMynotice')
// 判断当前路由是否是消息中心
if (router.currentRoute.value.name === 'mynoticeView') {
mybus.emit('noticeListInit')
}
}
+ ws.onerror = function (e) {
+ console.log('WebSocket连接异常============================>', e)
+ ws = new WebSocket(
+ `ws://${window.SITE_CONFIG['websocketURL']}/websocket?token=${token}`
+ )
+ }
+ ws.onclose = function (e) {
+ console.log('WebSocket连接断开============================>', e)
+ }
onBeforeUnmount(() => {
// 4.卸载前, 关闭链接
ws.close()
From 5f8d0059352a10f07ae836e7af305214805131cd Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 14:38:09 +0800
Subject: [PATCH 23/29] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A2=84=E8=A7=88=20?=
=?UTF-8?q?=E6=97=B6=E9=BB=98=E8=AE=A4=E4=BF=9D=E5=AD=98=20=20=E5=B8=B8?=
=?UTF-8?q?=E8=A7=81=E9=97=AE=E9=A2=98=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/capacityOnTheShelf/Algorithm.vue | 21 +++++++++++++++++--
.../views/capacityOnTheShelf/Application.vue | 20 ++++++++++++++++--
.../capacityOnTheShelf/BusinessComponent.vue | 19 +++++++++++++++--
.../DevelopmentComponents.vue | 19 +++++++++++++++--
.../capacityOnTheShelf/LayerServices.vue | 20 ++++++++++++++++--
.../components/PutOnTheShelf.vue | 6 +++++-
6 files changed, 94 insertions(+), 11 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/Algorithm.vue b/front/src/views/capacityOnTheShelf/Algorithm.vue
index df8d2d41..b0b418cd 100644
--- a/front/src/views/capacityOnTheShelf/Algorithm.vue
+++ b/front/src/views/capacityOnTheShelf/Algorithm.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-13 10:22:27
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-19 20:04:47
+ * @LastEditTime: 2022-07-26 14:35:45
* @Description: 算法上架
-->
@@ -74,6 +74,7 @@
:configure="bs"
@submit="submit()"
@back="back()"
+ @preview="preview()"
:required="required"
:notFilled="notFilled"
>
@@ -161,7 +162,23 @@
-
-
+
+ 预览
+
+
预览
下一步
diff --git a/front/src/views/capacityOnTheShelf/BusinessComponent.vue b/front/src/views/capacityOnTheShelf/BusinessComponent.vue
index 0b3df2fe..4ac1e145 100644
--- a/front/src/views/capacityOnTheShelf/BusinessComponent.vue
+++ b/front/src/views/capacityOnTheShelf/BusinessComponent.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-20 09:35:51
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-15 17:39:35
+ * @LastEditTime: 2022-07-26 14:36:31
* @Description: 业务组件
-->
@@ -73,6 +73,7 @@
:configure="bs"
@submit="submit()"
@back="back()"
+ @preview="preview()"
:required="required"
:notFilled="notFilled"
>
@@ -132,7 +133,21 @@
上一步
-
+
+ 预览
+
+
预览
@@ -72,6 +72,7 @@
:configure="bs"
@submit="submit()"
@back="back()"
+ @preview="preview()"
:required="required"
:notFilled="notFilled"
>
@@ -131,7 +132,21 @@
上一步
-
+
+ 预览
+
+
预览
@@ -69,6 +69,7 @@
:configure="bs"
@submit="submit()"
@back="back()"
+ @preview="preview()"
:required="required"
:notFilled="notFilled"
>
@@ -103,7 +104,22 @@
上一步
-
+
+ 预览
+
+
预览
@@ -797,6 +797,8 @@
emit('next')
} else if (type == '提交') {
emit('submit')
+ } else if (type == '预览') {
+ emit('preview')
}
}
} else {
@@ -813,6 +815,8 @@
emit('next')
} else if (type == '提交') {
emit('submit')
+ } else if (type == '预览') {
+ emit('preview')
}
}
}
From c09aa9c1b98d3cfdb4f4ce79c4d64747d5d31be7 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 14:42:17 +0800
Subject: [PATCH 24/29] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/capacityOnTheShelf/Application.vue | 4 ++--
.../src/views/capacityOnTheShelf/components/PutOnTheShelf.vue | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/Application.vue b/front/src/views/capacityOnTheShelf/Application.vue
index eba834bd..16812205 100644
--- a/front/src/views/capacityOnTheShelf/Application.vue
+++ b/front/src/views/capacityOnTheShelf/Application.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-13 10:22:27
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-26 14:35:22
+ * @LastEditTime: 2022-07-26 14:41:26
* @Description: 应用上架
-->
@@ -59,7 +59,6 @@
:configure="glzj"
@next="next()"
@back="back()"
- @preview="preview()"
:required="required"
:notFilled="notFilled"
>
@@ -72,6 +71,7 @@
:configure="bs"
@submit="submit()"
@back="back()"
+ @preview="preview()"
:required="required"
:notFilled="notFilled"
>
diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
index d72a1111..db0e0d35 100644
--- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
+++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-17 14:11:08
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-26 14:33:42
+ * @LastEditTime: 2022-07-26 14:39:16
* @Description: 上架
-->
@@ -573,7 +573,7 @@
// ]
// }]
})
- const emit = defineEmits(['next', 'back', 'submit'])
+ const emit = defineEmits(['next', 'back', 'submit', 'preview'])
// console.log('props==========>', props)
const changeAdd = () => {
console.log('子组件方法触发~')
From 7ed6be40d7d8a40bbff965a585952e5a3f6d5c5e Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 14:48:02 +0800
Subject: [PATCH 25/29] =?UTF-8?q?=E6=94=B9=E5=90=8D=20=20=E6=8A=80?=
=?UTF-8?q?=E6=9C=AF=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/public/static/config/location.js | 4 ++--
front/src/router/index.js | 4 ++--
front/src/views/home/components/header.vue | 12 ++++++------
front/src/views/newHome/components/Header.vue | 4 ++--
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js
index d66ea6b5..6dc6207d 100644
--- a/front/public/static/config/location.js
+++ b/front/public/static/config/location.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-18 15:07:32
+ * @LastEditTime: 2022-07-26 14:46:43
* @Description: 数据资源参数配置
*/
const newLocation = 'qingdao'
@@ -31,7 +31,7 @@ if (newLocation === 'qingdao') {
{ name: '能力云图', key: 'capabilityCloud' },
{ name: '能力统计', key: 'abilityStatistics' },
// { name: '开发指南', key: 'developmentGuide' },
- { name: '指导手册', key: 'instructionManual' },
+ { name: '技术文档', key: 'instructionManual' },
{ name: '需求中心', key: 'demandCenter' },
// { name: '个人中心', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' },
diff --git a/front/src/router/index.js b/front/src/router/index.js
index b8702453..8a34d071 100644
--- a/front/src/router/index.js
+++ b/front/src/router/index.js
@@ -440,7 +440,7 @@ export const constantRoutes = [
name: 'developmentGuide',
component: () => import('@/views/developmentGuide/index'),
meta: {
- title: '开发指南',
+ title: '技术文档',
icon: 'error-warning-line',
},
},
@@ -467,7 +467,7 @@ export const constantRoutes = [
name: 'instructionManual',
component: () => import('@/views/instructionManual/index'),
meta: {
- title: '指导手册',
+ title: '技术文档',
icon: 'error-warning-line',
},
},
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 36fd4337..54594087 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -201,12 +201,12 @@
path: '/capabilityCloud',
})
break
- case '开发指南':
- router.push({
- path: '/developmentGuide',
- })
- break
- case '指导手册':
+ // case '技术文档':
+ // router.push({
+ // path: '/developmentGuide',
+ // })
+ // break
+ case '技术文档':
router.push({
path: '/instructionManual',
})
diff --git a/front/src/views/newHome/components/Header.vue b/front/src/views/newHome/components/Header.vue
index 10826d5b..2bad4823 100644
--- a/front/src/views/newHome/components/Header.vue
+++ b/front/src/views/newHome/components/Header.vue
@@ -38,7 +38,7 @@
{ name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' },
{ name: '能力统计', key: 'abilityStatistics' },
- { name: '开发指南', key: 'developmentGuide' },
+ { name: '技术文档', key: 'developmentGuide' },
{ name: '需求中心', key: 'demandCenter' },
{ name: '个人中心', key: 'personalCenter' },
{ name: '后台管理', key: 'houtaiguanli' },
@@ -85,7 +85,7 @@
},
})
break
- case '开发指南':
+ case '技术文档':
router.push({
path: '/developmentGuide',
})
From b4e6f56c4786d1242dfd221fc4ab79a43a079067 Mon Sep 17 00:00:00 2001
From: wuhongjian
Date: Tue, 26 Jul 2022 15:16:28 +0800
Subject: [PATCH 26/29] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A5=BF=E6=B5=B7?=
=?UTF-8?q?=E5=B2=B8=E5=9C=B0=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/public/index.html | 25 +--
.../public/leaflet/leaflet-tilelayer-wmts.js | 80 +++++++
front/public/static/config/location.js | 8 +-
front/public/static/config/mapConfig.js | 199 ++++++++++--------
front/src/supermap/map-init.js | 80 ++++---
front/src/views/home/infrastructurePage.vue | 2 +-
.../views/home/videoSurveillance/index.vue | 2 +-
7 files changed, 262 insertions(+), 134 deletions(-)
create mode 100644 front/public/leaflet/leaflet-tilelayer-wmts.js
diff --git a/front/public/index.html b/front/public/index.html
index 624b3039..81d09b86 100644
--- a/front/public/index.html
+++ b/front/public/index.html
@@ -1,8 +1,8 @@
@@ -48,16 +48,16 @@
// window.SITE_CONFIG['websocketURL'] = '15.2.21.243:8888/renren-admin';
// window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
// 西海岸版本
- // window.SITE_CONFIG['backUrl'] = 'http://10.134.135.9:9797';
- // window.SITE_CONFIG['previewUrl'] = 'http://10.134.135.9:9796/';
- // window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/';
- // window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin';
+ window.SITE_CONFIG['backUrl'] = 'http://10.134.135.9:9797';
+ window.SITE_CONFIG['previewUrl'] = 'http://10.134.135.9:9796/';
+ window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/';
+ window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin';
// 开发
- window.SITE_CONFIG['backUrl'] = 'http://localhost:8001';
- window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.236:9796/';
- window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.236:9796/document/#/devModelFile/';
- window.SITE_CONFIG['apiURL'] = 'http://15.2.21.236:8888/renren-admin';
- window.SITE_CONFIG['websocketURL'] = '15.2.21.236:8888/renren-admin';
+ // window.SITE_CONFIG['backUrl'] = 'http://localhost:8001';
+ // window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.236:9796/';
+ // window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.236:9796/document/#/devModelFile/';
+ // window.SITE_CONFIG['apiURL'] = 'http://15.2.21.236:8888/renren-admin';
+ // window.SITE_CONFIG['websocketURL'] = '15.2.21.236:8888/renren-admin';
window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
// window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797';
// window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/';
@@ -107,7 +107,8 @@
-
+
+
diff --git a/front/public/leaflet/leaflet-tilelayer-wmts.js b/front/public/leaflet/leaflet-tilelayer-wmts.js
new file mode 100644
index 00000000..c9372723
--- /dev/null
+++ b/front/public/leaflet/leaflet-tilelayer-wmts.js
@@ -0,0 +1,80 @@
+/*
+ * @Author: hisense.wuhongjian
+ * @Date: 2022-07-25 17:13:49
+ * @LastEditors: hisense.wuhongjian
+ * @LastEditTime: 2022-07-26 10:23:40
+ * @Description: 告诉大家这是什么
+ */
+;(L.TileLayer.WMTS = L.TileLayer.extend({
+ defaultWmtsParams: {
+ service: 'WMTS',
+ request: 'GetTile',
+ version: '1.0.0',
+ layer: '',
+ style: '',
+ tilematrixset: '',
+ format: 'image/jpeg',
+ },
+ initialize: function (a, b) {
+ this._url = a
+ var c = {},
+ d = Object.keys(b)
+ d.forEach((a) => {
+ c[a.toLowerCase()] = b[a]
+ })
+ var e = L.extend({}, this.defaultWmtsParams),
+ f = c.tileSize || this.options.tileSize
+ for (var g in ((e.width =
+ c.detectRetina && L.Browser.retina ? (e.height = 2 * f) : (e.height = f)),
+ c))
+ e.hasOwnProperty(g) && 'matrixIds' != g && (e[g] = c[g])
+ ;(this.wmtsParams = e),
+ (this.matrixIds = b.matrixIds || this.getDefaultMatrix()),
+ L.setOptions(this, b)
+ },
+ onAdd: function (a) {
+ ;(this._crs = this.options.crs || a.options.crs),
+ L.TileLayer.prototype.onAdd.call(this, a)
+ },
+ getTileUrl: function (a) {
+ var b = this.options.tileSize,
+ c = a.multiplyBy(b)
+ ;(c.x += 1), (c.y -= 1)
+ var d = c.add(new L.Point(b, b)),
+ e = this._tileZoom,
+ f = this._crs.project(this._map.unproject(c, e)),
+ g = this._crs.project(this._map.unproject(d, e))
+ tilewidth = g.x - f.x
+ var h = this.matrixIds[e].identifier,
+ i = h,
+ j = this.matrixIds[e].topLeftCorner.lng,
+ k = this.matrixIds[e].topLeftCorner.lat,
+ l = Math.floor((f.x - j) / tilewidth),
+ m = -Math.floor((f.y - k) / tilewidth),
+ n = L.Util.template(this._url, { s: this._getSubdomain(a) })
+ return (
+ n +
+ L.Util.getParamString(this.wmtsParams, n) +
+ '&tilematrix=' +
+ i +
+ '&tilerow=' +
+ m +
+ '&tilecol=' +
+ l
+ )
+ },
+ setParams: function (a, b) {
+ return L.extend(this.wmtsParams, a), b || this.redraw(), this
+ },
+ getDefaultMatrix: function () {
+ for (var a = Array(22), b = 0; 22 > b; b++)
+ a[b] = {
+ identifier: '' + b,
+ topLeftCorner: new L.LatLng(20037508.3428, -20037508.3428),
+ }
+ return a
+ },
+})),
+ (L.tileLayer.wmts = function (a, b) {
+ return new L.TileLayer.WMTS(a, b)
+ })
diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js
index d66ea6b5..3f637cab 100644
--- a/front/public/static/config/location.js
+++ b/front/public/static/config/location.js
@@ -1,13 +1,13 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
- * @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-18 15:07:32
+ * @LastEditors: hisense.wuhongjian
+ * @LastEditTime: 2022-07-26 09:51:32
* @Description: 数据资源参数配置
*/
-const newLocation = 'qingdao'
+//const newLocation = 'qingdao'
// const newLocation = 'baotou'
-// const newLocation = 'xihaian'
+const newLocation = 'xihaian'
// 数据资源数据
const whoShow = {}
diff --git a/front/public/static/config/mapConfig.js b/front/public/static/config/mapConfig.js
index b627ff6a..4f8dcf5b 100644
--- a/front/public/static/config/mapConfig.js
+++ b/front/public/static/config/mapConfig.js
@@ -2,78 +2,31 @@
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2021-12-07 13:33:55
+ * @LastEditTime: 2022-07-26 14:34:24
* @Description: 地图静态参数配置
*/
-var _mapConfig = {};
+var _mapConfig = {}
-(function () {
- var L = window.L || {};
+;(function () {
+ var L = window.L || {}
// // 定义底图初始化化参数
// 请在此处更改你的配置**********************************************
- var CONFIGKEY = 'qingdao_highgo';
+ var CONFIGKEY = 'qingdao'
// var CONFIGKEY = 'dev';
// 请在上面更改你的配置***********************************************
var BASECONFIGITEM = {
- 'qingdao': {
- DATABASE_TYPE: 'Highgo',
- POI_TYPE: 'Supermap', // POI接口类型 'Supermap'、'Amap'、'Survey_Institute'
- ISERVER_URL: '15.2.21.238:8090',
- WORKPLACE_NAME: 'weifang',
- MAP_NAME: 'weifang',
- DATASOURCE_NAME: 'himap_wf',
- ATMOSPHERE_URL: 'http://15.2.21.151:9015/service-main',
- BDMAP_CONFIG: {
- location: 'qingdao',
- _initpos: {
- point: [120.392795, 36.072854],
- zoom: 11
- },
- _keyframes: [
- [119.165174, 36.718389],
- [119.186697, 36.723567],
- [119.16803, 36.713863]
- ]
- },
+ qingdao: {
+ base: 'xihaian',
CURRENT_MAP_OPTIONS: {
- center: [36.076209, 120.349632],
- maxZoom: 17,
- minZoom: 7,
- zoom: 12,
+ // crs: CRS_4490,
+ center: [36.17, 120.13],
+ maxZoom: 18,
+ minZoom: 0,
+ zoom: 10,
},
- TILEDTYPE: 'H_zxy', // 底图服务类型 超图瓦片'Sci' 超图ZXY瓦片'S_zxy' 自有ZXY瓦片 'H_zxy'
- TILEDCONFIG: {
- digitalMap: {
- tiledUrl: 'http://15.2.21.238:9889/{z}/{x}/{y}.png',
- tiledName: '电子地图',
- tiledIconURI: '',
- options: {
- center: [36.71, 119.16205],
- zoom: 11,
- minZoom:10,
- maxZoom: 15
- }
- },
- satelliteMap: {
- tiledUrl: 'http://15.2.21.238:9888/{z}/{x}/{y}.png',
- tiledName: '卫星地图',
- tiledIconURI: '',
- options: {
- center: [36.71, 119.19],
- zoom: 13,
- minZoom: 5,
- maxZoom: 15
- }
- }
- },
- MAPTYPE: 'digitalMap', // 默认地图类型 电子地图
- TILEDMODE: 'bd', // 瓦片类型 百度
- TITLE_LAYER: { mapUrl: 'http://10.16.3.2:8090/iserver/services/map-ShanDong/rest/maps/shandong', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
- TITLE_LAYER_REMOTE: { mapUrl: 'http://10.16.3.2:8090/iserver/services/map-ShanDong/rest/maps/shandong', type: 'remote', name: '影像', icon: 'satellite_map.png' },
- TITLE_LAYER_DARK: { mapUrl: 'http://10.16.3.2:8090/iserver/services/map-ShanDong/rest/maps/shandong', type: 'dark', name: '其他', icon: 'other_map.png' },
},
- 'qingdao_highgo': {
+ qingdao_highgo: {
DATABASE_TYPE: 'Highgo',
POI_TYPE: 'Supermap', // POI接口类型 'Supermap'、'Amap'、'Survey_Institute'
ISERVER_URL: '15.2.21.238:8090',
@@ -92,23 +45,41 @@ var _mapConfig = {};
location: 'qingdao',
_initpos: {
point: [120.392795, 36.072854],
- zoom: 2
+ zoom: 2,
},
_keyframes: [
[121.6011191295479, 36.73422934263509],
[119.83371870221472, 36.082854],
- [120.25937000453506, 36.34563716789656]
- ]
+ [120.25937000453506, 36.34563716789656],
+ ],
},
MAP_VENDOR: 'Supermap', // 地图厂商 Supermap bdmap 3dbdmap
- TITLE_LAYER: { mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
- TITLE_LAYER_REMOTE: { mapUrl: 'http://q3d.qd.gov.cn:8195/portalproxy/vw6bffpy/TileServer/arcgis/rest/services/normal_2021_4490Arcgis/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
+ TITLE_LAYER: {
+ mapUrl:
+ 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
+ type: 'tiled',
+ name: '矢量',
+ icon: 'vector_map.png',
+ },
+ TITLE_LAYER_REMOTE: {
+ mapUrl:
+ 'http://q3d.qd.gov.cn:8195/portalproxy/vw6bffpy/TileServer/arcgis/rest/services/normal_2021_4490Arcgis/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
+ type: 'tiled',
+ name: '矢量',
+ icon: 'vector_map.png',
+ },
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-QingdaoRemoteImageMap/rest/maps/QingdaoRemoteImageMap', type: 'remote', name: '影像', icon: 'satellite_map.png' },
- TITLE_LAYER_DARK: { mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-shandong/rest/maps/shandong', type: 'dark', name: '其他', icon: 'other_map.png' },
+ TITLE_LAYER_DARK: {
+ mapUrl:
+ 'http://15.2.21.238:8090/iserver/services/map-ugcv5-shandong/rest/maps/shandong',
+ type: 'dark',
+ name: '其他',
+ icon: 'other_map.png',
+ },
},
//测试环境地图
- 'dev': {
+ dev: {
DATABASE_TYPE: 'Highgo',
POI_TYPE: 'Supermap', // POI接口类型 'Supermap'、'Amap'、'Survey_Institute'
ISERVER_URL: '15.2.21.238:8090',
@@ -127,38 +98,94 @@ var _mapConfig = {};
location: 'qingdao',
_initpos: {
point: [120.392795, 36.072854],
- zoom: 2
+ zoom: 2,
},
_keyframes: [
[121.6011191295479, 36.73422934263509],
[119.83371870221472, 36.082854],
- [120.25937000453506, 36.34563716789656]
- ]
+ [120.25937000453506, 36.34563716789656],
+ ],
},
MAP_VENDOR: 'Supermap', // 地图厂商 Supermap bdmap 3dbdmap
- TITLE_LAYER: { mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
- TITLE_LAYER_REMOTE: { mapUrl: 'http://q3d.qd.gov.cn:8195/portalproxy/s9arfiqe/TileServer/arcgis/rest/services/normal2021_test/MapServer?key=p9PW1ipy9P3QHILzmsNOk8Gc', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
+ TITLE_LAYER: {
+ mapUrl:
+ 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F',
+ type: 'tiled',
+ name: '矢量',
+ icon: 'vector_map.png',
+ },
+ TITLE_LAYER_REMOTE: {
+ mapUrl:
+ 'http://q3d.qd.gov.cn:8195/portalproxy/s9arfiqe/TileServer/arcgis/rest/services/normal2021_test/MapServer?key=p9PW1ipy9P3QHILzmsNOk8Gc',
+ type: 'tiled',
+ name: '矢量',
+ icon: 'vector_map.png',
+ },
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.72.177.174:8195/portalproxy/TileServer/arcgis/rest/services/normal2021/MapServer?key=iOgQotfgfyLvhj6WgfDTpq7F', type: 'tiled', name: '矢量', icon: 'vector_map.png' },
// TITLE_LAYER_REMOTE: { mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-QingdaoRemoteImageMap/rest/maps/QingdaoRemoteImageMap', type: 'remote', name: '影像', icon: 'satellite_map.png' },
- TITLE_LAYER_DARK: { mapUrl: 'http://15.2.21.238:8090/iserver/services/map-ugcv5-shandong/rest/maps/shandong', type: 'dark', name: '其他', icon: 'other_map.png' },
+ TITLE_LAYER_DARK: {
+ mapUrl:
+ 'http://15.2.21.238:8090/iserver/services/map-ugcv5-shandong/rest/maps/shandong',
+ type: 'dark',
+ name: '其他',
+ icon: 'other_map.png',
+ },
},
- };
+ }
var MAPCONFIGMIXTRE = {
CURRENT_SERVER_NAME: CONFIGKEY,
- BUFFER_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/spatialAnalysis-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/restjsr/spatialanalyst',
- QUERY_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/map-HIMAP_HIGHGO/rest/maps/' + BASECONFIGITEM[CONFIGKEY].MAP_NAME,
+ BUFFER_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/spatialAnalysis-' +
+ BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
+ '/restjsr/spatialanalyst',
+ QUERY_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/map-HIMAP_HIGHGO/rest/maps/' +
+ BASECONFIGITEM[CONFIGKEY].MAP_NAME,
// QUERY_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/data-HIMAP_HIGHGO/rest/data/datasources/HISENSE_himap',
- DYNAMIC_ROAD_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/spatialAnalysis-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/restjsr/spatialanalyst',
- DYNMIC_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/map-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/rest/maps/' + BASECONFIGITEM[CONFIGKEY].MAP_NAME,
+ DYNAMIC_ROAD_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/spatialAnalysis-' +
+ BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
+ '/restjsr/spatialanalyst',
+ DYNMIC_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/map-' +
+ BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
+ '/rest/maps/' +
+ BASECONFIGITEM[CONFIGKEY].MAP_NAME,
// 数据库型
// NETWORK_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/transportationAnalyst-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/rest/networkanalyst/BuildNetwork_2@' + BASECONFIGITEM[CONFIGKEY].DATASOURCE_NAME,
// 程工系统测试环境,因为是文件型,和数据库性有区别,发布时请注意
- NETWORK_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/transportationAnalyst-road/rest/networkanalyst/BuildNetwork_2@road',
- PLOTTING_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/plot-JY/rest/plot/',
- POI_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
- EDITORDATA_URL: 'http://' + BASECONFIGITEM[CONFIGKEY].ISERVER_URL + '/iserver/services/data-' + BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME + '/rest/data',
+ NETWORK_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/transportationAnalyst-road/rest/networkanalyst/BuildNetwork_2@road',
+ PLOTTING_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/plot-JY/rest/plot/',
+ POI_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
+ EDITORDATA_URL:
+ 'http://' +
+ BASECONFIGITEM[CONFIGKEY].ISERVER_URL +
+ '/iserver/services/data-' +
+ BASECONFIGITEM[CONFIGKEY].WORKPLACE_NAME +
+ '/rest/data',
ADDRESS_MATCH_URL: `http://${BASECONFIGITEM[CONFIGKEY].ISERVER_URL}/iserver/services/addressmatch-Address/restjsr/v1/address`,
- TITLE_LAYER_ARRAY: BASECONFIGITEM[CONFIGKEY].TITLE_LAYER_ARRAY || [BASECONFIGITEM[CONFIGKEY].TITLE_LAYER, BASECONFIGITEM[CONFIGKEY].TITLE_LAYER_REMOTE, BASECONFIGITEM[CONFIGKEY].TITLE_LAYER_DARK]
- };
- _mapConfig.config = Object.assign(BASECONFIGITEM[CONFIGKEY], MAPCONFIGMIXTRE);
-})();
+ TITLE_LAYER_ARRAY: BASECONFIGITEM[CONFIGKEY].TITLE_LAYER_ARRAY || [
+ BASECONFIGITEM[CONFIGKEY].TITLE_LAYER,
+ BASECONFIGITEM[CONFIGKEY].TITLE_LAYER_REMOTE,
+ BASECONFIGITEM[CONFIGKEY].TITLE_LAYER_DARK,
+ ],
+ }
+ _mapConfig.config = Object.assign(BASECONFIGITEM[CONFIGKEY], MAPCONFIGMIXTRE)
+})()
diff --git a/front/src/supermap/map-init.js b/front/src/supermap/map-init.js
index 0d172320..580cab82 100644
--- a/front/src/supermap/map-init.js
+++ b/front/src/supermap/map-init.js
@@ -24,25 +24,12 @@ const CRS_4490 = new L.Proj.CRS(
// 1.3411051811431041E-6
// ],
resolutions: [
- 0.703125,
- 0.3515625,
- 0.17578125,
- 0.087890625,
- 0.0439453125,
- 0.02197265625,
- 0.010986328125,
- 0.0054931640625,
- 0.00274658203125,
- 0.001373291015625,
- 0.0006866455078125,
- 0.00034332275390625,
- 0.000171661376953125,
- 0.0000858306884765625,
- 0.00004291534423828125,
- 0.000021457672119140625,
- 0.000010728836059570312,
- 0.0000053644180297851563,
- 0.0000026822090148925781
+ 0.703125, 0.3515625, 0.17578125, 0.087890625, 0.0439453125, 0.02197265625,
+ 0.010986328125, 0.0054931640625, 0.00274658203125, 0.001373291015625,
+ 0.0006866455078125, 0.00034332275390625, 0.000171661376953125,
+ 0.0000858306884765625, 0.00004291534423828125, 0.000021457672119140625,
+ 0.000010728836059570312, 0.0000053644180297851563,
+ 0.0000026822090148925781,
],
// DEV
// resolutions: [
@@ -147,17 +134,6 @@ export function HieimpMap() {
// console.log('地市级行政区划', result);
// });
switch (_mapConfig.config.CURRENT_SERVER_NAME) {
- case 'xinjiang':
- tileMapUrl = _mapConfig.config.TITLE_LAYER.mapUrl
- tileMarkerUrl = _mapConfig.config.TITLE_MAKER.mapUrl
- renderMapFun(mapId, tileMapUrl, centerPoint)
- L.supermap
- .tiledMapLayer(tileMarkerUrl, {
- transparent: false,
- opacity: 0.6,
- })
- .addTo(MapObj.map)
- break
case 'qingdao_highgo':
if (type === 'tiled') {
tileMapUrl = _mapConfig.config.TITLE_LAYER.mapUrl
@@ -168,6 +144,50 @@ export function HieimpMap() {
}
renderMapFun(mapId, tileMapUrl, centerPoint)
break
+ case 'qingdao':
+ const tileMap = L.map(mapId, {
+ crs: L.CRS.EPSG4326,
+ // renderer: L.svg(),
+ center: centerPoint,
+ maxZoom: _mapConfig.config.CURRENT_MAP_OPTIONS.maxZoom,
+ minZoom: _mapConfig.config.CURRENT_MAP_OPTIONS.minZoom,
+ zoom: _mapConfig.config.CURRENT_MAP_OPTIONS.zoom,
+ zoomControl: false,
+ // preferCanvas: true,
+ })
+ MapObj.map = tileMap // 全局map对象赋值
+ var matrixIds = []
+ for (var i = 0; i < 19; ++i) {
+ matrixIds[i] = {
+ identifier: 1 + i,
+ topLeftCorner: new L.LatLng(90, -180),
+ }
+ }
+ var wmtsMap = new L.TileLayer.WMTS(
+ 'http://10.134.135.3:21009/service/map/wmts-raster', //服务地址
+ {
+ style: 'standard',
+ layer: 'basemap', //图层名称
+ tilematrixSet: 'EPSG:4326', //GeoServer使用的网格名称
+ tileSize: 256, //切片大小
+ format: 'image/png',
+ matrixIds: matrixIds,
+ }
+ )
+ var labelMap = new L.TileLayer.WMTS(
+ 'http://10.134.135.3:21009/service/map/wmts-raster', //服务地址
+ {
+ style: 'standard',
+ layer: 'label', //图层名称
+ tilematrixSet: 'EPSG:4326', //GeoServer使用的网格名称
+ tileSize: 256, //切片大小
+ format: 'image/png',
+ matrixIds: matrixIds,
+ }
+ )
+ MapObj.map.addLayer(wmtsMap)
+ MapObj.map.addLayer(labelMap)
+ break
default:
if (type === 'tiled') {
tileMapUrl = _mapConfig.config.TITLE_LAYER.mapUrl
diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue
index b61c00f5..c8aebfe2 100644
--- a/front/src/views/home/infrastructurePage.vue
+++ b/front/src/views/home/infrastructurePage.vue
@@ -95,7 +95,7 @@
预览
diff --git a/front/src/views/home/videoSurveillance/index.vue b/front/src/views/home/videoSurveillance/index.vue
index 5b3fe854..70139cf6 100644
--- a/front/src/views/home/videoSurveillance/index.vue
+++ b/front/src/views/home/videoSurveillance/index.vue
@@ -145,7 +145,7 @@
this.hiMap.mapObj,
this.hiMapFun
)
- this.hiMap.mapObj.map.flyTo({ lat: 36.06, lng: 120.3899 }, 16)
+ // this.hiMap.mapObj.map.flyTo({ lat: 36.06, lng: 120.3899 }, 16)
this.addressMatchUrl = window.SITE_CONFIG.POI_URL
// 初始化地址检索服务
this.initAddressMatchService()
From 072bf909131d0027d6089ed40200135ade183a15 Mon Sep 17 00:00:00 2001
From: gaoyuanwei <2826352639@qq.com>
Date: Tue, 26 Jul 2022 15:47:48 +0800
Subject: [PATCH 27/29] 716\715 bug
---
.../modules/myAgent/AbilityResourceShelf.vue | 4 +-
.../myAgent/AbilityResourcesRemoved.vue | 4 +-
.../ApplicationforCompetencyRequirements.vue | 4 +-
.../modules/myAgent/CommentModeration.vue | 4 +-
.../myAgent/demo/ResourcesAndServices.vue | 44 ++++++++++++++++++-
5 files changed, 50 insertions(+), 10 deletions(-)
diff --git a/back/src/views/modules/myAgent/AbilityResourceShelf.vue b/back/src/views/modules/myAgent/AbilityResourceShelf.vue
index a7a8a9fe..5c69e18c 100644
--- a/back/src/views/modules/myAgent/AbilityResourceShelf.vue
+++ b/back/src/views/modules/myAgent/AbilityResourceShelf.vue
@@ -104,12 +104,12 @@
@click="taskHandle(scope.row)"
>{{ $t('manage') }}
- {{ $t('process.viewFlowImage') }}
+ > -->
diff --git a/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue b/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue
index 91a1826c..d36d485d 100644
--- a/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue
+++ b/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue
@@ -104,12 +104,12 @@
@click="taskHandle(scope.row)"
>{{ $t('manage') }}
- {{ $t('process.viewFlowImage') }}
+ > -->
diff --git a/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue b/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue
index 245903a5..bfe3f459 100644
--- a/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue
+++ b/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue
@@ -104,12 +104,12 @@
@click="taskHandle(scope.row)"
>{{ $t('manage') }}
- {{ $t('process.viewFlowImage') }}
+ > -->
diff --git a/back/src/views/modules/myAgent/CommentModeration.vue b/back/src/views/modules/myAgent/CommentModeration.vue
index d592773a..1fefa8ea 100644
--- a/back/src/views/modules/myAgent/CommentModeration.vue
+++ b/back/src/views/modules/myAgent/CommentModeration.vue
@@ -104,12 +104,12 @@
@click="taskHandle(scope.row)"
>{{ $t('manage') }}
- {{ $t('process.viewFlowImage') }}
+ > -->
diff --git a/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue b/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue
index af120d5e..75305f2e 100644
--- a/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue
+++ b/back/src/views/modules/myAgent/demo/ResourcesAndServices.vue
@@ -21,6 +21,7 @@
:label="
itemsonson.type != ' multipleAdditions' ? itemsonson.name : ''
"
+ v-show="!(itemsonson.name==='平台地址'|| itemsonson.name==='SDK安装包' || itemsonson.name==='接口请求方式' || itemsonson.name==='服务接口')"
>
{{ multipleAdditionsItem }}
-->
-
+
+
+
{
+ if (val.name === '部署与使用') {
+ val.children.map(val => {
+ if (val.name === '使用方式') {
+ val.children.map(val => {
+ if (val.name === '使用方式') {
+ if (val.note1 === 'SDK') {
+ this.showSDK = true
+ } else if (val.note1 === '平台对接') {
+ this.showDocking = true
+ } else if (val.note1 === '调用接口') {
+ this.showInterface = true
+ }
+ }
+ })
+ }
+ })
+ }
+ })
}
}
}
From 5dbaa26848c6233048bbe51b8ea25f1669a2d883 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 26 Jul 2022 16:32:07 +0800
Subject: [PATCH 28/29] =?UTF-8?q?=E5=BC=95=E5=85=A5=E5=AF=8C=E6=96=87?=
=?UTF-8?q?=E6=9C=AC=E7=BC=96=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/public/index.html | 22 +++++++++----------
.../components/PutOnTheShelf.vue | 4 +++-
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/front/public/index.html b/front/public/index.html
index 81d09b86..bdad5850 100644
--- a/front/public/index.html
+++ b/front/public/index.html
@@ -1,8 +1,8 @@
@@ -48,16 +48,16 @@
// window.SITE_CONFIG['websocketURL'] = '15.2.21.243:8888/renren-admin';
// window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
// 西海岸版本
- window.SITE_CONFIG['backUrl'] = 'http://10.134.135.9:9797';
- window.SITE_CONFIG['previewUrl'] = 'http://10.134.135.9:9796/';
- window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/';
- window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin';
+ // window.SITE_CONFIG['backUrl'] = 'http://10.134.135.9:9797';
+ // window.SITE_CONFIG['previewUrl'] = 'http://10.134.135.9:9796/';
+ // window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/';
+ // window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin';
// 开发
- // window.SITE_CONFIG['backUrl'] = 'http://localhost:8001';
- // window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.236:9796/';
- // window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.236:9796/document/#/devModelFile/';
- // window.SITE_CONFIG['apiURL'] = 'http://15.2.21.236:8888/renren-admin';
- // window.SITE_CONFIG['websocketURL'] = '15.2.21.236:8888/renren-admin';
+ window.SITE_CONFIG['backUrl'] = 'http://localhost:8001';
+ window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.236:9796/';
+ window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.236:9796/document/#/devModelFile/';
+ window.SITE_CONFIG['apiURL'] = 'http://15.2.21.236:8888/renren-admin';
+ window.SITE_CONFIG['websocketURL'] = '15.2.21.236:8888/renren-admin';
window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
// window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797';
// window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/';
diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
index db0e0d35..db50a51e 100644
--- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
+++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-17 14:11:08
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-26 14:39:16
+ * @LastEditTime: 2022-07-26 16:29:25
* @Description: 上架
-->
@@ -487,6 +487,7 @@