diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..0a1310e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "command": "npm run dev", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "type": "msedge", + "request": "launch", + "name": "针对 localhost 启动 Edge", + "url": "http://localhost:48080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/public/5jdf9ITaXT.txt b/public/5jdf9ITaXT.txt new file mode 100644 index 0000000..724b264 --- /dev/null +++ b/public/5jdf9ITaXT.txt @@ -0,0 +1 @@ +eac89fac33e5547940fc4dfb35d9e7e3 \ No newline at end of file diff --git a/public/Tahoma Bold.ttf b/public/Tahoma Bold.ttf new file mode 100644 index 0000000..e4024e2 Binary files /dev/null and b/public/Tahoma Bold.ttf differ diff --git a/public/Tahoma.ttf b/public/Tahoma.ttf new file mode 100644 index 0000000..d204f95 Binary files /dev/null and b/public/Tahoma.ttf differ diff --git a/public/fGlAl0bgD6.txt b/public/fGlAl0bgD6.txt new file mode 100644 index 0000000..3597550 --- /dev/null +++ b/public/fGlAl0bgD6.txt @@ -0,0 +1 @@ +6158f454f1875ca6b7a6dabb0a431fe6 \ No newline at end of file diff --git a/public/fx_bggl.png b/public/fx_bggl.png new file mode 100644 index 0000000..39ed7dd Binary files /dev/null and b/public/fx_bggl.png differ diff --git a/public/fx_qyrz.png b/public/fx_qyrz.png new file mode 100644 index 0000000..b513a58 Binary files /dev/null and b/public/fx_qyrz.png differ diff --git a/src/api/system/jobinfo/index.ts b/src/api/system/jobinfo/index.ts new file mode 100644 index 0000000..4bbb26f --- /dev/null +++ b/src/api/system/jobinfo/index.ts @@ -0,0 +1,50 @@ +import request from '@/config/axios' + +// 工作汇报 VO +export interface JobInfoVO { + id: number // id + title: string // 汇报标题 + content: string // 汇报内容 + jobDate: Date // 汇报日期 + jobName: string // 汇报人姓名 +} + +// 工作汇报 API +export const JobInfoApi = { + // 查询工作汇报分页 + getJobInfoPage: async (params: any) => { + return await request.get({ url: `/system/job-info/page`, params }) + }, + + // 查询工作汇报详情 + getJobInfo: async (id: number) => { + return await request.get({ url: `/system/job-info/get?id=` + id }) + }, + + // 模板信息 + jobDetail: async (id: number) => { + return await request.get({ url: `/system/job-info/jobDetail?id=` + id }) + }, + + // 新增工作汇报 + createJobInfo: async (data: JobInfoVO) => { + return await request.post({ url: `/system/job-info/create`, data }) + }, + + // 修改工作汇报 + updateJobInfo: async (data: JobInfoVO) => { + return await request.put({ url: `/system/job-info/update`, data }) + }, + + // 删除工作汇报 + deleteJobInfo: async (id: number) => { + return await request.delete({ url: `/system/job-info/delete?id=` + id }) + }, + + // 导出工作汇报 Excel + exportJobInfo: async (params) => { + return await request.download({ url: `/system/job-info/export-excel`, params }) + }, + + +} diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index e50de75..c8c0d47 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -3,7 +3,7 @@ @@ -14,7 +14,7 @@ @@ -24,7 +24,7 @@ @@ -56,7 +56,7 @@
@@ -77,7 +77,7 @@
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index dc29426..51b255f 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -38,8 +38,6 @@ - -
@@ -59,13 +57,13 @@ import { LoginForm, MobileForm, QrCodeForm, RegisterForm, SSOLoginVue, ForgetPas defineOptions({ name: 'Login' }) const isIpAccess = ref(false) onMounted(() => { - // const hostname = window.location.hostname - // if(hostname == 'localhost'){ - // isIpAccess.value = true; - // } - // else{ - // isIpAccess.value = /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname) - // } + const hostname = window.location.hostname + if(hostname == 'localhost'){ + isIpAccess.value = true; + } + else{ + isIpAccess.value = /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname) + } // 判断是否为IP地址访问 }) const { t } = useI18n() diff --git a/src/views/system/jobinfo/JobInfoForm.vue b/src/views/system/jobinfo/JobInfoForm.vue new file mode 100644 index 0000000..c471f03 --- /dev/null +++ b/src/views/system/jobinfo/JobInfoForm.vue @@ -0,0 +1,114 @@ + + \ No newline at end of file diff --git a/src/views/system/jobinfo/index.vue b/src/views/system/jobinfo/index.vue new file mode 100644 index 0000000..0f8fd69 --- /dev/null +++ b/src/views/system/jobinfo/index.vue @@ -0,0 +1,201 @@ + + + \ No newline at end of file