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. 36
      src/views/work/Query.vue

6
src/api/work/negative.ts

@ -67,3 +67,9 @@ export function calculateScore() {
url: `/negative/score/calculate` 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-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row v-if="form.classId !== GRJDBLFX_CLASS_ID"> <el-row >
<el-col :span="12"> <el-col :span="12">
<el-form-item <el-form-item
label="数据类型" label="数据类型"
@ -304,6 +304,7 @@
required: true, required: true,
message: '请选择分发方式', message: '请选择分发方式',
}" }"
v-if="form.classId !== GRJDBLFX_CLASS_ID"
> >
<el-radio-group v-model="form.distributionMethod" class="block"> <el-radio-group v-model="form.distributionMethod" class="block">
<el-radio <el-radio

3
src/views/sensitivePerception/ModelClueManual.vue

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

36
src/views/work/Query.vue

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