From 2175a82f6c770858f13325a1da671283386cd81b Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Thu, 19 Jun 2025 17:38:54 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B5=81=E7=A8=8B=E5=AE=A1=E6=89=B9=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=A2=9E=E5=8A=A0=E8=80=83=E6=A0=B8=E5=AE=9E=E6=96=BD?= =?UTF-8?q?=E3=80=81=E6=8C=87=E6=A0=87=E8=80=83=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.development | 2 +- src/api/bpm/index.ts | 48 +++- src/api/humanResource/clockin/index.ts | 11 + src/pages-bpm/khss/index.vue | 230 +++++++++++++++++++ src/pages-bpm/zbkh/index.vue | 178 ++++++++++---- src/pages-humanResource/absence/index.vue | 1 - src/pages-process/components/DynamicLink.vue | 39 ++-- src/pages.json | 4 + src/pages/user/people.vue | 37 ++- src/store/index.ts | 4 + src/types/uni-pages.d.ts | 1 + src/utils/index.ts | 1 + 12 files changed, 479 insertions(+), 77 deletions(-) create mode 100644 src/api/humanResource/clockin/index.ts create mode 100644 src/pages-bpm/khss/index.vue diff --git a/env/.env.development b/env/.env.development index 375d2cf..09ee786 100644 --- a/env/.env.development +++ b/env/.env.development @@ -4,6 +4,6 @@ NODE_ENV = 'development' VITE_DELETE_CONSOLE = false # 是否开启sourcemap VITE_SHOW_SOURCEMAP = true -VITE_SERVER_BASEURL = 'http://10.75.15.247:8080/jeecg-boot' +VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' #VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot' \ No newline at end of file diff --git a/src/api/bpm/index.ts b/src/api/bpm/index.ts index 716e0d0..c7cc202 100644 --- a/src/api/bpm/index.ts +++ b/src/api/bpm/index.ts @@ -29,11 +29,11 @@ export function queryZbkhZbByIdApi(id : string) { } /*通过id查询指标考核子表数据*/ -export function queryZbkhFbByIdApi(mainId : string) { +export function queryZbkhFbByIdApi(data : object) { return http({ url: '/jxkh.zbkh/cxcJxkhZbkhZb/listCxcJxkhZbkhDwkhByMainId', method: 'GET', - data: { mainId } + data }) } @@ -46,3 +46,47 @@ export function queryZbkhBtByIdApi(mainId : string) { }) } +/*通过id查询考核实施主表数据*/ +export function queryKhssZbByIdApi(id : string) { + return http({ + url: '/jxkh.khss/cxcJxkhXhss/getAllById', + method: 'GET', + data: { id } + }) +} + + /*通过id查询考核实施主表自定义表头*/ + export function queryKhssZbBtByIdApi(mainId : string) { + return http({ + url: '/jxkh.jxkh/cxcJxkhKhssKhjxZb/getByMainId', + method: 'GET', + data: { mainId } + }) + } + + /*通过id查询考核实施子表数据*/ + export function queryKhssFbByIdApi(data : object) { + return http({ + url: '/jxkh.khss/cxcJxkhXhss/selectAllByMainId', + method: 'GET', + data + }) + } + + /*通过id查询总金额*/ + export function queryKhssAllSumByIdApi(mainId : string) { + return http({ + url: '/jxkh.khss/cxcJxkhXhss/getAllSum', + method: 'GET', + data: { mainId } + }) + } + + /*通过id查询考核实子表自定义表头*/ + export function queryKhssFbBtByIdApi(mainId : string) { + return http({ + url: '/jxkh.jxfp.bt/cxcJxkhJxfbBtZb/listByMainId', + method: 'GET', + data: { mainId } + }) + } diff --git a/src/api/humanResource/clockin/index.ts b/src/api/humanResource/clockin/index.ts new file mode 100644 index 0000000..57c1f37 --- /dev/null +++ b/src/api/humanResource/clockin/index.ts @@ -0,0 +1,11 @@ +import { http } from '@/utils/http'; + + +/*新增打卡记录*/ +export function addApi(config : Object) { + return http({ + url: '/cxc_rlzy.wbxm.wbdk/cxcRlzyWbdk/add', + method: 'POST', + data: config + }) +} \ No newline at end of file diff --git a/src/pages-bpm/khss/index.vue b/src/pages-bpm/khss/index.vue new file mode 100644 index 0000000..0f7ba0d --- /dev/null +++ b/src/pages-bpm/khss/index.vue @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + 考核公报 + + + {{getFilename(zbInfo.bmKhgb)}} + + + + + + + + 已分配金额: {{ sumJx }} + 待分配金额: {{ (allJx - 0) - (sumJx - 0) }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages-bpm/zbkh/index.vue b/src/pages-bpm/zbkh/index.vue index 1b27d63..940d603 100644 --- a/src/pages-bpm/zbkh/index.vue +++ b/src/pages-bpm/zbkh/index.vue @@ -1,46 +1,57 @@ - - - - - - - - - - - - - {{zbInfo.evaluationMethod}} - - - - - 考核附件 - - - - {{zbInfo.khfj}} - - - - - - - + + + + + + + + + {{zbInfo.templetName_dictText}} + + + + + {{zbInfo.evaluationMethod}} + + - 附件 + 考核附件 - - {{getFilename(fbItem.annex)}} + + {{getFilename(zbInfo.khfj)}} - - + + + + + + + + + 附件 + + + + {{getFilename(fbItem.annex)}} + + + + + + + + + + + + + - \ No newline at end of file diff --git a/src/pages-humanResource/absence/index.vue b/src/pages-humanResource/absence/index.vue index b383575..23df1bd 100644 --- a/src/pages-humanResource/absence/index.vue +++ b/src/pages-humanResource/absence/index.vue @@ -118,7 +118,6 @@ pageSize }).then((res) => { if (res.success) { - console.log('----',res.result.records) list.value = [...list.value, ...res.result.records] } loading = false diff --git a/src/pages-process/components/DynamicLink.vue b/src/pages-process/components/DynamicLink.vue index a0fe46a..3347dac 100644 --- a/src/pages-process/components/DynamicLink.vue +++ b/src/pages-process/components/DynamicLink.vue @@ -1,13 +1,16 @@ - + 该模块暂未建立审批页面! + + + + diff --git a/src/pages.json b/src/pages.json index c5bf3e1..88e5087 100644 --- a/src/pages.json +++ b/src/pages.json @@ -525,6 +525,10 @@ "path": "document/index", "type": "page" }, + { + "path": "khss/index", + "type": "page" + }, { "path": "leaveApplication/index", "type": "page" diff --git a/src/pages/user/people.vue b/src/pages/user/people.vue index f4d1354..ab17ebb 100644 --- a/src/pages/user/people.vue +++ b/src/pages/user/people.vue @@ -52,9 +52,7 @@