diff --git a/src/components/AiPagePicker.vue b/src/components/AiPagePicker.vue index 113f46c0..21b6e67f 100644 --- a/src/components/AiPagePicker.vue +++ b/src/components/AiPagePicker.vue @@ -33,7 +33,8 @@ export default { resident: {url: "/components/pages/selectResident", label: "name"}, sysUser: {url: "/components/pages/selectSysUser", label: "name"}, gird: {url: "/components/pages/selectGird", label: "girdName"}, - gridUser: {url: "/components/pages/selectGridMember", label: "name"}, + gridMember: {url: "/components/pages/selectGridMember", label: "name"}, + gridUser: {url: "/components/pages/selectGirdUser", label: "name"}, party: {url: "/components/pages/selectParty", label: "name"}, dept: {url: "/components/pages/selectDept", label: "name"}, custom: {...this.ops} diff --git a/src/components/pages/selectGirdUser.vue b/src/components/pages/selectGirdUser.vue new file mode 100644 index 00000000..e31137da --- /dev/null +++ b/src/components/pages/selectGirdUser.vue @@ -0,0 +1,304 @@ + + + + + diff --git a/src/project/qujing/AppConflictMediation/Content.vue b/src/project/qujing/AppConflictMediation/Content.vue index 5f8c4040..d3fdfd32 100644 --- a/src/project/qujing/AppConflictMediation/Content.vue +++ b/src/project/qujing/AppConflictMediation/Content.vue @@ -4,7 +4,7 @@
- +
diff --git a/src/project/wuxi/AppHandSnapshot/Add.vue b/src/project/wuxi/AppHandSnapshot/Add.vue index 08165a33..5ecad072 100644 --- a/src/project/wuxi/AppHandSnapshot/Add.vue +++ b/src/project/wuxi/AppHandSnapshot/Add.vue @@ -82,7 +82,7 @@ export default { }, methods: { typeList() { - this.$http.post(`/app/appclapeventgroup/list`, null, { + this.$http.post(`/app/appresidentreportgroup/list`, null, { params: { size: 9999, }, @@ -126,7 +126,7 @@ export default { return this.$u.toast('请输入手机号') } this.flag = true - this.$http.post(``).then((res) => { + this.$http.post(`/app/appresidentreportinfo/addByGirdMember`, {...this.forms, ...this.forms.mapInfo}).then((res) => { if (res.code == 0) { this.$u.toast('事件添加成功') uni.$emit('getListInit') diff --git a/src/project/wuxi/AppHandSnapshot/Content.vue b/src/project/wuxi/AppHandSnapshot/Content.vue index 81d603da..f761f38c 100644 --- a/src/project/wuxi/AppHandSnapshot/Content.vue +++ b/src/project/wuxi/AppHandSnapshot/Content.vue @@ -2,8 +2,10 @@
- - + + + + @@ -69,20 +71,30 @@ export default { this.forms.groupId = option.groupId this.forms.groupName = option.groupName this.typeList() - uni.$on('pagePicker:custom', (res) => { - this.selectUser = res - if (res.name) { - this.forms.name = res.name - } else { - this.forms.name = res.girdName - } - }) + // uni.$on('pagePicker:custom', (res) => { + // this.selectUser = res + // if (res.name) { + // this.forms.name = res.name + // } else { + // this.forms.name = res.girdName + // } + // }) }, onShow() { document.title = this.titleList[this.status] }, methods: { - + handleSelectGrid(v) { + // this.forms.name = v.girdName + // this.forms.girdId = v.girdId + // this.selectUser = v + this.forms.girdId = v.girdId + this.forms.girdName = v.girdName + this.forms.girdMemberId = v.id + this.forms.girdMemberName = v.name + this.forms.name = `${v.girdName}${v.name ? '-' + v.name : ''}` + this.selectUser = {...v} + }, typeList() { this.$http.post(`/app/appclapeventgroup/list`, null, { params: { @@ -112,28 +124,28 @@ export default { submit() { //status 1转交 2拒绝受理 3我已办结 var url = '', successText = '', params = '' if (this.status == 1) { - url = `/app/appclapeventinfo/transfer` + url = `/app/appresidentreportinfo/transfer` successText = '转交成功' params = { ...this.forms, - girdId: this.selectUser.id, - girdName: this.selectUser.girdName, - } - if (this.selectUser.name) { //选择的网格员 - params.girdId = this.selectUser.girdId - params.girdMemberId = this.selectUser.id - params.girdMemberName = this.selectUser.name + // girdId: this.selectUser.id, + // girdName: this.selectUser.girdName, } + // if (this.selectUser.name) { //选择的网格员 + // params.girdId = this.selectUser.girdId + // params.girdMemberId = this.selectUser.id + // params.girdMemberName = this.selectUser.name + // } } if (this.status == 2) { - url = `/app/appclapeventinfo/refuse` + url = `/app/appresidentreportinfo/finishByGirdMember` successText = '拒绝成功' - params = {...this.forms} + params = {...this.forms, eventStatus: 0} } if (this.status == 3) { - url = `/app/appclapeventinfo/finishByGirdMember` + url = `/app/appresidentreportinfo/finishByGirdMember` successText = '办结成功' - params = {...this.forms} + params = {...this.forms, eventStatus: 1} } params.id = this.id this.$http.post(url, params).then((res) => { @@ -155,9 +167,9 @@ export default { this.forms.groupName = e[0].label this.forms.groupId = e[0].value }, - toSelectUser() { - uni.navigateTo({url: '../AppGridManagement/selectGridMember'}) - }, + // toSelectUser() { + // uni.navigateTo({url: '../AppGridManagement/selectGridMember'}) + // }, }, } @@ -238,5 +250,9 @@ export default { width: 100%; text-align: right; } + ::v-deep .AiPagePicker { + width: 100%; + text-align: right; + } } diff --git a/src/project/wuxi/AppHandSnapshot/Detail.vue b/src/project/wuxi/AppHandSnapshot/Detail.vue index 1f0d7c37..30699c6c 100644 --- a/src/project/wuxi/AppHandSnapshot/Detail.vue +++ b/src/project/wuxi/AppHandSnapshot/Detail.vue @@ -17,7 +17,7 @@
事件来源 - {{ data.groupName }} + {{ $dict.getLabel('residentEventSource', data.eventSource) }}
事件类型 @@ -96,12 +96,12 @@
- + 转交事件
- + 拒绝受理
@@ -159,7 +159,7 @@ export default { watch: {}, onLoad(o) { this.id = o.id - this.$dict.load('realityStatus', 'clapDoStatus').then(() => { + this.$dict.load('realityStatus', 'clapDoStatus', 'residentEventSource').then(() => { this.getDetail() }) @@ -168,11 +168,11 @@ export default { }) }, onShow() { - document.title = this.user.corpId == 'wpytYEDgAACQq2uZ5x54MvlJ9fgvSPXQ' ? '微心愿' : '随手拍' + document.title = '事件上报' }, methods: { getDetail() { - this.$http.post(`/app/appclapeventinfo/queryDetailById?id=${this.id}`).then((res) => { + this.$http.post(`/app/appresidentreportinfo/queryDetailById?id=${this.id}`).then((res) => { if (res?.data) { this.data = res.data } @@ -184,7 +184,7 @@ export default { }, doThings() { - this.$http.post(`/app/appclapeventinfo/acceptance?id=${this.id}`).then((res) => { + this.$http.post(`/app/appresidentreportinfo/finishByGirdMember?id=${this.id}&eventStatus=1`).then((res) => { if (res.code == 0) { this.getDetail() } diff --git a/src/project/wuxi/AppHandSnapshot/List.vue b/src/project/wuxi/AppHandSnapshot/List.vue index ebc4f738..ea0a0f82 100644 --- a/src/project/wuxi/AppHandSnapshot/List.vue +++ b/src/project/wuxi/AppHandSnapshot/List.vue @@ -101,7 +101,7 @@ export default { methods: { getList() { let {current, eventStatus, searchGrid: {id: girdId}} = this - this.$http.post(`/app/appclapeventinfo/listByGirdMember`, null, { + this.$http.post(`/app/appresidentreportinfo/list`, null, { params: { size: 10, current, searchType: this.currentTabs == 1 ? '1' : '0',