diff --git a/back/src/views/modules/ability/IntegratedServices-add.vue b/back/src/views/modules/ability/IntegratedServices-add.vue index d56937be..da6482f6 100644 --- a/back/src/views/modules/ability/IntegratedServices-add.vue +++ b/back/src/views/modules/ability/IntegratedServices-add.vue @@ -1,8 +1,8 @@ + \ No newline at end of file diff --git a/back/src/views/modules/ability/components/scene-use-step.vue b/back/src/views/modules/ability/assignedScene/components/scene-use-step.vue similarity index 84% rename from back/src/views/modules/ability/components/scene-use-step.vue rename to back/src/views/modules/ability/assignedScene/components/scene-use-step.vue index b2f8a669..afc0d6eb 100644 --- a/back/src/views/modules/ability/components/scene-use-step.vue +++ b/back/src/views/modules/ability/assignedScene/components/scene-use-step.vue @@ -16,8 +16,8 @@ v-if="!disabledType && dataInfo.length > 1">删除 - 添加 + 添加 @@ -87,6 +87,13 @@ export default { }, // 新增 addItem() { + let index = this.dataInfo.length - 1; + if (this.dataInfo[index].question === '' || this.dataInfo[index].answer === '') { + return this.$message.warning('请填写完整信息!') + } + if (this.dataInfo.length >= 6) { + return this.$message.warning('最多添加6个使用步骤!') + } this.dataInfo.push({ question: "", answer: "", @@ -115,4 +122,9 @@ export default { .step-box { padding: 20px 10px 10px 10px; } + +.add-btn { + margin-top: -12px; + margin-left: 100px; +} \ No newline at end of file diff --git a/back/src/views/modules/ability/assignedScene/index.vue b/back/src/views/modules/ability/assignedScene/index.vue index 19e2c87f..8ad45a6d 100644 --- a/back/src/views/modules/ability/assignedScene/index.vue +++ b/back/src/views/modules/ability/assignedScene/index.vue @@ -32,7 +32,7 @@ @click="handleUpdate(scope.row)">{{ $t("update") }} {{ $t("delete") }} - 能力展示 + 详情 @@ -131,15 +131,9 @@ export default { closeModal() { this.addOrUpdateVisible = false; }, - // 展示 + // 详情 showDetail(val) { - this.addOrUpdateVisible = true; - this.modalType = 'display'; - const cloneVal = JSON.parse(JSON.stringify(val)) - this.$nextTick(() => { - this.$refs.addOrUpdate.dataForm = cloneVal; - this.$refs.addOrUpdate.getDisPlayData() - }) + window.open(window.SITE_CONFIG.previewUrl + '#/details?id=' + val.id) }, fullScreen() { if (window.outerHeight === screen.availHeight) { diff --git a/back/src/views/modules/ability/components/combine-ability.vue b/back/src/views/modules/ability/components/combine-ability.vue new file mode 100644 index 00000000..4d0693d7 --- /dev/null +++ b/back/src/views/modules/ability/components/combine-ability.vue @@ -0,0 +1,370 @@ + + + + + + diff --git a/back/src/views/modules/ability/components/common-question.vue b/back/src/views/modules/ability/components/common-question.vue index bc67d874..c653cedb 100644 --- a/back/src/views/modules/ability/components/common-question.vue +++ b/back/src/views/modules/ability/components/common-question.vue @@ -17,8 +17,8 @@ v-if="dataInfo.length > 1">删除 - 添加 + + 添加 @@ -84,7 +84,6 @@ export default { }) } else { arr = [] - console.log('this.keyTextObj.nameObj.key------------>', this.keyTextObj.nameObj.key); arr.push({ [this.keyTextObj.nameObj.key]: '', [this.keyTextObj.descObj.key]: '', @@ -92,7 +91,6 @@ export default { } } else { arr = [] - console.log('this.keyTextObj.nameObj.key------------>', this.keyTextObj.nameObj.key); arr.push({ [this.keyTextObj.nameObj.key]: '', [this.keyTextObj.descObj.key]: '', @@ -102,6 +100,10 @@ export default { }, // 新增 addItem() { + let index = this.dataInfo.length - 1; + if (this.dataInfo[index][this.keyTextObj.nameObj.key] === '' || this.dataInfo[index][this.keyTextObj.descObj.key] === '') { + return this.$message.warning('请填写完整信息!') + } this.dataInfo.push({ [this.keyTextObj.nameObj.key]: '', [this.keyTextObj.descObj.key]: '', @@ -123,4 +125,9 @@ export default { margin-bottom: 10px; } } + +.add-btn { + margin-top: -12px; + margin-left: 100px; +} \ No newline at end of file diff --git a/back/src/views/modules/ability/components/integrated-combine-ability.vue b/back/src/views/modules/ability/components/integrated-combine-ability.vue index 80eea64b..3a34b330 100644 --- a/back/src/views/modules/ability/components/integrated-combine-ability.vue +++ b/back/src/views/modules/ability/components/integrated-combine-ability.vue @@ -24,7 +24,7 @@ v-if="!disabledType && dataInfo.length > 1">删除 - 添加 @@ -57,15 +57,9 @@ export default { { value: '组件服务', }, - { - value: '应用资源', - }, { value: '基础设施', }, - { - value: '知识库', - }, ], dataInfo: [], abilityArrayCopy: [], @@ -157,7 +151,6 @@ export default { // 过滤掉已选的 item.abilityOptions = arr.filter(v => !selectArray.includes(v.id)) console.log('abilityOptions------------>', item.abilityOptions); - }, } } diff --git a/back/src/views/modules/activiti/demo/putaway-process3.vue b/back/src/views/modules/activiti/demo/putaway-process3.vue index 6b3f8901..e6625af1 100644 --- a/back/src/views/modules/activiti/demo/putaway-process3.vue +++ b/back/src/views/modules/activiti/demo/putaway-process3.vue @@ -98,7 +98,7 @@ -
+
- {{(item.userName || '--')+'提交的'+(item.processDefinitionName|| '--')+(item.processDefinitionName!=='能力申请'?'申请':'')}} + {{(item.userName || '--')+'提交的'+(item.processDefinitionName|| '--')+(item.processDefinitionName!=='能力申请'&&item.processDefinitionName!=='能力需求申请'?'申请':'')}}
- {{ `${(item.processDefinitionName || '--')}${item.resourceName ? ('—' + item.resourceName) : - ''}` - }} + {{ (item.startUserName||'--')+'提交的'+(item.processDefinitionName|| '--')+(item.processDefinitionName!=='能力申请'&&item.processDefinitionName!=='能力需求申请'?'申请':'')}}
diff --git a/front/src/views/capacityOnTheShelf/Application.vue b/front/src/views/capacityOnTheShelf/Application.vue index 81236fb1..0469ef71 100644 --- a/front/src/views/capacityOnTheShelf/Application.vue +++ b/front/src/views/capacityOnTheShelf/Application.vue @@ -56,6 +56,7 @@ @back="back()" > { console.log('申购车列表================>', res.data.data.records) shoppingCartList.value = res.data.data.records - list.map((item) => { - item.isInShoppingCart = false - item.isInShoppingCart = shoppingCartList.value.some((item2) => { - return item.id === item2.resourceId - }) - }) + // list.map((item) => { + // item.isInShoppingCart = false + // item.isInShoppingCart = shoppingCartList.value.some((item2) => { + // return item.id === item2.resourceId + // }) + // }) console.log('经过过滤后的列表信息', list) resourceList.data = list }) diff --git a/front/src/views/home/algorithmCompare.vue b/front/src/views/home/algorithmCompare.vue index bab19889..fd66bb38 100644 --- a/front/src/views/home/algorithmCompare.vue +++ b/front/src/views/home/algorithmCompare.vue @@ -57,13 +57,22 @@ :id="data.title" :title="data.title" :ref="data.title" + v-if=" + !( + data.title == '算法优势' || + data.title == '应用场景' || + data.title == '应用案例' || + data.title == '常见问题' || + data.title == '计费标准信息' + ) + " > {{ data.title }}
-
- -
+ + + +
支持doc、docx、jpg、png、jpeg、pdf、xlxs、ppt类型文件 +
+ +
上传限一个文件
+
diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue index 749ffc71..c1250b04 100644 --- a/front/src/views/home/components/searchResultList.vue +++ b/front/src/views/home/components/searchResultList.vue @@ -589,7 +589,6 @@ // 加入申购车 const addShoppingCart = (item, index) => { console.log('item===============>', item) - mybus.emit('changeSelcted', index) if (flag.value && item.id) { flag.value = false sgcInsert({ @@ -600,6 +599,7 @@ console.log(res) message.success('添加申购车成功!') mybus.emit('getSgcNum') + mybus.emit('changeSelcted', index) flag.value = true }) } @@ -789,7 +789,7 @@ }, beforeUnmount() { mybus.off('chongzhi') - mybus.emit('changeSelcted') + // mybus.emit('changeSelcted') }, } diff --git a/front/src/views/personalCenter/components/MyBrowse.vue b/front/src/views/personalCenter/components/MyBrowse.vue index cbf4345e..db6fb3da 100644 --- a/front/src/views/personalCenter/components/MyBrowse.vue +++ b/front/src/views/personalCenter/components/MyBrowse.vue @@ -39,7 +39,9 @@