diff --git a/packages/jianping/AppAssessment/AppAssessment.vue b/packages/jianping/AppAssessment/AppAssessment.vue index bee8daeb..1af6b8ad 100644 --- a/packages/jianping/AppAssessment/AppAssessment.vue +++ b/packages/jianping/AppAssessment/AppAssessment.vue @@ -22,8 +22,56 @@

{{ info['丧礼登记数量'] }}

+
+ + + + + + +
@@ -95,8 +95,8 @@ {prop: 'areaName', label: '所属区域', align: 'center' }, {prop: 'remarks', label: '备注说明', align: 'center' }, {prop: 'createTime', label: '操作时间', align: 'center'}, - {prop: 'visitUserName', label: '操作人', align: 'center' }, - {prop: 'createTime', label: '归口部门', align: 'center' }, + {prop: 'createUserName', label: '操作人', align: 'center' }, + {prop: 'departmentName', label: '归口部门', align: 'center' }, {slot: 'options', label: '操作'} ], tableData: [] @@ -104,7 +104,17 @@ }, computed: { - ...mapState(['user']) + ...mapState(['user']), + + params () { + if (this.ids.length) { + return { + ids: this.ids + } + } + + return this.search + } }, created () { diff --git a/packages/jianping/AppVisitToVerify/components/Detail.vue b/packages/jianping/AppVisitToVerify/components/Detail.vue index 17c77b6d..c5d0a965 100644 --- a/packages/jianping/AppVisitToVerify/components/Detail.vue +++ b/packages/jianping/AppVisitToVerify/components/Detail.vue @@ -3,7 +3,13 @@ @@ -11,16 +17,51 @@ + + + + + + @@ -31,16 +72,20 @@ title="审核" @onConfirm="onConfirm"> - - - - + + + 疑似风险 + 纳入监测 + 解除风险 + - + - + { + this.instance.post(`/app/apppreventionreturntopovertyriskperson/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { this.info = res.data - this.info.images = res.data.images ? JSON.parse(res.data.images) : [] + } + }) + this.instance.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => { + if (res.code == 0) { + this.checkType = res.data.checkType } }) }, - onStatusChange () { - this.form.opinion = '' - this.$refs.form.clearValidate() - }, - onClose () { this.form.opinion = '' - this.form.pass = '' + this.form.operation = '' }, onConfirm () { this.$refs.form.validate(v => { if (v) { - this.instance.post('/app/appcontentinfo/examine', null, { - params: { - ...this.form, - id: this.id - } + this.instance.post(`/app/apppreventionreturntopovertyriskperson/monitor`, { + ...this.form, + ids: [this.params.id] }).then(res => { - if (res?.code == 0) { + if (res.code == 0) { + this.$message.success('操作成功!') this.isShow = false - this.getList() - this.$message.success('审核成功!') + this.getInfo(this.params.id) } }) } }) }, - cancel (isRefresh) { + cancel () { this.$emit('change', { type: 'List', - isRefresh: !!isRefresh + isRefresh: true }) } } diff --git a/packages/jianping/AppVisitToVerify/components/List.vue b/packages/jianping/AppVisitToVerify/components/List.vue index 730db179..056fac58 100644 --- a/packages/jianping/AppVisitToVerify/components/List.vue +++ b/packages/jianping/AppVisitToVerify/components/List.vue @@ -1,27 +1,27 @@