diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js index ab4c9931..ae81da9b 100644 --- a/back/src/mixins/view-module.js +++ b/back/src/mixins/view-module.js @@ -2,7 +2,7 @@ import Cookies from 'js-cookie' import qs from 'qs' import { deepClone } from '@/utils/form-generator/index' export default { - data() { + data () { /* eslint-disable */ return { // 设置属性 @@ -38,19 +38,19 @@ export default { } /* eslint-enable */ }, - created() { + created () { if (this.mixinViewModuleOptions.createdIsNeed) { this.query() } }, - activated() { + activated () { if (this.mixinViewModuleOptions.activatedIsNeed) { this.query() } }, methods: { // 获取数据列表 - query() { + query () { this.dataListLoading = true this.$http.get( this.mixinViewModuleOptions.getDataListURL + '?' + qs.stringify({ @@ -102,7 +102,7 @@ export default { return item } }) - this.total = this.mixinViewModuleOptions.getDataListIsPage ? this.dataList.length : 0 + this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 }) } else { this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 @@ -118,11 +118,11 @@ export default { }) }, // 多选 - dataListSelectionChangeHandle(val) { + dataListSelectionChangeHandle (val) { this.dataListSelections = val }, // 排序 - dataListSortChangeHandle(data) { + dataListSortChangeHandle (data) { if (!data.order || !data.prop) { this.order = '' this.orderField = '' @@ -133,13 +133,13 @@ export default { this.query() }, // 分页, 每页条数 - pageSizeChangeHandle(val) { + pageSizeChangeHandle (val) { this.page = 1 this.limit = val this.query() }, // 分页, 当前页 - pageCurrentChangeHandle(val) { + pageCurrentChangeHandle (val) { this.page = val this.query() }, @@ -148,7 +148,7 @@ export default { this.query() }, // 新增 - addOrUpdateHandle(id) { + addOrUpdateHandle (id) { this.addOrUpdateVisible = true this.disabled = false this.$nextTick(() => { @@ -159,7 +159,7 @@ export default { }, // 组件服务新增 - addOrUpdateHandleAI(id) { + addOrUpdateHandleAI (id) { // const infoList = [] let showList = [] this.$http.get('category/getCategoryTree').then(({ data: res }) => { @@ -217,7 +217,7 @@ export default { }, 100) }, // 应用资源新增 - addOrUpdateHandleServe(id) { + addOrUpdateHandleServe (id) { // const infoList = [] let showList = [] this.$http.get('category/getCategoryTree').then(({ data: res }) => { @@ -275,7 +275,7 @@ export default { }, 100) }, // 修改 - UpdateHandle(val) { + UpdateHandle (val) { this.addOrUpdateVisible = true this.disabled = false const cloneVal = deepClone(val) @@ -300,7 +300,7 @@ export default { }) }, // 关闭当前窗口 - closeCurrentTab(data) { + closeCurrentTab (data) { var tabName = this.$store.state.contentTabsActiveName this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name !== tabName) if (this.$store.state.contentTabs.length <= 0) { @@ -312,7 +312,7 @@ export default { } }, // 删除 - deleteHandle(id) { + deleteHandle (id) { if (this.mixinViewModuleOptions.deleteIsBatch && !id && this.dataListSelections.length <= 0) { return this.$message({ message: this.$t('prompt.deleteBatch'), @@ -346,7 +346,7 @@ export default { }).catch(() => { }) }, - deleteHandle2(id) { + deleteHandle2 (id) { console.log('删除========================》', id, this.dataListSelections) const ids = [] if (id) { @@ -364,7 +364,7 @@ export default { }) }, // 导出 - exportHandle() { + exportHandle () { var params = qs.stringify({ token: Cookies.get('ucsToken'), ...this.dataForm diff --git a/back/src/views/modules/myAgent/CompetencyApplication.vue b/back/src/views/modules/myAgent/CompetencyApplication.vue new file mode 100644 index 00000000..1a3edea2 --- /dev/null +++ b/back/src/views/modules/myAgent/CompetencyApplication.vue @@ -0,0 +1,169 @@ + + + + + + + + + + {{ + $t("query") + }} + + + + + + + {{ + (scope.row.params && scope.row.params.user) || + (scope.row.params && scope.row.params.applyUserName) || + (scope.row.params && scope.row.params.userName) || + (scope.row.params && scope.row.params.undercarriageUserName)|| + (scope.row.params && scope.row.params.name) + }} + + + + + {{ + (scope.row.params && scope.row.params.system) || + (scope.row.params && scope.row.params.demandSubject) || + (scope.row.params && + scope.row.params.resourceDTO && + scope.row.params.resourceDTO.name) || + (scope.row.params && scope.row.params.undercarriageReason)|| + (scope.row.params && scope.row.params.comment) + }} + + + + + + + + + + {{ $t("manage") }} + {{ $t("process.viewFlowImage") }} + + + + + + + + + + diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index cbb74731..688a983f 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-06-24 18:16:44 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-06-27 14:22:56 * @Description: 数据资源参数配置 */ -// const newLocation = 'qingdao' -// const newLocation = 'baotou' const newLocation = 'qingdao' +// const newLocation = 'baotou' +// const newLocation = 'xihaian' // 数据资源数据 const whoShow = {} diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index 0b2bbfaa..77d4e9eb 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-19 10:15:33 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-24 15:04:52 + * @LastEditTime: 2022-06-27 12:52:18 * @Description: 告诉大家这是什么 --> @@ -156,7 +156,8 @@ }) arr.resourceTop5.forEach((val, index) => { assignRankings.value[index].name = val['服务名称'] || '' - assignRankings.value[index].operation = val['申请次数'] || '' + assignRankings.value[index].operation = + val['申请次数'] >= 0 ? val['申请次数'] : '' }) } }) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmChargingStandard.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmChargingStandard.vue index c21adfeb..a32c4304 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmChargingStandard.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmChargingStandard.vue @@ -7,7 +7,10 @@ {{ item.title }} - {{ item.content }} + + {{ item.content }} + {{ item.content }} + diff --git a/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue b/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue index 64a4be26..fa6b83e2 100644 --- a/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue +++ b/front/src/views/detailsAll/components/Business/BusinessTopDetails.vue @@ -35,7 +35,7 @@ - 加入购物车 + 加入申购车 --> 收藏 diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue index ebb52843..3fb2b33a 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue @@ -35,7 +35,7 @@ - 加入购物车 + 加入申购车 收藏 diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index 33778a02..4b5b212f 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -6,44 +6,75 @@ 检测结果: {{ resourceTotal || '' }} 个{{ - cardType == '组件服务' ? '组件' : cardType == '应用资源' ? '应用' : '' + cardType == '组件服务' ? '组件' : cardType == '应用资源' ? '应用' : '' }} - + {{ item.name }} - + - + - + " + v-if="selectCardsname !== '基础设施'" + > {{ item.name }} - + + fill="#d81e06" + p-id="3063" + > + fill="#d81e06" + p-id="3064" + > + fill="#d81e06" + p-id="3065" + > @@ -65,9 +96,11 @@ - + {{ item.shareType || '--' }} @@ -95,7 +128,11 @@ - + @@ -103,27 +140,50 @@ - + - - - + + + 免费试用 - + 查看详情 - + {{ - item.shareCondition == '免批申请' ? '免批申请' : '立即申请' + item.shareCondition == '免批申请' ? '免批申请' : '立即申请' }} @@ -136,7 +196,12 @@ - + @@ -147,649 +212,658 @@ diff --git a/front/src/views/home/detailsPageconetentTree.vue b/front/src/views/home/detailsPageconetentTree.vue index a17ce985..a192a4af 100644 --- a/front/src/views/home/detailsPageconetentTree.vue +++ b/front/src/views/home/detailsPageconetentTree.vue @@ -39,9 +39,12 @@ fill="#0058e1" > - - {{ val.title }} - + + {{ val.title }} + + {{ val.title }} + + {{ val.total }} @@ -75,9 +78,12 @@ fill="#0058e1" > - - {{ child.title }} - + + {{ child.title }} + + {{ child.title }} + + {{ child.total }} diff --git a/front/src/views/personalCenter/components/PurchaseVehicle.vue b/front/src/views/personalCenter/components/PurchaseVehicle.vue index b55ce3a7..4a2ff938 100644 --- a/front/src/views/personalCenter/components/PurchaseVehicle.vue +++ b/front/src/views/personalCenter/components/PurchaseVehicle.vue @@ -1,23 +1,80 @@ - 申购车 - - - - 重置 - + + + + 全选 + + + 反选 + + + 已选: + {{ checkedList.length }} + + + + + + + + + 批量删除 + + + + 批量收藏 + + + 一键申请 + + - + {{ item.name }} - 加购时间:{{ item.updateDate }} + + {{ item.type }} {{ props.value }}条/页 - - - - 全选 - - - - 删除 - - - - 收藏 - - - - - 合计: - {{ checkedList.length }} - 个 - - - 一键申请 - - -
+ 已选: + {{ checkedList.length }} +
- 合计: - {{ checkedList.length }} - 个 -