This commit is contained in:
liuye
2024-08-16 14:48:27 +08:00
parent 79c0c5b3b3
commit 9994004c0c
3 changed files with 6 additions and 4 deletions

View File

@@ -244,10 +244,12 @@ export default {
this.form.girdName = v.girdName
},
getUser() {
this.getUserInfo().then(() => {
this.getUserInfo('qujing').then(() => {
this.getDict()
this.form.phone = this.user.phone
this.form.name = this.user.realName || ''
this.form.girdName = this.user.girdName || ''
this.form.girdId = this.user.girdId || ''
}).catch(() => {
this.$refs.login.show()
})

View File

@@ -149,7 +149,7 @@ export default {
})
},
getDetail() {
this.$http.post(`/app/apppatrolreportinfov2/queryDetailById?id=${this.id}`).then((res) => {
this.$instance.post(`/app/apppatrolreportinfov2/queryDetailById?id=${this.id}`).then((res) => {
if (res?.data) {
this.forms = res.data
this.forms.mapInfo = {

View File

@@ -411,8 +411,8 @@ uni-page-body {
}
img {
width: 220px;
height: 220px;
width: 202px;
height: 202px;
margin: 0 8px 8px 0;
}