|
|
@ -27,6 +27,11 @@ |
|
|
|
@click="dialogVisible = true, selfObj = scope.row"> |
|
|
|
{{ scope.row.sszt === '01' || agencyFlag == 'district' ? '分发' : '上报网格化平台' }} |
|
|
|
</el-button> |
|
|
|
<el-button type="text" size="small" class="custom-table-button-default" |
|
|
|
@click="dialogVisibleForBoHui = true, selfObjBoHui = scope.row"> |
|
|
|
{{ '驳回' }} |
|
|
|
</el-button> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
@ -35,6 +40,32 @@ |
|
|
|
@current-change="pageCurrentChangeHandle"> |
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :title=" '驳回'" v-if="dialogVisibleForBoHui" |
|
|
|
:visible.sync="dialogVisibleForBoHui" 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="content"> |
|
|
|
<el-input v-model="selfObjBoHui.content" |
|
|
|
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="dialogVisibleForBoHui = false, selfObjBoHui.content = ''">取 消</el-button> |
|
|
|
<el-button type="primary" @click="handleClickForBoHui">确 定</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'"> |
|
|
@ -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,8 +239,45 @@ 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 } |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|