From b2ca9e61eba3053bd9e3934f7245a74281f2308e Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Wed, 9 Aug 2023 12:05:22 +0800 Subject: [PATCH] 2023-8-9 --- src/api/out/index.js | 3 +- src/views/budget/components/uploadDrawer.vue | 136 +++++++++++++++ src/views/budget/upload.vue | 165 +++++++++++++----- .../contract/components/detailContract.vue | 120 ++++++++++--- .../inOut/component/addExpenseAccount.vue | 81 ++++++++- 5 files changed, 436 insertions(+), 69 deletions(-) create mode 100644 src/views/budget/components/uploadDrawer.vue diff --git a/src/api/out/index.js b/src/api/out/index.js index 5cca3d1..92270d6 100644 --- a/src/api/out/index.js +++ b/src/api/out/index.js @@ -15,12 +15,13 @@ export function getOutDetail({ tbname,out_caigou_id,out_contract_id,out_pay_id,o }) } -export function httpCurl(params,noloading = true,s= '/Api/flowDetail') { +export function httpCurl(params,noloading = true,s= '/Api/flowDetail',method='GET') { return request({ method: 'post', url: '/api/admin/other/http-curl', data: { url: process.env.VUE_APP_OUT_OLD, + method, params: { s, ...params diff --git a/src/views/budget/components/uploadDrawer.vue b/src/views/budget/components/uploadDrawer.vue new file mode 100644 index 0000000..c80da45 --- /dev/null +++ b/src/views/budget/components/uploadDrawer.vue @@ -0,0 +1,136 @@ + + + + + + 所属年份 + + + {{ detail.year }} + + + + + + 相关部门 + + + {{ detail.department ? detail.department.name : '无' }} + + + + + + 上传时间 + + + {{ detail.created_at }} + + + + + 备注 + {{ detail.remark }} + + + + 附件 + + {{ i.original_name }} + + + + + + + + + + + + + + + + diff --git a/src/views/budget/upload.vue b/src/views/budget/upload.vue index 8e24b61..a0a997b 100644 --- a/src/views/budget/upload.vue +++ b/src/views/budget/upload.vue @@ -1,102 +1,177 @@ - - + + - - - 关键字 - - + 关键字 + - 重置 + 重置 - 查询 - 新增 + 查询 + 新增 - { - $refs['addUpload'].id = row.id; - $refs['addUpload'].type = 'editor'; - $refs['addUpload'].show(); - }" - @delete=""> + + + + + + 编辑 + 查看 + + 删除 + + + + + - - + + { + select.page = e; + getList() + }" + show-elevator + show-sizer + @on-page-size-change="e => { + select.page = 1; + select.page_size = e; + getList(); + }" + /> - + + diff --git a/src/views/inOut/component/addExpenseAccount.vue b/src/views/inOut/component/addExpenseAccount.vue index 6c99d6b..9529ca3 100644 --- a/src/views/inOut/component/addExpenseAccount.vue +++ b/src/views/inOut/component/addExpenseAccount.vue @@ -85,6 +85,53 @@ + + + + 备注 + + + + + + + + + 文件 : + + + 选取文件 + 开始上传 + + 支持文件格式:.rar .zip .doc .docx .pdf + 单个文件不能超过500kb + + + + + @@ -152,6 +199,7 @@