Commit b4c85b06 authored by xulihui's avatar xulihui

投诉处置新增投诉渠道,修改转办流程,删除督办历史记录,修改督办状态

parent e8f3450b
...@@ -85,6 +85,19 @@ public class TComplainDeal extends BaseEntity ...@@ -85,6 +85,19 @@ public class TComplainDeal extends BaseEntity
*/ */
private String provincialDataFlag; private String provincialDataFlag;
/*
* 投诉渠道(1-12319热线,2-12345热线)
* */
private String complaintChannels;
public String getComplaintChannels() {
return complaintChannels;
}
public void setComplaintChannels(String complaintChannels) {
this.complaintChannels = complaintChannels;
}
public String getProvincialDataFlag() { public String getProvincialDataFlag() {
return provincialDataFlag; return provincialDataFlag;
} }
......
...@@ -117,7 +117,7 @@ public class TPlanInfoServiceImpl implements ITPlanInfoService ...@@ -117,7 +117,7 @@ public class TPlanInfoServiceImpl implements ITPlanInfoService
List<String> collect = tComplainDealTransfers.stream().map(TComplainDealTransfer::getEnterpriseId).collect(Collectors.toList()); List<String> collect = tComplainDealTransfers.stream().map(TComplainDealTransfer::getEnterpriseId).collect(Collectors.toList());
return tPlanInfoMapper.transferEnterpriseList(collect); return tPlanInfoMapper.transferEnterpriseList(collect);
} else { } else {
return new ArrayList<>(); return tPlanInfoMapper.selectEnterprise();
} }
} }
} }
...@@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="complainType" column="complain_type" /> <result property="complainType" column="complain_type" />
<result property="overtimeSupervision" column="overtime_supervision" /> <result property="overtimeSupervision" column="overtime_supervision" />
<result property="township" column="township" /> <result property="township" column="township" />
<result property="complaintChannels" column="complaint_channels" />
</resultMap> </resultMap>
<sql id="selectTComplainDealVo"> <sql id="selectTComplainDealVo">
...@@ -47,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -47,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update_by, update_by,
update_time, update_time,
is_del, is_del,
remarks,provincial_data_flag,complain_type,overtime_supervision,township from t_complain_deal remarks,provincial_data_flag,complain_type,overtime_supervision,township,complaint_channels from t_complain_deal
</sql> </sql>
<select id="selectTComplainDealList" parameterType="TComplainDeal" resultMap="TComplainDealResult"> <select id="selectTComplainDealList" parameterType="TComplainDeal" resultMap="TComplainDealResult">
...@@ -69,6 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -69,6 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="complainType != null and complainType != ''"> and complain_type = #{complainType}</if> <if test="complainType != null and complainType != ''"> and complain_type = #{complainType}</if>
<if test="overtimeSupervision != null and overtimeSupervision != ''"> and overtime_supervision = #{overtimeSupervision}</if> <if test="overtimeSupervision != null and overtimeSupervision != ''"> and overtime_supervision = #{overtimeSupervision}</if>
<if test="township != null and township != ''"> and township = #{township}</if> <if test="township != null and township != ''"> and township = #{township}</if>
<if test="complaintChannels != null and complaintChannels != ''"> and complaint_channels = #{complaintChannels}</if>
</where> </where>
order by create_time desc order by create_time desc
</select> </select>
...@@ -127,6 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -127,6 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="complainType != null">complain_type,</if> <if test="complainType != null">complain_type,</if>
<if test="overtimeSupervision != null">overtime_supervision,</if> <if test="overtimeSupervision != null">overtime_supervision,</if>
<if test="township != null">township,</if> <if test="township != null">township,</if>
<if test="complaintChannels != null">complaint_channels,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="complainName != null">#{complainName},</if> <if test="complainName != null">#{complainName},</if>
...@@ -150,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -150,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="complainType != null">#{complainType},</if> <if test="complainType != null">#{complainType},</if>
<if test="overtimeSupervision != null">#{overtimeSupervision},</if> <if test="overtimeSupervision != null">#{overtimeSupervision},</if>
<if test="township != null">#{township},</if> <if test="township != null">#{township},</if>
<if test="complaintChannels != null">#{complaintChannels},</if>
</trim> </trim>
</insert> </insert>
...@@ -186,6 +190,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -186,6 +190,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="complainType != null">complain_type = #{complainType},</if> <if test="complainType != null">complain_type = #{complainType},</if>
<if test="overtimeSupervision != null">overtime_supervision = #{overtimeSupervision},</if> <if test="overtimeSupervision != null">overtime_supervision = #{overtimeSupervision},</if>
<if test="township != null">township = #{township},</if> <if test="township != null">township = #{township},</if>
<if test="complaintChannels != null">complaint_channels = #{complaintChannels},</if>
</trim> </trim>
where complain_deal_id = #{complainDealId} where complain_deal_id = #{complainDealId}
</update> </update>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="指派单位" prop="complainAssignEnterproseId" v-if="deptId==-2" > <el-form-item label="指派单位" prop="complainAssignEnterproseId" v-if="deptId==-2" >
<el-select v-model="queryParams.complainAssignEnterproseId" <el-select v-model="queryParams.complainAssignEnterproseId"
style="width: 240px" placeholder="请选择预案等级" clearable size="small"> style="width: 240px" placeholder="请选择预案等级" clearable size="small">
<el-option <el-option
v-for = "dict in enterpriseList" v-for = "dict in enterpriseList"
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
:value = "dict.enterpriseId" :value = "dict.enterpriseId"
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="任务状态" prop="complainStatus"> <el-form-item label="任务状态" prop="complainStatus">
<el-select v-model="queryParams.complainStatus" <el-select v-model="queryParams.complainStatus"
style="width: 240px" placeholder="请选择任务状态" clearable size="small"> style="width: 240px" placeholder="请选择任务状态" clearable size="small">
<el-option <el-option
v-for="dict in taskStateOptions" v-for="dict in taskStateOptions"
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="数据来源" prop="provincialDataFlag" v-if="deptId==-2"> <el-form-item label="数据来源" prop="provincialDataFlag" v-if="deptId==-2">
<el-select v-model="queryParams.provincialDataFlag" <el-select v-model="queryParams.provincialDataFlag"
style="width: 240px" placeholder="请选择数据来源" clearable size="small"> style="width: 240px" placeholder="请选择数据来源" clearable size="small">
<el-option <el-option
v-for="dict in provincialDataFlagOptions" v-for="dict in provincialDataFlagOptions"
...@@ -43,17 +43,17 @@ ...@@ -43,17 +43,17 @@
:value="dict.value" :value="dict.value"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="投诉类别" prop="complainType" v-if="deptId==-2"> <el-form-item label="投诉类别" prop="complainType" v-if="deptId==-2">
<el-select v-model="queryParams.complainType" <el-select v-model="queryParams.complainType"
style="width: 240px" placeholder="请选择投诉类别" clearable size="small"> style="width: 240px" placeholder="请选择投诉类别" clearable size="small">
<el-option label="投诉举报" value="1"/> <el-option label="投诉举报" value="1"/>
<el-option label="服务申请" value="2"/> <el-option label="服务申请" value="2"/>
<el-option label="咨询建议" value="3"/> <el-option label="咨询建议" value="3"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
@click="handleExport" @click="handleExport"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="info" type="info"
...@@ -105,17 +105,17 @@ ...@@ -105,17 +105,17 @@
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="complainDealList" :data="complainDealList"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@cell-mouse-enter="handleTableRowMouseEnter" @cell-mouse-enter="handleTableRowMouseEnter"
@cell-mouse-leave="handleTableRowMouseLeave" @cell-mouse-leave="handleTableRowMouseLeave"
@cell-click="handleTableRowClick"> @cell-click="handleTableRowClick">
<!--<el-table-column label="投诉处置id" align="center" prop="complainDealId" />--> <!--<el-table-column label="投诉处置id" align="center" prop="complainDealId" />-->
<el-table-column label="投诉人姓名" align="center" prop="complainName" > <el-table-column label="投诉人姓名" align="center" prop="complainName" >
<template slot-scope="scope"> <template slot-scope="scope">
<i v-if="scope.row.overtimeSupervision != null && scope.row.overtimeSupervision != ''" class="el-icon-star-on" style="color: red;"></i> <i v-if="scope.row.overtimeSupervision != null && scope.row.overtimeSupervision != ''" class="el-icon-star-on" style="color: red;"></i>
<span>{{ scope.row.complainName}}</span> <span>{{ scope.row.complainName}}</span>
</template> </template>
...@@ -132,10 +132,10 @@ ...@@ -132,10 +132,10 @@
<!--<el-table-column label="反馈内容" align="center" prop="dealCondition" />--> <!--<el-table-column label="反馈内容" align="center" prop="dealCondition" />-->
<el-table-column label="指派单位名称" align="center" prop="complainAssignEnterproseName" > <el-table-column label="指派单位名称" align="center" prop="complainAssignEnterproseName" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover popper-class="custom-popover" <el-popover popper-class="custom-popover"
v-if="scope.row.overtimeSupervision === '0' || scope.row.overtimeSupervision === '1'" v-if="scope.row.overtimeSupervision === '0' || scope.row.overtimeSupervision === '1'"
trigger="hover" trigger="hover"
placement="top" placement="top"
:ref="'popover' + scope.row.complainDealId" > :ref="'popover' + scope.row.complainDealId" >
<p>提示: {{handlePopoverShow(scope.row.overtimeSupervision)}}</p> <p>提示: {{handlePopoverShow(scope.row.overtimeSupervision)}}</p>
<div slot="reference" class="name-wrapper"> <div slot="reference" class="name-wrapper">
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="指派人" align="center" prop="complainAssignMan" > <el-table-column label="指派人" align="center" prop="complainAssignMan" >
</el-table-column> </el-table-column>
<el-table-column label="任务状态" align="center" prop="complainStatus" :formatter="taskStateFormat" > <el-table-column label="任务状态" align="center" prop="complainStatus" :formatter="taskStateFormat" >
</el-table-column> </el-table-column>
<el-table-column label="督办状态" align="center" prop="overtimeSupervision" :formatter="overtimeSupervisionStateFormat" > <el-table-column label="督办状态" align="center" prop="overtimeSupervision" :formatter="overtimeSupervisionStateFormat" >
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
@click.native.stop="handleEnterpriseReturn(scope.row)" @click.native.stop="handleEnterpriseReturn(scope.row)"
>退回</el-button> >退回</el-button>
<el-button <el-button
v-if="scope.row.complainStatus==4 && deptId==-2" v-if="(scope.row.complainStatus==4 && deptId==-2) || (scope.row.complainStatus==1 && deptId==-2 && scope.row.complainAssignEnterproseId==null)"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
...@@ -229,9 +229,9 @@ ...@@ -229,9 +229,9 @@
type="text" type="text"
icon="el-icon-chat-line-square" icon="el-icon-chat-line-square"
@click.native.stop="handleSatisfactionEvaluation(scope.row)" @click.native.stop="handleSatisfactionEvaluation(scope.row)"
>满意度评价</el-button> >满意度评价</el-button>
<el-button <el-button
v-if="scope.row.complainStatus!=3 && deptId==-2 && v-if="scope.row.complainStatus!=3 && deptId==-2 &&
(scope.row.overtimeSupervision != '0' )" (scope.row.overtimeSupervision != '0' )"
size="mini" size="mini"
type="text" type="text"
...@@ -252,6 +252,12 @@ ...@@ -252,6 +252,12 @@
<!-- 添加或修改投诉处置对话框 --> <!-- 添加或修改投诉处置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @close="handleBeforClose"> <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @close="handleBeforClose">
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="投诉渠道" prop="complaintChannels">
<el-select style="width: 100%" v-model="form.complaintChannels" :disabled="readonly">
<el-option label="12319热线" value="1"/>
<el-option label="12345热线" value="2"/>
</el-select>
</el-form-item>
<div class="division"> <div class="division">
<div style="width: 50%;"> <div style="width: 50%;">
<el-form-item label="投诉人姓名" prop="complainName"> <el-form-item label="投诉人姓名" prop="complainName">
...@@ -268,13 +274,13 @@ ...@@ -268,13 +274,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 1-投诉举报,2-服务申请,3-咨询建议 --> <!-- 1-投诉举报,2-服务申请,3-咨询建议 -->
<el-form-item label="投诉类别" prop="complainType"> <el-form-item label="投诉类别" prop="complainType">
<el-select style="width: 100%" v-model="form.complainType" :disabled="readonly"> <el-select style="width: 100%" v-model="form.complainType" :disabled="readonly">
<el-option label="投诉举报" value="1"/> <el-option label="投诉举报" value="1"/>
<el-option label="服务申请" value="2"/> <el-option label="服务申请" value="2"/>
<el-option label="咨询建议" value="3"/> <el-option label="咨询建议" value="3"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
<div style="width: 50%;"> <div style="width: 50%;">
<el-form-item label="投诉人电话" prop="complainPhone"> <el-form-item label="投诉人电话" prop="complainPhone">
...@@ -301,7 +307,7 @@ ...@@ -301,7 +307,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
<el-form-item label="投诉事项" prop="complainMatter"> <el-form-item label="投诉事项" prop="complainMatter">
<el-input v-model="form.complainMatter" type = "textarea" placeholder="请输入投诉事项" :disabled="readonly"/> <el-input v-model="form.complainMatter" type = "textarea" placeholder="请输入投诉事项" :disabled="readonly"/>
</el-form-item> </el-form-item>
...@@ -343,7 +349,7 @@ ...@@ -343,7 +349,7 @@
</div> </div>
<!-- 转办流程 如果有的话 --> <!-- 转办流程 如果有的话 -->
<div v-if="complainDealTransferList !== null && complainDealTransferList.length > 0"> <div v-if="complainDealTransferList !== null && complainDealTransferList.length > 0">
<el-divider content-position="left">转办流程</el-divider> <el-divider content-position="left">转办流程</el-divider>
<el-timeline> <el-timeline>
<el-timeline-item placement="top" :timestamp="item.sj" v-for="(item, index) in complainDealTransferList" :key="index"> <el-timeline-item placement="top" :timestamp="item.sj" v-for="(item, index) in complainDealTransferList" :key="index">
...@@ -353,7 +359,7 @@ ...@@ -353,7 +359,7 @@
</el-table> </el-table>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
</div> </div>
</el-dialog> </el-dialog>
<!-- 督办历史记录 --> <!-- 督办历史记录 -->
...@@ -383,17 +389,17 @@ ...@@ -383,17 +389,17 @@
</el-dialog> </el-dialog>
<!-- 超时督办 --> <!-- 超时督办 -->
<el-dialog title="超时督办" :visible.sync="dialogOvertimeSupervisionVisible" width="600px"> <el-dialog title="超时督办" :visible.sync="dialogOvertimeSupervisionVisible" width="600px">
<div style="padding-bottom:20px"> <!-- <div style="padding-bottom:20px">
<el-button type="info" @click="historyOvertimeSupervisionListButton">历史督办记录</el-button> <el-button type="info" @click="historyOvertimeSupervisionListButton">历史督办记录</el-button>
</div> </div>-->
<el-form :model="overtimeSupervisionForm"> <el-form :model="overtimeSupervisionForm">
<div class="page-header clearfix"> <div class="page-header clearfix">
<div class="leftfix">督办事由</div> <div class="leftfix">督办事由</div>
<div class="rightfix" v-show="overtimeSupervisionForm.createTime != null && overtimeSupervisionForm.createTime !=''"> <div class="rightfix" v-show="overtimeSupervisionForm.createTime != null && overtimeSupervisionForm.createTime !=''">
<div>督办创建时间</div> <div>督办创建时间</div>
<div>{{overtimeSupervisionForm.createTime}}</div> <div>{{overtimeSupervisionForm.createTime}}</div>
</div> </div>
</div> </div>
<textarea class="inputstyle" v-model="overtimeSupervisionForm.supervisionReasons" type ="textarea" :readonly="this.supervisionReasonsStatus ? false : 'readonly'"></textarea> <textarea class="inputstyle" v-model="overtimeSupervisionForm.supervisionReasons" type ="textarea" :readonly="this.supervisionReasonsStatus ? false : 'readonly'"></textarea>
...@@ -404,7 +410,7 @@ ...@@ -404,7 +410,7 @@
<div>{{overtimeSupervisionForm.updateTime}}</div> <div>{{overtimeSupervisionForm.updateTime}}</div>
</div> </div>
<textarea class="inputstyle" v-model="overtimeSupervisionForm.concent" type ="textarea" :readonly="this.supervisionFeedbackStatus ? false : 'readonly'"></textarea> <textarea class="inputstyle" v-model="overtimeSupervisionForm.concent" type ="textarea" :readonly="this.supervisionFeedbackStatus ? false : 'readonly'"></textarea>
</div> </div>
<!-- <el-form-item label="回复" v-show="showFeedbackVisible"> <!-- <el-form-item label="回复" v-show="showFeedbackVisible">
<textarea class="inputstyle" v-model="overtimeSupervisionForm.concent" type ="textarea" :readonly="this.supervisionFeedbackStatus ? false : 'readonly'"></textarea> <textarea class="inputstyle" v-model="overtimeSupervisionForm.concent" type ="textarea" :readonly="this.supervisionFeedbackStatus ? false : 'readonly'"></textarea>
...@@ -415,7 +421,7 @@ ...@@ -415,7 +421,7 @@
<el-button type="primary" @click="submitOvertimeSupervision"> </el-button> <el-button type="primary" @click="submitOvertimeSupervision"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 投诉转办 --> <!-- 投诉转办 -->
<el-dialog title="投诉转办" :visible.sync="dialogTransferVisible" width="600px"> <el-dialog title="投诉转办" :visible.sync="dialogTransferVisible" width="600px">
<el-form :model="transferForm"> <el-form :model="transferForm">
...@@ -431,7 +437,7 @@ ...@@ -431,7 +437,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="指派人" prop="complainAssignManId"> <el-form-item label="指派人" prop="complainAssignManId">
<el-select v-model="transferForm.complainAssignMan" placeholder="请选择指派人" clearable style = "width: 100%" @change="transferManChang"> <el-select v-model="transferForm.complainAssignMan" placeholder="请选择指派人" clearable style = "width: 100%" @change="transferManChang">
<el-option <el-option
...@@ -441,8 +447,8 @@ ...@@ -441,8 +447,8 @@
:value = "dict.id" :value = "dict.id"
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>
<div slot="footer" class="dialog-footer" style="margin-top: -30px;"> <div slot="footer" class="dialog-footer" style="margin-top: -30px;">
<el-button @click="dialogTransferVisible = false"> </el-button> <el-button @click="dialogTransferVisible = false"> </el-button>
...@@ -478,7 +484,7 @@ ...@@ -478,7 +484,7 @@
<el-button type="primary" @click="EnterpriseReturnSubmint"> </el-button> <el-button type="primary" @click="EnterpriseReturnSubmint"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 评价 --> <!-- 评价 -->
<el-dialog title="满意度评价" :visible.sync="dialogEvaluateVisible" width="600px" @close="handleEvaluateReturnBeforClose"> <el-dialog title="满意度评价" :visible.sync="dialogEvaluateVisible" width="600px" @close="handleEvaluateReturnBeforClose">
<el-form :model="evaluateForm"> <el-form :model="evaluateForm">
...@@ -510,7 +516,7 @@ ...@@ -510,7 +516,7 @@
<DurationSetting :duration="scope.row" @update:externalMilliseconds="handleTotalMilliseconds($event, scope.$index)"></DurationSetting> <DurationSetting :duration="scope.row" @update:externalMilliseconds="handleTotalMilliseconds($event, scope.$index)"></DurationSetting>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="fRemarks" label="备注"> <el-table-column prop="fRemarks" label="备注">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input
...@@ -521,7 +527,7 @@ ...@@ -521,7 +527,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div slot="footer" class="dialog-footer" style="margin-top: -30px;"> <div slot="footer" class="dialog-footer" style="margin-top: -30px;">
<el-button @click="managementSystemSettingCancel"> </el-button> <el-button @click="managementSystemSettingCancel"> </el-button>
<el-button type="primary" @click="managementSystemSettingSubmit"> </el-button> <el-button type="primary" @click="managementSystemSettingSubmit"> </el-button>
...@@ -531,7 +537,7 @@ ...@@ -531,7 +537,7 @@
</template> </template>
<script> <script>
import { listComplainDeal, getComplainDeal, delComplainDeal, addComplainDeal, import { listComplainDeal, getComplainDeal, delComplainDeal, addComplainDeal,
updateComplainDeal, exportComplainDeal,getUserList,getComplainDealManSysSet, updateComplainDeal, exportComplainDeal,getUserList,getComplainDealManSysSet,
batchUpdateComplainDealManSysSet,addComplainTransFer,listComplainTransFer, batchUpdateComplainDealManSysSet,addComplainTransFer,listComplainTransFer,
addComplainEvaluate,updateComplainEvaluate,getComplainEvaluateByComplainDealId, addComplainEvaluate,updateComplainEvaluate,getComplainEvaluateByComplainDealId,
...@@ -553,7 +559,7 @@ export default { ...@@ -553,7 +559,7 @@ export default {
//查看详情时,隐藏底部确定和取消按钮 //查看详情时,隐藏底部确定和取消按钮
showDetails:true, showDetails:true,
//查看详情时,查看是否有 转办记录 //查看详情时,查看是否有 转办记录
complainDealTransferList:[], complainDealTransferList:[],
// 遮罩层 // 遮罩层
loading: true, loading: true,
// 导出遮罩层 // 导出遮罩层
...@@ -620,6 +626,7 @@ export default { ...@@ -620,6 +626,7 @@ export default {
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
complaintChannels: null,
complainName: null, complainName: null,
complainPhone: null, complainPhone: null,
complainMatter: null, complainMatter: null,
...@@ -643,7 +650,7 @@ export default { ...@@ -643,7 +650,7 @@ export default {
complainMatter:'', complainMatter:'',
concent:'', concent:'',
}, },
overtimeSupervisionForm:{ overtimeSupervisionForm:{
//自己的id //自己的id
complainDealOverSuperId:'', complainDealOverSuperId:'',
...@@ -666,7 +673,7 @@ export default { ...@@ -666,7 +673,7 @@ export default {
complainAssignManId:'', complainAssignManId:'',
complainAssignMan:'' complainAssignMan:''
}, },
evaluateForm:{ evaluateForm:{
complainDealEvaluateId:0, complainDealEvaluateId:0,
complainDealId:0, complainDealId:0,
...@@ -684,9 +691,9 @@ export default { ...@@ -684,9 +691,9 @@ export default {
evaluateContent:'', evaluateContent:'',
evaluateRate:null evaluateRate:null
}, },
transferForm:{ transferForm:{
complainDealId:'', complainDealId:'',
complainAssignEnterproseId:'', complainAssignEnterproseId:'',
complainAssignEnterproseName:'', complainAssignEnterproseName:'',
complainAssignManId:'', complainAssignManId:'',
...@@ -705,9 +712,9 @@ export default { ...@@ -705,9 +712,9 @@ export default {
complainMatter: [ complainMatter: [
{ required: true, message: "投诉事项不能为空", trigger: "blur" } { required: true, message: "投诉事项不能为空", trigger: "blur" }
], ],
complainAssignEnterproseId: [ /*complainAssignEnterproseId: [
{ required: true, message: "指派单位不能为空", trigger: "blur" } { required: true, message: "指派单位不能为空", trigger: "blur" }
], ],*/
} }
}; };
}, },
...@@ -721,7 +728,7 @@ export default { ...@@ -721,7 +728,7 @@ export default {
this.getDicts("t_township").then(response => { this.getDicts("t_township").then(response => {
this.townshipOptions = response.data; this.townshipOptions = response.data;
}); });
}, },
methods: { methods: {
//获取deptId //获取deptId
getUser() { getUser() {
...@@ -739,7 +746,7 @@ export default { ...@@ -739,7 +746,7 @@ export default {
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });
}, },
//公司列表 //公司列表
getEnterpriseList() { getEnterpriseList() {
enterpriseList(this.queryParams).then(response => { enterpriseList(this.queryParams).then(response => {
...@@ -779,6 +786,7 @@ export default { ...@@ -779,6 +786,7 @@ export default {
reset() { reset() {
this.form = { this.form = {
complainDealId: null, complainDealId: null,
complaintChannels: null,
complainName: null, complainName: null,
complainPhone: null, complainPhone: null,
complainMatter: null, complainMatter: null,
...@@ -821,7 +829,7 @@ export default { ...@@ -821,7 +829,7 @@ export default {
if(row.overtimeSupervision === null || row.overtimeSupervision == '') { if(row.overtimeSupervision === null || row.overtimeSupervision == '') {
return '-' return '-'
} else if (row.overtimeSupervision === '0') { } else if (row.overtimeSupervision === '0') {
return <p style='color: #ff7272'>督办中</p> return <p style='color: #ff7272'>已督办</p>
} else if (row.overtimeSupervision === '1') { } else if (row.overtimeSupervision === '1') {
return <p style='color: #30B46B'>已回复</p> return <p style='color: #30B46B'>已回复</p>
} }
...@@ -892,7 +900,7 @@ export default { ...@@ -892,7 +900,7 @@ export default {
const complainDealId = row.complainDealId || this.ids const complainDealId = row.complainDealId || this.ids
//先看有没有转办记录 //先看有没有转办记录
listComplainTransFer(complainDealId).then(response =>{ listComplainTransFer(complainDealId).then(response =>{
this.complainDealTransferList = response.data; this.complainDealTransferList = response.data;
this.showDetails = false; this.showDetails = false;
this.display="display:"; this.display="display:";
this.readonly = true; this.readonly = true;
...@@ -902,9 +910,9 @@ export default { ...@@ -902,9 +910,9 @@ export default {
this.open = true; this.open = true;
this.title = "投诉处置详情"; this.title = "投诉处置详情";
var statusName = this.selectDictLabel(this.taskStateOptions, row.complainStatus); var statusName = this.selectDictLabel(this.taskStateOptions, row.complainStatus);
this.form.complainStatus=statusName; this.form.complainStatus=statusName;
}); });
}) })
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
...@@ -969,7 +977,7 @@ export default { ...@@ -969,7 +977,7 @@ export default {
}, },
// 时间控件传回来的值 // 时间控件传回来的值
handleTotalMilliseconds(manSysSetDuration,index){ handleTotalMilliseconds(manSysSetDuration,index){
this.complainDealManSysSetList[index].fDay = manSysSetDuration.fDay; this.complainDealManSysSetList[index].fDay = manSysSetDuration.fDay;
this.complainDealManSysSetList[index].fHours = manSysSetDuration.fHours; this.complainDealManSysSetList[index].fHours = manSysSetDuration.fHours;
this.complainDealManSysSetList[index].fMinutes = manSysSetDuration.fMinutes; this.complainDealManSysSetList[index].fMinutes = manSysSetDuration.fMinutes;
...@@ -1012,15 +1020,17 @@ export default { ...@@ -1012,15 +1020,17 @@ export default {
}, },
//监管部门把企业退回的投诉 转办给其他企业 //监管部门把企业退回的投诉 转办给其他企业
handleTransfer(row){ handleTransfer(row){
this.transferForm.complainDealId = row.complainDealId; this.transferForm.complainDealId = row.complainDealId;
this.transferEnterpriseList = []; this.transferEnterpriseList = [];
this.transferForm.complainAssignMan = ""; this.transferForm.complainAssignMan = "";
this.peopleList = []; // 清空指派人列表
transferEnterpriseListMethod(this.transferForm.complainDealId).then(response =>{ transferEnterpriseListMethod(this.transferForm.complainDealId).then(response =>{
this.transferEnterpriseList = response.data; this.transferEnterpriseList = response.data;
this.dialogTransferVisible = true; this.dialogTransferVisible = true;
}) })
}, },
transferEnterpriseChang(value){ transferEnterpriseChang(value){
this.transferForm.complainAssignMan = ""; // 清空指派人
let obj = {}; let obj = {};
obj = this.transferEnterpriseList.find((item)=>{ obj = this.transferEnterpriseList.find((item)=>{
return item.enterpriseId === value; return item.enterpriseId === value;
...@@ -1029,17 +1039,16 @@ export default { ...@@ -1029,17 +1039,16 @@ export default {
this.transferForm.complainAssignEnterproseName = obj.enterpriseName; this.transferForm.complainAssignEnterproseName = obj.enterpriseName;
this.transferForm.complainAssignEnterproseId = value; this.transferForm.complainAssignEnterproseId = value;
getUserList(value).then(response => { getUserList(value).then(response => {
//console.log(this.peopleList)
this.peopleList=response.data; this.peopleList=response.data;
}); });
}, },
transferManChang(value){ transferManChang(value){
let obj = {}; let obj = {};
obj = this.peopleList.find((item)=>{ obj = this.peopleList.find((item)=>{
return item.id === value; return item.id === value;
}); });
this.transferForm.complainAssignManId === value; this.transferForm.complainAssignManId = value; // 修复:应该是赋值而不是比较
this.transferForm.complainAssignMan = obj.nickName; this.transferForm.complainAssignMan = obj.nickName;
}, },
//投诉转办 提交按钮 //投诉转办 提交按钮
...@@ -1075,9 +1084,9 @@ export default { ...@@ -1075,9 +1084,9 @@ export default {
}) })
}, },
//督办详情点击 table 每行 //督办详情点击 table 每行
handleTableRowClick(row, column, cell, event){ handleTableRowClick(row, column, cell, event){
if (row.overtimeSupervision === '0' || row.overtimeSupervision === '1') { if (row.overtimeSupervision === '0' || row.overtimeSupervision === '1') {
const query = { const query = {
complainDealId:row.complainDealId, complainDealId:row.complainDealId,
overtimeSupervision:row.overtimeSupervision overtimeSupervision:row.overtimeSupervision
...@@ -1094,7 +1103,7 @@ export default { ...@@ -1094,7 +1103,7 @@ export default {
} else { } else {
this.supervisionReasonsStatus = false; this.supervisionReasonsStatus = false;
this.supervisionFeedbackStatus = true; this.supervisionFeedbackStatus = true;
} }
// 判断 反馈是否需要显示 // 判断 反馈是否需要显示
if (this.deptId != "-2") { if (this.deptId != "-2") {
this.showFeedbackVisible = true; this.showFeedbackVisible = true;
...@@ -1111,17 +1120,17 @@ export default { ...@@ -1111,17 +1120,17 @@ export default {
} }
this.dialogOvertimeSupervisionVisible = true; this.dialogOvertimeSupervisionVisible = true;
}) })
} }
}, },
handleTableRowMouseLeave(row, column, cell, event){ handleTableRowMouseLeave(row, column, cell, event){
if (this.$refs['popover'+row.complainDealId]) { if (this.$refs['popover'+row.complainDealId]) {
this.$refs['popover'+row.complainDealId].showPopper = false this.$refs['popover'+row.complainDealId].showPopper = false
} }
}, },
handleTableRowMouseEnter(row, column, cell, event){ handleTableRowMouseEnter(row, column, cell, event){
if (this.$refs['popover'+row.complainDealId]) { if (this.$refs['popover'+row.complainDealId]) {
this.$refs['popover'+row.complainDealId].showPopper = true this.$refs['popover'+row.complainDealId].showPopper = true
} }
...@@ -1134,7 +1143,7 @@ export default { ...@@ -1134,7 +1143,7 @@ export default {
} }
}, },
//超时督办 反馈确认 -- 经讨论不需要了 //超时督办 反馈确认 -- 经讨论不需要了
overtimeSupervisionFeedbackConfirmation(){ overtimeSupervisionFeedbackConfirmation(){
MessageBox.confirm('是否确认反馈?', '提示', { MessageBox.confirm('是否确认反馈?', '提示', {
confirmButtonText: '确认', confirmButtonText: '确认',
cancelButtonText: '否定', cancelButtonText: '否定',
...@@ -1142,15 +1151,15 @@ export default { ...@@ -1142,15 +1151,15 @@ export default {
}).then(async () => { }).then(async () => {
this.overtimeSupervisionForm.overtimeSupervision = "2" this.overtimeSupervisionForm.overtimeSupervision = "2"
await overtimeSupervisionFeedbackConfirmationMethod(this.overtimeSupervisionForm); await overtimeSupervisionFeedbackConfirmationMethod(this.overtimeSupervisionForm);
this.dialogOvertimeSupervisionVisible = false; this.dialogOvertimeSupervisionVisible = false;
this.getList(); this.getList();
}).catch(async () => { }).catch(async () => {
this.overtimeSupervisionForm.overtimeSupervision = "0" this.overtimeSupervisionForm.overtimeSupervision = "0"
await overtimeSupervisionFeedbackConfirmationMethod(this.overtimeSupervisionForm); await overtimeSupervisionFeedbackConfirmationMethod(this.overtimeSupervisionForm);
this.dialogOvertimeSupervisionVisible = false; this.dialogOvertimeSupervisionVisible = false;
this.getList(); this.getList();
}); });
}, },
//提交督办事由 有id就修改,没id就新增 //提交督办事由 有id就修改,没id就新增
...@@ -1165,7 +1174,7 @@ export default { ...@@ -1165,7 +1174,7 @@ export default {
this.getList(); this.getList();
}) })
//没有就新增 //没有就新增
} else { } else {
updateComplainDealOverSuper(this.overtimeSupervisionForm).then(response => { updateComplainDealOverSuper(this.overtimeSupervisionForm).then(response => {
this.msgSuccess("修改成功") this.msgSuccess("修改成功")
this.dialogOvertimeSupervisionVisible = false; this.dialogOvertimeSupervisionVisible = false;
...@@ -1173,9 +1182,9 @@ export default { ...@@ -1173,9 +1182,9 @@ export default {
}) })
} }
}, },
//监管部门-点击超时督办 操作 按钮 //监管部门-点击超时督办 操作 按钮
handleOvertimeSupervision(row){ handleOvertimeSupervision(row){
// 说明还没创建过 超时督办,就不查数据库了 // 说明还没创建过 超时督办,就不查数据库了
if (row.overtimeSupervision == null || row.overtimeSupervision === '' || row.overtimeSupervision === '1'){ if (row.overtimeSupervision == null || row.overtimeSupervision === '' || row.overtimeSupervision === '1'){
this.overtimeSupervisionForm.complainDealId = row.complainDealId; this.overtimeSupervisionForm.complainDealId = row.complainDealId;
this.overtimeSupervisionForm.complainDealOverSuperId = ''; this.overtimeSupervisionForm.complainDealOverSuperId = '';
...@@ -1199,29 +1208,29 @@ export default { ...@@ -1199,29 +1208,29 @@ export default {
this.overtimeSupervisionForm = response.data; this.overtimeSupervisionForm = response.data;
this.dialogOvertimeSupervisionVisible = true; this.dialogOvertimeSupervisionVisible = true;
}) })
// //
} }
}, },
// 满意度评价 // 满意度评价
handleSatisfactionEvaluation(row){ handleSatisfactionEvaluation(row){
this.evaluateFormFooterVisible=true, this.evaluateFormFooterVisible=true,
this.evaluateFormContentReadonly=false, this.evaluateFormContentReadonly=false,
this.evaluateFormRateDisabled=true, this.evaluateFormRateDisabled=true,
Object.keys(this.defaultEvaluateForm).forEach(key => { Object.keys(this.defaultEvaluateForm).forEach(key => {
// 使用 key 从 defaultFormValues 中获取默认值,并赋值给 myForm 的对应字段 // 使用 key 从 defaultFormValues 中获取默认值,并赋值给 myForm 的对应字段
this.evaluateForm[key] = this.defaultEvaluateForm[key]; this.evaluateForm[key] = this.defaultEvaluateForm[key];
}); });
this.evaluateForm.complainDealId = row.complainDealId; this.evaluateForm.complainDealId = row.complainDealId;
getComplainEvaluateByComplainDealId(this.evaluateForm.complainDealId).then(response =>{ getComplainEvaluateByComplainDealId(this.evaluateForm.complainDealId).then(response =>{
const data = response.data; const data = response.data;
if (data != null) { if (data != null) {
this.evaluateForm = data; this.evaluateForm = data;
} }
if ((this.evaluateForm.evaluateContent == null || this.evaluateForm.evaluateContent ==='') && if ((this.evaluateForm.evaluateContent == null || this.evaluateForm.evaluateContent ==='') &&
this.evaluateForm.evaluateRate == null ) { this.evaluateForm.evaluateRate == null ) {
this.evaluateFormFooterVisible=true; this.evaluateFormFooterVisible=true;
this.evaluateFormContentReadonly=false; this.evaluateFormContentReadonly=false;
...@@ -1236,7 +1245,7 @@ export default { ...@@ -1236,7 +1245,7 @@ export default {
}) })
}, },
// 满意度评价提交 // 满意度评价提交
evaluateSubmint(){ evaluateSubmint(){
if (this.evaluateForm.complainDealEvaluateId != null && this.evaluateForm.complainDealEvaluateId != 0) { if (this.evaluateForm.complainDealEvaluateId != null && this.evaluateForm.complainDealEvaluateId != 0) {
updateComplainEvaluate(this.evaluateForm).then(response => { updateComplainEvaluate(this.evaluateForm).then(response => {
this.msgSuccess("评论修改成功"); this.msgSuccess("评论修改成功");
...@@ -1255,7 +1264,7 @@ export default { ...@@ -1255,7 +1264,7 @@ export default {
}, },
//按照 区域 和 类型 统计发生量 //按照 区域 和 类型 统计发生量
drawNumberOfComplaints() { drawNumberOfComplaints() {
} }
}, },
} }
...@@ -1269,7 +1278,7 @@ export default { ...@@ -1269,7 +1278,7 @@ export default {
.inputstyle{ .inputstyle{
min-height: 200px; min-height: 200px;
max-height: 300px; max-height: 300px;
width: 100%; width: 100% !important;
border-color: 0.5px #99a9bf; border-color: 0.5px #99a9bf;
outline:none; outline:none;
} }
...@@ -1280,7 +1289,7 @@ export default { ...@@ -1280,7 +1289,7 @@ export default {
border : none; border : none;
resize:none; resize:none;
outline:none; outline:none;
} }
.circle { .circle {
position: absolute; position: absolute;
top: 17px; top: 17px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment