模糊搜索
@@ -75,6 +86,17 @@
const resourceList = reactive({ data: [] })
const resourceTotal = ref(0)
const current = ref(1)
+ // 选项卡
+ const titleName = ref([
+ {
+ name: '打包模式',
+ },
+ {
+ name: '赋能场景',
+ },
+ ])
+
+ const number = ref(0)
// 刷新筛选条件组件
let listKey = ref(0)
// 刷新筛选列表信息组件
@@ -84,12 +106,18 @@
const paramsGetResources = {
pageNum: 1,
pageSize: currentPageSize.value,
- type: Cardsname.value,
+ type: titleName.value[number.value].name,
name: '',
orderField: 'create_date', // total 综合 visits 访问量 applyCount 申请量 score 评分 collectCount 收藏量
orderType: 'DESC', // ASC 升序 DESC 降序
}
+ const changeCards = (val) => {
+ console.log(val)
+ number.value = val
+ chongzhi()
+ }
+
// 查询
const onSearch = () => {
loading.value = true
@@ -109,7 +137,7 @@
paramsGetResources.orderField = 'create_date'
paramsGetResources.orderType = 'DESC'
mybus.emit('chongzhi', {
- type: '融合服务',
+ type: titleName.value[number.value].name,
})
getAppResources()
}
@@ -126,6 +154,7 @@
orderField: paramsGetResources.orderField,
orderType: paramsGetResources.orderType,
name: searchValue.value,
+ type: titleName.value[number.value].name,
}
getIntegrationServicesList(postData).then(
(res) => {
@@ -211,6 +240,9 @@
pageSizeOptions,
current,
loading,
+ titleName,
+ changeCards,
+ number,
}
},
components: {
@@ -323,6 +355,26 @@
background: #f3f5f9;
padding-bottom: 0.6rem;
}
+
+ .top-title {
+ padding: 0.2rem;
+ display: flex;
+ font-size: 22px;
+ .tabAll {
+ font-size: 22px;
+ color: #000000;
+ margin-right: 35px;
+ cursor: pointer;
+ }
+ .tabAll:nth-child(1) {
+ margin-left: 20px;
+ }
+ .sel {
+ font-weight: 600;
+ color: #0087ff;
+ border-bottom: 0.02rem solid #0087ff;
+ }
+ }
}
}
From ef980d77c340a9875fc3b4b1bb9f9f3112399ba0 Mon Sep 17 00:00:00 2001
From: "851673013@qq.com" <851673013@qq.com>
Date: Wed, 27 Jul 2022 14:19:51 +0800
Subject: [PATCH 24/27] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD?=
=?UTF-8?q?=E8=A7=86=E9=A2=91=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=8D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/api/videoSurveillance.js | 2 +-
front/src/views/home/infrastructurePage.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/front/src/api/videoSurveillance.js b/front/src/api/videoSurveillance.js
index 94198d54..ddd9d6e7 100644
--- a/front/src/api/videoSurveillance.js
+++ b/front/src/api/videoSurveillance.js
@@ -68,7 +68,7 @@ export function selectByChannelCode(params) {
}
export function getStreamByChannelCode(params) {
return request({
- url: `/api/project/file`,
+ url: `/resource/hls/getHls`,
method: 'get',
params,
})
diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue
index eec677d2..ca1a3f45 100644
--- a/front/src/views/home/infrastructurePage.vue
+++ b/front/src/views/home/infrastructurePage.vue
@@ -234,7 +234,7 @@
const openVideo = (id) => {
console.log('打开视频', id)
const param = {
- channelCode: id,
+ key: id,
}
getStreamByChannelCode(param).then((res) => {
console.log(res)
From 531aa7aafbfe9a404fd122db39e31166e4117830 Mon Sep 17 00:00:00 2001
From: gaoyuanwei <2826352639@qq.com>
Date: Wed, 27 Jul 2022 16:19:34 +0800
Subject: [PATCH 25/27] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E4=B8=8A=E6=9E=B6-?=
=?UTF-8?q?=E9=A2=84=E8=A7=88bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/capacityOnTheShelf/Algorithm.vue | 43 +++++++++++++++----
.../capacityOnTheShelf/BusinessComponent.vue | 34 +++++++++++----
.../DevelopmentComponents.vue | 34 +++++++++++----
.../capacityOnTheShelf/LayerServices.vue | 34 +++++++++++----
.../Algorithm/AlgorithmNavigation.vue | 6 ++-
5 files changed, 113 insertions(+), 38 deletions(-)
diff --git a/front/src/views/capacityOnTheShelf/Algorithm.vue b/front/src/views/capacityOnTheShelf/Algorithm.vue
index b0b418cd..4e9898e7 100644
--- a/front/src/views/capacityOnTheShelf/Algorithm.vue
+++ b/front/src/views/capacityOnTheShelf/Algorithm.vue
@@ -474,15 +474,40 @@
}
// 预览
const preview = () => {
- dataFrom.value.infoList = dataFrom.value.infoList.filter(
- (item) => item.attrValue !== ''
- )
- console.log('预览==============>', dataFrom.value)
- window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
- const newpage = router.resolve({
- path: '/details',
- })
- window.open(newpage.href, '_blank')
+ notFilled.value = []
+ console.log(dataFrom.value, 'dataFrom.value.name')
+ if (
+ dataFrom.value.infoList.filter((val) => val.attrType === '使用方式')[0] &&
+ dataFrom.value.infoList.filter((val) => val.attrType === '使用方式')[0]
+ .attrValue == '调用接口'
+ ) {
+ if (
+ !dataFrom.value.infoList.filter(
+ (val) => val.attrType === '服务接口'
+ )[0] ||
+ !dataFrom.value.infoList.filter((val) => val.attrType === '服务接口')[0]
+ .attrValue
+ ) {
+ notFilled.value.push('服务接口')
+ }
+ if (!dataFrom.value.apiMethodType) {
+ notFilled.value.push('接口请求方式')
+ }
+ }
+ if (notFilled.value.length > 0) {
+ message.warning('请填写必填字段')
+ console.log(notFilled.value)
+ } else {
+ dataFrom.value.infoList = dataFrom.value.infoList.filter(
+ (item) => item.attrValue !== ''
+ )
+ console.log('预览==============>', dataFrom.value)
+ window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
+ const newpage = router.resolve({
+ path: '/details',
+ })
+ window.open(newpage.href, '_blank')
+ }
}
const submit = () => {
notFilled.value = []
diff --git a/front/src/views/capacityOnTheShelf/BusinessComponent.vue b/front/src/views/capacityOnTheShelf/BusinessComponent.vue
index 4ac1e145..607718da 100644
--- a/front/src/views/capacityOnTheShelf/BusinessComponent.vue
+++ b/front/src/views/capacityOnTheShelf/BusinessComponent.vue
@@ -435,15 +435,31 @@
}
// 预览
const preview = () => {
- dataFrom.value.infoList = dataFrom.value.infoList.filter(
- (item) => item.attrValue !== ''
- )
- console.log('预览==============>', dataFrom.value)
- window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
- const newpage = router.resolve({
- path: '/details',
- })
- window.open(newpage.href, '_blank')
+ notFilled.value = []
+ console.log(dataFrom.value, 'dataFrom.value.name')
+ 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)
+ } else {
+ dataFrom.value.infoList = dataFrom.value.infoList.filter(
+ (item) => item.attrValue !== ''
+ )
+ console.log('预览==============>', dataFrom.value)
+ window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
+ const newpage = router.resolve({
+ path: '/details',
+ })
+ window.open(newpage.href, '_blank')
+ }
}
const submit = () => {
notFilled.value = []
diff --git a/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue b/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue
index 1572dc75..b3533225 100644
--- a/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue
+++ b/front/src/views/capacityOnTheShelf/DevelopmentComponents.vue
@@ -434,15 +434,31 @@
}
// 预览
const preview = () => {
- dataFrom.value.infoList = dataFrom.value.infoList.filter(
- (item) => item.attrValue !== ''
- )
- console.log('预览==============>', dataFrom.value)
- window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
- const newpage = router.resolve({
- path: '/details',
- })
- window.open(newpage.href, '_blank')
+ notFilled.value = []
+ console.log(dataFrom.value, 'dataFrom.value.name')
+ 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)
+ } else {
+ dataFrom.value.infoList = dataFrom.value.infoList.filter(
+ (item) => item.attrValue !== ''
+ )
+ console.log('预览==============>', dataFrom.value)
+ window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
+ const newpage = router.resolve({
+ path: '/details',
+ })
+ window.open(newpage.href, '_blank')
+ }
}
// 特殊字段处理
const refPutOnTheShelf = ref(null)
diff --git a/front/src/views/capacityOnTheShelf/LayerServices.vue b/front/src/views/capacityOnTheShelf/LayerServices.vue
index 0038a0e0..bca26c23 100644
--- a/front/src/views/capacityOnTheShelf/LayerServices.vue
+++ b/front/src/views/capacityOnTheShelf/LayerServices.vue
@@ -334,15 +334,31 @@
}
// 预览
const preview = () => {
- dataFrom.value.infoList = dataFrom.value.infoList.filter(
- (item) => item.attrValue !== ''
- )
- console.log('预览==============>', dataFrom.value)
- window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
- const newpage = router.resolve({
- path: '/details',
- })
- window.open(newpage.href, '_blank')
+ notFilled.value = []
+ console.log(dataFrom.value, 'dataFrom.value.name')
+ 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)
+ } else {
+ dataFrom.value.infoList = dataFrom.value.infoList.filter(
+ (item) => item.attrValue !== ''
+ )
+ console.log('预览==============>', dataFrom.value)
+ window.sessionStorage.setItem('preview', JSON.stringify(dataFrom.value))
+ const newpage = router.resolve({
+ path: '/details',
+ })
+ window.open(newpage.href, '_blank')
+ }
}
// 特殊字段处理
const refPutOnTheShelf = ref(null)
diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue
index 7c1de008..5a49469a 100644
--- a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue
+++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue
@@ -111,7 +111,8 @@
item.attrType === '技术文档' ||
item.attrType === '服务商' ||
item.attrType === '服务商联系人' ||
- item.attrType === '服务商联系电话'
+ item.attrType === '服务商联系电话' ||
+ item.attrType === '服务接口'
) {
list.value.push('使用方式')
}
@@ -164,7 +165,8 @@
item.attrType === '技术文档' ||
item.attrType === '服务商' ||
item.attrType === '服务商联系人' ||
- item.attrType === '服务商联系电话'
+ item.attrType === '服务商联系电话' ||
+ item.attrType === '服务接口'
) {
list.value.push('使用方式')
}
From a11d9eb22194693e51981a222585bcbdf9e6a4b0 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Wed, 27 Jul 2022 16:58:31 +0800
Subject: [PATCH 26/27] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E7=94=B3=E8=AF=B7=20?=
=?UTF-8?q?=20=E6=91=84=E5=83=8F=E5=A4=B4=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/apply.vue | 12 +++++++++++-
.../src/views/mynoticeView/components/NoticeList.vue | 3 ++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue
index c58a256b..74cfa2f4 100644
--- a/front/src/views/home/apply.vue
+++ b/front/src/views/home/apply.vue
@@ -459,7 +459,17 @@
obj.system.push({
resourceId: sxt.idtCameraChannel + '',
resourceName: sxt.channelName,
- cameraId: sxt.channelId,
+ cameraId: sxt.channelId, // 改接口后删除
+ channelCode: sxt.channelCode,
+ channelId: sxt.channelId,
+ channelName: sxt.channelName,
+ checkStatus: sxt.checkStatus + '',
+ gpsX: sxt.gpsX,
+ gpsY: sxt.gpsY,
+ idtCameraChannel: sxt.idtCameraChannel + '',
+ nodeName: sxt.nodeName,
+ parentId: sxt.parentId,
+ status: sxt.status + '',
})
})
submitApply(obj).then((res) => {
diff --git a/front/src/views/mynoticeView/components/NoticeList.vue b/front/src/views/mynoticeView/components/NoticeList.vue
index 2003708d..24bd8486 100644
--- a/front/src/views/mynoticeView/components/NoticeList.vue
+++ b/front/src/views/mynoticeView/components/NoticeList.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-21 11:55:07
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-21 17:05:11
+ * @LastEditTime: 2022-07-27 15:57:26
* @Description: 告诉大家这是什么
-->
@@ -105,6 +105,7 @@
v-model:pageSize="pageSize"
:total="total"
show-less-items
+ :show-size-changer="false"
@change="changePageNum"
/>
From fd3a7ef353b8f0679c1e3f5a87a106bc84c8224f Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Thu, 28 Jul 2022 09:40:05 +0800
Subject: [PATCH 27/27] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD?=
=?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=20=E5=8E=BB=E9=99=A4X?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/public/static/config/location.js | 8 ++++----
front/src/views/home/videoSurveillance/index.vue | 1 -
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js
index c6e2de12..11efe16f 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.wuhongjian
- * @LastEditTime: 2022-07-26 15:16:46
+ * @LastEditors: hisense.liangjunhua
+ * @LastEditTime: 2022-07-28 09:36:58
* @Description: 数据资源参数配置
*/
-//const newLocation = 'qingdao'
+const newLocation = 'qingdao'
// const newLocation = 'baotou'
-const newLocation = 'xihaian'
+// const newLocation = 'xihaian'
// 数据资源数据
const whoShow = {}
diff --git a/front/src/views/home/videoSurveillance/index.vue b/front/src/views/home/videoSurveillance/index.vue
index 70139cf6..54b2653d 100644
--- a/front/src/views/home/videoSurveillance/index.vue
+++ b/front/src/views/home/videoSurveillance/index.vue
@@ -11,7 +11,6 @@