From 25264738240b23a80202e4266d8c6f591c92453b Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 10:18:34 +0800 Subject: [PATCH 1/7] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E5=A1=AB=E6=8A=A5=E8=A1=A8=E5=8D=95=E5=8D=95?= =?UTF-8?q?=E5=BC=80=E5=8A=A0=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/utils/index.js | 6 +++--- src/views/business/form/drug/comp/tbbdList.vue | 2 +- src/views/business/form/nonTrial/comp/tbbdList.vue | 2 +- src/views/business/study/comp/tbbdList.vue | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index f73530f..14cabca 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "axios": "0.28.1", "clipboard": "2.0.8", "core-js": "3.37.1", + "crypto-js": "^4.2.0", "echarts": "5.4.0", "element-ui": "2.15.14", "file-saver": "2.0.5", diff --git a/src/utils/index.js b/src/utils/index.js index fd3e206..7df6a5d 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -1,5 +1,5 @@ import { parseTime } from './ruoyi' - +import { encrypt,decrypt } from '@/utils/encryptUtil' /** * 表格时间格式化 */ @@ -390,11 +390,11 @@ export function isNumberStr(str) { // 编码 export function caesarCipher(str) { - return btoa(btoa(str)) + return btoa(encrypt(str)) } // 解码 export function caesarDecipher(str) { - return atob(atob(str)); + return decrypt(atob(str)); } diff --git a/src/views/business/form/drug/comp/tbbdList.vue b/src/views/business/form/drug/comp/tbbdList.vue index 17990e3..2f19a81 100644 --- a/src/views/business/form/drug/comp/tbbdList.vue +++ b/src/views/business/form/drug/comp/tbbdList.vue @@ -321,7 +321,7 @@ export default { studyId: this.searchForm.studyId, formId: null })) - this.$tab.openPage("新增表单", '/drug/formFillBj/' + params) + this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/drug/formFillBj/' + params) }, edit(row) { // this.showEdit = true diff --git a/src/views/business/form/nonTrial/comp/tbbdList.vue b/src/views/business/form/nonTrial/comp/tbbdList.vue index bcddce3..736a207 100644 --- a/src/views/business/form/nonTrial/comp/tbbdList.vue +++ b/src/views/business/form/nonTrial/comp/tbbdList.vue @@ -322,7 +322,7 @@ export default { studyId: this.searchForm.studyId, formId: null })) - this.$tab.openPage("新增表单", '/nonTrial/formFillBj/' + params) + this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/nonTrial/formFillBj/' + params) }, edit(row) { // this.showEdit = true diff --git a/src/views/business/study/comp/tbbdList.vue b/src/views/business/study/comp/tbbdList.vue index a55d84e..d549a4f 100644 --- a/src/views/business/study/comp/tbbdList.vue +++ b/src/views/business/study/comp/tbbdList.vue @@ -329,7 +329,7 @@ export default { studyId: this.searchForm.studyId, id:null })) - this.$tab.openPage("新增表单", '/study/formFillBj/'+params) + this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/'+params) }, edit(row) { // this.showEdit = true From b846fea1c6fe7fdc17a5e08aec1dd296b7463f6c Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 10:26:38 +0800 Subject: [PATCH 2/7] =?UTF-8?q?feat=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E6=96=B0=E5=A2=9E=E5=8A=A0=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/encryptUtil.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/utils/encryptUtil.js diff --git a/src/utils/encryptUtil.js b/src/utils/encryptUtil.js new file mode 100644 index 0000000..9a1d8ce --- /dev/null +++ b/src/utils/encryptUtil.js @@ -0,0 +1,36 @@ +const CRYPTOJSKEY = '7LrjnqHv2mS5Qr5s' +import CryptoJS from 'crypto-js' +export function encrypt(plaintText) { + var plaintText = plaintText + var options = { + mode: CryptoJS.mode.ECB, + padding: CryptoJS.pad.Pkcs7 + } + var key = CryptoJS.enc.Utf8.parse(CRYPTOJSKEY) + var encryptedData = CryptoJS.AES.encrypt(plaintText, key, options) + var encryptedBase64Str = encryptedData.toString().replace(/\//g, '_') + encryptedBase64Str = encryptedBase64Str.replace(/\+/g, '-') + return encryptedBase64Str +} +export function decrypt(encryptedText) { + // 还原 URL 安全字符 + let encryptedBase64Str = encryptedText + .replace(/_/g, '/') // 还原 _ + .replace(/-/g, '+') // 还原 - + // 补充末尾的 =(如果需要) + const mod4 = encryptedBase64Str.length % 4 + if (mod4) { + encryptedBase64Str += '='.repeat(4 - mod4) + } + try { + const key = CryptoJS.enc.Utf8.parse(CRYPTOJSKEY) + const decrypt = CryptoJS.AES.decrypt(encryptedBase64Str, key, { + mode: CryptoJS.mode.ECB, + padding: CryptoJS.pad.Pkcs7 + }) + return CryptoJS.enc.Utf8.stringify(decrypt).toString() + } catch (e) { + console.error('解密失败:', e) + return null + } +} From 24a09ab77f8607fa2c58f366feacedc69ac1c9f9 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 16 Jan 2026 11:03:07 +0800 Subject: [PATCH 3/7] =?UTF-8?q?feat:=20[=E4=B8=AD=E8=8B=B1=E6=96=87]=20pur?= =?UTF-8?q?pose->Meaning=20of=20Signature?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en.js | 2 +- src/lang/en/business/resource/zcg.js | 62 ++++++++++++++-------------- src/lang/en/business/study/studyFormApply.js | 2 +- src/lang/en/business/study/studyFormFill.js | 4 +- src/lang/en/business/study/studyFormPlan.js | 2 +- src/lang/en/business/study/studyFormPre.js | 2 +- src/lang/en/business/study/studyMethod.js | 38 ++++++++--------- 7 files changed, 56 insertions(+), 56 deletions(-) diff --git a/src/lang/en.js b/src/lang/en.js index 4c12898..f600171 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -90,7 +90,7 @@ export default { signer: 'Signed By', signerUser: 'Signed User', signerPsw: 'Password', - qmyy: 'Purpose', + qmyy: 'Meaning of Signature', signTime: '签名时间', remark: 'Comment', reason: 'Reason', diff --git a/src/lang/en/business/resource/zcg.js b/src/lang/en/business/resource/zcg.js index e857632..e163c7d 100644 --- a/src/lang/en/business/resource/zcg.js +++ b/src/lang/en/business/resource/zcg.js @@ -1,32 +1,32 @@ export default { - ysbh: 'Locker', - jyr: 'Key User', - zt: 'Status', - jyz: 'In Use', - wjy: 'Not in Use', - plgh: 'Batch Return', - zcg: 'Locker', - ys1jyr: 'Key 1 User', - ys2jyr: 'Key 2 User', - glyj: 'Contained Substance', - ysff: 'Issue Key', - gh: 'Return', - ysgh: 'Return Key', - ysghts:'请确认是否归还以下钥匙', - ghr1Id:'Key 1 Returner', - ghr1mm:'Key 1 Returner Password', - ghr2Id:'Key 2 Returner', - ghr2mm:'Key 2 Returner Password', - jsr:'接收人', - jsrmm:'接收人密码', - qmyy:'Purpose', - remark:'Comment', - lqr1Id:'Key 1 Recipient', - lqr1mm:'Key 1 Recipient Password', - lqr2Id:'Key 2 Recipient', - lqr2mm:'Key 2 Recipient Password', - ffr:'Issuer', - ffrmm:'Issuer Password', - qysff:'Key Distribution', - qysgh:'Return Key' -} \ No newline at end of file + ysbh: 'Locker', + jyr: 'Key User', + zt: 'Status', + jyz: 'In Use', + wjy: 'Not in Use', + plgh: 'Batch Return', + zcg: 'Locker', + ys1jyr: 'Key 1 User', + ys2jyr: 'Key 2 User', + glyj: 'Contained Substance', + ysff: 'Issue Key', + gh: 'Return', + ysgh: 'Return Key', + ysghts: '请确认是否归还以下钥匙', + ghr1Id: 'Key 1 Returner', + ghr1mm: 'Key 1 Returner Password', + ghr2Id: 'Key 2 Returner', + ghr2mm: 'Key 2 Returner Password', + jsr: '接收人', + jsrmm: '接收人密码', + qmyy: 'Meaning of Signature', + remark: 'Comment', + lqr1Id: 'Key 1 Recipient', + lqr1mm: 'Key 1 Recipient Password', + lqr2Id: 'Key 2 Recipient', + lqr2mm: 'Key 2 Recipient Password', + ffr: 'Issuer', + ffrmm: 'Issuer Password', + qysff: 'Key Distribution', + qysgh: 'Return Key' +} diff --git a/src/lang/en/business/study/studyFormApply.js b/src/lang/en/business/study/studyFormApply.js index 714635d..7e88bb9 100644 --- a/src/lang/en/business/study/studyFormApply.js +++ b/src/lang/en/business/study/studyFormApply.js @@ -18,7 +18,7 @@ export default { bdnr: '表单内容', qmxx: 'Signature information', qmr: 'Signed By', - qmyy: 'Purpose', + qmyy: 'Meaning of Signature', qmsj: 'Date', bzyy: 'Comment/Reason', jcgj: 'Track Record', diff --git a/src/lang/en/business/study/studyFormFill.js b/src/lang/en/business/study/studyFormFill.js index da3e0bc..06394ce 100644 --- a/src/lang/en/business/study/studyFormFill.js +++ b/src/lang/en/business/study/studyFormFill.js @@ -26,7 +26,7 @@ export default { bdnr: '表单内容', qmxx: 'Signature information', qmr: 'Signed By', - qmyy: 'Purpose', + qmyy: 'Meaning of Signature', qmsj: 'Date', bzyy: 'Comment/Reason', jcgj: 'Track Record', @@ -71,5 +71,5 @@ export default { smxz: 'Declaration of Collaboration', bcsm: 'Additional Remark', fztgjj: '废止通过/拒绝', - ysy: 'Reviewed', + ysy: 'Reviewed' } diff --git a/src/lang/en/business/study/studyFormPlan.js b/src/lang/en/business/study/studyFormPlan.js index 5843f4e..6f25798 100644 --- a/src/lang/en/business/study/studyFormPlan.js +++ b/src/lang/en/business/study/studyFormPlan.js @@ -15,7 +15,7 @@ export default { bdnr: '表单内容', qmxx: 'Signature information', qmr: 'Signed By', - qmyy: 'Purpose', + qmyy: 'Meaning of Signature', qmsj: 'Date', bzyy: 'Comment/Reason', jcgj: 'Track Record', diff --git a/src/lang/en/business/study/studyFormPre.js b/src/lang/en/business/study/studyFormPre.js index 3baa4dd..11a451a 100644 --- a/src/lang/en/business/study/studyFormPre.js +++ b/src/lang/en/business/study/studyFormPre.js @@ -19,7 +19,7 @@ export default { bdnr: '表单内容', qmxx: 'Signature information', qmr: 'Signed By', - qmyy: 'Purpose', + qmyy: 'Meaning of Signature', qmsj: 'Date', bzyy: 'Comment/Reason', jcgj: 'Track Record', diff --git a/src/lang/en/business/study/studyMethod.js b/src/lang/en/business/study/studyMethod.js index 33e5bb7..002fcd6 100644 --- a/src/lang/en/business/study/studyMethod.js +++ b/src/lang/en/business/study/studyMethod.js @@ -1,20 +1,20 @@ export default { - ffmc: 'Name', - cjr: 'Creator', - cjsj: 'Creation Date', - scff: 'Upload', - scwj: 'Upload File', - wjm:'Allowed Format: .pdf', - zt: 'Status', - yuedu: 'Read', - daochu: 'Download', - mc: 'Name', - ff: 'Method', - qmhz: '签名汇总', - yidu: 'Read', - weidu: 'Unread', - qmr: 'Signed By', - qmsj: 'Date', - qmyy: 'Purpose', - remark: 'Comment', -} \ No newline at end of file + ffmc: 'Name', + cjr: 'Creator', + cjsj: 'Creation Date', + scff: 'Upload', + scwj: 'Upload File', + wjm: 'Allowed Format: .pdf', + zt: 'Status', + yuedu: 'Read', + daochu: 'Download', + mc: 'Name', + ff: 'Method', + qmhz: '签名汇总', + yidu: 'Read', + weidu: 'Unread', + qmr: 'Signed By', + qmsj: 'Date', + qmyy: 'Meaning of Signature', + remark: 'Comment' +} From e6c0840afffa5418adb218be3913f83903d81b73 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 12:03:42 +0800 Subject: [PATCH 4/7] =?UTF-8?q?feat=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E9=A2=84=E5=A1=AB=E8=A1=A8=E5=8D=95=E5=85=B3?= =?UTF-8?q?=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/study/studyFormPre.js | 30 ++++- src/lang/en/business/form/form.js | 2 + src/lang/en/business/study/studyFormPre.js | 6 +- src/lang/zh/business/form/form.js | 4 +- src/lang/zh/business/study/studyFormPre.js | 6 +- src/views/business/form/drug/comp/ytbdList.vue | 23 +++- src/views/business/form/nonTrial/comp/ytbdList.vue | 22 +++- src/views/business/study/comp/tbbdList.vue | 1 - src/views/business/study/comp/ytbd/Bj.vue | 4 +- src/views/business/study/comp/ytbd/Gb.vue | 116 ++++++++++++++++++ src/views/business/study/comp/ytbd/Qrgb.vue | 132 +++++++++++++++++++++ src/views/business/study/comp/ytbdList.vue | 27 ++++- 12 files changed, 361 insertions(+), 12 deletions(-) create mode 100644 src/views/business/study/comp/ytbd/Gb.vue create mode 100644 src/views/business/study/comp/ytbd/Qrgb.vue diff --git a/src/api/business/study/studyFormPre.js b/src/api/business/study/studyFormPre.js index 4ef2280..0d190d3 100644 --- a/src/api/business/study/studyFormPre.js +++ b/src/api/business/study/studyFormPre.js @@ -107,4 +107,32 @@ export function studyFormPre_updateBdnr(data) { method: 'post', data: data }) -} \ No newline at end of file +} + +//申请关闭 +export function studyFormPre_sqgb(data) { + return request({ + url: '/system/business/studyFormPre/sqgb', + method: 'post', + data: data + }) +} + +//同意关闭 +export function studyFormPre_tygb(data) { + return request({ + url: '/system/business/studyFormPre/tygb', + method: 'post', + data: data + }) +} + +//拒绝关闭 +export function studyFormPre_jjgb(data) { + return request({ + url: '/system/business/studyFormPre/jjgb', + method: 'post', + data: data + }) +} + diff --git a/src/lang/en/business/form/form.js b/src/lang/en/business/form/form.js index d3a17da..0b21a84 100644 --- a/src/lang/en/business/form/form.js +++ b/src/lang/en/business/form/form.js @@ -18,6 +18,8 @@ export default { statusYtj: 'Submitted', statusYtg: 'Approved', statusWtg: 'Rejected', + statusDgb: '待关闭', + statusYgb: '已关闭', audit: 'Approve', detail: 'Enter', diff --git a/src/lang/en/business/study/studyFormPre.js b/src/lang/en/business/study/studyFormPre.js index 11a451a..dd4b031 100644 --- a/src/lang/en/business/study/studyFormPre.js +++ b/src/lang/en/business/study/studyFormPre.js @@ -35,5 +35,9 @@ export default { fzyybd: 'Copy Existing Preset', yes: 'Yes', no: 'No', - zztjyzbd: 'Submit Record Preset' + zztjyzbd: 'Submit Record Preset', + sqgb: '申请关闭', + qrgb: '确认关闭', + gbtgjj:'关闭通过/拒绝', + guanbi:'关闭' } diff --git a/src/lang/zh/business/form/form.js b/src/lang/zh/business/form/form.js index d60dc2b..4b1941c 100644 --- a/src/lang/zh/business/form/form.js +++ b/src/lang/zh/business/form/form.js @@ -18,7 +18,9 @@ export default { statusYtj: '已提交', statusYtg: '已通过', statusWtg: '未通过', - + statusDgb: '待关闭', + statusYgb: '已关闭', + audit: '审核', detail: '表单详情', //填报表单 diff --git a/src/lang/zh/business/study/studyFormPre.js b/src/lang/zh/business/study/studyFormPre.js index 02e8853..207d91a 100644 --- a/src/lang/zh/business/study/studyFormPre.js +++ b/src/lang/zh/business/study/studyFormPre.js @@ -36,5 +36,9 @@ export default { fzyybd: '复制已有表单', yes: '是', no: '否', - zztjyzbd: '制作提交预制表单' + zztjyzbd: '制作提交预制表单', + sqgb: '申请关闭', + qrgb: '确认关闭', + gbtgjj:'关闭通过/拒绝', + guanbi:'关闭' } diff --git a/src/views/business/form/drug/comp/ytbdList.vue b/src/views/business/form/drug/comp/ytbdList.vue index 494972e..b727b96 100644 --- a/src/views/business/form/drug/comp/ytbdList.vue +++ b/src/views/business/form/drug/comp/ytbdList.vue @@ -71,6 +71,8 @@ {{ $t('page.business.form.statusTbz') }} {{ $t('page.business.form.statusYtj') }} {{ $t('page.business.form.statusYtg') }} + {{ $t('page.business.form.statusDgb') }} + {{ $t('page.business.form.statusYgb') }} @@ -102,6 +104,12 @@ {{ $t('page.business.form.audit') }} + + @@ -116,6 +124,10 @@ + + + + @@ -183,6 +195,8 @@ import TemplateTable from '@/views/business/comps/template/TemplateTable'; import Bj from "@/views/business/study/comp/ytbd/Bj"; import Xq from "@/views/business/study/comp/ytbd/Xq"; import Sh from "@/views/business/study/comp/ytbd/Sh"; +import Gb from "@/views/business/study/comp/ytbd/Gb"; +import Qrgb from "@/views/business/study/comp/ytbd/Qrgb"; import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; import Sign from './sign.vue' import moment from "moment"; @@ -218,7 +232,7 @@ export default { deep: true } }, - components: { Bj, Xq, Sh, SelectDeptUser, TemplateTable, Sign }, + components: { Qrgb,Gb,Bj, Xq, Sh, SelectDeptUser, TemplateTable, Sign }, data() { return { formCount: 0, @@ -409,7 +423,12 @@ export default { this.$emit('showDetail', this.showAudit) this.$refs.Sh.show(row) }, - + gb(row) { + this.$refs.Gb.show(row) + }, + qrgb(row) { + this.$refs.Qrgb.show(row) + }, sdsy() { this.$modal.loading() drug_checkSd({ diff --git a/src/views/business/form/nonTrial/comp/ytbdList.vue b/src/views/business/form/nonTrial/comp/ytbdList.vue index 447b16d..c5a52b3 100644 --- a/src/views/business/form/nonTrial/comp/ytbdList.vue +++ b/src/views/business/form/nonTrial/comp/ytbdList.vue @@ -72,6 +72,8 @@ {{ $t('page.business.form.statusTbz') }} {{ $t('page.business.form.statusYtj') }} {{ $t('page.business.form.statusYtg') }} + {{ $t('page.business.form.statusDgb') }} + {{ $t('page.business.form.statusYgb') }} @@ -103,6 +105,12 @@ {{ $t('page.business.form.audit') }} + + @@ -117,6 +125,10 @@ + + + + @@ -184,6 +196,8 @@ import TemplateTable from '@/views/business/comps/template/TemplateTable'; import Bj from "@/views/business/study/comp/ytbd/Bj"; import Xq from "@/views/business/study/comp/ytbd/Xq"; import Sh from "@/views/business/study/comp/ytbd/Sh"; +import Gb from "@/views/business/study/comp/ytbd/Gb"; +import Qrgb from "@/views/business/study/comp/ytbd/Qrgb"; import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; import Sign from './sign.vue' import moment from "moment"; @@ -219,7 +233,7 @@ export default { deep: true } }, - components: { Bj, Xq, Sh, SelectDeptUser, TemplateTable, Sign }, + components: { Qrgb,Gb,Bj, Xq, Sh, SelectDeptUser, TemplateTable, Sign }, data() { return { formCount: 0, @@ -410,6 +424,12 @@ export default { this.$emit('showDetail', this.showAudit) this.$refs.Sh.show(row) }, + gb(row) { + this.$refs.Gb.show(row) + }, + qrgb(row) { + this.$refs.Qrgb.show(row) + }, sdsy() { this.$modal.loading() nonTrial_checkSd({ diff --git a/src/views/business/study/comp/tbbdList.vue b/src/views/business/study/comp/tbbdList.vue index d549a4f..307add3 100644 --- a/src/views/business/study/comp/tbbdList.vue +++ b/src/views/business/study/comp/tbbdList.vue @@ -340,7 +340,6 @@ export default { studyId: this.searchForm.studyId, formId:row.id })) - debugger this.$tab.openPage(row.bdmc, '/study/formFillBj/' +params) }, bjClose() { diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue index c196d4d..b96bf6d 100644 --- a/src/views/business/study/comp/ytbd/Bj.vue +++ b/src/views/business/study/comp/ytbd/Bj.vue @@ -138,7 +138,7 @@ diff --git a/src/views/business/study/comp/ytbd/Qrgb.vue b/src/views/business/study/comp/ytbd/Qrgb.vue new file mode 100644 index 0000000..9835b2a --- /dev/null +++ b/src/views/business/study/comp/ytbd/Qrgb.vue @@ -0,0 +1,132 @@ + + + diff --git a/src/views/business/study/comp/ytbdList.vue b/src/views/business/study/comp/ytbdList.vue index 0c09825..3510d8f 100644 --- a/src/views/business/study/comp/ytbdList.vue +++ b/src/views/business/study/comp/ytbdList.vue @@ -69,6 +69,8 @@ {{ $t('page.business.form.statusYtj') }} {{ $t('page.business.form.statusYtg') }} {{ $t('page.business.form.statusWtg') }} + {{ $t('page.business.form.statusDgb') }} + {{ $t('page.business.form.statusYgb') }} @@ -100,6 +102,14 @@ {{ $t('page.business.form.audit') }} + + @@ -114,6 +124,11 @@ + + + + + @@ -178,6 +193,8 @@ import TemplateTable from '@/views/business/comps/template/TemplateTable'; import Bj from "./ytbd/Bj"; import Xq from "./ytbd/Xq"; import Sh from "./ytbd/Sh"; +import Gb from "./ytbd/Gb"; +import Qrgb from "./ytbd/Qrgb"; import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; import moment from "moment"; import { mapGetters } from 'vuex' @@ -211,7 +228,7 @@ export default { deep: true } }, - components: { Bj, Xq, Sh, SelectDeptUser, TemplateTable }, + components: { Gb, Qrgb, Bj, Xq, Sh, SelectDeptUser, TemplateTable }, data() { return { isMatchSubject: false, @@ -378,7 +395,7 @@ export default { edit(row) { this.showEdit = true this.$emit('showDetail', this.showEdit) - this.$refs.Bj.edit(row) + this.$refs.Bj.edit(_.merge({}, row, { permitForSecectUser: 'business:studyFormPre:sh' })) }, bjClose() { this.showEdit = false @@ -400,6 +417,12 @@ export default { this.$emit('showDetail', this.showDetail) this.$refs.Xq.show(row, false) }, + gb(row) { + this.$refs.Gb.show(row) + }, + qrgb(row) { + this.$refs.Qrgb.show(row) + }, audit(row) { this.showAudit = true this.$emit('showDetail', this.showAudit) From 610365b4311f930d4398bf10e249495211c5ee3c Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 12:30:05 +0800 Subject: [PATCH 5/7] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E9=A2=84=E5=A1=AB=E8=90=BD=E7=AC=94=E7=95=99?= =?UTF-8?q?=E7=97=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/ytbd/Bj.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue index b96bf6d..3f8bf4b 100644 --- a/src/views/business/study/comp/ytbd/Bj.vue +++ b/src/views/business/study/comp/ytbd/Bj.vue @@ -202,8 +202,8 @@ export default { { id: this.form.id, bdnr: JSON.stringify(this.$refs.templateTable.getFilledFormData()), - zdxgjl: JSON.stringify(data.resourceList), - filedValue: JSON.stringify(data.newRecord) + // zdxgjl: JSON.stringify(data.resourceList), + // filedValue: JSON.stringify(data.newRecord) } ).then(response => { }) From df5bedf6448b25e0ded26a1c0a159bd0aa326338 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 14:15:41 +0800 Subject: [PATCH 6/7] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E8=A1=A8?= =?UTF-8?q?=E5=8D=95]=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en/business/form/form.js | 4 ++-- src/lang/en/business/study/studyFormPre.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lang/en/business/form/form.js b/src/lang/en/business/form/form.js index 0b21a84..4e21adb 100644 --- a/src/lang/en/business/form/form.js +++ b/src/lang/en/business/form/form.js @@ -18,8 +18,8 @@ export default { statusYtj: 'Submitted', statusYtg: 'Approved', statusWtg: 'Rejected', - statusDgb: '待关闭', - statusYgb: '已关闭', + statusDgb: 'To be closed', + statusYgb: 'Closed', audit: 'Approve', detail: 'Enter', diff --git a/src/lang/en/business/study/studyFormPre.js b/src/lang/en/business/study/studyFormPre.js index dd4b031..bbbbc4b 100644 --- a/src/lang/en/business/study/studyFormPre.js +++ b/src/lang/en/business/study/studyFormPre.js @@ -36,8 +36,8 @@ export default { yes: 'Yes', no: 'No', zztjyzbd: 'Submit Record Preset', - sqgb: '申请关闭', - qrgb: '确认关闭', - gbtgjj:'关闭通过/拒绝', - guanbi:'关闭' + sqgb: 'Apply Close', + qrgb: 'Confirm Close', + gbtgjj:'Close Approve/Reject', + guanbi:'Close' } From a6d12d76bd7af0838b58374dd8843d0545d05145 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 16 Jan 2026 15:33:48 +0800 Subject: [PATCH 7/7] =?UTF-8?q?feat:=20[=E5=B7=A5=E4=BD=9C=E5=8F=B0]=20?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/home/home.js | 9 +++ src/assets/images/home-icon1.jpg | Bin 0 -> 1499 bytes src/lang/en.js | 3 + src/lang/en/business/home/home.js | 9 +++ src/lang/zh.js | 3 + src/lang/zh/business/home/home.js | 9 +++ src/views/index.vue | 118 +++++++++++++++++++++++++++++++++++++- 7 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 src/api/business/home/home.js create mode 100644 src/assets/images/home-icon1.jpg create mode 100644 src/lang/en/business/home/home.js create mode 100644 src/lang/zh/business/home/home.js diff --git a/src/api/business/home/home.js b/src/api/business/home/home.js new file mode 100644 index 0000000..9f4de41 --- /dev/null +++ b/src/api/business/home/home.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function home_count(query) { + return request({ + url: '/system/business/home/count', + method: 'get', + params: query + }) +} diff --git a/src/assets/images/home-icon1.jpg b/src/assets/images/home-icon1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d3ec8b42548e766cf36cb579a93ef64815d6d61f GIT binary patch literal 1499 zcmV<11tj{3P)Y}T7{{O4Y+~otPN8k$Du`045~xC;iVJY$z=1=hB2|?* zAg&-JXgSjZ^uUXdDn0=m5D297z$ZW|RBDgBNC*iL$qp?vacVb-<9PW0?X|lxvAwou zvK#L{Qk(Ve%J)iI?yoq?dFSI?_PhP`aoTUfQq-mV`iFq?EuM`!9IC%WU8ys5 zZ|AY+1_NBquYH9;7uo~H z!)g_KL7VhyvrVd75PK`HL5@8f0w4=A;dLDlyK-E|p+Tn3L1f8eB8r2+QenL?YU7+B z6uO1sIB8}vyXbO+jFIt34FbC<9`qRvhHM;8AA&}TTR5_DIJb(M;z9K#8@E333>w2= zxTCHkPp2njtToW+p7>g|Cbu>#m>(aUkd5oj$`9_X-kV;VpOzEjZeQ;$*R=eyz0+5m zp#sBW;hJ<=%#S(p%G{(pG2zNAu1(7uk97C0?4rn5tGn`3xgtM4*dG4%aOd<_gk4^F z1VG+BIwxr-V4dlb)}W8Z;P9bUp3k~+994LEV{_1?TJek(Gc6}fI4zC5ix;L-vfz%j z-|qXjF+e9#t)e6t=!uCu83Saa%^4Q>Y|t*U%ZrQw>hg|5{U`y{qxd4#a1?fS<=3qp z$)IXHJ2@c^+L5p&Qh>g=SCYHCjg^>L$C1x0c^RYigO<>$*eZIgPH^^v@MopE-)-ynLIbogJ|^ity73bTABKe124&EuyuXkU zf6sO8?uKl5JsBsz&tNP>VJXJ04Wi=Xu%N7OzT_VkPQh)G4XI&f-kK6x6>DZ7>VG2z zXd0vErc8(Ecx&c?e?x17{F!K8(@*^~=3+Cbc2B0lpJqf3&@uE>{1+v8Xwy;3RfO`A z0P0Z~37`Z}4+1?NCl=HLko9hU8&ikxF*7gv+!{Ud6!BFo>@hlSarA8+&>!#wezX3-G@Dj>zin6L%|~ZjzfE6Q2lN=Wqr8Zn78@2U zi2ft?Vm8G(pcLE|=Q2|^b+DSYbwJF09$kIVUW{}3lPS0EZM3R+z{ITs;%da_|J)Cl zoklQr-LD_%zTK{`1cwN09T2zXJ&v(Z&|Zu^Q&gN~bbc`;)`i7F-38zdg$t77kUyN8knS zP0FLtjR0bztN1EswHmGJ#(WJTWWxpC+k-@oMI5bfVKrPY$3ocwl*9`7b%&>*@B`KX z;*WF`G9ep>N5t?Hl#$kU0OiPpZ0h469ub2yRt89CRHLkTOd1=>d43L$h#6IF`_+pq z$b|7)BkB5C70S8VZ(<`C9t@i2c2GC}wm^=8ljCu^9gl;STl4%JiK8V!=k~LM{%1k{ z>XIDM)u6GbiunQY8V8>whrG2z+3z<%#rBxM{{X_8$4y9I@v8s;002ovPDHLkV1hcp B)|&tT literal 0 HcmV?d00001 diff --git a/src/lang/en.js b/src/lang/en.js index f600171..e69bcfe 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -1,3 +1,5 @@ +// 工作台-首页 +import home from './en/business/home/home' //系统管理 // 菜单管理 import menu from './en/system/menu' @@ -140,6 +142,7 @@ export default { template }, business: { + home: home, resource: { resource: resource, zcg: zcg, diff --git a/src/lang/en/business/home/home.js b/src/lang/en/business/home/home.js new file mode 100644 index 0000000..4753b35 --- /dev/null +++ b/src/lang/en/business/home/home.js @@ -0,0 +1,9 @@ +export default { + jrxzbd: 'Recent Record', + ytjbd: 'Submitted', + dtjbd: 'Saved', + bzxzsy: 'Weekly New Study', + ywcsy: 'Completed Study', + + xttz: 'Notification' +} diff --git a/src/lang/zh.js b/src/lang/zh.js index 35f4bc1..bb4faa0 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -1,3 +1,5 @@ +// 工作台-首页 +import home from './zh/business/home/home' //系统管理 // 菜单管理 import menu from './zh/system/menu' @@ -135,6 +137,7 @@ export default { template }, business: { + home: home, resource: { resource: resource, zcg: zcg, diff --git a/src/lang/zh/business/home/home.js b/src/lang/zh/business/home/home.js new file mode 100644 index 0000000..ab6d702 --- /dev/null +++ b/src/lang/zh/business/home/home.js @@ -0,0 +1,9 @@ +export default { + jrxzbd: '今日新增表单', + ytjbd: '已提交表单', + dtjbd: '待提交表单', + bzxzsy: '本周新增试验', + ywcsy: '已完成试验', + + xttz: '系统通知' +} diff --git a/src/views/index.vue b/src/views/index.vue index 21ac3e5..5aa30c0 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,21 +1,137 @@