diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index 11b91214..1cf82d5d 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -762,10 +762,14 @@ export default { this.notFilled.push('部门联系人电话') } if (this.radio === '智能算法' && !this.submitFrom.apiUrl) { - this.notFilled.push('服务接口') + if ((this.submitFrom.infoList.filter(val => val.attrType === '使用方式')[0].attrValue === '调用接口')) { + this.notFilled.push('服务接口') + } } if (this.radio === '智能算法' && !this.submitFrom.apiMethodType) { - this.notFilled.push('接口请求方式') + if ((this.submitFrom.infoList.filter(val => val.attrType === '使用方式')[0].attrValue === '调用接口')) { + this.notFilled.push('接口请求方式') + } } if (this.radio === '智能算法' && (!this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0] || !this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0].attrValue)) { this.notFilled.push('算法类别') diff --git a/back/src/views/modules/ability/bsabilityservice-add-or-update.vue b/back/src/views/modules/ability/bsabilityservice-add-or-update.vue index 57e7a85e..b01efd91 100644 --- a/back/src/views/modules/ability/bsabilityservice-add-or-update.vue +++ b/back/src/views/modules/ability/bsabilityservice-add-or-update.vue @@ -271,8 +271,7 @@ v-if=" item.attrType != '应用领域' && item.attrType != '应用类型' && - item.attrType != '发布端' && - item.attrType != '应用状态' + item.attrType != '发布端' " > diff --git a/front/src/api/capabilityCloud.js b/front/src/api/capabilityCloud.js index 011517fe..0cb3eebe 100644 --- a/front/src/api/capabilityCloud.js +++ b/front/src/api/capabilityCloud.js @@ -97,7 +97,7 @@ export function callTheTrendPort(start, end, params) { export function totalCallsSnum(params) { return request({ url: - `/metrics/api/v1/query?time=${params}&query=sum(apigateway_http_status)`, + `/gateway-monitor/getCallCount`, method: 'get', }) } diff --git a/front/src/main.js b/front/src/main.js index be02ff2a..7b3ccf72 100644 --- a/front/src/main.js +++ b/front/src/main.js @@ -1,8 +1,8 @@ /* * @Author: hisense.wuhongjian * @Date: 2022-03-29 17:48:03 - * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-22 16:03:23 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-08-06 15:00:49 * @Description: 告诉大家这是什么 */ import { createApp } from 'vue' @@ -16,8 +16,8 @@ import 'ant-design-vue/dist/antd.css' import '@/vab' import * as echarts from 'echarts' import * as moment from 'moment' -import vue3videoPlay from 'vue3-video-play' // 引入组件 -import 'vue3-video-play/dist/style.css' // 引入css +import vue3videoPlay from 'vue3-video-play-emiyagm' // 引入组件 +import 'vue3-video-play-emiyagm/dist/style.css' // 引入css import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import * as ElementPlusIconsVue from '@element-plus/icons-vue' diff --git a/front/src/views/abilityStatistics/components/CapabilityRequirements.vue b/front/src/views/abilityStatistics/components/CapabilityRequirements.vue index 6fef3668..b2d4c45c 100644 --- a/front/src/views/abilityStatistics/components/CapabilityRequirements.vue +++ b/front/src/views/abilityStatistics/components/CapabilityRequirements.vue @@ -13,10 +13,16 @@ backgroundImage: `url(${item.photo}) `, }" > -
{{ item.demandSubject }}
-
- {{ item.demandDetails }} -
+ + +
{{ item.demandSubject }}
+
+ + +
+ {{ item.demandDetails }} +
+
回复量:{{ item.commentCount }}
查看详情
@@ -165,6 +171,10 @@ font-size: 16px; color: #212121; margin-bottom: 24px; + width: 226px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .text { width: 100%; @@ -175,6 +185,10 @@ font-size: 14px; color: #666; text-align: center; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; } .view-details { width: 75px; diff --git a/front/src/views/assignCase/components/queryPage.vue b/front/src/views/assignCase/components/queryPage.vue index 0a2f1052..3de479c6 100644 --- a/front/src/views/assignCase/components/queryPage.vue +++ b/front/src/views/assignCase/components/queryPage.vue @@ -64,14 +64,14 @@ @@ -215,7 +215,7 @@ orderField: 'create_date', orderType: 'DESC', pageNum: currentPage.value, - pageSize: 3, + pageSize: 100, type: '赋能案例', } pageWithAttrs(params).then((res) => { @@ -367,14 +367,15 @@ .content { width: 100%; display: flex; - justify-content: center; - padding-top: 40px; + justify-content: space-around; + flex-wrap: wrap; + padding: 40px 300px 0; overflow: hidden; .contenBox { // width: 430px; padding: 30px; border: 1px solid #e4e6f5; - margin-right: 30px; + margin-bottom: 20px; background: #ffffff; border-radius: 6px; box-shadow: 5px 5px 20px 0 #f2f3fb; diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index fc2dbd45..1660dc9a 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-19 10:15:33 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-06-19 18:19:58 + * @LastEditTime: 2022-08-06 16:21:24 * @Description: 能力云图-组件服务 -->