diff --git a/project/wuxi/app/AppReportAiWill/components/Detail.vue b/project/wuxi/app/AppReportAiWill/components/Detail.vue index ce86dd35..0583f121 100644 --- a/project/wuxi/app/AppReportAiWill/components/Detail.vue +++ b/project/wuxi/app/AppReportAiWill/components/Detail.vue @@ -123,7 +123,7 @@
{ if (v) { - this.instance.post('/app/appclapeventinfo/transferByManager', { + this.instance.post('/app/appresidentreportinfo/transfer', { ...this.forwardForm, id: this.$route.query.id }).then(res => { @@ -298,15 +298,24 @@ export default { }, onConfirm() { - if (this.gridInfo.userId) { - this.forwardForm.girdId = this.gridInfo.girdId - this.forwardForm.girdName = this.gridInfo.girdName - this.forwardForm.girdMemberId = this.gridInfo.id - this.forwardForm.girdMemberName = this.gridInfo.name - } else { - this.forwardForm.girdId = this.gridInfo.id - } + // if (this.gridInfo.userId) { + // this.forwardForm.girdId = this.gridInfo.girdId + // this.forwardForm.girdName = this.gridInfo.girdName + // this.forwardForm.girdMemberId = this.gridInfo.id + // this.forwardForm.girdMemberName = this.gridInfo.name + // } else { + // this.forwardForm.girdId = this.gridInfo.id + // } + // this.forwardForm.girdName = this.gridInfo.girdName + // this.forwardForm.name = `${this.gridInfo.girdName}${this.gridInfo.name ? '-' + this.gridInfo.name : ''}` + // this.isShowUser = false + if(!this.gridInfo.userId) { + return this.$message.error('请选择网格员!') + } + this.forwardForm.girdId = this.gridInfo.girdId this.forwardForm.girdName = this.gridInfo.girdName + this.forwardForm.girdMemberId = this.gridInfo.id + this.forwardForm.girdMemberName = this.gridInfo.name this.forwardForm.name = `${this.gridInfo.girdName}${this.gridInfo.name ? '-' + this.gridInfo.name : ''}` this.isShowUser = false }, @@ -325,7 +334,7 @@ export default { close() { this.$confirm('确定关闭该事件?').then(() => { - this.instance.post(`/app/appmininotice/delete?ids=${this.$route.query.id}`).then(res => { + this.instance.post(`/app/appresidentreportinfo/delete?ids=${this.$route.query.id}`).then(res => { if (res.code == 0) { this.$message.success('删除成功!') this.getList() @@ -372,7 +381,7 @@ export default { handleEvent() { this.$refs.form.validate(v => { if (v) { - this.instance.post('/app/appclapeventinfo/finishByManager', { + this.instance.post('/app/appresidentreportinfo/finishByGirdMember', { ...this.form, groupName: this.dictList.filter(v => v.dictValue === this.form.groupId)[0].dictName, id: this.$route.query.id