This commit is contained in:
liuye
2024-11-12 14:47:31 +08:00
parent ad36c17f3c
commit 9162649d9d

View File

@@ -87,7 +87,6 @@ export default {
...mapState(['user']),
},
onLoad() {
this.typeList()
this.forms.girdId = this.user.girdInfos2G[0].girdId
this.forms.girdName = this.user.girdInfos2G[0].girdName
this.forms.girdMemberId = this.user.girdMemberId
@@ -95,6 +94,9 @@ export default {
this.forms.name = this.user.name
this.forms.phone = this.user.phone
},
onShow() {
this.typeList()
},
methods: {
chooseAddress() {
uni.authorize({
@@ -129,7 +131,9 @@ export default {
})
},
typeList() {
this.$instance.post(`/app/apppatrolreportgroupv2/list?current=1&size=9999`).then((res) => {
this.$instance.post(`/app/apppatrolreportgroupv2/list?current=1&size=9999`, null, {
withoutToken: true,
}).then((res) => {
if (res.code == 0) {
this.myList = res.data.records
}