diff --git a/src/views/modules/events/mayor-hot-line.vue b/src/views/modules/events/mayor-hot-line.vue index 9694588b..6c24ee4e 100644 --- a/src/views/modules/events/mayor-hot-line.vue +++ b/src/views/modules/events/mayor-hot-line.vue @@ -27,6 +27,11 @@ @click="dialogVisible = true, selfObj = scope.row"> {{ scope.row.sszt === '01' || agencyFlag == 'district' ? '分发' : '上报网格化平台' }} + + {{ '驳回' }} + + @@ -35,6 +40,32 @@ @current-change="pageCurrentChangeHandle"> + + + + + + + + + + 取 消 + 确 定 + + + + @@ -96,12 +127,16 @@ export default { }, options: [], dialogVisible: false, + dialogVisibleForBoHui: false, dataRule: { ids: [{ required: true, message: this.$t('validate.required'), trigger: 'blur' }], + content: [{ required: true, message: this.$t('validate.required'), trigger: 'blur' }], }, selfObj: {}, + selfObjBoHui: {}, dataForm: { ids: [], + content:'' }, gridName: null, streetList: [], @@ -204,7 +239,44 @@ export default { }, 1000, { leading: true, trailing: false } - ) + ), + handleClickForBoHui: debounce( + function () { + let url = '/events/itemhotline/backHotLine' + let parm = { + id:this.selfObjBoHui.id, + cznr: this.selfObjBoHui.content + } + console.log(parm, url, 'see'); + this.$http + .post(url, parm) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg); + } + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.dialogVisibleForBoHui = false; + } + }); + this.getDataList(); + }) + .catch(() => { }); + }, + 1000, + { leading: true, trailing: false } + ) + + + + + + + + } }