diff --git a/src/apps/AppPatrolReport/Add.vue b/src/apps/AppPatrolReport/Add.vue index 5bd7f9f3..4200068f 100644 --- a/src/apps/AppPatrolReport/Add.vue +++ b/src/apps/AppPatrolReport/Add.vue @@ -59,7 +59,9 @@ export default { girdName: '', files: [], name: '', - phone: '' + phone: '', + girdMemberId: '', + girdMemberName: '' }, flag: false, show: false, @@ -78,13 +80,15 @@ export default { this.forms.phone = this.user.phone this.forms.girdId = this.user.girdId this.forms.girdName = this.user.girdName + this.forms.girdMemberId = this.user.girdMemberId + this.forms.girdMemberName = this.user.name uni.$on('chooseLat', res => { this.forms.mapInfo = {...res} }) }, methods: { typeList() { - this.$http.post(`/app/apppatrolreportgroup/list`, null, { + this.$http.post(`/app/apppatrolreportgroupv2/list`, null, { params: { size: 9999, }, @@ -128,7 +132,7 @@ export default { return this.$u.toast('请输入手机号') } this.flag = true - this.$http.post(`/app/apppatrolreportinfo/addByGirdMember`, {...this.forms, ...this.forms.mapInfo}).then((res) => { + this.$http.post(`/app/apppatrolreportinfov2/addByGirdMember`, {...this.forms, ...this.forms.mapInfo}).then((res) => { if (res.code == 0) { this.$u.toast('事件添加成功') uni.$emit('getListInit') diff --git a/src/apps/AppPatrolReport/Content.vue b/src/apps/AppPatrolReport/Content.vue index 8f6f177e..28e695d5 100644 --- a/src/apps/AppPatrolReport/Content.vue +++ b/src/apps/AppPatrolReport/Content.vue @@ -83,7 +83,7 @@ export default { }, methods: { typeList() { - this.$http.post(`/app/apppatrolreportgroup/list`, null, { + this.$http.post(`/app/apppatrolreportgroupv2/list`, null, { params: { size: 9999, }, @@ -127,12 +127,12 @@ export default { // } } if (this.status == 2) { - url = `/app/apppatrolreportinfo/finishByGirdMember` + url = `/app/apppatrolreportinfov2/finish` successText = '拒绝成功' params = {...this.forms, eventStatus: 0} } if (this.status == 3) { - url = `/app/apppatrolreportinfo/finishByGirdMember` + url = `/app/apppatrolreportinfov2/finish` successText = '办结成功' params = {...this.forms, eventStatus: 1} } diff --git a/src/apps/AppPatrolReport/Detail.vue b/src/apps/AppPatrolReport/Detail.vue index 5fc2c6e7..6a55a009 100644 --- a/src/apps/AppPatrolReport/Detail.vue +++ b/src/apps/AppPatrolReport/Detail.vue @@ -95,29 +95,29 @@
转交事件
拒绝受理
转交事件
拒绝受理