From e6528b4b3bb5cc22b5749d80cbda3026fedbb0fb Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 7 Jul 2022 09:23:12 +0800 Subject: [PATCH 01/31] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1BUG=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/main.js | 8 +------- front/src/views/home/components/header.vue | 8 ++------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/front/src/main.js b/front/src/main.js index a24e5800..c43d1b20 100644 --- a/front/src/main.js +++ b/front/src/main.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-03-29 17:48:03 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-05 15:04:47 + * @LastEditTime: 2022-07-07 09:22:56 * @Description: 告诉大家这是什么 */ import { createApp } from 'vue' @@ -51,9 +51,3 @@ router.beforeEach((to, from, next) => { document.body.scrollTop = 0 next() }) -// 解决bug:页面/路由跳转后,滚动条消失,页面无法滚动 -router.afterEach((to, from, next) => { - document - .querySelector('body') - .setAttribute('style', 'overflow: auto !important;') -}) diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index 2d232f3f..aa448adc 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -20,7 +20,7 @@ {{ item.name }} - + --> - + { mynoticeFlag.value = true - // document.documentElement.style.overflowY = 'hidden' }) mynoticeDom.addEventListener('mouseout', () => { mynoticeFlag.value = false - document.documentElement.style.overflowY = 'scroll' }) } if (mynotice) { mynotice.addEventListener('mouseover', () => { mynoticeFlag.value = true - // document.documentElement.style.overflowY = 'hidden' }) mynotice.addEventListener('mouseout', () => { mynoticeFlag.value = false - document.documentElement.style.overflowY = 'scroll' }) } mybus.on('getSgcNum', () => { From 4a1126cf949706162fbbd9cfb4a6fb03e7accc1d Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 7 Jul 2022 10:27:46 +0800 Subject: [PATCH 02/31] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workBench/components/bottom-view.vue | 95 ++++--- .../components/frequency-top5-view.vue | 258 +++++++++--------- 2 files changed, 174 insertions(+), 179 deletions(-) diff --git a/back/src/views/modules/workBench/components/bottom-view.vue b/back/src/views/modules/workBench/components/bottom-view.vue index 98acdc7a..75368b2d 100644 --- a/back/src/views/modules/workBench/components/bottom-view.vue +++ b/back/src/views/modules/workBench/components/bottom-view.vue @@ -28,108 +28,108 @@
-
{{ i + 3 }}
+
{{ i + 4 }}
{{ data.name || '--' }}
@@ -41,185 +41,181 @@ import * as Apis from '../api.js' import contentTitle from './content-title.vue' export default { - data() { - return { - listInfo: [], - colorObj: { - 1: '#4658710', - 2: '#734204', - 3: '#805932', - }, - no1Obj: { - name: '', - count: '', - }, - no2Obj: { - name: '', - count: '', - }, - no3Obj: { - name: '', - count: '', - }, - noData: false, - loading: true, - }; - }, - mounted() { - this.getData(); - }, - methods: { - // 频率 - getData() { - let data = { - limit: 5, - page: 1, - }; - this.loading = true - Apis.getFrequence(data, res => { - this.loading = false; - if (res.data.code !== 0) { - return this.$message.error(res.data.msg); - } - console.log("res----频率-------->", res.data); - let _arr = res.data.data.records || []; - if (_arr.length == 0) { - this.noData = true - return; - } - for (let i = 0; i < 3; i++) { - let k = i + 1; - this[`no${k}Obj`].name = _arr[i].name - this[`no${k}Obj`].count = _arr[i].count - } - this.listInfo = [] - this.listInfo.push(_arr[3] || {}) - this.listInfo.push(_arr[4] || {}) - - }, err => { - this.loading = false; - this.$message.error(err); - }); - }, - formatCount(count) { - return count || count === 0 ? count : '--' + data () { + return { + listInfo: [], + colorObj: { + 1: '#4658710', + 2: '#734204', + 3: '#805932' + }, + no1Obj: { + name: '', + count: '' + }, + no2Obj: { + name: '', + count: '' + }, + no3Obj: { + name: '', + count: '' + }, + noData: false, + loading: true + } + }, + mounted () { + this.getData() + }, + methods: { + // 频率 + getData () { + const data = { + limit: 5, + page: 1 + } + this.loading = true + Apis.getFrequence(data, res => { + this.loading = false + if (res.data.code !== 0) { + return this.$message.error(res.data.msg) } + console.log('res----频率-------->', res.data) + const _arr = res.data.data.records || [] + if (_arr.length == 0) { + this.noData = true + return + } + for (let i = 0; i < 3; i++) { + const k = i + 1 + this[`no${k}Obj`].name = _arr[i].name + this[`no${k}Obj`].count = _arr[i].count + } + this.listInfo = [] + this.listInfo.push(_arr[3] || {}) + this.listInfo.push(_arr[4] || {}) + }, err => { + this.loading = false + this.$message.error(err) + }) }, - components: { contentTitle } + formatCount (count) { + return count || count === 0 ? count : '--' + } + }, + components: { contentTitle } } \ No newline at end of file + From b48c2972cec2e520407f38e5cb7e525893973cf5 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Thu, 7 Jul 2022 10:42:14 +0800 Subject: [PATCH 03/31] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E4=BA=91=E5=9B=BEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/capabilityCloud/components/ComponentServices.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index ae100a9f..bf6082cf 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -271,8 +271,8 @@ }, grid: { top: '10%', - left: '0%', - right: '5%', + left: '3%', + right: '10%', bottom: '0%', containLabel: true, }, From 0ad564616747961c169686b040515f2f8eff35da Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 7 Jul 2022 10:49:37 +0800 Subject: [PATCH 04/31] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/components/searchResultList.vue | 5 +- .../newHome/components/PopularAbility.vue | 330 +++++++++--------- 2 files changed, 167 insertions(+), 168 deletions(-) diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index 724084a0..f80a88a9 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -137,7 +137,7 @@
浏览量:{{ item.visits || 0 }}次
-
申购量:{{ item.applyCount || 0 }}次
+
申请量:{{ item.applyCount || 0 }}次
数据量:{{ item.sjlCount || 0 }}
@@ -430,8 +430,7 @@ item.guid ) } else { - window.open( - 'http://10.134.135.24:30090/#/home') + window.open('http://10.134.135.24:30090/#/home') } } else { if (type === 'apply') { diff --git a/front/src/views/newHome/components/PopularAbility.vue b/front/src/views/newHome/components/PopularAbility.vue index 5f86d6c7..ee733fcf 100644 --- a/front/src/views/newHome/components/PopularAbility.vue +++ b/front/src/views/newHome/components/PopularAbility.vue @@ -16,7 +16,7 @@ > {{ sel }}
@@ -35,7 +35,7 @@
{{ select }}:{{ item.visits }}
-
+
{{ select }}:{{ item.applyCount }}
@@ -64,7 +64,7 @@ const store = useStore() const router = useRouter() const select = ref('浏览量') - const selList = ref(['浏览量', '申购量', '收藏量']) + const selList = ref(['浏览量', '申请量', '收藏量']) const list = ref([]) const paramsGetResources = { @@ -83,7 +83,7 @@ case '浏览量': paramsGetResources.orderField = 'visits' break - case '申购量': + case '申请量': paramsGetResources.orderField = 'applyCount' break case '收藏量': @@ -153,195 +153,195 @@ } From 47744311106d591cd2c7560f28357ca9231c48c6 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 7 Jul 2022 11:25:56 +0800 Subject: [PATCH 05/31] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AtlasResources.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/front/src/views/abilityStatistics/components/AtlasResources.vue b/front/src/views/abilityStatistics/components/AtlasResources.vue index 4c93e14a..9d9afe04 100644 --- a/front/src/views/abilityStatistics/components/AtlasResources.vue +++ b/front/src/views/abilityStatistics/components/AtlasResources.vue @@ -31,7 +31,9 @@ v-for="(item, index) in bubbleList" :key="item.id" class="bubble-item" - @click.stop.prevent="index == 0 ? showDepartmentList() : ''" + @click.stop.prevent=" + index == 0 ? showDepartmentList() : goToDetails(item) + " > @@ -58,7 +60,7 @@ -

查看更多>

+
@@ -136,6 +138,8 @@ provideDeptTopN, applyDeptTopN, } from '@/api/abilityStatistics' + // import { useRouter } from 'vue-router' + // const router = useRouter() // 左侧导航 const navList = ref([ '能力共享方-应用领域', @@ -149,6 +153,15 @@ ]) const navSelect = ref('能力共享方-应用领域') const departmentListFlag = ref(false) + const goToDetails = (item) => { + // console.log('点击气泡===============>', item) + // router.push({ + // path: '/details', + // query: { + // id: item.id, + // }, + // }) + } // 点击导航 const selectNav = (name) => { navSelect.value = name From 617373eb8ef67ddab80d1ec809f54ee745cab3f2 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Thu, 7 Jul 2022 11:37:05 +0800 Subject: [PATCH 06/31] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E6=8A=80?= =?UTF-8?q?=E6=9C=AF=E6=96=87=E6=A1=A3=E6=B7=BB=E5=8A=A0=E6=9A=82=E6=97=A0?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Algorithm/AlgorithmUsageMode.vue | 20 +- .../components/Business/BusinessUsageMode.vue | 521 +++++++++--------- .../LayerService/LayerServiceNavigation.vue | 468 ++++++++-------- .../LayerService/LayerServiceUsageMode.vue | 37 +- 4 files changed, 545 insertions(+), 501 deletions(-) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue index 9f43f6cb..380272aa 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue @@ -65,6 +65,7 @@ diff --git a/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue b/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue index 053d6e75..e1e19e28 100644 --- a/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue +++ b/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue @@ -2,7 +2,10 @@
- +
@@ -84,281 +87,297 @@ diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue index b0e395c3..b0585b8f 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue @@ -8,7 +8,12 @@ diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue b/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue index 0655035e..fd75008e 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperTopDetails.vue @@ -18,11 +18,15 @@

- - {{ componentType || props.dataList.type }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }}

diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue index 04c67bc2..336bc5ff 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceTopDetails.vue @@ -18,11 +18,15 @@

- - {{ componentType || props.dataList.type }} + + {{ props.dataList.type }} + + + {{ props.dataList.shareType }} + + + {{ props.dataList.shareCondition }} - {{ props.dataList.shareType }} - {{ props.dataList.shareCondition }}

From d95a2eeb9fc3fa7e790851cf719bad9b0c48d8f5 Mon Sep 17 00:00:00 2001 From: wuhongjian Date: Thu, 7 Jul 2022 20:37:34 +0800 Subject: [PATCH 16/31] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/static/config/location.js | 11 +---------- front/src/store/modules/user.js | 5 ++++- front/src/vab/plugins/permissions.js | 4 ++-- front/src/views/home/infrastructurePage.vue | 4 ---- 4 files changed, 7 insertions(+), 17 deletions(-) diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 92fcaa3c..3886edbe 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -1,22 +1,13 @@ /* * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 -<<<<<<< HEAD * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-07-07 17:30:10 -======= - * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-07 17:41:25 ->>>>>>> 420a31531fdd60d9a8007e3328d071690c7688f1 + * @LastEditTime: 2022-07-07 18:53:18 * @Description: 数据资源参数配置 */ const newLocation = 'qingdao' // const newLocation = 'baotou' -<<<<<<< HEAD -// const newLocation = 'xihaian' -======= // const newLocation = 'xihaian' ->>>>>>> 420a31531fdd60d9a8007e3328d071690c7688f1 // 数据资源数据 const whoShow = {} diff --git a/front/src/store/modules/user.js b/front/src/store/modules/user.js index 9679476e..1be71031 100644 --- a/front/src/store/modules/user.js +++ b/front/src/store/modules/user.js @@ -125,7 +125,10 @@ const actions = { commit('setUsername', data.data.username) commit('setRole', data.data.roleIdList.length) commit('setUserId', data.data.id) - resolve() + setTimeout(()=>{ + resolve() + },500) + }) }) }, diff --git a/front/src/vab/plugins/permissions.js b/front/src/vab/plugins/permissions.js index ac6117bc..a8f46286 100644 --- a/front/src/vab/plugins/permissions.js +++ b/front/src/vab/plugins/permissions.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-01 17:23:11 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-07-07 18:15:38 + * @LastEditTime: 2022-07-07 19:58:32 * @Description: 告诉大家这是什么 */ /** @@ -49,7 +49,7 @@ router.beforeEach(async (to, from, next) => { next() } else { store.dispatch('user/getUserInfo').then((res)=>{ - debugger + console.log('马到成功!') next() }) // if (recordRoute) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 2d3ef2e8..b88cabc5 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -11,11 +11,7 @@ >>>>>> 420a31531fdd60d9a8007e3328d071690c7688f1 :class=" clickList[index].content.indexOf(itemContent.labelName) != -1 || clickList[index].content.indexOf(itemContent) != -1 From 2aa05ee7196df8d0425f4567aa806c89bb1bfa4f Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 8 Jul 2022 08:53:19 +0800 Subject: [PATCH 17/31] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/index.html | 18 +++++++++--------- front/public/static/config/location.js | 11 +---------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/front/public/index.html b/front/public/index.html index 7530e93e..20397385 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-03-29 16:45:25 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-05 20:44:19 + * @LastEditTime: 2022-07-07 20:21:07 * @Description: 告诉大家这是什么 --> @@ -28,10 +28,10 @@ + From de9e38e5bfcc8626662377e26c3d17270aea39a4 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 8 Jul 2022 09:55:01 +0800 Subject: [PATCH 19/31] no message --- back/src/views/modules/putOnTheShelf/components/1.vue | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 back/src/views/modules/putOnTheShelf/components/1.vue diff --git a/back/src/views/modules/putOnTheShelf/components/1.vue b/back/src/views/modules/putOnTheShelf/components/1.vue new file mode 100644 index 00000000..e69de29b From 08bb99011b3584efad9ee99c2593cca1832905d8 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 8 Jul 2022 10:42:00 +0800 Subject: [PATCH 20/31] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E7=BC=96=E7=9B=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/bscatalogue/ManagementPop.vue | 489 +++++++++--------- .../views/modules/bscatalogue/bscatalogue.vue | 289 ++++++----- 2 files changed, 409 insertions(+), 369 deletions(-) diff --git a/back/src/views/modules/bscatalogue/ManagementPop.vue b/back/src/views/modules/bscatalogue/ManagementPop.vue index faab5067..dd55ee8e 100644 --- a/back/src/views/modules/bscatalogue/ManagementPop.vue +++ b/back/src/views/modules/bscatalogue/ManagementPop.vue @@ -6,130 +6,206 @@ * @Description: 编目弹窗 --> - From 900b3ea26d26f6089a38bd7d42496b94d3c2f9a0 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 8 Jul 2022 15:51:55 +0800 Subject: [PATCH 21/31] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/public/index.html | 4 +- back/src/assets/img/putOnTheShelf/del.png | Bin 0 -> 1252 bytes .../src/views/modules/ability/bsabilityai.vue | 93 +++++- .../views/modules/components/upload/index.vue | 138 ++++++++ .../modules/putOnTheShelf/components/1.vue | 0 .../putOnTheShelf/components/special.vue | 305 ++++++++++++++++++ .../src/views/modules/putOnTheShelf/index.vue | 177 +++++++++- 7 files changed, 706 insertions(+), 11 deletions(-) create mode 100644 back/src/assets/img/putOnTheShelf/del.png create mode 100644 back/src/views/modules/components/upload/index.vue delete mode 100644 back/src/views/modules/putOnTheShelf/components/1.vue create mode 100644 back/src/views/modules/putOnTheShelf/components/special.vue diff --git a/back/public/index.html b/back/public/index.html index 17d1b9da..fba74530 100644 --- a/back/public/index.html +++ b/back/public/index.html @@ -1,8 +1,8 @@ diff --git a/back/src/assets/img/putOnTheShelf/del.png b/back/src/assets/img/putOnTheShelf/del.png new file mode 100644 index 0000000000000000000000000000000000000000..643446b2bcfb0714cba0ef72c01cd200197a9e3e GIT binary patch literal 1252 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRp!3HFQtmCqPlw^r(L`iUdT1k0gQ7VIDN`6wR zf@f}GdTLN=VoGJ<$y6H#24v4 zq}24xJX@vryZ0+8WTx0Eg`4^s_!c;)W@LI)6{QAO`Gq7`WhYyvDB0U7*i={n4aiL` zNmQuF&B-gas<2f8n`;GRgM{^!6u?SKvTcwn|Gt^BsFfdRsx715X zOiD~nO43m-20B&qvF*KZjA*NrESfFpHX8`gOOrftYexucqiS6q^qmz?V9Vygr+LN7Bj#md0K+`z!h#M0H+(aq4%)!EU&#K6hf z(#+Y}!qCyu#1W>~B|o_|H#M&WrZ)wl*Ab^)P-4g}0NU)5T9jFqn&MWJpQ`}&vsET; zx0vHJ52`l>w_7Z5>eUB2MjsTjNHGl)0wy026P|E^9C*@C%>$EaktajR#_elKQ6fn)FUghg{&MKo)89CcZwKQfxMhPLc!lyLkYaKwS7mVx!)rAtms zlk{3R7_I*=70L->kv=N%`T6V*x;&@n6+Srr?%dg$&6}&s6J?G!9`AY}@MVXY1Cw`N z!l}u782TI~ue^+2vYzW*Y@?|G|E@2&8$JpDSoWUv%R$B+%kri6bRMugQB_v-@Z(zH z?Dt9=m_8-&ziF^G;J&1g^q^t)FP7C0SY#T#1v6Ie%X*;ruvGcWGCGT&wd>Icucco*)!R>$*l8s-u3O` znX~V0?g^{o(v?@3c*7>XU$~%Y>&?$In3pej`H#QMku@b`!~3#ZfAo8DRSqy*^z>XN T%vZY;RPK1X`njxgN@xNAR8zUw literal 0 HcmV?d00001 diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index 4e4d4ee8..a1b9ea03 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -27,6 +27,13 @@ >挂接 + + 上架 +
+ + 智能算法 + 图层服务 + 开发组件 + 业务组件 + + 取 消 + 确 定 + + + + + + 取 消 + 确 定 + + @@ -135,10 +171,28 @@ import AddOrUpdate from './bsabilityai-add-or-update' import dictionaries from '@/utils/dictionaries' import qs from 'qs' import RelateApplication from './bsabilityai-relate-application.vue' +import putOnTheShelf from '@/views/modules/putOnTheShelf' export default { mixins: [mixinViewModule], data () { return { + insertList: [], + putOnTheShelfList: [], + radio: '', + showPutOnTheShelfFlag: false, + showPutOnTheShelfFlag2: false, + submitFrom: { + type: '组件服务', + deptId: '', + delFlag: 0, + infoList: [ + { + attrType: '组件类型', + attrValue: '', + delFlag: 0 + } + ] + }, mixinViewModuleOptions: { getDataListURL: '/resource/page', getDataListIsPage: true, @@ -170,7 +224,8 @@ export default { watch: {}, components: { AddOrUpdate, - RelateApplication + RelateApplication, + putOnTheShelf }, created () { this.dataForm.name = '' @@ -343,6 +398,40 @@ export default { // 是否展示关联应用弹窗 handleIsShowRelatePopup (type) { this.relateApplicationVisible = type + }, + // 新挂载 + clear () { + this.showPutOnTheShelfFlag = false + this.showPutOnTheShelfFlag2 = false + this.radio = '' + this.submitFrom = { + type: '组件服务', + deptId: '', + delFlag: 0, + infoList: [ + { + attrType: '组件类型', + attrValue: '', + delFlag: 0 + } + ] + } + }, + showPutOnTheShelf () { + this.showPutOnTheShelfFlag = true + this.$http.get('/category/getCategoryTree').then(res => { + this.insertList = res.data.data.filter(item => item.name === '组件服务一')[0] + }) + }, + showPutOnTheShelfVue () { + this.showPutOnTheShelfFlag = false + this.showPutOnTheShelfFlag2 = true + this.submitFrom.infoList[0] = this.redio + this.putOnTheShelfList = this.insertList.children.filter(item => item.name === this.radio)[0].children + console.log('radio', this.radio) + }, + submitData () { + console.log('表单数据=================>', this.submitFrom, this.putOnTheShelfList) } } } @@ -351,7 +440,7 @@ export default { .el-tooltip__popper { max-width: 50%; } -::v-deep .el-table .cell{ +::v-deep .el-table .cell { width: 200px; } diff --git a/back/src/views/modules/components/upload/index.vue b/back/src/views/modules/components/upload/index.vue new file mode 100644 index 00000000..2d65cf9e --- /dev/null +++ b/back/src/views/modules/components/upload/index.vue @@ -0,0 +1,138 @@ + + + + diff --git a/back/src/views/modules/putOnTheShelf/components/1.vue b/back/src/views/modules/putOnTheShelf/components/1.vue deleted file mode 100644 index e69de29b..00000000 diff --git a/back/src/views/modules/putOnTheShelf/components/special.vue b/back/src/views/modules/putOnTheShelf/components/special.vue new file mode 100644 index 00000000..d3409049 --- /dev/null +++ b/back/src/views/modules/putOnTheShelf/components/special.vue @@ -0,0 +1,305 @@ + + + + diff --git a/back/src/views/modules/putOnTheShelf/index.vue b/back/src/views/modules/putOnTheShelf/index.vue index dfae3554..50258260 100644 --- a/back/src/views/modules/putOnTheShelf/index.vue +++ b/back/src/views/modules/putOnTheShelf/index.vue @@ -2,32 +2,195 @@ * @Author: hisense.liangjunhua * @Date: 2022-07-08 09:48:52 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-08 09:49:12 + * @LastEditTime: 2022-07-08 15:50:06 * @Description: 告诉大家这是什么 --> From 4344056f550df8bda20e21d53049b82420816945 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 8 Jul 2022 15:53:53 +0800 Subject: [PATCH 22/31] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=88=91=E7=9A=84?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E5=92=8C=E5=B7=B2=E5=8A=9E=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=86=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hasToDoTasks/AbilityResourceShelf.vue | 142 +++++++++ .../hasToDoTasks/AbilityResourcesRemoved.vue | 142 +++++++++ .../ApplicationForCompetencyRequirements.vue | 142 +++++++++ .../hasToDoTasks/CommentModeration.vue | 142 +++++++++ .../hasToDoTasks/CompetencyApplication.vue | 142 +++++++++ .../modules/myAgent/AbilityResourceShelf.vue | 170 +++++++++++ .../myAgent/AbilityResourcesRemoved.vue | 170 +++++++++++ .../ApplicationforCompetencyRequirements.vue | 170 +++++++++++ .../modules/myAgent/CommentModeration.vue | 170 +++++++++++ .../myAgent/demo/ability-resource-shelf.vue | 273 ++++++++++++++++++ 10 files changed, 1663 insertions(+) create mode 100644 back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue create mode 100644 back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue create mode 100644 back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue create mode 100644 back/src/views/modules/hasToDoTasks/CommentModeration.vue create mode 100644 back/src/views/modules/hasToDoTasks/CompetencyApplication.vue create mode 100644 back/src/views/modules/myAgent/AbilityResourceShelf.vue create mode 100644 back/src/views/modules/myAgent/AbilityResourcesRemoved.vue create mode 100644 back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue create mode 100644 back/src/views/modules/myAgent/CommentModeration.vue create mode 100644 back/src/views/modules/myAgent/demo/ability-resource-shelf.vue diff --git a/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue b/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue new file mode 100644 index 00000000..0da3a386 --- /dev/null +++ b/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue @@ -0,0 +1,142 @@ + + + + diff --git a/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue b/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue new file mode 100644 index 00000000..3c0a1ed3 --- /dev/null +++ b/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue @@ -0,0 +1,142 @@ + + + + diff --git a/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue b/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue new file mode 100644 index 00000000..6f936524 --- /dev/null +++ b/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue @@ -0,0 +1,142 @@ + + + + diff --git a/back/src/views/modules/hasToDoTasks/CommentModeration.vue b/back/src/views/modules/hasToDoTasks/CommentModeration.vue new file mode 100644 index 00000000..2de57bdc --- /dev/null +++ b/back/src/views/modules/hasToDoTasks/CommentModeration.vue @@ -0,0 +1,142 @@ + + + + diff --git a/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue b/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue new file mode 100644 index 00000000..1cf2d2b5 --- /dev/null +++ b/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue @@ -0,0 +1,142 @@ + + + + diff --git a/back/src/views/modules/myAgent/AbilityResourceShelf.vue b/back/src/views/modules/myAgent/AbilityResourceShelf.vue new file mode 100644 index 00000000..39410b15 --- /dev/null +++ b/back/src/views/modules/myAgent/AbilityResourceShelf.vue @@ -0,0 +1,170 @@ + + + + diff --git a/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue b/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue new file mode 100644 index 00000000..1a1154ed --- /dev/null +++ b/back/src/views/modules/myAgent/AbilityResourcesRemoved.vue @@ -0,0 +1,170 @@ + + + + diff --git a/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue b/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue new file mode 100644 index 00000000..245903a5 --- /dev/null +++ b/back/src/views/modules/myAgent/ApplicationforCompetencyRequirements.vue @@ -0,0 +1,170 @@ + + + + diff --git a/back/src/views/modules/myAgent/CommentModeration.vue b/back/src/views/modules/myAgent/CommentModeration.vue new file mode 100644 index 00000000..d592773a --- /dev/null +++ b/back/src/views/modules/myAgent/CommentModeration.vue @@ -0,0 +1,170 @@ + + + + diff --git a/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue new file mode 100644 index 00000000..5681064c --- /dev/null +++ b/back/src/views/modules/myAgent/demo/ability-resource-shelf.vue @@ -0,0 +1,273 @@ + + + + From dd6e24919043792c69cfac7baeff7308e9c1c55e Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 8 Jul 2022 16:39:09 +0800 Subject: [PATCH 23/31] bug487 --- .../detailsAll/components/Algorithm/AlgorithmUsageMode.vue | 2 +- .../detailsAll/components/Business/BusinessUsageMode.vue | 4 ++-- .../components/LayerService/LayerServiceUsageMode.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue index 380272aa..40ec5db8 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue @@ -196,7 +196,7 @@ message.config({ top: '100px', // 距离顶部的位置 }) - message.error('暂无上传技术文档') + message.error('暂未上传技术文档') } } diff --git a/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue b/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue index e1e19e28..06a2f533 100644 --- a/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue +++ b/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue @@ -216,7 +216,7 @@ message.config({ top: '100px', // 距离顶部的位置 }) - message.error('暂无上传技术文档') + message.error('暂未上传技术文档') } } function technicalNew() { @@ -241,7 +241,7 @@ message.config({ top: '100px', // 距离顶部的位置 }) - message.error('暂无上传使用手册') + message.error('暂未上传使用手册') } } diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue index 401fb247..f6f7b1c8 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue @@ -224,7 +224,7 @@ message.config({ top: '100px', // 距离顶部的位置 }) - message.error('暂无上传技术文档') + message.error('暂未上传接口文档') } } function technicalNew() { @@ -248,7 +248,7 @@ message.config({ top: '100px', // 距离顶部的位置 }) - message.error('暂上传使用手册') + message.error('暂未上传使用手册') } } From 0c7715e1c14d223ad606256d17948a3fe55a0447 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 8 Jul 2022 17:05:55 +0800 Subject: [PATCH 24/31] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/modules/ability/bsabilityai.vue | 8 +- .../views/modules/components/upload/index.vue | 136 ++++++------------ .../putOnTheShelf/components/special.vue | 35 ++--- .../src/views/modules/putOnTheShelf/index.vue | 17 ++- 4 files changed, 81 insertions(+), 115 deletions(-) diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index a1b9ea03..661f116b 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -156,7 +156,7 @@ :close-on-press-escape='false' :before-close='clear' width="50%"> - + 取 消 确 定 @@ -236,6 +236,10 @@ export default { this.fullScreen() }, methods: { + changeInfoList (obj) { + this.submitFrom.infoList = this.submitFrom.infoList.filter((item) => item.attrType !== obj.attrType) + this.submitFrom.infoList.push(obj) + }, reset () { this.$http .get( @@ -426,7 +430,7 @@ export default { showPutOnTheShelfVue () { this.showPutOnTheShelfFlag = false this.showPutOnTheShelfFlag2 = true - this.submitFrom.infoList[0] = this.redio + this.submitFrom.infoList[0].attrValue = this.radio this.putOnTheShelfList = this.insertList.children.filter(item => item.name === this.radio)[0].children console.log('radio', this.radio) }, diff --git a/back/src/views/modules/components/upload/index.vue b/back/src/views/modules/components/upload/index.vue index 2d65cf9e..caa3cca5 100644 --- a/back/src/views/modules/components/upload/index.vue +++ b/back/src/views/modules/components/upload/index.vue @@ -2,45 +2,33 @@ * @Author: hisense.liangjunhua * @Date: 2022-07-08 14:55:19 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-08 15:48:44 + * @LastEditTime: 2022-07-08 17:03:42 * @Description: 告诉大家这是什么 --> diff --git a/back/src/views/modules/putOnTheShelf/components/special.vue b/back/src/views/modules/putOnTheShelf/components/special.vue index d3409049..4e8bc1eb 100644 --- a/back/src/views/modules/putOnTheShelf/components/special.vue +++ b/back/src/views/modules/putOnTheShelf/components/special.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-07-08 09:54:50 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-07-08 15:15:02 + * @LastEditTime: 2022-07-08 15:57:38 * @Description: 多条数据特殊处理 -->