diff --git a/back/src/views/modules/ability/assignedScene/add-update-scene.vue b/back/src/views/modules/ability/assignedScene/add-update-scene.vue index 30afbbc0..7feb6844 100644 --- a/back/src/views/modules/ability/assignedScene/add-update-scene.vue +++ b/back/src/views/modules/ability/assignedScene/add-update-scene.vue @@ -116,7 +116,6 @@ import CommonQuestion from '../components/common-question.vue' import InfrastructureModal from './components/infrastructure-modal.vue' import Cookies from 'js-cookie' import upload from '@/views/modules/components/upload' - const btnArray = ['基本信息', '场景痛点', '解决方案', '组合能力', '更多能力', '使用步骤'] // 数据资源\组件服务 export const getJson = (type) => { @@ -163,7 +162,6 @@ export const modalTypeText = { } export const getFuseResourceList = (abilityListObj) => { - console.log('abilityListObjabilityListObj',abilityListObj); const arr = [] let length = 0 for (const key in abilityListObj) { @@ -176,7 +174,7 @@ export const getFuseResourceList = (abilityListObj) => { resourceId: v.id, type: key, sequence: index, - resourceName:v.resourceName, + resourceName:v.resourceName|| v.name , deptName:v.deptName, }) }) @@ -331,9 +329,10 @@ export default { }, // 更新表单 updateDataForm (data) { - console.log('datadatadata',data); + //console.log('datadatadata',data); if (Object.keys(this.getListParams).includes(data.title)) { this.abilityListObj[data.title] = data.list + console.log(' this.abilityListObj[data.title]3333', this.abilityListObj[data.title]); } else { // 更多能力、使用步骤 this.operateFuseAttrList(data.title, data) @@ -363,6 +362,7 @@ export default { // 表单提交 dataFormSubmitHandle: debounce( function () { + console.log('this.dataForm------表单提交------>111111', this.dataForm) this.$refs.dataForm.validate((valid) => { if (!valid) { this.$message.error('请检查表单是否填写完整') diff --git a/back/src/views/modules/ability/components/combine-ability.vue b/back/src/views/modules/ability/components/combine-ability.vue index 78c068b4..f0a1b8e6 100644 --- a/back/src/views/modules/ability/components/combine-ability.vue +++ b/back/src/views/modules/ability/components/combine-ability.vue @@ -16,19 +16,20 @@