diff --git a/src/api/business/public/public.js b/src/api/business/public/public.js index 18c6d69..a36be0e 100644 --- a/src/api/business/public/public.js +++ b/src/api/business/public/public.js @@ -99,3 +99,11 @@ export function public_gspList(query) { params: query }) } +// 模板的可选步骤列表 +export function public_templateStepList(query) { + return request({ + url: '/system/business/public/templateStepList', + method: 'get', + params: query + }) +} diff --git a/src/api/business/step/step.js b/src/api/business/step/step.js new file mode 100644 index 0000000..f5a5a7e --- /dev/null +++ b/src/api/business/step/step.js @@ -0,0 +1,65 @@ +import request from '@/utils/request' + +export function step_list(query) { + return request({ + url: '/system/business/step/list', + method: 'get', + params: query + }) +} + +export function step_info(query) { + return request({ + url: '/system/business/step/info', + method: 'get', + params: query + }) +} + +export function step_save(data) { + return request({ + url: '/system/business/step/save', + method: 'post', + data: data + }) +} + +export function step_delete(data) { + return request({ + url: '/system/business/step/delete', + method: 'post', + data: data + }) +} + +export function stepGroup_list(query) { + return request({ + url: '/system/business/stepGroup/list', + method: 'get', + params: query + }) +} + +export function stepGroup_info(query) { + return request({ + url: '/system/business/stepGroup/info', + method: 'get', + params: query + }) +} + +export function stepGroup_save(data) { + return request({ + url: '/system/business/stepGroup/save', + method: 'post', + data: data + }) +} + +export function stepGroup_delete(data) { + return request({ + url: '/system/business/stepGroup/delete', + method: 'post', + data: data + }) +} diff --git a/src/lang/en/business/resource/gyzj.js b/src/lang/en/business/resource/gyzj.js index 00a901c..2d86689 100644 --- a/src/lang/en/business/resource/gyzj.js +++ b/src/lang/en/business/resource/gyzj.js @@ -72,7 +72,7 @@ export default { ssbd: 'In Record', bdssr: 'By User', syr: 'User', - lqghr: 'Recipient/Returner/入库申请人', + lqghr: 'Recipient/Returner/Check-in Applicant', ffjsr: 'Issuer/Receiver', czlx: 'Action', czl: 'Amount', @@ -127,12 +127,12 @@ export default { sfcc:'To Storage', bdmc:'Preset Name', gyzjda:'Formulation Archive', - lqffda:'领取发放档案', - tygd:'同意归档', - jjgd:'拒绝归档', - tyjd:'同意解档', - jjjd:'拒绝解档', - tyjy:'同意借阅', - jjjy:'拒绝借阅', - qrgh:'确认归还', + lqffda:'Transfer Archive', + 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/en/business/resource/mjy.js b/src/lang/en/business/resource/mjy.js index 182e84a..1055d5b 100644 --- a/src/lang/en/business/resource/mjy.js +++ b/src/lang/en/business/resource/mjy.js @@ -105,7 +105,7 @@ export default { jysj: 'Checkout Period', mjyxq: 'Drug Information', ffjlxq: 'In-and-Out Record Information', - sswjj:'所属文件夹', + sswjj:'Folder', ssbd:'In Record', qmr1Id:'Signed By 1', qmr2Id:'Signed By 2', @@ -128,12 +128,12 @@ export default { sfcc:'To Storage', bdmc:'Preset Name', mjyda:'Drug Archive', - lqffda:'领取发放档案', - tygd:'同意归档', - jjgd:'拒绝归档', - tyjd:'同意解档', - jjjd:'拒绝解档', - tyjy:'同意借阅', - jjjy:'拒绝借阅', - qrgh:'确认归还', + lqffda:'Transfer Archive', + 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/en/business/study/studyFormApply.js b/src/lang/en/business/study/studyFormApply.js index b231b71..c7470be 100644 --- a/src/lang/en/business/study/studyFormApply.js +++ b/src/lang/en/business/study/studyFormApply.js @@ -15,7 +15,7 @@ export default { pre: 'Pre', save: 'Save', submit: 'Submit', - bdnr: '表单内容', + bdnr: 'Record Information', qmxx: 'Signature information', qmr: 'Signed By', qmyy: 'Meaning of Signature', diff --git a/src/lang/en/business/study/studyFormFill.js b/src/lang/en/business/study/studyFormFill.js index 02fd192..25fafca 100644 --- a/src/lang/en/business/study/studyFormFill.js +++ b/src/lang/en/business/study/studyFormFill.js @@ -23,7 +23,7 @@ export default { pre: 'Pre', save: 'Save', submit: 'Submit', - bdnr: '表单内容', + bdnr: 'Record Information', qmxx: 'Signature information', qmr: 'Signed By', qmyy: 'Meaning of Signature', @@ -72,6 +72,6 @@ export default { bcsm: 'Additional Remark', fztgjj: 'Approve/Reject Record Abolition', ysy: 'Reviewed', - bcjl:'保存记录', - txbbc:'填写并保存' + bcjl:'Save', + txbbc:'Fill In And Save' } diff --git a/src/lang/en/business/study/studyFormPlan.js b/src/lang/en/business/study/studyFormPlan.js index a7e2efd..204e18f 100644 --- a/src/lang/en/business/study/studyFormPlan.js +++ b/src/lang/en/business/study/studyFormPlan.js @@ -12,7 +12,7 @@ export default { pre: 'Pre', save: 'Save', submit: 'Submit', - bdnr: '表单内容', + bdnr: 'Record Information', qmxx: 'Signature information', qmr: 'Signed By', qmyy: 'Meaning of Signature', @@ -23,7 +23,7 @@ export default { xzpzjhb: 'Create', yes: 'Yes', no: 'No', - shryId: '复核人员', + shryId: 'Reviewer', tjjl: 'Submit Record', dcqbjcgj: 'Export (All Track Records)', dclcjcgj: 'Export (Milestone Track Record)', diff --git a/src/lang/en/business/study/studyFormPre.js b/src/lang/en/business/study/studyFormPre.js index 64733e0..dc51543 100644 --- a/src/lang/en/business/study/studyFormPre.js +++ b/src/lang/en/business/study/studyFormPre.js @@ -16,7 +16,7 @@ export default { shtg: 'Approved', shjj: 'Reject after Review', tb: 'Create Record', - bdnr: '表单内容', + bdnr: 'Record Information', qmxx: 'Signature information', qmr: 'Signed By', qmyy: 'Meaning of Signature', diff --git a/src/lang/en/template/sp.js b/src/lang/en/template/sp.js index 81eae85..5142d8f 100644 --- a/src/lang/en/template/sp.js +++ b/src/lang/en/template/sp.js @@ -1,5 +1,25 @@ //色谱 export default { + // 生物样品分析溶液配制表 + sp001:{ + title: '生物样品分析溶液配制表', + + }, + // 生物样品分析储备液配制表 + sp002:{ + title: '生物样品分析储备液配制表', + + }, + // 生物样品标曲工作液制备表 + sp003:{ + title: '生物样品标曲工作液制备表', + + }, + // 生物样品内标工作液制备表 + sp004:{ + title: '生物样品内标工作液制备表', + + }, // 生物样品分析方法学样品制备表-准确度与精密度 sp008: { title: diff --git a/src/lang/zh/template/sp.js b/src/lang/zh/template/sp.js index d311c12..a5abe39 100644 --- a/src/lang/zh/template/sp.js +++ b/src/lang/zh/template/sp.js @@ -1,5 +1,25 @@ //色谱 export default { + // 生物样品分析溶液配制表 + sp001:{ + title: '生物样品分析溶液配制表', + + }, + // 生物样品分析储备液配制表 + sp002:{ + title: '生物样品分析储备液配制表', + + }, + // 生物样品标曲工作液制备表 + sp003:{ + title: '生物样品标曲工作液制备表', + + }, + // 生物样品内标工作液制备表 + sp004:{ + title: '生物样品内标工作液制备表', + + }, // 生物样品分析方法学样品制备表-准确度与精密度 sp008: { title: '生物样品分析方法学样品制备表(准确度与精密度)', diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index a0ec7b0..c996c4a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -2,38 +2,42 @@ - - - - @@ -117,7 +121,7 @@ export default { height: 50px; line-height: 50px; display: flex; - justify-content: flex-end; + justify-content: space-between; } diff --git a/src/views/business/comps/template/comps/gsp/MJYLQSQD.vue b/src/views/business/comps/template/comps/gsp/MJYLQSQD.vue index cb9870a..23b56ca 100644 --- a/src/views/business/comps/template/comps/gsp/MJYLQSQD.vue +++ b/src/views/business/comps/template/comps/gsp/MJYLQSQD.vue @@ -249,12 +249,12 @@ export default { this.gyjlOptions = tmp if (reset) { this.gyndOptions = [] - setTimeout(() => { - that.$refs.baseInfoRef.batchUpdateFormData({ - gyjl: '', - xynd: '', - }); - }, 10) + // setTimeout(() => { + // that.$refs.baseInfoRef.batchUpdateFormData({ + // gyjl: '', + // xynd: '', + // }); + // }, 10) } }, filterGynd(val, reset) { @@ -273,11 +273,11 @@ export default { }) this.gyndOptions = tmp if (reset) { - setTimeout(() => { - that.$refs.baseInfoRef.batchUpdateFormData({ - xynd: '', - }); - }, 10) + // setTimeout(() => { + // that.$refs.baseInfoRef.batchUpdateFormData({ + // xynd: '', + // }); + // }, 10) } }, //获取给药剂量 diff --git a/src/views/business/comps/template/comps/sp/SWYPFXCBYPZB.vue b/src/views/business/comps/template/comps/sp/SWYPFXCBYPZB.vue index d36ad50..9884eaf 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXCBYPZB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXCBYPZB.vue @@ -3,7 +3,7 @@
{{ formData.bdmc || - $t('template.common.pageTitle') }}
+ $t('template.sp.sp002.title') }}
{{ formData.bdmc || - $t('template.common.pageTitle') }}
+ $t('template.sp.sp001.title') }}
- +
@@ -42,7 +42,7 @@ import CustomTable from '@/components/Template/CustomTable.vue'; import { getLatestSn } from '@/api/template'; import { EventBus } from "@/utils/eventBus"; export default { - name: "SWYPFXRYPZB", + name: "Sp001", components: { BaseInfoFormPackage, LineLabel, TableList, Step, CustomTable }, mixins: [templateMixin], props: { @@ -111,7 +111,7 @@ export default { }, versionNum: { label: 'template.common.versionNumber', - type: "input", + type: "inputNumber", fillType: "actFill", prepend:"V", maxlength: 50 diff --git a/src/views/business/resource/gsp/comps/ffjlList.vue b/src/views/business/resource/gsp/comps/ffjlList.vue index b6987d5..e21810d 100644 --- a/src/views/business/resource/gsp/comps/ffjlList.vue +++ b/src/views/business/resource/gsp/comps/ffjlList.vue @@ -163,11 +163,11 @@ v-hasPermi="['business:resource:gsp:ffjlgd']">{{ $t('page.business.resource.gsp.guidang') }} - {{ $t('page.business.resource.gsp.jiedang') }} - {{ $t('page.business.resource.gsp.jieyue') }} @@ -204,6 +204,7 @@ import Jd from "./ffjl/Jd"; import Xq from "./ffjl/Xq"; import Jq from "./ffjl/Jq"; import { deepClone } from "@/utils/index"; +import { mapGetters } from 'vuex' export default { name: "FfjlList", components: { Sd, Js, Gd, Jd, Jy, Xq, Jq }, @@ -238,6 +239,11 @@ export default { created() { this.getList() }, + computed: { + ...mapGetters([ + 'id' + ]), + }, methods: { //导出 exportExcel() { diff --git a/src/views/business/resource/gsp/comps/gspList.vue b/src/views/business/resource/gsp/comps/gspList.vue index bc0fb5c..8325b56 100644 --- a/src/views/business/resource/gsp/comps/gspList.vue +++ b/src/views/business/resource/gsp/comps/gspList.vue @@ -182,7 +182,7 @@ {{ $t('page.business.resource.gsp.guihuan') }} - + :show-overflow-tooltip="true" width="200px">