Browse Source

20250828

master
wxc 3 months ago
parent
commit
b923464202
  1. 2
      package.json
  2. 2
      src/components/FileList.vue
  3. 8
      src/views/work/Query.vue
  4. 14
      src/views/work/components/MailDialog.vue
  5. 15
      src/views/work/components/ReportLeader.vue

2
package.json

@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --mode dev",
"build:prod": "vite build --mode prod",
"build:prod": "vite build --mode prod && WinRAR a -r dist.zip ./dist/",
"preview": "vite preview"
},
"dependencies": {

2
src/components/FileList.vue

@ -50,7 +50,7 @@
@click="filePreview(item)"
>
<icon :name="getIconName(item.type)" :size="24" />
<span>{{ item.fileName }}</span>
<span>{{ item.orgiinFilename }}</span>
</section>
</div>
</el-scrollbar>

8
src/views/work/Query.vue

@ -189,6 +189,14 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="退回整改" prop="returnRectification">
<el-select v-model="query.returnRectification" multiple>
<el-option label="市局退回整改" value="1" />
<el-option label="二级机构退回整改" value="2" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<div style="display: flex; justify-content: space-between; margin-bottom: 20px;">
<div>

14
src/views/work/components/MailDialog.vue

@ -545,6 +545,14 @@
<Print />
</div>
<div v-if="!disabled && !completionBtnFlag">
<el-button
type="danger"
:plain="true"
size="large"
@click="handleAction('return')"
v-if="flowNode.key === 'first_sign' && mail.source === '厅长信箱'"
>信件退回</el-button
>
<template
v-if="
workType === 'processing' ||
@ -999,14 +1007,14 @@ async function handleAction(key) {
reportLeaderShow.value = true;
return;
}
if (mailTypeFormRef.value && key !== "mail110RejectSubmit") {
await mailTypeFormRef.value.validate();
}
if (coHandlingRef.value) {
await coHandlingRef.value.validate();
requestData.value.workId = props.workId;
}
if (key !== "returnSubmit") {
if (mailTypeFormRef.value && key !== "mail110RejectSubmit") {
await mailTypeFormRef.value.validate();
}
if (deptSelectFormRef.value) {
await deptSelectFormRef.value.validate();
}

15
src/views/work/components/ReportLeader.vue

@ -5,7 +5,7 @@
:model="form"
:rules="rules"
ref="formRef"
style="height: 20vh"
style="height: 40vh"
>
<el-form-item
label="选择呈报领导"
@ -16,6 +16,9 @@
<el-option v-for="item in leaders" :value="item.empNo" :label="item.postTitle + '-' + item.name" :key="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="审批意见" prop="approvalComment">
<el-input v-model="form.approvalComment" type="textarea" :rows="3" placeholder="请输入审批意见"></el-input>
</el-form-item>
</el-form>
<footer class="flex end">
<el-button type="primary" size="large" @click="submit"
@ -29,13 +32,19 @@ import { listByMunicipalDeptLeader } from "@/api/perms/admin";
const form = reactive({})
const formRef = ref()
const leaderEmpNo = {
reason: [
const rules = {
leaderEmpNo: [
{
required: true,
message: "请选择呈报的领导",
},
],
approvalComment: [
{
required: true,
message: "请填写审批意见",
},
],
}
const leaders = ref([])
const emits = defineEmits(["update:data", "submit", "close"])

Loading…
Cancel
Save