diff --git a/back/src/views/main-content.vue b/back/src/views/main-content.vue index 9466136c..a84e161c 100644 --- a/back/src/views/main-content.vue +++ b/back/src/views/main-content.vue @@ -65,75 +65,83 @@ \ No newline at end of file + diff --git a/back/src/views/modules/myAgent/demo/competency-application.vue b/back/src/views/modules/myAgent/demo/competency-application.vue index 4c2c1690..fe182c31 100644 --- a/back/src/views/modules/myAgent/demo/competency-application.vue +++ b/back/src/views/modules/myAgent/demo/competency-application.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-29 15:59:51 * @LastEditors: Light - * @LastEditTime: 2022-11-17 17:39:31 + * @LastEditTime: 2022-11-24 17:22:23 * @Description: 告诉大家这是什么 --> @@ -180,7 +180,7 @@ export default { }) }) // 将业务KEY赋值给表单 - console.log('params=================>', this.$route, this.$route.params) + console.log('params=================>', this.$route, this.$route.params, this.dataForm) this.dataForm.taskId = this.$route.params.taskId this.dataForm.instanceId = this.$route.params.processInstanceId this.init() @@ -262,6 +262,7 @@ export default { getInfo () { let params = '' if (this.dataForm.taskId) { + console.log('获取信息') params = `taskId=${this.dataForm.taskId}` this.$http .get( @@ -277,7 +278,9 @@ export default { this.dataForm, 'elas============================' ) - this.deptName = res.data.tAbilityApplicationDTOList[0].resourceOwnerDept.name + if (res.data.tAbilityApplicationDTOList[0].resourceOwnerDept) { + this.deptName = res.data.tAbilityApplicationDTOList[0].resourceOwnerDept.name + } this.$http .get( `/act/task/getTaskVariables?${params}&variableName=allowEntrust` @@ -297,6 +300,7 @@ export default { } } }) + console.log('获取信息', res.data) if (res.data.tAbilityApplicationDTOList[0].applicationScene) { res.data.tAbilityApplicationDTOList[0].applicationSceneStr = '' res.data.tAbilityApplicationDTOList[0].applicationScene.map( @@ -359,6 +363,7 @@ export default { this.dataForm, 'elas============================' ) + console.log('获取信息2', res.data) if (res.data[0].applicationScene) { res.data[0].applicationSceneStr = '' res.data[0].applicationScene.map((val, index) => { @@ -416,7 +421,6 @@ export default { agreeOrNot: debounce( function (data, type) { if (type === '同意') { - const params = qs.stringify({ taskId: this.dataForm.taskId, comment: this.input || '同意' diff --git a/front/src/api/file.js b/front/src/api/file.js index 5c53550b..99ad7db6 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-20 17:16:35 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-11-24 17:13:34 + * @LastEditTime: 2022-11-24 20:32:27 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' diff --git a/front/src/views/home/detailsPageInfrastructureTreeXha.vue b/front/src/views/home/detailsPageInfrastructureTreeXha.vue index 489a13bb..b345a31f 100644 --- a/front/src/views/home/detailsPageInfrastructureTreeXha.vue +++ b/front/src/views/home/detailsPageInfrastructureTreeXha.vue @@ -167,7 +167,8 @@ const tabClick = (id) => { if (chooseId.value === id) { chooseId.value = '' - mybus.emit('clearLeftSelect') + // mybus.emit('clearLeftSelect') + mybus.emit('CameraConditionPlaceType', []) } else { chooseId.value = id let placeTypeCode = [] @@ -210,6 +211,7 @@ }) const onSelect = async (item, val, child) => { let res = {} + console.log('点击', item, val, child) res = await getCameraInfoByAreaId({ areaId: val.id }) treeData.value.map((treeDataItem, index) => { if (item.id == treeDataItem.id) { @@ -233,7 +235,7 @@ watch(selectId, (newVal) => { if (newVal == '') { - mybus.emit('clearLeftSelect') + mybus.emit('getCameraByParentId', '70be8c5b664f4bcf869d82f2e8335051') } }) diff --git a/front/src/views/home/infrastructureApplication.vue b/front/src/views/home/infrastructureApplication.vue index 207f0ba5..ef558224 100644 --- a/front/src/views/home/infrastructureApplication.vue +++ b/front/src/views/home/infrastructureApplication.vue @@ -2,7 +2,7 @@ * @Author: Light * @Date: 2022-11-18 11:53:43 * @LastEditors: Light - * @LastEditTime: 2022-11-24 15:56:51 + * @LastEditTime: 2022-11-24 18:12:43 * @Description: 告诉大家这是什么 -->