From 6202ab0f4c0658aaa0ae1c0a032ad00065462bcf Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Mon, 14 Oct 2024 08:51:28 +0800 Subject: [PATCH] 1 --- api/api.js | 8 +- api/pages.js | 8 + bpm/leaveApplication/index.vue | 166 ++--- uni_modules/uni-file-picker/changelog.md | 81 +++ .../uni-file-picker/choose-and-upload-file.js | 287 ++++++++ .../uni-file-picker/uni-file-picker.vue | 668 ++++++++++++++++++ .../uni-file-picker/upload-file.vue | 325 +++++++++ .../uni-file-picker/upload-image.vue | 292 ++++++++ .../components/uni-file-picker/utils.js | 110 +++ uni_modules/uni-file-picker/package.json | 84 +++ uni_modules/uni-file-picker/readme.md | 11 + unpackage/dist/dev/app-plus/app-service.js | 297 ++++---- 12 files changed, 2110 insertions(+), 227 deletions(-) create mode 100644 uni_modules/uni-file-picker/changelog.md create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/utils.js create mode 100644 uni_modules/uni-file-picker/package.json create mode 100644 uni_modules/uni-file-picker/readme.md diff --git a/api/api.js b/api/api.js index cca3f7d..149b4ec 100644 --- a/api/api.js +++ b/api/api.js @@ -157,13 +157,7 @@ export function userEditApi(config) { // 用户编辑 }) } -export function qjQueryByIdApi(config) { // 请假流程 - return https({ - url: '/CxcQxj/cxcQxj/queryById', - method: 'get', - data: config - }) -} + export function extActFlowDataApi(config) { // 获取审批流程所需参数 return https({ url: '/process/extActFlowData/getProcessInfo', diff --git a/api/pages.js b/api/pages.js index 3b0353c..2ffee52 100644 --- a/api/pages.js +++ b/api/pages.js @@ -18,4 +18,12 @@ export function queryZwmcAndExaApi(username) { // 根据username获取职位名 username } }) +} + +export function qjQueryByIdApi(config) { // 通过id查询请假数据 流程用 + return https({ + url: '/CxcQxj/cxcQxj/queryById', + method: 'get', + data: config + }) } \ No newline at end of file diff --git a/bpm/leaveApplication/index.vue b/bpm/leaveApplication/index.vue index 8b29ee9..8271a3a 100644 --- a/bpm/leaveApplication/index.vue +++ b/bpm/leaveApplication/index.vue @@ -1,94 +1,92 @@