Browse Source

fix: 修复灵敏感知-问题分发涉嫌问题必填校验错误导致无法下发的问题

fix: 个人极端赋分规则:调整权重支持小数点后3位,修复界面不展示问题
fit: 综合查询:新增“转待办”功能,将已办结的件转为市局审批
main
wxc 12 months ago
parent
commit
cf4cd4c244
  1. 6
      src/api/work/negative.ts
  2. 3
      src/views/sensitivePerception/Model.vue
  3. 3
      src/views/sensitivePerception/ModelClueManual.vue
  4. 40
      src/views/work/Query.vue

6
src/api/work/negative.ts

@ -67,3 +67,9 @@ export function calculateScore() {
url: `/negative/score/calculate`
});
}
export function transferTodo(id) {
return request.post({
url: `/negative/${id}/transferTodo`
});
}

3
src/views/sensitivePerception/Model.vue

@ -249,7 +249,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row v-if="form.classId !== GRJDBLFX_CLASS_ID">
<el-row >
<el-col :span="12">
<el-form-item
label="数据类型"
@ -304,6 +304,7 @@
required: true,
message: '请选择分发方式',
}"
v-if="form.classId !== GRJDBLFX_CLASS_ID"
>
<el-radio-group v-model="form.distributionMethod" class="block">
<el-radio

3
src/views/sensitivePerception/ModelClueManual.vue

@ -328,9 +328,8 @@
}"
>
<el-select
v-model="form.involveProblemCode"
v-model="form.involveProblem"
multiple
@change="handleSelectInvolveProblem"
clearable
style="width: 280px"
>

40
src/views/work/Query.vue

@ -83,23 +83,20 @@
clearable
/>
<div style="width: 180px">
<depart-tree-select
<depart-tree-select
v-model="query.involveDepartId"
placeholder="涉及单位"
/>
</div>
</div>
</div>
<div class="form-row flex">
<label class="text-center">核查情况</label>
<div class="flex wrap query-box">
<div style="width: 180px">
<depart-tree-select
<depart-tree-select
v-model="query.handleDepartId"
placeholder="办理单位"
/>
</div>
<el-select
@ -273,7 +270,10 @@
<div class="col col-12">
<label>涉嫌问题</label>
<span>{{
getInvolveProblem(row.involveProblem, dict.suspectProblem)
getInvolveProblem(
row.involveProblem,
dict.suspectProblem
)
}}</span>
</div>
</div>
@ -410,7 +410,7 @@
}}</span>
</template>
</el-table-column>
<el-table-column label="操作" width="160">
<el-table-column label="操作" width="220">
<template #default="{ row }">
<el-button
type="primary"
@ -432,6 +432,17 @@
v-perms="['negative:del']"
>删除</el-button
>
<el-button
type="primary"
link
@click="handleTransferTodo(row)"
v-perms="['negative:transferTodo']"
v-if="
row.processingStatus ===
ProcessingStatus.COMPLETED
"
>转待办</el-button
>
</template>
</el-table-column>
</el-table>
@ -545,7 +556,8 @@
<el-col
:span="12"
v-if="
formData.problemSourcesCode === ProblemSources.ZXDC ||
formData.problemSourcesCode ===
ProblemSources.ZXDC ||
formData.problemSourcesCode === ProblemSources.XCDC
"
>
@ -741,6 +753,7 @@ import {
negativeExport,
delNegative,
updateNegative,
transferTodo
} from "@/api/work/negative";
import { getDictLable, formatTimeText, getInvolveProblem } from "@/utils/util";
import feedback from "@/utils/feedback";
@ -880,9 +893,10 @@ function handleEdit(row) {
editShow.value = true;
formData.value = { ...row };
if (row.involveProblem) {
formData.value.involveProblem = formData.value.involveProblem.split(',')
formData.value.involveProblem =
formData.value.involveProblem.split(",");
} else {
formData.value.involveProblem = []
formData.value.involveProblem = [];
}
}
@ -894,6 +908,12 @@ async function handleSumbit() {
getList();
}
async function handleTransferTodo(row) {
await feedback.confirm(`确定将该数据转为待办?`);
await transferTodo(row.id);
feedback.msgSuccess("已成功转为待办,请到我的待办查看");
getList();
}
</script>
<style lang="scss" scoped>
</style>
Loading…
Cancel
Save