token
This commit is contained in:
@@ -87,7 +87,6 @@ export default {
|
|||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.typeList()
|
|
||||||
this.forms.girdId = this.user.girdInfos2G[0].girdId
|
this.forms.girdId = this.user.girdInfos2G[0].girdId
|
||||||
this.forms.girdName = this.user.girdInfos2G[0].girdName
|
this.forms.girdName = this.user.girdInfos2G[0].girdName
|
||||||
this.forms.girdMemberId = this.user.girdMemberId
|
this.forms.girdMemberId = this.user.girdMemberId
|
||||||
@@ -95,6 +94,9 @@ export default {
|
|||||||
this.forms.name = this.user.name
|
this.forms.name = this.user.name
|
||||||
this.forms.phone = this.user.phone
|
this.forms.phone = this.user.phone
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
this.typeList()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
chooseAddress() {
|
chooseAddress() {
|
||||||
uni.authorize({
|
uni.authorize({
|
||||||
@@ -129,7 +131,9 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
typeList() {
|
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) {
|
if (res.code == 0) {
|
||||||
this.myList = res.data.records
|
this.myList = res.data.records
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user