Browse Source

9.8 吹哨更新

(cherry picked from commit 78d40ebfb6)
(cherry picked from commit d82595e274)
epdc-admin-dangqun
fengyu 3 years ago
committed by 曲树通
parent
commit
2d723b6d99
  1. 200
      src/views/modules/events/item-deal-detail-view.vue

200
src/views/modules/events/item-deal-detail-view.vue

@ -190,9 +190,24 @@
type="textarea"
maxlength="100"
show-word-limit
placeholder="请您填写项目的实际办理情况(自己处理、吹哨报、内部协调),便于相关部门了解项目的实际情况"></el-input>
placeholder="请您填写项目的实际办理情况(自己处理、吹哨报、内部协调),便于相关部门了解项目的实际情况"></el-input>
</el-form-item>
<el-form-item label="当前办理情况:" prop="handleAdvice" v-if="!isShowDeal" >
<span>网格层面无法办理请点击吹哨报到写明当前办理情况及无法办理的原因
网格层面已办理完成请上传照片点击结案申请写明答复依据办理结果等要素态度要真诚容易接受语言要朴实简练杜绝出现错字别字表述不清等现象此内容经区级平台核查后反馈给诉求人
</span>
</el-form-item>
<el-form-item label="当前办理情况:" prop="handleAdvice" v-if="isShowDeal" >
<span>您反映的诉求属于{{postDataForm.handleAdvice}}情形不属于平台受理范围感谢您对北尚诉办台的持
</span>
</el-form-item>
<el-form-item label="办理人:" prop="handlePeopleName" >
<el-input v-model="postDataForm.handlePeopleName"></el-input>
</el-form-item>
<el-form-item label="办理人办公电话:" prop="handlePeopleMobile" >
<el-input v-model="postDataForm.handlePeopleName"></el-input>
</el-form-item>
<el-form-item label="不予受理原因:" prop="handleAdvice" v-if="isShowDeal">
<el-radio-group v-model="postDataForm.handleAdvice" class="handleAdvice">
<el-radio label="历史遗留暂不具备解决条件的事项">1. 历史遗留暂不具备解决条件的事项</el-radio>
@ -331,15 +346,15 @@ export default {
name: "itemDealDetailView",
data() {
return {
idea:"",
isWhistle:true,//
isShowDeal:false,
checkParentName:"",
idea: "",
isWhistle: true, //
isShowDeal: false,
checkParentName: "",
timeloading: true,
map: "",
innerVisible: false,
showAdvice:true,
typeKey:'', //
showAdvice: true,
typeKey: "", //
dataForm: {
id: "",
nickName: "",
@ -369,10 +384,12 @@ export default {
total: null,
postDataForm: {
id: "",
handlePeopleName: "",
handlePeopleMobile: "",
handleAdvice: "",
outHandleAdvice: "",
handleCategory: "",
handleCategoryShow:"",
handleCategoryShow: "",
deptResultDTOS: [],
evaluateDeptDTOS: [],
handleImagesPC: [],
@ -525,6 +542,20 @@ export default {
trigger: "blur",
},
],
// handlePeopleName: [
// {
// required: true,
// message: "",
// trigger: "blur",
// },
// ],
// handlePeopleMobile: [
// {
// required: true,
// message: "",
// trigger: "blur",
// },
// ],
categoryIds: [
{
required: true,
@ -536,7 +567,6 @@ export default {
},
},
watch: {
"postDataForm.handleAdvice": function(val) {
this.dataForm.handleAdvice = val;
},
@ -544,15 +574,17 @@ export default {
this.dataForm.outHandleAdvice = val;
},
"postDataForm.handleCategoryShow": function(val) {
if(this.typeKey == 'community_party'){
if(val == 6){
this.isShowDeal =true;
this.showAdvice=false;
if (this.typeKey == "community_party") {
if (val == 6) {
this.isShowDeal = true;
this.showAdvice = false;
this.isWhistle = false;
}else{
this.isShowDeal=false;
this.showAdvice=true;
this.postDataForm.handleAdvice = '历史遗留暂不具备解决条件的事项'
} else {
this.isShowDeal = false;
this.showAdvice = true;
this.isWhistle = true;
this.postDataForm.handleAdvice = ''
}
}
if (val === 1) {
@ -621,7 +653,6 @@ export default {
}/oss/file/uploadImg?token=${Cookies.get("token")}`;
},
methods: {
refreshProgress() {
this.timeloading = true;
this.$http
@ -776,7 +807,7 @@ export default {
.catch(() => {});
},
visibleChange(val) {
console.log(1111)
console.log(1111);
if (
this.dataForm.handleResultDTOS.length === 0 &&
this.dataForm.handlerDeptIdRule === "" &&
@ -793,8 +824,8 @@ export default {
},
changeHandle(value, selectedData) {
let node = this.$refs.name.getCheckedNodes()[0];
console.log(node)
console.log(node);
this.postDataForm.handlerDept = this.$refs[
"name"
].getCheckedNodes()[0].label;
@ -822,11 +853,22 @@ export default {
return this.$message.error(res.msg);
}
this.checkParentName = res.data.parentDeptName;
this.postDataForm.outHandleAdvice = res.data.parentDeptName+"正在处理"
if(res.data.typeKey == 'grid_party'){
this.postDataForm.outHandleAdvice ="您的诉求, "+ res.data.parentDeptName + "社区正在全力办理";
}else{
this.postDataForm.outHandleAdvice =
"您的诉求, "+res.data.parentDeptName + "街道正在协调办理,请您耐心等待";
}
this.dataForm.handleResultDTOS = res.data.handleResultDTOS;
this.typeKey = res.data.typeKey;
if(res.data.handleResultDTOS && res.data.handleResultDTOS.length>0 && res.data.typeKey == 'grid_party'){
this.postDataForm.handleCategoryShow = res.data.handleResultDTOS[0].processResult;
if (
res.data.handleResultDTOS &&
res.data.handleResultDTOS.length > 0 &&
res.data.typeKey == "grid_party"
) {
this.postDataForm.handleCategoryShow =
res.data.handleResultDTOS[0].processResult;
}
this.dataForm.deptResultDTOS = res.data.deptResultDTOS;
this.dataForm.evaluateDeptDTOS = res.data.evaluateDeptDTOS;
@ -845,7 +887,7 @@ export default {
this.isAble = false;
this.$nextTick(() => {
if (this.dataForm.id) {
this.postDataForm.handleAdvice = "";
this.postDataForm.handleAdvice = "";
this.postDataForm.outHandleAdvice = "";
this.postDataForm.handleCategoryShow = "";
this.postDataForm.deptResultDTOS = [];
@ -981,7 +1023,8 @@ export default {
) {
const handleResultDTO = res.data.handleResultDTOS[index];
if (handleResultDTO.select === true) {
this.dataForm.handleCategoryShow = handleResultDTO.processResult;
this.dataForm.handleCategoryShow =
handleResultDTO.processResult;
}
}
})
@ -1049,7 +1092,7 @@ export default {
//
dataFormSubmitHandle: debounce(
function(type='') {
function(type = "") {
this.postDataForm.categoryId = this.categoryIds[
this.categoryIds.length - 1
];
@ -1068,6 +1111,14 @@ export default {
if (this.postDataForm.handleCategoryShow === "") {
return this.$message.error("请选择处理选项");
}
if(type == 11){
if (this.postDataForm.handlePeopleName === "") {
return this.$message.error("请输入办理人姓名!");
}
if (this.postDataForm.handlePeopleMobile === "") {
return this.$message.error("请输入办理人办公电话!");
}
}
if (this.deptResultDTOSVisible) {
if (
this.postDataForm.deptResultDTOS === undefined ||
@ -1135,26 +1186,36 @@ export default {
himg
] = this.postDataForm.handleImagesPC[himg].url;
}
if(type == 1){
let messageTitle = "";
if (type == 1) {
//
if(this.typeKey == 'community_party'){
this.postDataForm.handleCategory = 15;
}else if(this.typeKey == 'grid_party'){
if (this.typeKey == "community_party") {
messageTitle = "此案件尚未办结,确定吹哨给街道办理"
this.postDataForm.handleCategory = 15;
} else if (this.typeKey == "grid_party") {
messageTitle = "此案件尚未办结,确定吹哨给社区办理"
this.postDataForm.handleCategory = 1;
}
}else{
} else {
messageTitle = "此案件已办结,确定申请结案"
this.postDataForm.handleCategory = 11;
}
let imagesAttr = this.postDataForm.handleImagesPC;
imagesAttr.forEach((item)=>{
item.uid = item.uid+'77000'
})
imagesAttr.forEach((item) => {
item.uid = item.uid + "77000";
});
this.postDataForm.outHandleImagesPC = imagesAttr;
this.postDataForm.outHandleImages = this.postDataForm.handleImages;
console.log(this.postDataForm)
this.postDataForm.outHandleImages = this.postDataForm.handleImages;
console.log(this.postDataForm);
this.$confirm(messageTitle, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
this.$http["post"]("/events/item/itemHandleSubmit", this.postDataForm)
.then(({ data: res }) => {
if (res.code !== 0) {
@ -1173,6 +1234,8 @@ export default {
this.$parent.selectComponent = "ItemDeal";
})
.catch(() => {});
});
},
1000,
{ leading: true, trailing: false }
@ -1188,6 +1251,7 @@ export default {
</style>
<style lang="scss">
.project-handle {
.el-timeline {
padding-left: 9px;
@ -1203,24 +1267,54 @@ export default {
.el-form-item__label {
font-weight: bold;
}
.userInfo{
display: flex;
.el-input {
width: 300px !important;
}
.el-form-item:nth-child(1){
.el-form-item__label{
text-align: left;
width: 80px !important;
}
.el-form-item__content{
width: 300px !important;
margin-left: 80px !important;
}
}
.el-form-item:nth-child(2){
.el-form-item__label{
text-align: left;
width: 140px !important;
}
.el-form-item__content{
width: 300px !important;
margin-left: 140px !important;
}
}
}
</style>
<style lang="scss" scoped>
.handleAdvice{
display: flex;
flex-wrap: wrap;
.el-radio{
width:100%;
height:40px;
line-height: 40px;
}
.el-radio:nth-child(1){
width:100%;
height:40px;
line-height: 40px;
margin-left: 30px;
}
.handleAdvice {
display: flex;
flex-wrap: wrap;
.el-radio {
width: 100%;
height: 40px;
line-height: 40px;
}
.el-radio:nth-child(1) {
width: 100%;
height: 40px;
line-height: 40px;
margin-left: 30px;
}
}
.project-handle {
width: 100%;
height: calc(100vh - 120px);

Loading…
Cancel
Save