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 00000000..643446b2 Binary files /dev/null and b/back/src/assets/img/putOnTheShelf/del.png differ 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: 告诉大家这是什么 -->