申诉管理模块: 删除教职工申诉表(appeal_info)的‘处理决定’(decisionType)冗余字段;
This commit is contained in:
+1
-3
@@ -62,9 +62,7 @@ public class AppealQueryController {
|
||||
COUNT(1) totalCount,
|
||||
SUM(CASE WHEN info.state = '待受理' THEN 1 ELSE 0 END) waitAcceptCount,
|
||||
SUM(CASE WHEN info.state = '待执行' THEN 1 ELSE 0 END) waitExecuteCount,
|
||||
SUM(CASE WHEN info.state = '已办结' THEN 1 ELSE 0 END) finishCount,
|
||||
SUM(CASE WHEN info.decisionType = 'MAINTAIN' THEN 1 ELSE 0 END) maintainCount,
|
||||
SUM(CASE WHEN info.decisionType LIKE 'REPROCESS%' THEN 1 ELSE 0 END) reprocessCount
|
||||
SUM(CASE WHEN info.state = '已办结' THEN 1 ELSE 0 END) finishCount
|
||||
FROM
|
||||
appeal_info info
|
||||
$condition
|
||||
|
||||
@@ -163,11 +163,6 @@ public class AppealInfo extends BaseModel {
|
||||
@ColDefine(type = ColType.DATETIME)
|
||||
private Date acceptTime;
|
||||
|
||||
@Column
|
||||
@Comment("处理决定类型")
|
||||
@ColDefine(type = ColType.VARCHAR, width = 80)
|
||||
private String decisionType;
|
||||
|
||||
@Column
|
||||
@Comment("处理决定")
|
||||
@ColDefine(type = ColType.TEXT)
|
||||
|
||||
@@ -102,23 +102,9 @@ layout("/layouts/platform.html"){
|
||||
<el-form-item label="申诉标题">
|
||||
<el-input v-model="formData.title" disabled></el-input>
|
||||
</el-form-item>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="处理决定" prop="decisionType" :rules="[{required:true,message:'请选择处理决定',trigger:'change'}]">
|
||||
<el-select v-model="formData.decisionType" style="width: 100%">
|
||||
<el-option label="维持原处理决定" value="MAINTAIN"></el-option>
|
||||
<el-option label="责令重新处理" value="REPROCESS"></el-option>
|
||||
<el-option label="责令部分重新处理" value="REPROCESS_PART"></el-option>
|
||||
<el-option label="其他" value="OTHER"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="作出决定日期" prop="decisionDate" :rules="[{required:true,message:'请选择决定日期',trigger:'change'}]">
|
||||
<el-date-picker v-model="formData.decisionDate" value-format="yyyy-MM-dd" type="date" style="width: 100%"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item label="作出决定日期" prop="decisionDate" :rules="[{required:true,message:'请选择决定日期',trigger:'change'}]">
|
||||
<el-date-picker v-model="formData.decisionDate" value-format="yyyy-MM-dd" type="date" style="width: 100%"></el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="处理决定内容" prop="decisionContent" :rules="[{required:true,validator:validateText,message:'请输入处理决定内容',trigger:['blur','change']}]">
|
||||
<el-input v-model="formData.decisionContent" type="textarea" :rows="5" maxlength="2000" show-word-limit placeholder="请输入处理决定内容"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
@@ -45,7 +45,6 @@ const APPEAL_INFO = {
|
||||
<el-descriptions :column="3" border v-if="viewData.acceptTime || viewData.decisionContent">
|
||||
<el-descriptions-item label="受理人">{{ viewData.acceptUserName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="受理时间">{{ viewData.acceptTime }}</el-descriptions-item>
|
||||
<el-descriptions-item label="处理决定">{{ decisionTypeText(viewData.decisionType) }}</el-descriptions-item>
|
||||
<el-descriptions-item label="决定日期">{{ viewData.decisionDate }}</el-descriptions-item>
|
||||
<el-descriptions-item label="决定内容" :span="3">
|
||||
<div class="text-left" style="white-space: pre-wrap;" v-text="plainText(viewData.decisionContent)"></div>
|
||||
@@ -113,15 +112,6 @@ const APPEAL_INFO = {
|
||||
}
|
||||
})
|
||||
},
|
||||
decisionTypeText(value) {
|
||||
const map = {
|
||||
MAINTAIN: "维持原处理决定",
|
||||
REPROCESS: "责令重新处理",
|
||||
REPROCESS_PART: "责令部分重新处理",
|
||||
OTHER: "其他"
|
||||
}
|
||||
return map[value] || value || ""
|
||||
},
|
||||
text(value) {
|
||||
return value || "-"
|
||||
},
|
||||
|
||||
@@ -78,16 +78,6 @@ layout("/layouts/platform.html"){
|
||||
background: #f0f9eb;
|
||||
}
|
||||
|
||||
.appeal-query-page .stat-maintain .stat-icon {
|
||||
color: #3a8ee6;
|
||||
background: #edf6ff;
|
||||
}
|
||||
|
||||
.appeal-query-page .stat-reprocess .stat-icon {
|
||||
color: #f56c6c;
|
||||
background: #fef0f0;
|
||||
}
|
||||
|
||||
.appeal-query-page .table-card {
|
||||
border-radius: 6px;
|
||||
}
|
||||
@@ -195,11 +185,6 @@ layout("/layouts/platform.html"){
|
||||
<el-table-column prop="appealTypeName" label="申诉类型" width="140"></el-table-column>
|
||||
<el-table-column prop="defendantUnitName" label="被申诉单位" width="180" show-overflow-tooltip></el-table-column>
|
||||
<el-table-column prop="applyDate" label="申请日期" width="120"></el-table-column>
|
||||
<el-table-column prop="decisionType" label="处理决定" width="130">
|
||||
<template slot-scope="{row}">
|
||||
<span>{{ decisionTypeText(row.decisionType) || '-' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="state" label="业务状态" width="100">
|
||||
<template slot-scope="{row}">
|
||||
<el-tag :type="stateTagType(row.state)" size="mini">{{ row.state || '草稿' }}</el-tag>
|
||||
@@ -246,9 +231,7 @@ layout("/layouts/platform.html"){
|
||||
{title: "申诉总数", prop: "totalCount", tip: "当前筛选范围", icon: "el-icon-document", className: "stat-total"},
|
||||
{title: "待受理", prop: "waitAcceptCount", tip: "委员会待审核", icon: "el-icon-time", className: "stat-wait"},
|
||||
{title: "待执行", prop: "waitExecuteCount", tip: "单位待反馈", icon: "el-icon-s-operation", className: "stat-execute"},
|
||||
{title: "已办结", prop: "finishCount", tip: "流程已结束", icon: "el-icon-finished", className: "stat-finish"},
|
||||
/*{title: "维持决定", prop: "maintainCount", tip: "维持原处理", icon: "el-icon-circle-check", className: "stat-maintain"},
|
||||
{title: "重新处理", prop: "reprocessCount", tip: "需重新处理", icon: "el-icon-refresh", className: "stat-reprocess"}*/
|
||||
{title: "已办结", prop: "finishCount", tip: "流程已结束", icon: "el-icon-finished", className: "stat-finish"}
|
||||
],
|
||||
statistics: {}
|
||||
}
|
||||
@@ -269,15 +252,6 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
return map[state] || "info"
|
||||
},
|
||||
decisionTypeText(value) {
|
||||
const map = {
|
||||
"MAINTAIN": "维持原处理",
|
||||
"REPROCESS": "重新处理",
|
||||
"REPROCESS_PART": "部分重新处理",
|
||||
"OTHER": "其他决定"
|
||||
}
|
||||
return map[value] || ""
|
||||
},
|
||||
onOpen(row) {
|
||||
this.$refs.guava.view(() => {
|
||||
this.$refs.infoRef.onOpen(row)
|
||||
|
||||
Reference in New Issue
Block a user