diff --git a/.gitignore b/.gitignore index 6c82c9ed..95d963eb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ back/dist-市局-后台管理.zip back/dist-市局-后台管理-v0.8.2.1.zip front/public/index.html back/dist-西海岸-后台管理-v0.8.2.1.zip +back/dist-市局-后台管理-v0.8.2.3.zip diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index 33431d58..7bdba7a9 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -118,7 +118,7 @@ >{{ $t('delete') }} 展示详情 开发文档 { - // console.log(res.data) - // this.data.note1 = res.data.deptId - // }) - // } + if (!this.data.note1) { + this.$http.get('/sys/user/info').then(({ data: res }) => { + console.log(res.data) + this.data.note1 = res.data.deptId + }) + } }) } else if (this.data.name === '部门联系人') { // this.$http.get('/sys/dept/all').then(res => { diff --git a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue index 6a85dd20..d7a45ddb 100644 --- a/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue +++ b/front/src/views/capacityOnTheShelf/components/PutOnTheShelf.vue @@ -488,6 +488,20 @@ }) } }) + } else if (item.name === '部门联系人') { + if (!item.note1) { + getUserInfo().then(({ data: res1 }) => { + console.log(res1.data) + item.note1 = res1.data.realName || '' + }) + } + } else if (item.name === '部门联系人电话') { + if (!item.note1) { + getUserInfo().then(({ data: res1 }) => { + console.log(res1.data) + item.note1 = res1.data.mobile || '' + }) + } } else { data.value.list.push(item) }