From 88c9aab832407480ad4e0c49c327a7a65bb3d3a4 Mon Sep 17 00:00:00 2001 From: zhoutianchi <1305666981@qq.com> Date: Thu, 5 Feb 2026 18:20:12 +0800 Subject: [PATCH 01/38] 1 --- .../common/import-teacher-other-info.vue | 116 ++++++++++++++++++ .../professionalpartychange/index.vue | 27 ++++ .../index.vue | 18 ++- .../index.vue | 16 +++ .../index.vue | 16 +++ .../professionalteacherhonor/index.vue | 16 +++ .../professionaltitlerelation/index.vue | 16 +++ 7 files changed, 224 insertions(+), 1 deletion(-) create mode 100644 src/views/professional/common/import-teacher-other-info.vue diff --git a/src/views/professional/common/import-teacher-other-info.vue b/src/views/professional/common/import-teacher-other-info.vue new file mode 100644 index 0000000..4ddce74 --- /dev/null +++ b/src/views/professional/common/import-teacher-other-info.vue @@ -0,0 +1,116 @@ + + + + + diff --git a/src/views/professional/professionalpartychange/index.vue b/src/views/professional/professionalpartychange/index.vue index 76651b9..c6a633d 100755 --- a/src/views/professional/professionalpartychange/index.vue +++ b/src/views/professional/professionalpartychange/index.vue @@ -37,6 +37,20 @@ + + +
+ 导入信息 +
+
+ + + + @@ -88,6 +105,7 @@ import { BasicTableProps, useTable } from '/@/hooks/table' import { fetchList } from '/@/api/professional/professionaluser/professionalpartychange' const TeacherNameNo = defineAsyncComponent(() => import('/@/components/TeacherNameNo/index.vue')) +const ImportTeacherOtherInfo = defineAsyncComponent(() => import('/@/views/professional/common/import-teacher-other-info.vue')) // 表格引用 const tableRef = ref() @@ -100,6 +118,10 @@ const search = reactive({ realName: '' }) +// 导入加载状态 +const exportLoading = ref(false) +const importTeacherOtherInfoRef = ref() + // 配置 useTable const state: BasicTableProps = reactive({ pageList: async (params: any) => { @@ -130,6 +152,11 @@ const resetQuery = () => { getDataList() } +// 打开导入弹窗 +const handleImportDialog = () => { + importTeacherOtherInfoRef.value?.init('partyChange') +} + // 表格数据由 useTable(createdIsNeed 默认 true)在挂载时自动请求 diff --git a/src/views/professional/professionalqualificationrelation/index.vue b/src/views/professional/professionalqualificationrelation/index.vue index 0f26e2c..d3d2ee2 100644 --- a/src/views/professional/professionalqualificationrelation/index.vue +++ b/src/views/professional/professionalqualificationrelation/index.vue @@ -73,6 +73,14 @@ @click="handleDownLoadWord" :loading="exportLoading" >导出信息 + 导入信息
+
@@ -234,6 +243,7 @@ const AuditState = defineAsyncComponent(() => import('/@/components/AuditState/i const DataForm = defineAsyncComponent(() => import('./form.vue')) const ProfessionalBackResaon = defineAsyncComponent(() => import('/@/views/professional/common/professional-back-resaon.vue')) const previewFile = defineAsyncComponent(() => import('/@/components/tools/preview-file.vue')) +const ImportTeacherOtherInfo = defineAsyncComponent(() => import('/@/views/professional/common/import-teacher-other-info.vue')) // 审核状态选项 const auditStateOptions = PROFESSIONAL_AUDIT_STATE_OPTIONS @@ -265,8 +275,9 @@ const search = reactive({ // 材料预览 const imgUrl = ref>([]) -// 导出加载状态 +// 导出/导入加载状态 const exportLoading = ref(false) +const importTeacherOtherInfoRef = ref() // 资格等级和工种列表 const qualificationLevelList = ref([]) @@ -414,6 +425,11 @@ const getWorkTypeName = (id: string | number) => { return item ? item.workName : '-' } +// 打开导入弹窗 +const handleImportDialog = () => { + importTeacherOtherInfoRef.value?.init('quaRelation') +} + // 加载字典数据 const loadDictData = async () => { try { diff --git a/src/views/professional/professionalteacheracademicrelation/index.vue b/src/views/professional/professionalteacheracademicrelation/index.vue index 3add3a9..54e60bc 100755 --- a/src/views/professional/professionalteacheracademicrelation/index.vue +++ b/src/views/professional/professionalteacheracademicrelation/index.vue @@ -69,6 +69,14 @@ @click="handleDownLoadWord" :loading="exportLoading">导出信息 + 导入信息 + @@ -218,6 +226,7 @@ + @@ -245,6 +254,7 @@ const AuditState = defineAsyncComponent(() => import('/@/components/AuditState/i const DataForm = defineAsyncComponent(() => import('./form.vue')) const ProfessionalBackResaon = defineAsyncComponent(() => import('/@/views/professional/common/professional-back-resaon.vue')) const previewFile = defineAsyncComponent(() => import('/@/components/tools/preview-file.vue')) +const ImportTeacherOtherInfo = defineAsyncComponent(() => import('/@/views/professional/common/import-teacher-other-info.vue')) // 审核状态选项 const auditStateOptions = PROFESSIONAL_AUDIT_STATE_OPTIONS @@ -279,6 +289,7 @@ const imgUrl = ref>([]) // 导出加载状态 const exportLoading = ref(false) +const importTeacherOtherInfoRef = ref() // 学位、学历和教育类型列表 const degreeList = ref([]) @@ -442,6 +453,11 @@ const getEducationTypeName = (id: string | number | undefined) => { return item ? item.name : '-' } +// 打开导入弹窗 +const handleImportDialog = () => { + importTeacherOtherInfoRef.value?.init('eduDegree') +} + // 加载字典数据 const loadDictData = async () => { try { diff --git a/src/views/professional/professionalteachercertificaterelation/index.vue b/src/views/professional/professionalteachercertificaterelation/index.vue index 5aff00a..5a4253a 100755 --- a/src/views/professional/professionalteachercertificaterelation/index.vue +++ b/src/views/professional/professionalteachercertificaterelation/index.vue @@ -69,6 +69,14 @@ @click="handleDownLoadWord" :loading="exportLoading">导出信息 + 导入信息 + @@ -188,6 +196,7 @@ + @@ -213,6 +222,7 @@ const AuditState = defineAsyncComponent(() => import('/@/components/AuditState/i const DataForm = defineAsyncComponent(() => import('./form.vue')) const ProfessionalBackResaon = defineAsyncComponent(() => import('/@/views/professional/common/professional-back-resaon.vue')) const previewFile = defineAsyncComponent(() => import('/@/components/tools/preview-file.vue')) +const ImportTeacherOtherInfo = defineAsyncComponent(() => import('/@/views/professional/common/import-teacher-other-info.vue')) // 审核状态选项(独立定义,防止其他页面修改时被波及) import type { StateOption } from '/@/components/AuditState/index.vue' @@ -247,6 +257,7 @@ const imgUrl = ref>([]) // 导出加载状态 const exportLoading = ref(false) +const importTeacherOtherInfoRef = ref() // 证书列表 const certificateList = ref([]) @@ -385,6 +396,11 @@ const getCertificateName = (id: string | number) => { return item ? item.cretificateName : '-' } +// 打开导入弹窗 +const handleImportDialog = () => { + importTeacherOtherInfoRef.value?.init('cerRelation') +} + // 加载字典数据 const loadDictData = async () => { try { diff --git a/src/views/professional/professionalteacherhonor/index.vue b/src/views/professional/professionalteacherhonor/index.vue index 736b523..bb265d6 100755 --- a/src/views/professional/professionalteacherhonor/index.vue +++ b/src/views/professional/professionalteacherhonor/index.vue @@ -68,6 +68,14 @@ @click="handleDownLoadWord" :loading="exportLoading">导出信息 + 导入信息 + @@ -216,6 +224,7 @@ + @@ -241,6 +250,7 @@ const DetailPopover = defineAsyncComponent(() => import('/@/components/DetailPop const ProfessionalBackResaon = defineAsyncComponent(() => import('/@/views/professional/common/professional-back-resaon.vue')) const DataForm = defineAsyncComponent(() => import('./form.vue')) const previewFile = defineAsyncComponent(() => import('/@/components/tools/preview-file.vue')) +const ImportTeacherOtherInfo = defineAsyncComponent(() => import('/@/views/professional/common/import-teacher-other-info.vue')) // 消息提示 hooks const message = useMessage() @@ -281,6 +291,7 @@ const imgUrl = ref>([]) // 导出加载状态 const exportLoading = ref(false) +const importTeacherOtherInfoRef = ref() // 配置 useTable const state: BasicTableProps = reactive({ @@ -407,6 +418,11 @@ const handleDownLoadWord = async () => { } } +// 打开导入弹窗 +const handleImportDialog = () => { + importTeacherOtherInfoRef.value?.init('honor') +} + // 表格数据由 useTable(createdIsNeed 默认 true)在挂载时自动请求 diff --git a/src/views/professional/professionaltitlerelation/index.vue b/src/views/professional/professionaltitlerelation/index.vue index 2ba74ec..ba4e06d 100755 --- a/src/views/professional/professionaltitlerelation/index.vue +++ b/src/views/professional/professionaltitlerelation/index.vue @@ -104,6 +104,14 @@ @click="handleDownLoadWord" :loading="exportLoading" >导出信息 + 导入信息 +
+ +
@@ -265,6 +275,7 @@ const MultiDialog = defineAsyncComponent(() => import('/@/views/professional/tea const DataForm = defineAsyncComponent(() => import('./form.vue')) const ProfessionalBackResaon = defineAsyncComponent(() => import('/@/views/professional/common/professional-back-resaon.vue')) const previewFile = defineAsyncComponent(() => import('/@/components/tools/preview-file.vue')) +const ImportTeacherOtherInfo = defineAsyncComponent(() => import('/@/views/professional/common/import-teacher-other-info.vue')) // 无权限即无节点:使用 useAuth + v-if const { hasAuth } = useAuth() @@ -462,6 +473,11 @@ const loadDictData = async () => { } } +const importTeacherOtherInfoRef=ref() +const handleImportDialog = () => { + importTeacherOtherInfoRef.value?.init('titleRelation') +} + // 初始化:仅加载下拉字典,表格数据由 useTable 在 createdIsNeed: true 时自动请求 onMounted(async () => { await loadDictData() From 7efb43a4cb6e5a203aa1bee997dc87b65ccbebcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Thu, 5 Feb 2026 23:11:38 +0800 Subject: [PATCH 02/38] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B1=A5=E7=BA=A6?= =?UTF-8?q?=E8=AF=84=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/purchase/purchasingAccept.ts | 67 +++ .../accept/AcceptBatchForm.vue | 199 +++++++++ .../accept/AcceptCommonForm.vue | 165 +++++++ .../accept/PurchasingAcceptModal.vue | 405 ++++++++++++++++++ .../finance/purchasingrequisition/index.vue | 23 +- 5 files changed, 857 insertions(+), 2 deletions(-) create mode 100644 src/views/finance/purchasingrequisition/accept/AcceptBatchForm.vue create mode 100644 src/views/finance/purchasingrequisition/accept/AcceptCommonForm.vue create mode 100644 src/views/finance/purchasingrequisition/accept/PurchasingAcceptModal.vue diff --git a/src/api/purchase/purchasingAccept.ts b/src/api/purchase/purchasingAccept.ts index ee54321..6ca9182 100644 --- a/src/api/purchase/purchasingAccept.ts +++ b/src/api/purchase/purchasingAccept.ts @@ -67,6 +67,73 @@ export function putObj(obj?: Object) { }) } +// ========== 履约验收流程接口 ========== + +/** + * 第一步:保存履约验收公共配置,按分期次数自动生成批次 + */ +export function saveCommonConfig(data: any) { + return request({ + url: '/purchase/purchasingAccept/saveCommonConfig', + method: 'post', + data + }) +} + +/** + * 获取履约验收公共配置及批次列表 + */ +export function getCommonConfigWithBatches(purchaseId: string) { + return request({ + url: '/purchase/purchasingAccept/commonConfigWithBatches', + method: 'get', + params: { purchaseId } + }) +} + +/** + * 第二步:更新单个批次 + */ +export function updateBatch(data: any) { + return request({ + url: '/purchase/purchasingAccept/updateBatch', + method: 'put', + data + }) +} + +/** + * 获取验收详情(含验收内容、验收小组) + */ +export function getDetail(purchaseId: string, batch?: number) { + return request({ + url: '/purchase/purchasingAccept/detail', + method: 'get', + params: { purchaseId, batch } + }) +} + +/** + * 是否允许填报方式(金额<30万) + */ +export function canFillForm(purchaseId: string) { + return request({ + url: '/purchase/purchasingAccept/canFillForm', + method: 'get', + params: { purchaseId } + }) +} + +/** + * 根据品目类型获取验收项配置 + */ +export function getAcceptanceItems(acceptanceType: string) { + return request({ + url: `/purchase/acceptanceItemConfig/listByType/${acceptanceType}`, + method: 'get' + }) +} + // ========== 工具函数 ========== /** diff --git a/src/views/finance/purchasingrequisition/accept/AcceptBatchForm.vue b/src/views/finance/purchasingrequisition/accept/AcceptBatchForm.vue new file mode 100644 index 0000000..eeb0b9f --- /dev/null +++ b/src/views/finance/purchasingrequisition/accept/AcceptBatchForm.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/src/views/finance/purchasingrequisition/accept/AcceptCommonForm.vue b/src/views/finance/purchasingrequisition/accept/AcceptCommonForm.vue new file mode 100644 index 0000000..696ac1a --- /dev/null +++ b/src/views/finance/purchasingrequisition/accept/AcceptCommonForm.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/src/views/finance/purchasingrequisition/accept/PurchasingAcceptModal.vue b/src/views/finance/purchasingrequisition/accept/PurchasingAcceptModal.vue new file mode 100644 index 0000000..af263a2 --- /dev/null +++ b/src/views/finance/purchasingrequisition/accept/PurchasingAcceptModal.vue @@ -0,0 +1,405 @@ + + + + + diff --git a/src/views/finance/purchasingrequisition/index.vue b/src/views/finance/purchasingrequisition/index.vue index d67529e..850585b 100644 --- a/src/views/finance/purchasingrequisition/index.vue +++ b/src/views/finance/purchasingrequisition/index.vue @@ -191,7 +191,7 @@ - - +
@@ -257,6 +264,9 @@ ref="formDialogRef" :dict-data="dictData" @refresh="getDataList" /> + + + @@ -268,10 +278,11 @@ import { getPage, delObj } from "/@/api/finance/purchasingrequisition"; import { useMessage, useMessageBox } from "/@/hooks/message"; import { getDicts } from '/@/api/admin/dict'; import { getTree } from '/@/api/finance/purchasingcategory'; -import { List, Document, DocumentCopy, Search, Collection, Money, CircleCheck, InfoFilled, Calendar, OfficeBuilding, Warning } from '@element-plus/icons-vue' +import { List, Document, DocumentCopy, Search, Collection, Money, CircleCheck, InfoFilled, Calendar, OfficeBuilding, Warning, DocumentChecked } from '@element-plus/icons-vue' // 引入组件 const FormDialog = defineAsyncComponent(() => import('./form.vue')); +const PurchasingAcceptModal = defineAsyncComponent(() => import('./accept/PurchasingAcceptModal.vue')); // 字典数据和品目树数据 const dictData = ref({ @@ -288,6 +299,7 @@ const dictData = ref({ const router = useRouter() const tableRef = ref() const formDialogRef = ref() +const acceptModalRef = ref() const searchFormRef = ref() const showSearch = ref(true) const showAddIframe = ref(false) @@ -361,6 +373,13 @@ const handleIframeMessage = (event: MessageEvent) => { } }; +/** + * 履约验收 + */ +const handleAccept = (row: any) => { + acceptModalRef.value?.open(row); +}; + /** * 删除当前行 * @param row - 当前行数据 From de2d64210f4df24f56e5fc8298f74968807fd2c4 Mon Sep 17 00:00:00 2001 From: RISE Date: Fri, 6 Feb 2026 00:04:33 +0800 Subject: [PATCH 03/38] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/finance/purchasingrequisition.ts | 12 + src/views/basic/basicstudent/index.vue | 61 +- .../finance/purchasingrequisition/form.vue | 925 +++++++++++++++--- .../finance/purchasingrequisition/index.vue | 27 +- src/views/stuwork/dormhygienedaily/form.vue | 31 +- src/views/stuwork/dormreform/form.vue | 37 +- .../stuwork/dormroomstudent/transfer.vue | 3 +- src/views/stuwork/rewarddorm/index.vue | 134 +-- src/views/stuwork/rewardrule/index.vue | 58 +- src/views/stuwork/rewardstudent/index.vue | 115 ++- src/views/stuwork/stucare/index.vue | 132 +-- src/views/stuwork/stuconduct/index.vue | 158 +-- src/views/stuwork/stupunlish/index.vue | 190 ++-- src/views/stuwork/stuunionleague/index.vue | 116 +-- src/views/stuwork/tuitionfreestu/index.vue | 172 ++-- src/views/stuwork/waterdetail/index.vue | 175 ++-- src/views/stuwork/waterorder/index.vue | 136 +-- .../stuwork/workstudyattendance/index.vue | 124 +-- 18 files changed, 1712 insertions(+), 894 deletions(-) diff --git a/src/api/finance/purchasingrequisition.ts b/src/api/finance/purchasingrequisition.ts index 3aae8e5..7847f71 100644 --- a/src/api/finance/purchasingrequisition.ts +++ b/src/api/finance/purchasingrequisition.ts @@ -100,3 +100,15 @@ export function delObj(id: number) { }); } +/** + * 获取采购申请附件列表 + * @param purchaseId 采购申请ID + */ +export function getApplyFiles(purchaseId: string | number) { + return request({ + url: '/purchase/purchasingfiles/applyFiles', + method: 'post', + params: { purchaseId } + }); +} + diff --git a/src/views/basic/basicstudent/index.vue b/src/views/basic/basicstudent/index.vue index 1083426..ea2c07e 100644 --- a/src/views/basic/basicstudent/index.vue +++ b/src/views/basic/basicstudent/index.vue @@ -262,13 +262,25 @@ +