From 6960e4f5b1fc18254bfcf09f923a5fcb1a611eb6 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 1 Jun 2022 18:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=A0=BC=E8=B0=83=E6=95=B4=E5=AE=8C?= =?UTF-8?q?=E6=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppGridManagement/selectGridMember.vue | 11 +- src/project/grid/AppHandSnapshot/AddSet.vue | 5 - src/project/grid/AppHandSnapshot/Content.vue | 49 +-- .../grid/AppHandSnapshot/SelectUser.vue | 339 ------------------ .../grid/AppHandSnapshot/Statistics.vue | 7 - .../AppSpecialPeople/AppSpecialPeople.vue | 8 +- src/project/grid/AppSpecialPeople/add.vue | 4 +- 7 files changed, 34 insertions(+), 389 deletions(-) delete mode 100644 src/project/grid/AppHandSnapshot/SelectUser.vue diff --git a/src/project/grid/AppGridManagement/selectGridMember.vue b/src/project/grid/AppGridManagement/selectGridMember.vue index 59633a6a..9ece478b 100644 --- a/src/project/grid/AppGridManagement/selectGridMember.vue +++ b/src/project/grid/AppGridManagement/selectGridMember.vue @@ -7,10 +7,8 @@
- - + +
@@ -25,9 +23,7 @@
-
- -
+
{{ e.phone }}
@@ -36,7 +32,6 @@
确定选择
- diff --git a/src/project/grid/AppHandSnapshot/AddSet.vue b/src/project/grid/AppHandSnapshot/AddSet.vue index 8368f651..d623628a 100644 --- a/src/project/grid/AppHandSnapshot/AddSet.vue +++ b/src/project/grid/AppHandSnapshot/AddSet.vue @@ -84,11 +84,6 @@ export default { } }) }, - - toSelectUser() { - console.log(123) - uni.navigateTo({ url: './SelectUser' }) - }, }, } diff --git a/src/project/grid/AppHandSnapshot/Content.vue b/src/project/grid/AppHandSnapshot/Content.vue index 4e7f1344..81d603da 100644 --- a/src/project/grid/AppHandSnapshot/Content.vue +++ b/src/project/grid/AppHandSnapshot/Content.vue @@ -3,17 +3,18 @@
- + - {{forms.groupName || '请选择事件分类'}} + {{ forms.groupName || '请选择事件分类' }} - - + +
@@ -68,17 +69,16 @@ export default { this.forms.groupId = option.groupId this.forms.groupName = option.groupName this.typeList() - uni.$on('goback', (res) => { + uni.$on('pagePicker:custom', (res) => { this.selectUser = res - if(res.name) { + if (res.name) { this.forms.name = res.name - }else{ + } else { this.forms.name = res.girdName } }) }, onShow() { - console.log(this.titleList[this.status]) document.title = this.titleList[this.status] }, methods: { @@ -98,20 +98,20 @@ export default { }, confirm() { - if(this.status == 1 && !this.forms.name) { + if (this.status == 1 && !this.forms.name) { return this.$u.toast('请选择转交对象') } - if(this.status != 1 && !this.forms.groupName) { + if (this.status != 1 && !this.forms.groupName) { return this.$u.toast('请选择分类') } - if(this.status != 1 && !this.forms.content) { + if (this.status != 1 && !this.forms.content) { return this.$u.toast('请输入意见') } this.submit() }, submit() { //status 1转交 2拒绝受理 3我已办结 - var url = '', successText= '', params= '' - if(this.status == 1) { + var url = '', successText = '', params = '' + if (this.status == 1) { url = `/app/appclapeventinfo/transfer` successText = '转交成功' params = { @@ -119,18 +119,18 @@ export default { girdId: this.selectUser.id, girdName: this.selectUser.girdName, } - if(this.selectUser.name) { //选择的网格员 + if (this.selectUser.name) { //选择的网格员 params.girdId = this.selectUser.girdId params.girdMemberId = this.selectUser.id params.girdMemberName = this.selectUser.name } } - if(this.status == 2) { + if (this.status == 2) { url = `/app/appclapeventinfo/refuse` successText = '拒绝成功' params = {...this.forms} } - if(this.status == 3) { + if (this.status == 3) { url = `/app/appclapeventinfo/finishByGirdMember` successText = '办结成功' params = {...this.forms} @@ -142,12 +142,12 @@ export default { uni.$emit('updateDeatil') uni.$emit('getListInit') setTimeout(() => { - if(this.status == 1) { + if (this.status == 1) { uni.navigateBack({delta: 2}) - }else { + } else { uni.navigateBack() } - },600) + }, 600) } }) }, @@ -156,7 +156,7 @@ export default { this.forms.groupId = e[0].value }, toSelectUser() { - uni.navigateTo({ url: './SelectUser' }) + uni.navigateTo({url: '../AppGridManagement/selectGridMember'}) }, }, } @@ -165,14 +165,18 @@ export default { diff --git a/src/project/grid/AppHandSnapshot/Statistics.vue b/src/project/grid/AppHandSnapshot/Statistics.vue index 3be9524b..f0b87bc5 100644 --- a/src/project/grid/AppHandSnapshot/Statistics.vue +++ b/src/project/grid/AppHandSnapshot/Statistics.vue @@ -1,11 +1,5 @@