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] =?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: 告诉大家这是什么 -->