diff --git a/src/api/perms/admin.ts b/src/api/perms/admin.ts
index 456b9f8..bd5e087 100644
--- a/src/api/perms/admin.ts
+++ b/src/api/perms/admin.ts
@@ -38,11 +38,6 @@ export function adminStatus(params: any) {
}
// 领导列表(正职)
-export function getLeaderList() {
- return request.get({ url: '/system/admin/leader/list'})
-}
-
-// 领导列表(副职)
-export function getDeputyList() {
- return request.get({ url: '/system/admin/leader/list'})
+export function getLeaderList(type) {
+ return request.get({ url: '/system/admin/leader/list?type=' + type})
}
\ No newline at end of file
diff --git a/src/components/LeaderSelect.vue b/src/components/LeaderSelect.vue
index 46bcbcd..72958f2 100644
--- a/src/components/LeaderSelect.vue
+++ b/src/components/LeaderSelect.vue
@@ -12,28 +12,42 @@
\ No newline at end of file
diff --git a/src/components/Upload.vue b/src/components/Upload.vue
index be3ffc6..6e9d024 100644
--- a/src/components/Upload.vue
+++ b/src/components/Upload.vue
@@ -16,9 +16,12 @@
-
+
-
+
@@ -26,6 +29,13 @@
+
+
+
{{ item.orgiinFilename }}
+
+
+
+
@@ -35,13 +45,13 @@ import { getToken } from "@/utils/auth";
const { VITE_API_URL } = process.env;
const props = defineProps({
- value: {
+ modelValue: {
type: Array,
default: () => [],
},
});
-const emit = defineEmits(["update:value"]);
+const emit = defineEmits(["update:modelValue"]);
const files = ref([]);
@@ -56,20 +66,33 @@ function handleSuccess(data, file) {
orgiinFilename: file.name,
type: file.raw.type,
});
- emit("update:value", files.value);
+ emit("update:modelValue", files.value);
}
function remove(index) {
files.value.splice(index, 1);
- emit("update:value", files.value);
+ emit("update:modelValue", files.value);
}
\ No newline at end of file
diff --git a/src/views/work/components/ReviewComments.vue b/src/views/work/components/ReviewComments.vue
index e3a1dc3..3cb4643 100644
--- a/src/views/work/components/ReviewComments.vue
+++ b/src/views/work/components/ReviewComments.vue
@@ -1,5 +1,5 @@
-
+
-
+
props.flowKey, (val) => {
+
if (val === 'second_approval' || val === 'second_deputy_approval') {
selectLeaderVisible.value = true
+ leaderType.value = val === 'second_deputy_approval' ? 'leader' : 'deputy'
+ }
+ if (val === 'second_approval') {
+ leaderType.value = 'deputy'
+ }
+ if (val === 'second_deputy_approval') {
+ leaderType.value = 'leader'
}
})
diff --git a/src/views/work/components/templates/ContactWriterFrom.vue b/src/views/work/components/templates/ContactWriterForm.vue
similarity index 100%
rename from src/views/work/components/templates/ContactWriterFrom.vue
rename to src/views/work/components/templates/ContactWriterForm.vue
diff --git a/src/views/work/components/templates/CountersignForm.vue b/src/views/work/components/templates/CountersignForm.vue
new file mode 100644
index 0000000..a74f05e
--- /dev/null
+++ b/src/views/work/components/templates/CountersignForm.vue
@@ -0,0 +1,9 @@
+
+ 部门会签
+
+
+
\ No newline at end of file
diff --git a/src/views/work/components/templates/InterviewWriterFrom.vue b/src/views/work/components/templates/InterviewWriterForm.vue
similarity index 98%
rename from src/views/work/components/templates/InterviewWriterFrom.vue
rename to src/views/work/components/templates/InterviewWriterForm.vue
index 9229189..4badcaa 100644
--- a/src/views/work/components/templates/InterviewWriterFrom.vue
+++ b/src/views/work/components/templates/InterviewWriterForm.vue
@@ -23,7 +23,7 @@
-
+
diff --git a/src/views/work/components/templates/MailApprovalDetail.vue b/src/views/work/components/templates/MailApprovalDetail.vue
index 6fb5766..4d8430b 100644
--- a/src/views/work/components/templates/MailApprovalDetail.vue
+++ b/src/views/work/components/templates/MailApprovalDetail.vue
@@ -8,7 +8,7 @@
性别
- {{ mail.contactSex === 'M' ? '男' : '女' }}
+ {{ mail.contactSex === "M" ? "男" : "女" }}
证件号码
@@ -20,10 +20,18 @@
-
-
-
-
被举报对象1
+
+
+
+ 被举报人1
{{ item.name }}
@@ -47,21 +55,26 @@
主单位签收时长
- {{ }}
+ {{}}
主单位联系群众时长
- {{ }}
+ {{}}
接访形式
- {{ getDictLable(dictData.interview_type, mail.interviewType) }}
+ {{
+ getDictLable(
+ dictData.interview_type,
+ mail.interviewType
+ )
+ }}
是否一把手接访
- {{ mail.interviewIsLeader ? '是' : '否' }}
+ {{ mail.interviewIsLeader ? "是" : "否" }}
接访领导
@@ -79,17 +92,25 @@
是否属实
- {{ getDictLable(dictData.verifyIsTrue, mail.interviewType) }}
+ {{
+ getDictLable(dictData.verifyIsTrue, mail.interviewType)
+ }}
是否需要问责
- {{ mail.verifyNeedAccountability ? '是':'否' }}
+ {{
+ mail.verifyNeedAccountability ? "是" : "否"
+ }}
-
+
查证属实问题
- {{ item }}
+ {{ item }}
@@ -103,7 +124,11 @@
责任追究
- {{ getDictLable(dictData.verify_punish, item) }}
+ {{ getDictLable(dictData.verify_punish, item) }}
@@ -111,11 +136,16 @@
群众反应事项解决情况
- {{ mail.verifyIsResolved ? '已解决' : '' }}
+ {{ mail.verifyIsResolved ? "已解决" : "" }}
办理反馈情况
- {{ getDictLable(dictData.satisfaction_status, mail.verifyFeedback) }}
+ {{
+ getDictLable(
+ dictData.satisfaction_status,
+ mail.verifyFeedback
+ )
+ }}
@@ -134,14 +164,28 @@
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/work/components/templates/VerifyForm.vue b/src/views/work/components/templates/VerifyForm.vue
index c555bd3..0e7384f 100644
--- a/src/views/work/components/templates/VerifyForm.vue
+++ b/src/views/work/components/templates/VerifyForm.vue
@@ -22,7 +22,7 @@
-
+
添加被举报对象 添加被举报人
@@ -262,6 +262,7 @@ function validate() {
return new Promise((resolve, reject) => {
formRef.value.validate((valid) => {
if (valid) {
+
const verifyReportedPolices = reportedPolices.value.filter(item => item.empNo)
form.value.verifyReportedPolices = JSON.stringify(verifyReportedPolices)
form.value.verifyFollowupPolice = JSON.stringify(form.value.verifyFollowupPolice)