From 86580758f4d47df1840c04ccc203d87117b46e9b Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Wed, 6 Jul 2022 11:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5bug=E8=87=AA?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/detailsAll/DeveloperComponents.vue | 1 - .../Algorithm/AlgorithmUsageMode.vue | 23 +- .../Algorithm/PictureCharacterRecognition.vue | 29 +- .../DeveloperApplicationScenarios.vue | 2 - .../Developer/DeveloperNavigation.vue | 1 - ...operOwningDepartmentAndServiceProvider.vue | 25 +- .../components/Developer/DeveloperTrial.vue | 7 + .../LayerService/LayerServiceUsageMode.vue | 517 +++++++++--------- 8 files changed, 313 insertions(+), 292 deletions(-) diff --git a/front/src/views/detailsAll/DeveloperComponents.vue b/front/src/views/detailsAll/DeveloperComponents.vue index 90bcd4a5..e7f0a403 100644 --- a/front/src/views/detailsAll/DeveloperComponents.vue +++ b/front/src/views/detailsAll/DeveloperComponents.vue @@ -134,7 +134,6 @@ } queryPartAppByKeyId2(queryPartAppByKeyIdParams).then((res) => { associatedComponents.value[0].dataList = res.data.data - debugger loading.value = false }) selectOne(id).then((res) => { diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue index b1726bed..9f43f6cb 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue @@ -17,7 +17,10 @@

{{ item.link.name }} - {{ item.link.value }} + + + {{ item.link.value }} +

{{ item.postMethod.name }} @@ -72,7 +75,7 @@ title: '技术对接', titleSon: '调用接口', link: { - name: '接口地址:', + name: '服务接口:', value: '', }, postMethod: { @@ -225,10 +228,9 @@ color: rgba(33, 41, 86, 0.8); line-height: 20px; p { - display: -webkit-box; overflow: hidden; - -webkit-line-clamp: 1; - -webkit-box-orient: vertical; + text-overflow: ellipsis; + white-space: nowrap; margin-bottom: 10px; } } @@ -283,13 +285,16 @@ p { // width: 160px; height: 20px; - display: -webkit-box; - // overflow: hidden; + overflow: hidden; + text-overflow: ellipsis; white-space: nowrap; - -webkit-line-clamp: 1; - -webkit-box-orient: vertical; margin-right: 15px; span { + display: inline-block; + max-width: 1.2rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; cursor: pointer; } } diff --git a/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue b/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue index 35db3991..43b73927 100644 --- a/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue +++ b/front/src/views/detailsAll/components/Algorithm/PictureCharacterRecognition.vue @@ -6,11 +6,7 @@

图片识别
- + { - debugger; - if (info.file.status !== 'uploading') { - console.log(info.file, info.fileList) - } - if (info.file.status === 'done') { - message.success(`${info.file.name} file uploaded successfully`) - responseUrl.value = info.file.response.data - checkImage() - } else if (info.file.status === 'error') { - message.error(`${info.file.name} file upload failed.`) - } - } + if (info.file.status !== 'uploading') { + console.log(info.file, info.fileList) + } + if (info.file.status === 'done') { + message.success(`${info.file.name} file uploaded successfully`) + responseUrl.value = info.file.response.data + checkImage() + } else if (info.file.status === 'error') { + message.error(`${info.file.name} file upload failed.`) + } + } const checkImage = () => { getUrlBase64(responseUrl.value, 'jpg', (base64) => { console.log('1111111', base64) 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/DeveloperNavigation.vue b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue index 26d2a1ad..8717495d 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue @@ -103,7 +103,6 @@ console.log(item) if (list.value.indexOf(item.name) > -1) { // if (item.name == '关联应用') { - // debugger // if (props.associatedComponents[0].dataList.length != 0) { // item.show = true // } diff --git a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue index 004c0eee..81931869 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue @@ -57,6 +57,10 @@ { childrenTitle: '归属部门', childrenContent: [ + { + attrType: '归属部门名称', + attrValue: '------', + }, { attrType: '部门联系人', attrValue: '------', @@ -65,15 +69,15 @@ attrType: '联系人电话', attrValue: '------', }, - { - attrType: '归属部门名称', - attrValue: '------', - }, ], }, { childrenTitle: '服务商信息', childrenContent: [ + { + attrType: '服务商名称', + attrValue: '------', + }, { attrType: '服务商联系人', attrValue: '------', @@ -82,10 +86,6 @@ attrType: '联系人电话', attrValue: '------', }, - { - attrType: '服务商名称', - attrValue: '------', - }, ], }, ], @@ -117,6 +117,9 @@ } else if (item.attrType == '服务商联系电话') { dataFrom.value.content[1].childrenContent[1].attrValue = item.attrValue + } else if (item.attrType == '服务商' || item.attrType == '服务商名') { + dataFrom.value.content[1].childrenContent[2].attrValue = + item.attrValue } }) } @@ -176,6 +179,12 @@ } else if (item.attrType == '服务商联系电话') { dataFrom.value.content[1].childrenContent[1].attrValue = item.attrValue + } else if ( + item.attrType == '服务商' || + item.attrType == '服务商名' + ) { + dataFrom.value.content[1].childrenContent[2].attrValue = + item.attrValue } }) } diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue index aa3918f2..78281255 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue @@ -130,6 +130,13 @@ border-right: 0.01rem #ffffff solid; padding-left: 0.7rem; padding-right: 1rem; + & > p { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + } } .main-center { padding-left: 1rem; diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue index de0edf4b..089ff5c7 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue @@ -2,21 +2,28 @@
- +
-
+ +

- 服务地址: - {{ item.linkValue }} + 服务地址: + {{ item.linkValue }}

+
+ +

- 样式服务地址: - {{ item.csslnkValue }} + 样式服务地址: + {{ item.csslinkValue }}

-
+
接口文档
@@ -82,286 +89,288 @@