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) } })