From e0ed9d7f60db8cec29f6fba3f2d45c9bfce126ae Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 27 Jun 2022 11:49:47 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detailsAll/components/Algorithm/AlgorithmTopDetails.vue | 2 +- .../views/detailsAll/components/Business/BusinessTopDetails.vue | 2 +- .../components/LayerService/LayerServiceTopDetails.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue index 6edef0b1..d52206ab 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue @@ -34,7 +34,7 @@ - 加入购物车 + 加入申购车 收藏 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 @@ - 加入购物车 + 加入申购车 收藏 From 0adb2868278d2984bfb03c23f4194bd431ac0499 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 27 Jun 2022 14:09:55 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5bug279?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Algorithm/AlgorithmChargingStandard.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }}
+
{{ val.total }} @@ -75,9 +78,12 @@ fill="#0058e1" > - - {{ child.title }} - + + + + {{ child.title }} + +
{{ child.total }}
From 3738985aded723e0d005ba1c05a823d143d77614 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Mon, 27 Jun 2022 14:27:50 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=A1=B5=E9=9D=A2=E5=BC=80=E5=8F=91=20=20?= =?UTF-8?q?=E5=89=8D=E5=8F=B0=E7=94=B3=E8=B4=AD=E8=BD=A6=20=E9=87=8D?= =?UTF-8?q?=E6=9E=84=20=20=20=E6=96=B0=E5=A2=9E=E5=B8=82=E5=B1=80=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=B5=84=E6=BA=90=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/src/mixins/view-module.js | 34 +- .../modules/myAgent/CompetencyApplication.vue | 169 +++ front/public/static/config/location.js | 8 +- .../components/DataResources.vue | 5 +- .../home/components/searchResultList.vue | 1326 +++++++++-------- .../components/PurchaseVehicle.vue | 333 +++-- front/src/views/personalCenter/index.vue | 2 +- 7 files changed, 1100 insertions(+), 777 deletions(-) create mode 100644 back/src/views/modules/myAgent/CompetencyApplication.vue 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 @@ + + + + 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: 告诉大家这是什么 --> 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 }} - -

- - 一键申请 - -
-