From 9d2304f04ee036a386c1db71a7e03b0a01beba9b Mon Sep 17 00:00:00 2001 From: HanLong <404402223@qq.com> Date: Sun, 25 Jan 2026 09:53:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A1=A3=E6=A1=88=E7=AE=A1=E7=90=86][?= =?UTF-8?q?=E4=BE=9B=E8=AF=95=E5=93=81=E6=A1=A3=E6=A1=88]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/gsp/gsp.js | 1 + src/api/business/gsp/gspArchive.js | 74 ++++ src/api/business/gsp/gspFfjlArchive.js | 74 ++++ src/api/business/gsp/gspRkjlArchive.js | 74 ++++ src/lang/en/business/resource/gsp.js | 9 + src/lang/zh/business/resource/gsp.js | 9 + src/views/business/archive/gsp/comps/ffjlList.vue | 389 +++++------------ src/views/business/archive/gsp/comps/gspList.vue | 466 +++++---------------- src/views/business/archive/gsp/comps/rkjlList.vue | 375 +++++------------ src/views/business/resource/gsp/comps/ffjlList.vue | 17 +- src/views/business/resource/gsp/comps/gsp/Ff.vue | 35 +- src/views/business/resource/gsp/comps/gsp/Gh.vue | 4 +- 12 files changed, 586 insertions(+), 941 deletions(-) create mode 100644 src/api/business/gsp/gspArchive.js create mode 100644 src/api/business/gsp/gspFfjlArchive.js create mode 100644 src/api/business/gsp/gspRkjlArchive.js diff --git a/src/api/business/gsp/gsp.js b/src/api/business/gsp/gsp.js index 228ac6f..5750ed8 100644 --- a/src/api/business/gsp/gsp.js +++ b/src/api/business/gsp/gsp.js @@ -9,6 +9,7 @@ export function list(query) { }) } + // 试验物资列表 export function studyList(query) { return request({ diff --git a/src/api/business/gsp/gspArchive.js b/src/api/business/gsp/gspArchive.js new file mode 100644 index 0000000..f3fa02a --- /dev/null +++ b/src/api/business/gsp/gspArchive.js @@ -0,0 +1,74 @@ +import request from '@/utils/request' + + +// 档案列表 +export function list(query) { + return request({ + url: '/system/business/gspArchive/list', + method: 'get', + params: query + }) +} + +// 同意归档 +export function tygd(data) { + return request({ + url: '/system/business/gspArchive/gd/agree', + method: 'post', + data: data + }) +} + +// 拒绝归档 +export function jjgd(data) { + return request({ + url: '/system/business/gspArchive/gd/refuse', + method: 'post', + data: data + }) +} + +// 同意解档 +export function tyjd(data) { + return request({ + url: '/system/business/gspArchive/jd/agree', + method: 'post', + data: data + }) +} + +// 拒绝解档 +export function jjjd(data) { + return request({ + url: '/system/business/gspArchive/jd/agree', + method: 'post', + data: data + }) +} + +// 同意借阅 +export function tyjy(data) { + return request({ + url: '/system/business/gspArchive/jy/agree', + method: 'post', + data: data + }) +} + +// 拒绝借阅 +export function jjjy(data) { + return request({ + url: '/system/business/gspArchive/jy/refuse', + method: 'post', + data: data + }) +} + +// 确认归还 +export function qrgh(data) { + return request({ + url: '/system/business/gspArchive/gh', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/business/gsp/gspFfjlArchive.js b/src/api/business/gsp/gspFfjlArchive.js new file mode 100644 index 0000000..9d68461 --- /dev/null +++ b/src/api/business/gsp/gspFfjlArchive.js @@ -0,0 +1,74 @@ +import request from '@/utils/request' + + +// 档案列表 +export function list(query) { + return request({ + url: '/system/business/gspRkjlArchive/list', + method: 'get', + params: query + }) +} + +// 同意归档 +export function tygd(data) { + return request({ + url: '/system/business/gspRkjlArchive/gd/agree', + method: 'post', + data: data + }) +} + +// 拒绝归档 +export function jjgd(data) { + return request({ + url: '/system/business/gspRkjlArchive/gd/refuse', + method: 'post', + data: data + }) +} + +// 同意解档 +export function tyjd(data) { + return request({ + url: '/system/business/gspRkjlArchive/jd/agree', + method: 'post', + data: data + }) +} + +// 拒绝解档 +export function jjjd(data) { + return request({ + url: '/system/business/gspRkjlArchive/jd/agree', + method: 'post', + data: data + }) +} + +// 同意借阅 +export function tyjy(data) { + return request({ + url: '/system/business/gspRkjlArchive/jy/agree', + method: 'post', + data: data + }) +} + +// 拒绝借阅 +export function jjjy(data) { + return request({ + url: '/system/business/gspRkjlArchive/jy/refuse', + method: 'post', + data: data + }) +} + +// 确认归还 +export function qrgh(data) { + return request({ + url: '/system/business/gspRkjlArchive/gh', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/business/gsp/gspRkjlArchive.js b/src/api/business/gsp/gspRkjlArchive.js new file mode 100644 index 0000000..9d68461 --- /dev/null +++ b/src/api/business/gsp/gspRkjlArchive.js @@ -0,0 +1,74 @@ +import request from '@/utils/request' + + +// 档案列表 +export function list(query) { + return request({ + url: '/system/business/gspRkjlArchive/list', + method: 'get', + params: query + }) +} + +// 同意归档 +export function tygd(data) { + return request({ + url: '/system/business/gspRkjlArchive/gd/agree', + method: 'post', + data: data + }) +} + +// 拒绝归档 +export function jjgd(data) { + return request({ + url: '/system/business/gspRkjlArchive/gd/refuse', + method: 'post', + data: data + }) +} + +// 同意解档 +export function tyjd(data) { + return request({ + url: '/system/business/gspRkjlArchive/jd/agree', + method: 'post', + data: data + }) +} + +// 拒绝解档 +export function jjjd(data) { + return request({ + url: '/system/business/gspRkjlArchive/jd/agree', + method: 'post', + data: data + }) +} + +// 同意借阅 +export function tyjy(data) { + return request({ + url: '/system/business/gspRkjlArchive/jy/agree', + method: 'post', + data: data + }) +} + +// 拒绝借阅 +export function jjjy(data) { + return request({ + url: '/system/business/gspRkjlArchive/jy/refuse', + method: 'post', + data: data + }) +} + +// 确认归还 +export function qrgh(data) { + return request({ + url: '/system/business/gspRkjlArchive/gh', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/lang/en/business/resource/gsp.js b/src/lang/en/business/resource/gsp.js index 34cb0a2..9618949 100644 --- a/src/lang/en/business/resource/gsp.js +++ b/src/lang/en/business/resource/gsp.js @@ -111,6 +111,8 @@ export default { ffjlxq: '发放回收记录详情', dr: 'Import', gd: '归档', + sqr: 'Manager', + gdsqsj: 'Archive Application Date', bjgsp: 'Edit', xzgsp: 'Add', @@ -130,4 +132,11 @@ export default { jsgsprkjl: '解锁供试品入库记录', sdgsprkjl: '锁定供试品入库记录', xzgsprkjl: '新增供试品入库记录', + tygd:'Approve Archiving', + jjgd:'Reject Archiving', + tyjd:'Approve De-archiving', + jjjd:'Reject De-archiving', + tyjy:'Approve Check-out', + jjjy:'Reject Check-out', + qrgh:'Confirm Check-in', } diff --git a/src/lang/zh/business/resource/gsp.js b/src/lang/zh/business/resource/gsp.js index 1c01798..e1a23fa 100644 --- a/src/lang/zh/business/resource/gsp.js +++ b/src/lang/zh/business/resource/gsp.js @@ -115,6 +115,8 @@ export default { ffjlxq: '发放回收记录详情', dr: '导入', gd: '归档', + sqr: '申请人', + gdsqsj: '归档申请时间', bjgsp: '编辑供试品', xzgsp: '新增供试品', @@ -134,5 +136,12 @@ export default { jsgsprkjl: '解锁供试品入库记录', sdgsprkjl: '锁定供试品入库记录', xzgsprkjl: '新增供试品入库记录', + tygd:'同意归档', + jjgd:'拒绝归档', + tyjd:'同意解档', + jjjd:'拒绝解档', + tyjy:'同意借阅', + jjjy:'拒绝借阅', + qrgh:'确认归还', } diff --git a/src/views/business/archive/gsp/comps/ffjlList.vue b/src/views/business/archive/gsp/comps/ffjlList.vue index 13ddffe..9fd312a 100644 --- a/src/views/business/archive/gsp/comps/ffjlList.vue +++ b/src/views/business/archive/gsp/comps/ffjlList.vue @@ -41,18 +41,6 @@ - - - - - - - - {{ $t('form.search') }} {{ $t('form.reset') }} @@ -60,29 +48,8 @@ - - - - {{ - $t('page.business.resource.mjy.plgd') }} - - - - {{ - $t('page.business.resource.mjy.plsd') }} - - - - {{ - $t('form.export') }} - - - - + - - - - - - - - + - - - - - - - - - - - - diff --git a/src/views/business/archive/gsp/comps/gspList.vue b/src/views/business/archive/gsp/comps/gspList.vue index bc0fb5c..272b81e 100644 --- a/src/views/business/archive/gsp/comps/gspList.vue +++ b/src/views/business/archive/gsp/comps/gspList.vue @@ -9,9 +9,9 @@ - - - + + @@ -32,71 +32,19 @@ - - - - - - - + {{ $t('form.search') }} {{ $t('form.reset') }} - - - - {{ - $t('page.business.resource.gsp.gxwzk') }} - - - - {{ - $t('form.add') }} - - - - {{ - $t('page.business.resource.gsp.plff') }} - - - - {{ - $t('page.business.resource.gsp.plcz') }} - - - - {{ - $t('page.business.resource.gsp.ysff') }} - - - - {{ - $t('page.business.resource.gsp.plsd') }} - - - - {{ - $t('page.business.resource.gsp.plgd') }} - - - - {{ - $t('form.export') }} - - - - - + - - - + +