@@ -16,7 +13,10 @@
{{ item.link.name }}
- {{ item.linkValue }}
+
+ {{ item.linkValue }}
+ {{ item.linkValue }}
+
- {{ item.contact }}
+ {{ item.facilitator.name }}
{{ item.facilitator.value }}
{{ item.facilitator.value }}
@@ -56,7 +56,7 @@
{{ item.contact2 }}
- {{ item.contact2 }}
+ {{ item.facilitator2.name }}
{{ item.facilitator2.value }}
{{ item.facilitator2.value }}
@@ -84,264 +84,281 @@
diff --git a/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue b/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue
index d53f8073..016bb3ee 100644
--- a/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue
+++ b/front/src/views/detailsAll/components/Developer/DeveloperApplicationScenarios.vue
@@ -71,7 +71,6 @@
dataList: { type: Object, default: null },
})
if (props.dataList.infoList) {
- debugger
let obj = props.dataList.infoList.filter(
(item) => item.attrType === '应用场景'
)[0]
@@ -79,7 +78,6 @@
flag.value = false
} else {
obj.attrValue = JSON.parse(obj.attrValue)
- debugger
dataFrom.value = obj
tabindex.value = dataFrom.value.attrValue[0].name
}
diff --git a/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue b/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue
index e03abb90..0913adce 100644
--- a/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue
+++ b/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue
@@ -1,30 +1,79 @@
-
-
+
+
-
- {{ dataListitem.name }}
-
-
-
- {{ dataListitem.description }}
+
+ {{ dataListitem.name }}
+
+ {{ dataListitem.name }}
+
+
+
+ {{ dataListitem.description }}
+
+ {{ dataListitem.description }}
+
+
+
+
+
+
+
+ {{ dataListitem.name }}
+
+ {{ dataListitem.name }}
+
+
+
+
+ {{ dataListitem.description }}
+
+ {{ dataListitem.description }}
+
+
+
+
+
+
+
diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue
index 954e2ae4..04c67bc2 100644
--- a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue
+++ b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-08 11:56:28
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-01 18:52:34
+ * @LastEditTime: 2022-07-05 11:43:18
* @Description: 算法详情页头部
-->
@@ -96,6 +96,7 @@
resourceName: props.dataList.name,
time: props.dataList.createDate,
type: props.dataList.type,
+ componentType: '图层服务',
},
],
deptId: props.dataList.deptId,
diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
index 89c9a973..089ff5c7 100644
--- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
+++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
@@ -10,16 +10,20 @@
-
+
+ {{ item.linkValue }}
- 服务地址:
- {{ item.linkValue }}
+ 服务地址:
+ {{ item.linkValue }}
+
+
+ {{ item.csslinkValue }}
- 样式服务地址:
- {{ item.csslnkValue }}
+ 样式服务地址:
+ {{ item.csslinkValue }}
-
+
接口文档
@@ -31,7 +35,7 @@
{{ item.contact }}
- {{ item.contact }}
+ {{ item.facilitator.name }}
{{ item.facilitator.value }}
{{ item.facilitator.value }}
@@ -57,7 +61,7 @@
{{ item.contact2 }}
- {{ item.contact2 }}
+ {{ item.facilitator2.name }}
{{ item.facilitator2.value }}
{{ item.facilitator2.value }}
@@ -99,6 +103,7 @@
name: '接口地址:',
},
linkValue: '',
+ csslinkValue: '',
contact: '归属部门',
facilitator: { name: '归属部门:', value: '' },
people: { name: '部门联系人:', value: '' },
@@ -142,7 +147,7 @@
dataFrom.value.content[0].phone.value = props.dataList.deptPhone
console.log('dataList', props.dataList)
props.dataList.infoList.map((item) => {
- if (item.attrType === '组件地址') {
+ if (item.attrType === '服务地址') {
dataFrom.value.content[0].linkValue = item.attrValue || '--'
} else if (item.attrType === '服务商') {
dataFrom.value.content[0].facilitator2.value = item.attrValue || '--'
@@ -150,6 +155,8 @@
dataFrom.value.content[0].people2.value = item.attrValue || '--'
} else if (item.attrType === '服务商联系电话') {
dataFrom.value.content[0].phone2.value = item.attrValue || '--'
+ } else if (item.attrType === '样式服务地址') {
+ dataFrom.value.content[0].csslinkValue = item.attrValue || '--'
}
})
}
@@ -177,7 +184,7 @@
dataFrom.value.content[0].phone.value = val.deptPhone
console.log('dataList', val)
val.infoList.map((item) => {
- if (item.attrType === '组件地址') {
+ if (item.attrType === '服务地址') {
dataFrom.value.content[0].linkValue = item.attrValue || '--'
} else if (item.attrType === '服务商') {
dataFrom.value.content[0].facilitator2.value =
@@ -186,6 +193,8 @@
dataFrom.value.content[0].people2.value = item.attrValue || '--'
} else if (item.attrType === '服务商联系电话') {
dataFrom.value.content[0].phone2.value = item.attrValue || '--'
+ } else if (item.attrType === '样式服务地址') {
+ dataFrom.value.content[0].csslinkValue = item.attrValue || '--'
}
})
}
@@ -237,9 +246,11 @@
flex-direction: column;
align-items: center;
padding: 0.8rem 0;
+
.content {
margin-top: 0.3rem;
display: flex;
+
.content-left {
height: 1.8rem;
width: 6.2rem;
@@ -254,36 +265,35 @@
display: flex;
align-items: center;
padding: 0 0.35rem;
+
.left {
.content-left-title {
font-size: 0.26rem;
line-height: 0.26rem;
color: #212956;
margin-bottom: 0.2rem;
+
span:first-child {
margin-right: 0.1rem;
}
}
- .content-left-content {
- width: 4.2rem;
- font-size: 0.2rem;
+ p {
+ display: block;
color: rgba(33, 41, 86, 0.8);
- line-height: 0.2rem;
- p {
- display: -webkit-box;
- overflow: hidden;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- // margin-bottom: 0.1rem;
- font-size: 20px;
- color: #212956;
- line-height: 26px;
- }
- p:last-of-type {
- margin-top: 20px;
- }
+ width: 4.2rem;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ font-size: 20px;
+ color: #212956;
+ line-height: 26px;
+ margin-top: 0.3rem;
+ }
+ p:first-child {
+ margin-top: 0.2rem;
}
}
+
.right {
div {
height: 0.4rem;
@@ -297,11 +307,13 @@
align-items: center;
cursor: pointer;
}
+
div:first-child {
margin-bottom: 0.2rem;
}
}
}
+
.content-right {
height: 1.8rem;
width: 6.2rem;
@@ -316,17 +328,20 @@
justify-content: space-around;
align-items: center;
padding: 0 0.3rem;
+
.content-right-left {
- border-right: 0.01rem solid #b0b9f1;
+ // border-right: 0.01rem solid #b0b9f1;
padding-right: 0.1rem;
margin-right: 0.1rem;
}
+
.content-right-title {
font-size: 0.26rem;
line-height: 0.26rem;
color: #212956;
margin-bottom: 0.15rem;
}
+
.content-right-content {
display: flex;
font-size: 0.16rem;
@@ -336,6 +351,7 @@
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
flex-direction: column;
+
p {
// width: 1.60rem;
height: 0.2rem;
@@ -345,6 +361,7 @@
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
margin-right: 0.15rem;
+
span {
cursor: pointer;
font-size: 20px;
diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue
index 7fd3236b..84b73888 100644
--- a/front/src/views/home/AbilityToApplyFor.vue
+++ b/front/src/views/home/AbilityToApplyFor.vue
@@ -1,6 +1,10 @@
-
-
申请能力
+
+
+ 申请能力
+ 展开
+ 收起
+
-
- {{ val.resourceName }}
- {{ val.type }}
-
-
- {{
- val.description ||
- (val.note1 &&
- JSON.parse(val.note1)[0].channelName +
- '等' +
- JSON.parse(val.note1).length +
- '个摄像头') ||
- '--'
- }}
+
+
+
+ {{ val.resourceName }}
+ {{ val.type }}
+
+
+ {{
+ val.description ||
+ (val.note1 &&
+ JSON.parse(val.note1)[0].channelName +
+ '等' +
+ JSON.parse(val.note1).length +
+ '个摄像头') ||
+ '--'
+ }}
+
@@ -35,27 +57,29 @@
diff --git a/front/src/views/home/details.vue b/front/src/views/home/details.vue
index ff5c7ec5..0b4a51e6 100644
--- a/front/src/views/home/details.vue
+++ b/front/src/views/home/details.vue
@@ -91,7 +91,7 @@
const router = useRouter()
const id = router.currentRoute.value.query.id
const obj = JSON.parse(window.sessionStorage.getItem('preview'))
- let showView = ref('details-view')
+ let showView = ref('')
const init = () => {
if (id) {
selectOne(id).then((res) => {
diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue
index 342cc39d..7060d2e3 100644
--- a/front/src/views/home/infrastructurePage.vue
+++ b/front/src/views/home/infrastructurePage.vue
@@ -61,9 +61,9 @@
-
+
- 添加至购物车
+ 添加至申购车
@@ -253,6 +253,8 @@
let tableHeight = ref('600')
//tab切换点击事件
const tabClick = (indexFather, name) => {
+ selectedRowKeys.value = []
+ selectedList.value = []
if (clickList.value[indexFather].content.indexOf(name) != -1) {
if (name == '视频资源') {
tableHeight.value = 330
@@ -404,16 +406,20 @@
}
//加入申购车
const addShoppingCart = () => {
- sgcInsert({
- delFlag: '0',
- resourceId: '8888888880000000001',
- note1: selectedList.value,
- // userId: userId.value,
- }).then((res) => {
- console.log(res)
- message.success('添加申购车成功!')
- mybus.emit('getSgcNum')
- })
+ if (selectedList.value.length > 0) {
+ sgcInsert({
+ delFlag: '0',
+ resourceId: '8888888880000000001',
+ note1: selectedList.value,
+ // userId: userId.value,
+ }).then((res) => {
+ console.log(res)
+ message.success('添加申购车成功!')
+ mybus.emit('getSgcNum')
+ })
+ } else {
+ message.error('请选择需要添加申购车的数据')
+ }
}
// 表格
const dataSource = ref([])
diff --git a/front/src/views/newHome/components/CapabilityConvergence.vue b/front/src/views/newHome/components/CapabilityConvergence.vue
index 4c35dc3b..9b195a16 100644
--- a/front/src/views/newHome/components/CapabilityConvergence.vue
+++ b/front/src/views/newHome/components/CapabilityConvergence.vue
@@ -119,7 +119,7 @@
paramsGetResources.type = type
if (type === '数据资源' && !whoShow1.value.itShowBaoTou) {
getDataResource({
- serviceName: paramsGetResources.name, //资源名称
+ serviceName: paramsGetResources.name || '', //资源名称
orderField: whoShow1.value.itShowQingDao ? 'fbrq' : 'createTime', //排序字段
orderType: paramsGetResources.orderType.toLowerCase(), //排序方式:desc,asc
pageNum: paramsGetResources.pageNum, //页码
diff --git a/front/src/views/newHome/components/Header.vue b/front/src/views/newHome/components/Header.vue
index 350f6599..10826d5b 100644
--- a/front/src/views/newHome/components/Header.vue
+++ b/front/src/views/newHome/components/Header.vue
@@ -1,6 +1,9 @@