token
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user