diff --git a/src/api/apply/apply/index.ts b/src/api/apply/apply/index.ts index af2e4e64c..dc010f739 100644 --- a/src/api/apply/apply/index.ts +++ b/src/api/apply/apply/index.ts @@ -63,9 +63,20 @@ export const MainApi = { exportMain: async (params) => { return await request.download({ url: `/apply/main/export-excel`, params }) }, - + // 成文 generateDoc: async (id: number)=>{ return await request.download({ url: `/apply/main/generate-doc?id=` + id }) - } - + }, + //提报 + presentingContract: async (params: any) => { + return await request.post({ url: `/apply/main/presentingApply`, params }) + }, + // 审核 + auditContract: async (data: MainVO) => { + return await request.post({ url: `/apply/main/auditApply`, data }) + }, + // 审核记录 + getAuditList: async (params) => { + return await request.get({ url: `/apply/main/getAuditList`, params }) + }, } diff --git a/src/api/publicLab/publicLab/index.ts b/src/api/publicLab/publicLab/index.ts index bb1d7e0fa..33d73b191 100644 --- a/src/api/publicLab/publicLab/index.ts +++ b/src/api/publicLab/publicLab/index.ts @@ -6,7 +6,7 @@ export interface VO { userName: string // 用户姓名 userContact: string // 用户联系方式 reservationDate: string // 预约日期 - reservationTime: Date // 预约时间 + reservationTime: string // 预约时间 labName: string // 实验室名称 joinPeople: string // 参与人员 equipment: string // 实验内容及设备 diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 6db9c2013..eaccd416e 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -134,6 +134,8 @@ export enum DICT_TYPE { CHANGE_TYPE = 'change_type', //变更-变更类型 PATENT_TYPE = 'patent_type',//知识产权-专利类型 LEGAL_STATUS = 'legal_status',//知识产权-法律状态 + LAB_NAME = 'lab_name', //实验室 + EQUIPMENT = 'equipment', //设备 // ========== INFRA 模块 ========== INFRA_BOOLEAN_STRING = 'infra_boolean_string', diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 19054726e..6fa638f07 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -41,7 +41,7 @@ - +
@@ -101,6 +101,7 @@ import { formatTime } from '@/utils' import { useUserStore } from '@/store/modules/user' import type { TodoList, Notice, Message } from './types' import * as NoticeApi from '@/api/system/notice' +import {DICT_TYPE, getStrDictOptions} from "@/utils/dict"; defineOptions({ name: 'Home' }) @@ -116,62 +117,32 @@ let TodoList = reactive([]) const getTodoList = async () => { const data = [ { - name: 'Github', + name: '立项', icon: 'akar-icons:github-fill', url: 'github.io' }, { - name: 'Vue', + name: '任务书', icon: 'logos:vue', url: 'vuejs.org' }, { - name: 'Vite', + name: '执行', icon: 'vscode-icons:file-type-vite', url: 'https://vitejs.dev/' }, { - name: 'Angular', + name: '变更', icon: 'logos:angular-icon', url: 'github.io' }, { - name: 'React', + name: '验收', icon: 'logos:react', url: 'github.io' }, { - name: 'Webpack', - icon: 'logos:webpack', - url: 'github.io' - }, - { - name: 'Github', - icon: 'akar-icons:github-fill', - url: 'github.io' - }, - { - name: 'Vue', - icon: 'logos:vue', - url: 'vuejs.org' - }, - { - name: 'Vite', - icon: 'vscode-icons:file-type-vite', - url: 'https://vitejs.dev/' - }, - { - name: 'Angular', - icon: 'logos:angular-icon', - url: 'github.io' - }, - { - name: 'React', - icon: 'logos:react', - url: 'github.io' - }, - { - name: 'Webpack', + name: '知识产权', icon: 'logos:webpack', url: 'github.io' } diff --git a/src/views/acceptance/acceptance/MainForm.vue b/src/views/acceptance/acceptance/MainForm.vue index 323201b49..21b868cdb 100644 --- a/src/views/acceptance/acceptance/MainForm.vue +++ b/src/views/acceptance/acceptance/MainForm.vue @@ -10,12 +10,12 @@ --> - + - + @@ -28,8 +28,8 @@ - - + + @@ -72,13 +72,13 @@ - + - + @@ -119,7 +119,7 @@ - + @@ -304,4 +304,4 @@ const resetForm = () => { } formRef.value?.resetFields() } - \ No newline at end of file + diff --git a/src/views/acceptance/acceptance/index.vue b/src/views/acceptance/acceptance/index.vue index 288033199..211fb4b8c 100644 --- a/src/views/acceptance/acceptance/index.vue +++ b/src/views/acceptance/acceptance/index.vue @@ -17,19 +17,19 @@ class="!w-240px" /> --> - + - + --> - + --> - + --> - + - + - + - - - + + + + - + - + - - + + - + - + - - - + + +