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 @@
- - +
- - + --> @@ -181,7 +192,10 @@ let arr = JSON.parse(note1) xVideoList.value = [] arr.map((val) => { - xVideoList.value.push({ name: val.channelName || '', key: val.channelId }) + xVideoList.value.push({ + name: val.channelName || '', + key: val.channelId, + }) }) videoVisible.value = true } else { diff --git a/front/src/views/login/index.vue b/front/src/views/login/index.vue index c684ab11..7440960f 100644 --- a/front/src/views/login/index.vue +++ b/front/src/views/login/index.vue @@ -157,7 +157,7 @@ password: Encrypt(this.form.password), username: this.form.username, }) - window.localStorage.setItem('tokenStartTime', new Date().getTime()) + // window.localStorage.setItem('tokenStartTime', new Date().getTime()) window.sessionStorage.setItem('visits', JSON.stringify([])) console.log( '添加visits========================================>', diff --git a/front/src/views/personalCenter/components/ApplyDetails.vue b/front/src/views/personalCenter/components/ApplyDetails.vue index 1b052ff4..f9cd16ae 100644 --- a/front/src/views/personalCenter/components/ApplyDetails.vue +++ b/front/src/views/personalCenter/components/ApplyDetails.vue @@ -1,9 +1,21 @@ diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue index bfec2fb1..d07e6b5c 100644 --- a/front/src/views/personalCenter/components/MyApply.vue +++ b/front/src/views/personalCenter/components/MyApply.vue @@ -87,8 +87,8 @@ - + @@ -100,6 +100,9 @@ @@ -151,7 +154,7 @@ let typeList = ref([ ]) // 西海岸-设备申请 let isXiHaiAn = whoShow.itShowXiHaiAn -let itShowXiHaiAn = ref(isXiHaiAn) +const itShowXiHaiAn = ref(isXiHaiAn) const phoneSate = ref([2, 3]) if (isXiHaiAn) { typeList.value.push('设备申请') @@ -237,7 +240,9 @@ function changeApplyState(item, index) { } } +const cilckRowData = ref({}) const showDetail = (item) => { + cilckRowData.value = item; // 西海岸-申请时间过期,提示 if (isXiHaiAn) { if (item.expireDate) { @@ -263,12 +268,9 @@ const showDetail = (item) => { } else if (typeName.value == '设备申请') { getDeviceDetailInfo(item.deviceId) .then((res) => { - console.log('res---设备申请--------->', res); - if (res.data.code == 0) { refObj.value = res.data.data detailsVisible.value = true - // processDefinitionName.value = item.processDefinitionName } }) .catch((err) => { })