This commit is contained in:
liuye
2024-08-16 15:42:15 +08:00
parent 36fad97ad8
commit 16be1d099b
2 changed files with 6 additions and 6 deletions

View File

@@ -93,6 +93,8 @@ export default {
this.forms.girdMemberId = this.user.girdMemberId
this.forms.girdMemberName = this.user.name
this.eventSource = option.eventSource
this.forms.name = this.user.name
this.forms.phone = this.user.phone
this.id = option.id
this.typeList()
if(this.id) {
@@ -100,11 +102,6 @@ export default {
this.getDetail()
}
},
onShow() {
// document.title = '添加上报'
this.forms.name = this.user.name
this.forms.phone = this.user.phone
},
methods: {
chooseAddress() {
uni.authorize({

View File

@@ -78,7 +78,7 @@ export default {
],
currentTabs: 0,
current: 1,
pages: 0,
pages: 2,
searchGrid: {girdName: ''},
showType: false,
eventStatus: '',
@@ -118,6 +118,8 @@ export default {
methods: {
getListInit() {
this.current = 1
this.pages = 2
this.datas = []
this.getList()
},
nextPage() {
@@ -125,6 +127,7 @@ export default {
this.getList()
},
getList() {
if(this.current > this.pages) return
let {current, eventStatus, searchGrid: {id: girdId}} = this
this.$instance.post(`/app/apppatrolreportinfov2/listByGirdMember`, null, {
params: {