|
|
@ -17,6 +17,13 @@ |
|
|
|
<el-table v-loading="dataListLoading" :data="dataList" border style="width: 100%;"> |
|
|
|
<el-table-column label="序号" type="index" show-overflow-tooltip align="center" |
|
|
|
width="50"></el-table-column> |
|
|
|
<el-table-column label="是否街道回退" header-align="center" width="100" align="center" show-overflow-tooltip> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.backItemFlag === '1' ? '是' : '否' }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="backItemResult" label="回退理由" header-align="center" width="180" |
|
|
|
align="center"></el-table-column> |
|
|
|
<el-table-column prop="orgName" label="所属机构" header-align="center" width="120" align="center" |
|
|
|
show-overflow-tooltip> |
|
|
|
</el-table-column> |
|
|
@ -30,12 +37,17 @@ |
|
|
|
show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="lxfs" label="联系方式" header-align="center" width="180" |
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="所属专题" header-align="center" width="100" align="center" show-overflow-tooltip> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.sszt === '01' ? '民生诉求' : scope.row.sszt === '02' ? '发展诉求' : '执法诉求' }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" size="small" class="custom-table-button-default" |
|
|
@ -46,6 +58,10 @@ |
|
|
|
@click="dialogVisibleForBoHui = true, selfObjBoHui = scope.row"> |
|
|
|
{{ '驳回' }} |
|
|
|
</el-button> |
|
|
|
<!-- <el-button type="text" size="small" class="custom-table-button-default" |
|
|
|
@click="dialogVisibleForHuiTui = true, selfObjBoHui = scope.row"> |
|
|
|
{{ '回退' }} |
|
|
|
</el-button>--> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -81,6 +97,32 @@ |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :title=" '回退'" v-if="dialogVisibleForHuiTui" |
|
|
|
:visible.sync="dialogVisibleForHuiTui" width="50%"> |
|
|
|
|
|
|
|
<el-form ref="postDataForm_fk" |
|
|
|
label-width="120px" |
|
|
|
label-position="right" |
|
|
|
style="width: 620px;" |
|
|
|
:model="dataForm" |
|
|
|
:rules="dataRule"> |
|
|
|
<el-form-item label="回退理由:" prop="huituicontent"> |
|
|
|
<el-input v-model="selfObjBoHui.huituicontent" |
|
|
|
type="textarea" |
|
|
|
:rows="6" |
|
|
|
maxlength="1000" |
|
|
|
show-word-limit |
|
|
|
placeholder="请输入"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="dialogVisibleForHuiTui = false,selfObjBoHui.huituicontent = ''">取 消</el-button> |
|
|
|
<el-button type="primary" @click="handleClickForHuiTui">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :title="selfObj.sszt === '01' ? '分发' : '上报网格化平台'" v-if="dialogVisible" |
|
|
|
:visible.sync="dialogVisible" width="50%"> |
|
|
|
<el-form :label-width="$i18n.locale === 'en-US' ? '100px' : '80px'"> |
|
|
@ -143,15 +185,18 @@ export default { |
|
|
|
options: [], |
|
|
|
dialogVisible: false, |
|
|
|
dialogVisibleForBoHui: false, |
|
|
|
dialogVisibleForHuiTui: false, |
|
|
|
dataRule: { |
|
|
|
ids: [{ required: true, message: this.$t('validate.required'), trigger: 'blur' }], |
|
|
|
content: [{ required: true, message: this.$t('validate.required'), trigger: 'blur' }], |
|
|
|
huituicontent: [{ required: true, message: this.$t('validate.required'), trigger: 'blur' }], |
|
|
|
}, |
|
|
|
selfObj: {}, |
|
|
|
selfObjBoHui: {}, |
|
|
|
dataForm: { |
|
|
|
ids: [], |
|
|
|
content:'', |
|
|
|
huituicontent:'', |
|
|
|
itemTitle:'' |
|
|
|
}, |
|
|
|
gridName: null, |
|
|
@ -284,6 +329,35 @@ export default { |
|
|
|
}, |
|
|
|
1000, |
|
|
|
{ leading: true, trailing: false } |
|
|
|
), |
|
|
|
handleClickForHuiTui: debounce( |
|
|
|
function () { |
|
|
|
let url = '/events/item/backItem' |
|
|
|
let parm = { |
|
|
|
id:this.selfObjBoHui.id, |
|
|
|
backItemResult: this.selfObjBoHui.huituicontent |
|
|
|
} |
|
|
|
// 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.dialogVisibleForHuiTui = false; |
|
|
|
} |
|
|
|
}); |
|
|
|
this.getDataList(); |
|
|
|
}) |
|
|
|
.catch(() => { }); |
|
|
|
}, |
|
|
|
1000, |
|
|
|
{ leading: true, trailing: false } |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|