Browse Source

perf: 优化完善

master
wxc 6 months ago
parent
commit
f3bc7f25c5
  1. 7
      src/components/negative/dialog.vue
  2. 23
      src/components/negative/verify.vue
  3. 4
      src/layout/components/Header.vue

7
src/components/negative/dialog.vue

@ -6,6 +6,7 @@
class="dialog-header-nopadding" class="dialog-header-nopadding"
style="--el-dialog-padding-primary: 10px; margin-bottom: 2vh" style="--el-dialog-padding-primary: 10px; margin-bottom: 2vh"
:lock-scroll="false" :lock-scroll="false"
:close-on-press-escape="false"
ref="dialogRef" ref="dialogRef"
> >
<template #header="{ close }"> <template #header="{ close }">
@ -414,7 +415,7 @@ import {getComponents} from "@/utils/flow";
import {getDictLable} from "@/utils/util"; import {getDictLable} from "@/utils/util";
import useCatchStore from "@/stores/modules/catch"; import useCatchStore from "@/stores/modules/catch";
import {nextTick} from "vue";
import {getConfinementListAll} from "@/api/work/confinement"; import {getConfinementListAll} from "@/api/work/confinement";
import {getReportFile} from "@/api/superviseReport/superviseReport"; import {getReportFile} from "@/api/superviseReport/superviseReport";
@ -623,6 +624,7 @@ async function handleExecute(action, data) {
if (action.actionKey === "update_verify") { if (action.actionKey === "update_verify") {
verifyEditFlag.value = false; verifyEditFlag.value = false;
} }
try {
await negativeExecute(props.id, { await negativeExecute(props.id, {
workId: work?.value.workId, workId: work?.value.workId,
actionKey: action.actionKey, actionKey: action.actionKey,
@ -637,6 +639,9 @@ async function handleExecute(action, data) {
return; return;
} }
getDetails(); getDetails();
} catch(e) {
loading.value = false;
}
} }
async function handleSubmitExecute(data) { async function handleSubmitExecute(data) {

23
src/components/negative/verify.vue

@ -192,10 +192,10 @@
:autosize="{ minRows: 4 }" :autosize="{ minRows: 4 }"
/> />
</el-form-item> </el-form-item>
<template v-if="negative.problemSourcesCode === ProblemSources.XF12337">
<el-form-item <el-form-item
label="处理结论结果" label="处理结论结果"
prop="handleResult12337" prop="handleResult12337"
v-if="negative.problemSourcesCode === ProblemSources.XF12337"
:rules="{ :rules="{
required: true, required: true,
message: '请选择12337处理结论结果', message: '请选择12337处理结论结果',
@ -205,6 +205,27 @@
<handle-result12337-select v-model="form.handleResult12337" style="width: 280px" @select="handleResult12337" /> <handle-result12337-select v-model="form.handleResult12337" style="width: 280px" @select="handleResult12337" />
<span class="ml-20">{{ form.handleResult12337Group }}</span> <span class="ml-20">{{ form.handleResult12337Group }}</span>
</el-form-item> </el-form-item>
<el-form-item
prop="verifiedIsLeader"
:rules="{
required: true,
message: '请选择涉及人员是否属于领导班子成员',
trigger: ['blur'],
}"
>
<template #label>
<div style="line-height: 1">涉及人员是否属于领导班子成员</div>
</template>
<el-select v-model="form.verifiedIsLeader" clearable style="width: 280px">
<el-option value="非领导班子成员">非领导班子成员</el-option>
<el-option value="县级单位班子成员">县级单位班子成员</el-option>
<el-option value="市级单位班子成员">市级单位班子成员</el-option>
<el-option value="省级单位班子成员">省级单位班子成员</el-option>
<el-option value="中央单位班子成员">中央单位班子成员</el-option>
</el-select>
</el-form-item>
</template>
<template v-if="form.checkStatus !== InspectCase.UNABLE"> <template v-if="form.checkStatus !== InspectCase.UNABLE">
<div <div

4
src/layout/components/Header.vue

@ -24,10 +24,10 @@
<icon name="local-icon-question" :size="22" /> <icon name="local-icon-question" :size="22" />
<span>帮助教程</span> <span>帮助教程</span>
</li> </li>
<li class="flex gap v-center" @click="goBackV1"> <!-- <li class="flex gap v-center" @click="goBackV1">
<icon name="el-icon-Back" :size="20" /> <icon name="el-icon-Back" :size="20" />
<span>返回旧版</span> <span>返回旧版</span>
</li> </li> -->
<li class="flex gap v-center" @click="handleLogout"> <li class="flex gap v-center" @click="handleLogout">
<icon name="local-icon-logout" :size="20" /> <icon name="local-icon-logout" :size="20" />
<span>退出登录</span> <span>退出登录</span>

Loading…
Cancel
Save