From bc8b62edf2e7492788b47578c6008077be62fe7b Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Thu, 21 Apr 2022 17:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E9=97=A8=E5=B8=AE=E5=8A=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/custom/servesuggestedmessage.vue | 70 +++++++++---------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/src/views/modules/custom/servesuggestedmessage.vue b/src/views/modules/custom/servesuggestedmessage.vue index 8aa1c30..b1c2dfc 100644 --- a/src/views/modules/custom/servesuggestedmessage.vue +++ b/src/views/modules/custom/servesuggestedmessage.vue @@ -5,10 +5,10 @@ - + - + @@ -26,39 +26,18 @@ - - - - + + + + - @@ -74,6 +53,20 @@ + + + + + + + + + + + @@ -93,6 +86,11 @@ export default { }, dataForm: { id: '' + }, + dialogFormVisible: false, + form: { + id: '', + auditIdentification: '2' } } }, @@ -100,16 +98,16 @@ export default { AddOrUpdate }, methods: { - toExamine(rowId,auditIdentification){ - console.log(rowId) - let params= { - id:rowId, - auditIdentification:auditIdentification, - } - this.$http.put('/custom/servesuggestedmessage',params).then(({ data: res })=>{ + check (id) { + this.form.id = id + this.dialogFormVisible = true + }, + toExamine () { + this.$http.put('/custom/servesuggestedmessage', this.form).then(({ data: res }) => { if (res.code === 0) { + this.dialogFormVisible = false this.getDataList() - }else { + } else { return this.$message.error(res.msg) } })