| @ -0,0 +1,54 @@ | |||
| <!-- 加入溶液 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrcjg_jrry_pcrcjg'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用", | |||
| type: "text", | |||
| }, | |||
| yqmc: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| yq: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "仪器,吸取", | |||
| type: "text", | |||
| }, | |||
| rymc: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| ry:{ | |||
| fillType: "actFill", | |||
| type: "sj", | |||
| }, | |||
| text3:{ | |||
| label: "溶液,按上表进行添加。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,108 @@ | |||
| <!-- 浓度测定 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfx_ndcd'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用", | |||
| type: "text", | |||
| }, | |||
| yqmc: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| yq: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "仪器,按核酸浓度测定排版表吸取核酸样品和Blank样品", | |||
| type: "text", | |||
| }, | |||
| ry:{ | |||
| fillType: "actFill", | |||
| type: "sj", | |||
| ylCode: "sjtj", | |||
| dwCode: "sjtjdw", | |||
| }, | |||
| text3:{ | |||
| label: ",预计吸取", | |||
| type: "text", | |||
| }, | |||
| yjtj:{ | |||
| fillType: "preFill", | |||
| type: "inputNumber", | |||
| }, | |||
| yjtjdw:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| selectTo: "sjtjdw", | |||
| options:this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text4:{ | |||
| label: ",实际吸取", | |||
| type: "text", | |||
| }, | |||
| sjtj:{ | |||
| fillType: "actFill", | |||
| type: "inputNumber", | |||
| compareTo:"yjtj", | |||
| copyFrom:"yjtj" | |||
| }, | |||
| sjtjdw:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options: this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text5:{ | |||
| label: "至uDrop Duo Plates,用多功能酶标仪系统", | |||
| type: "text", | |||
| }, | |||
| mbxt: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text6:{ | |||
| label: ",选择程序预计为", | |||
| type: "text", | |||
| }, | |||
| yjcx:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options:this.getDictOptions('business_step_pcr'), | |||
| }, | |||
| text7:{ | |||
| label: ",选择程序实际为", | |||
| type: "text", | |||
| }, | |||
| sjcx:{ | |||
| fillType: "actFill", | |||
| type: "select", | |||
| options:this.getDictOptions('business_step_pcr'), | |||
| compareTo:'yjcx' | |||
| }, | |||
| text8:{ | |||
| label: ",进行浓度测定。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,51 @@ | |||
| <!-- 参比荧光选择 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_cbygxz'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "参比荧光预计选择", | |||
| type: "text", | |||
| }, | |||
| yj:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options:this.getDictOptions('business_step_pcrfxyp'), | |||
| otherCode: "yjOther", | |||
| }, | |||
| text2: { | |||
| label: "实际选择", | |||
| type: "text", | |||
| }, | |||
| sj:{ | |||
| fillType: "actFill", | |||
| type: "select", | |||
| options:this.getDictOptions('business_step_pcrfxyp'), | |||
| otherCode: "sjOther", | |||
| compareTo:'yj' | |||
| }, | |||
| text3: { | |||
| label: "。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,103 @@ | |||
| <!-- cDNA样品分装 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_cdnsypfz'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| props: { | |||
| sn: { | |||
| type: String, | |||
| default: 'cdnsypfz', | |||
| }, | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用移液器", | |||
| type: "text", | |||
| }, | |||
| yq: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "将逆转录反应结束生成的", | |||
| type: "text", | |||
| }, | |||
| rymc: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| text3: { | |||
| label: "的cDNA样品,其体积预计为", | |||
| type: "text", | |||
| }, | |||
| yjtj:{ | |||
| fillType: "preFill", | |||
| type: "inputNumber", | |||
| }, | |||
| yjtjdw:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| selectTo: "sjtjdw", | |||
| options:this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text4:{ | |||
| label: "实际体积为", | |||
| type: "text", | |||
| }, | |||
| sjtj:{ | |||
| fillType: "actFill", | |||
| type: "inputNumber", | |||
| compareTo:"yjtj", | |||
| copyFrom:"yjtj" | |||
| }, | |||
| sjtjdw:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options:this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text5:{ | |||
| label: "其编号为", | |||
| type: "text", | |||
| }, | |||
| lbbh:{ | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| text6:{ | |||
| label: "-", | |||
| type: "text", | |||
| }, | |||
| //todo :自动生成 | |||
| lbbhCode:{ | |||
| fillType: "actFill", | |||
| type: "input", | |||
| }, | |||
| text7:{ | |||
| label: ",进行分装", | |||
| type: "text", | |||
| }, | |||
| //todo :有没有什么分装逻辑 | |||
| button1:{ | |||
| type:"button", | |||
| buttonName:"分装", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,38 @@ | |||
| <!-- 封膜离心 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_fmlx'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "封膜后使用离心机", | |||
| type: "text", | |||
| }, | |||
| yq: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "瞬时离心将样品收集到板底。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,85 @@ | |||
| <!-- 加入样品 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_jryp_pcrfxyp'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| props: { | |||
| sn: { | |||
| type: String, | |||
| default: 'jryp_pcrfxyp', | |||
| }, | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用", | |||
| type: "text", | |||
| }, | |||
| ytrq: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| sjrqcz: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "仪器,将", | |||
| type: "text", | |||
| }, | |||
| srry: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| text3:{ | |||
| label: "按照样品排列示意图加入对应的96孔板种,每孔预计加入", | |||
| type: "text", | |||
| }, | |||
| ytsr1:{ | |||
| fillType: "preFill", | |||
| type: "inputNumber", | |||
| }, | |||
| tjxz:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| selectTo: "sjsrdw2", | |||
| options:this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text4:{ | |||
| label: "每孔实际加入", | |||
| type: "text", | |||
| }, | |||
| sjsr2:{ | |||
| fillType: "actFill", | |||
| type: "inputNumber", | |||
| compareTo:"ytsr1", | |||
| copyFrom:"ytsr1" | |||
| }, | |||
| sjsrdw2:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options: this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text5:{ | |||
| label: "。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,42 @@ | |||
| <!-- 排版设置 --> | |||
| <template> | |||
| <StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_pbsz'" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| props: { | |||
| sn: { | |||
| type: String, | |||
| default: 'pbsz', | |||
| }, | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config:{ | |||
| text1:{ | |||
| label:"按样品排列示意图设置相应的排版", | |||
| type:"text", | |||
| }, | |||
| check:{ | |||
| type:"checkbox", | |||
| fillType:"actFill", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| </style> | |||
| @ -0,0 +1,52 @@ | |||
| <!-- PCR上机 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_pcrsj'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "将处理好的样品孔板,使用", | |||
| type: "text", | |||
| }, | |||
| yqmc: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| yq: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "仪器,调用正确的程序", | |||
| type: "text", | |||
| }, | |||
| cx:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options:this.getDictOptions('business_fycx'), | |||
| otherCode: "cxOther", | |||
| }, | |||
| text3: { | |||
| label: "。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,91 @@ | |||
| <!-- 试剂加样 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_sjjy_pcrfxyp'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| props: { | |||
| sn: { | |||
| type: String, | |||
| default: 'sjjy_pcrfxyp', | |||
| }, | |||
| }, | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用", | |||
| type: "text", | |||
| }, | |||
| ytrq: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| sjrqcz: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "仪器,按照样品排列示意图将", | |||
| type: "text", | |||
| }, | |||
| srry: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| sjrq:{ | |||
| fillType: "actFill", | |||
| type: "sj", | |||
| ylCode: "sjsr2", | |||
| dwCode: "sjsrdw2", | |||
| }, | |||
| text3:{ | |||
| label: "加入对应的96孔板种,每孔预计加入", | |||
| type: "text", | |||
| }, | |||
| ytsr1:{ | |||
| fillType: "preFill", | |||
| type: "inputNumber", | |||
| }, | |||
| tjxz:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| selectTo: "sjsrdw2", | |||
| options:this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text4:{ | |||
| label: "每孔实际加入", | |||
| type: "text", | |||
| }, | |||
| sjsr2:{ | |||
| fillType: "actFill", | |||
| type: "inputNumber", | |||
| compareTo:"ytsr1", | |||
| copyFrom:"ytsr1" | |||
| }, | |||
| sjsrdw2:{ | |||
| fillType: "preFill", | |||
| type: "select", | |||
| options: this.getDictOptions('business_tjdw'), | |||
| }, | |||
| text5:{ | |||
| label: "。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,42 @@ | |||
| <!-- 稀释 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_xs'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用", | |||
| type: "text", | |||
| }, | |||
| yqmc: { | |||
| fillType: "preFill", | |||
| type: "input", | |||
| }, | |||
| yq: { | |||
| fillType: "actFill", | |||
| type: "yq", | |||
| }, | |||
| text2: { | |||
| label: "仪器,按上表进行稀释。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,38 @@ | |||
| <!-- 运行PCR仪 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfxyp_yxpcry'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "运行Run", | |||
| type: "text", | |||
| }, | |||
| sr: { | |||
| fillType: "actFill", | |||
| type: "input", | |||
| }, | |||
| text2: { | |||
| label: "反应程序。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,30 @@ | |||
| <!-- 称取组织 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcryj_cqzz_pcryj'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "使用上述电子天平,称取剪碎的组织于匀浆管中。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,46 @@ | |||
| <!-- 加入匀浆溶液 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcryj_jryjry_pcryj'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1:{ | |||
| label:"使用", | |||
| type:"text", | |||
| }, | |||
| ddsys:{ | |||
| type:"input", | |||
| fillType:"preFill", | |||
| }, | |||
| yq:{ | |||
| type:"yq", | |||
| fillType:"actFill", | |||
| }, | |||
| text2:{ | |||
| label:"仪器,向匀浆管种按上表加入匀浆溶液。", | |||
| type:"text", | |||
| }, | |||
| reamrk:{ | |||
| type:"input", | |||
| fillType:"actFill", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,30 @@ | |||
| <!-- 剪碎组织 --> | |||
| <template> | |||
| <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcryj_jszz_pcryj'" @resetRecord = "resetRecord" :form-config="formConfig" :formData="formData" /> | |||
| </template> | |||
| <script> | |||
| import StepFormPackage from '@/components/Template/StepFormPackage.vue'; | |||
| import stepMixins from '@/components/Template/mixins/stepMixins.js'; | |||
| export default { | |||
| mixins: [stepMixins], | |||
| components: { | |||
| StepFormPackage | |||
| }, | |||
| computed: { | |||
| formConfig() { | |||
| return [{ | |||
| config: { | |||
| text1: { | |||
| label: "取上述组织,在冰板上剪碎。", | |||
| type: "text", | |||
| }, | |||
| } | |||
| }] | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| <style lang="scss" scoped></style> | |||
| @ -0,0 +1,374 @@ | |||
| <!-- 生物样品采集移交记录表 --> | |||
| <template> | |||
| <div> | |||
| <div class="detail-container"> | |||
| <div class="detail-title"> | |||
| <img src="@/assets/images/detail-title.png" />{{ formData.bdmc | |||
| }}<img src="@/assets/images/detail-title.png" /> | |||
| </div> | |||
| <div class="detail-content"> | |||
| <div class="content"> | |||
| <BaseInfoFormPackage | |||
| fieldItemLabel="template.common.baseInfo" | |||
| label="template.common.baseInfo" | |||
| :ref="refConf.base" | |||
| :formConfig="baseInfoFormConfig" | |||
| :formData="formData" | |||
| /> | |||
| <LineLabel label="template.dj.dj003.ypyjxx" /> | |||
| <div class="template-form-item" > | |||
| <span>{{ $t('template.dj.dj003.ypmc') }}</span> | |||
| <CustomTable | |||
| fieldItemLabel="template.dj.dj003.ypmc" | |||
| :columns="ypmcColumns" | |||
| :isBorder="false" | |||
| :ref="'ypmcTableRef'" | |||
| :showOperation="fillType === 'preFill'" | |||
| :showAddRow="fillType === 'preFill'" | |||
| :formData="{ stepTableFormData: formData.stepTableFormData_1 }" | |||
| :prefixKey="`ypmcTable`" | |||
| > | |||
| <template slot="operation" slot-scope="{ row, rowIndex, columns }"> | |||
| <TableOpertaionDelete | |||
| :row="row" | |||
| :rowIndex="rowIndex" | |||
| :columns="columns" | |||
| @deleteRow="() => deleteTableRow(rowIndex, 'ypmcTableRef')" | |||
| ></TableOpertaionDelete> | |||
| </template> | |||
| </CustomTable> | |||
| <CustomTable | |||
| fieldItemLabel="template.dj.dj003.ypyjxx" | |||
| :columns="ypyjColumns" | |||
| :ref="'ypyjTableRef'" | |||
| :showOperation="fillType === 'actFill'" | |||
| :showAddRow="fillType === 'actFill'" | |||
| :formData="formData" | |||
| :prefixKey="`ypyjTable`" | |||
| > | |||
| <template slot="operation" slot-scope="{ row, rowIndex, columns }"> | |||
| <TableOpertaionDelete | |||
| :row="row" | |||
| :rowIndex="rowIndex" | |||
| :columns="columns" | |||
| @deleteRow="() => deleteTableRow(rowIndex, 'ypyjTableRef')" | |||
| ></TableOpertaionDelete> | |||
| </template> | |||
| </CustomTable> | |||
| </div> | |||
| <BaseInfoFormPackage | |||
| fieldItemLabel="template.dj.dj003.yjczxx" | |||
| :ref="refConf.yjczxx" | |||
| label="template.dj.dj003.yjczxx" | |||
| :formConfig="yjczxxFormConfig" | |||
| :formData="formData" | |||
| @clickButton="handleClickButton" | |||
| /> | |||
| <BaseInfoFormPackage | |||
| fieldItemLabel="template.common.remark" | |||
| label="template.common.remark" | |||
| :ref="refConf.remark" | |||
| :formConfig="remarkConig" | |||
| :formData="formData" | |||
| /> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </template> | |||
| <script> | |||
| import BaseInfoFormPackage from '@/components/Template/BaseInfoFormPackage' | |||
| import TableOpertaionDelete from '@/components/Template/operation/TableOpertaionDelete.vue' | |||
| import CustomTable from '@/components/Template/CustomTable.vue' | |||
| import LineLabel from '@/components/Template/LineLabel' | |||
| import TableList from '@/components/Template/Table' | |||
| import Step from '@/components/Template/Step' | |||
| import templateMixin from '../../mixins/templateMixin' | |||
| import moment from 'moment' | |||
| import StepFormPackage from "@/components/Template/StepFormPackage.vue" | |||
| const refConf = { | |||
| base: 'baseInfoRef', | |||
| remark: 'remarkRef', | |||
| ypyj:'ypyjTableRef', | |||
| ypmc:'ypmcTableRef', | |||
| yjczxx: 'yjczxxRef', | |||
| } | |||
| const refNames = Object.values(refConf) | |||
| export default { | |||
| name: 'BL001', | |||
| components: { | |||
| BaseInfoFormPackage, | |||
| LineLabel, | |||
| TableList, | |||
| Step, | |||
| CustomTable, | |||
| TableOpertaionDelete, | |||
| StepFormPackage | |||
| }, | |||
| mixins: [templateMixin], | |||
| props: { | |||
| fillType: { | |||
| type: String, | |||
| default: 'preFill' | |||
| } | |||
| }, | |||
| computed: { | |||
| // 备注表单配置 | |||
| remarkConig() { | |||
| return [ | |||
| { | |||
| type: 'cellItem', | |||
| config: { | |||
| remark: { | |||
| label: '', | |||
| type: 'textarea', | |||
| fillType: 'actFill', | |||
| span: 1, | |||
| placeholder: 'template.common.remarkPlaceholder', | |||
| maxlength: 1000, | |||
| rows: 5 | |||
| } | |||
| } | |||
| } | |||
| ] | |||
| }, | |||
| // 试验基本信息表单配置 | |||
| baseInfoFormConfig() { | |||
| return [ | |||
| { | |||
| type: 'cardItem', | |||
| config: { | |||
| studyMc: { | |||
| label: 'template.common.testName', | |||
| type: 'input', | |||
| disabled: true | |||
| }, | |||
| studySn: { | |||
| label: 'template.common.testNumber', | |||
| type: 'input', | |||
| disabled: true | |||
| } | |||
| } | |||
| }, | |||
| { | |||
| type: 'conditionItem', | |||
| label: 'template.dj.dj003.yplx', | |||
| config: { | |||
| yplx: { | |||
| span: 1, | |||
| label: 'template.dj.dj003.yplx', | |||
| type: 'select', | |||
| options: this.getDictOptions('business_yplx'), | |||
| fillType: 'actFill', | |||
| otherCode: 'yplxOther' | |||
| } | |||
| } | |||
| }, | |||
| { | |||
| type: 'conditionItem', | |||
| label: 'template.dj.dj003.knj', | |||
| config: { | |||
| knj: { | |||
| span: 1, | |||
| label: 'template.dj.dj003.knj', | |||
| type: 'select', | |||
| options: this.getDictOptions('business_knj'), | |||
| fillType: 'actFill', | |||
| otherCode: 'knjOther' | |||
| } | |||
| } | |||
| }, | |||
| { | |||
| type: 'conditionItem', | |||
| label: 'template.dj.dj003.cyhcftj', | |||
| config: { | |||
| cyhcftjyt: { | |||
| span: 1, | |||
| label: 'template.common.actualFill', | |||
| multiple: true, | |||
| type: 'select', | |||
| options: this.getDictOptions('business_cftj'), | |||
| fillType: 'preFill', | |||
| otherCode: 'cftjytOther' | |||
| }, | |||
| cyhcftjsj: { | |||
| span: 1, | |||
| label: 'template.common.actualFill', | |||
| multiple: true, | |||
| type: 'select', | |||
| options: this.getDictOptions('business_cftj'), | |||
| fillType: 'actFill', | |||
| compareTo:"cyhcftjyt", | |||
| copyFrom:"cyhcftjyt", | |||
| otherCode: 'cftjsjOther' | |||
| } | |||
| } | |||
| }, | |||
| ] | |||
| }, | |||
| // 样品名称列表 | |||
| ypmcColumns() { | |||
| return [ | |||
| { | |||
| label: 'template.dj.dj003.ypmc', | |||
| prop: "ypmc", | |||
| bodyType: 'input', | |||
| bodyFillType: 'preFill', | |||
| bodyMaxlength: 20, | |||
| }, | |||
| ] | |||
| }, | |||
| // 样品移交信息列表 | |||
| ypyjColumns() { | |||
| return [ | |||
| { | |||
| label: 'template.dj.dj003.cyd', | |||
| prop: "cyd", | |||
| bodyType: 'input', | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.dwbh', | |||
| prop: "dwbh", | |||
| bodyType: 'input', | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.ypmc', | |||
| prop: "ypmcTa", | |||
| bodyType: 'checkboxTree', | |||
| bodyFillType: 'actFill', | |||
| bodyOptions: [ | |||
| {value:1,label:'正常'}, | |||
| {value:0,label:'偏离'}, | |||
| ], | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.cysj', | |||
| prop: "cysj", | |||
| bodyType: 'dateTimeRange', | |||
| width: 450, | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.sjbd', | |||
| prop: "sjbd", | |||
| bodyType: 'select', | |||
| bodyOptions: [ | |||
| {value:1,label:'正常'}, | |||
| {value:0,label:'偏离'}, | |||
| ], | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.yps', | |||
| prop: "yps", | |||
| bodyType: 'inputNumber', | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| ] | |||
| }, | |||
| // 移交处置信息 | |||
| yjczxxFormConfig() { | |||
| return [ | |||
| { | |||
| type: 'cellItem', | |||
| config: { | |||
| yjsj: { | |||
| label: 'template.dj.dj003.yjsj', | |||
| type: 'input', | |||
| fillType: 'actFill', | |||
| maxlength: 200, | |||
| subType: 'button', | |||
| subKey: 'yjsj', | |||
| buttonName: 'template.dj.dj003.hqsj', | |||
| }, | |||
| dsfs: { | |||
| label: 'template.dj.dj003.dsfs', | |||
| type: 'select', | |||
| options: this.getDictOptions('business_dsfs'), | |||
| fillType: 'actFill', | |||
| }, | |||
| } | |||
| } | |||
| ] | |||
| } | |||
| }, | |||
| data() { | |||
| return { | |||
| formData: {}, | |||
| refConf | |||
| } | |||
| }, | |||
| methods: { | |||
| // 删除表格行 | |||
| async deleteTableRow(rowIndex, refName) { | |||
| this.$refs[refName].deleteRow(rowIndex) | |||
| }, | |||
| // 获取已填写的表单数据 | |||
| getFilledFormData() { | |||
| return this.getFilledFormDataByRefs(refNames) | |||
| }, | |||
| // 获取填写完成的表单数据 | |||
| async getFormData() { | |||
| return await this.validFormFields(refNames) | |||
| }, | |||
| // 只做校验 | |||
| async validFields() { | |||
| return await this.validFormFields(refNames) | |||
| }, | |||
| getResource() { | |||
| // const stepResource = this.$refs.yqsyTableRef.getStepResource() | |||
| // 使用的试剂、仪器 | |||
| // this.resourceTmp = stepResource.sjResource || [] | |||
| // this.yqResourceTmp = stepResource.yqResource || [] | |||
| // return this.resourceTmp | |||
| }, | |||
| // 保存 | |||
| async onSave() { | |||
| const formData = this.getStepResource() | |||
| console.log(formData, 'formData') | |||
| }, | |||
| // 点击按钮 | |||
| handleClickButton(_item, signData) { | |||
| this.$refs.yjczxxRef.updateFormData( | |||
| _item.subKey, | |||
| moment().format('YYYY/MM/DD HH:mm'), | |||
| { isUpdateRecord: true, signData } | |||
| ) | |||
| }, | |||
| } | |||
| } | |||
| </script> | |||
| <style rel="stylesheet/scss" lang="scss"> | |||
| .mt-20 { | |||
| margin-top: 20px; | |||
| } | |||
| .print-btn { | |||
| margin-bottom: 20px; | |||
| } | |||
| .config-header-end { | |||
| display: flex; | |||
| justify-content: flex-end; | |||
| align-items: center; | |||
| margin-bottom: 15px; | |||
| font-weight: bold; | |||
| font-size: 16px; | |||
| color: #303133; | |||
| } | |||
| </style> | |||
| @ -0,0 +1,363 @@ | |||
| <!-- 生物样品组织移交记录表 --> | |||
| <template> | |||
| <div> | |||
| <div class="detail-container"> | |||
| <div class="detail-title"> | |||
| <img src="@/assets/images/detail-title.png" />{{ formData.bdmc | |||
| }}<img src="@/assets/images/detail-title.png" /> | |||
| </div> | |||
| <div class="detail-content"> | |||
| <div class="content"> | |||
| <BaseInfoFormPackage | |||
| fieldItemLabel="template.common.baseInfo" | |||
| label="template.common.baseInfo" | |||
| :ref="refConf.base" | |||
| :formConfig="baseInfoFormConfig" | |||
| :formData="formData" | |||
| /> | |||
| <LineLabel label="template.dj.dj003.ypyjxx" /> | |||
| <div class="template-form-item" > | |||
| <span>{{ $t('template.dj.dj003.ypmc') }}</span> | |||
| <CustomTable | |||
| fieldItemLabel="template.dj.dj003.ypmc" | |||
| :columns="ypmcColumns" | |||
| :isBorder="false" | |||
| :ref="'ypmcTableRef'" | |||
| :showOperation="fillType === 'preFill'" | |||
| :showAddRow="fillType === 'preFill'" | |||
| :formData="{ stepTableFormData: formData.stepTableFormData_1 }" | |||
| :prefixKey="`ypmcTable`" | |||
| > | |||
| <template slot="operation" slot-scope="{ row, rowIndex, columns }"> | |||
| <TableOpertaionDelete | |||
| :row="row" | |||
| :rowIndex="rowIndex" | |||
| :columns="columns" | |||
| @deleteRow="() => deleteTableRow(rowIndex, 'ypmcTableRef')" | |||
| ></TableOpertaionDelete> | |||
| </template> | |||
| </CustomTable> | |||
| <CustomTable | |||
| fieldItemLabel="template.dj.dj003.ypyjxx" | |||
| :columns="ypyjColumns" | |||
| :ref="'ypyjTableRef'" | |||
| :showOperation="fillType === 'actFill'" | |||
| :showAddRow="fillType === 'actFill'" | |||
| :formData="formData" | |||
| :prefixKey="`ypyjTable`" | |||
| > | |||
| <template slot="operation" slot-scope="{ row, rowIndex, columns }"> | |||
| <TableOpertaionDelete | |||
| :row="row" | |||
| :rowIndex="rowIndex" | |||
| :columns="columns" | |||
| @deleteRow="() => deleteTableRow(rowIndex, 'ypyjTableRef')" | |||
| ></TableOpertaionDelete> | |||
| </template> | |||
| </CustomTable> | |||
| </div> | |||
| <BaseInfoFormPackage | |||
| fieldItemLabel="template.dj.dj003.yjczxx" | |||
| :ref="refConf.yjczxx" | |||
| label="template.dj.dj003.yjczxx" | |||
| :formConfig="yjczxxFormConfig" | |||
| :formData="formData" | |||
| @clickButton="handleClickButton" | |||
| /> | |||
| <BaseInfoFormPackage | |||
| fieldItemLabel="template.common.remark" | |||
| label="template.common.remark" | |||
| :ref="refConf.remark" | |||
| :formConfig="remarkConig" | |||
| :formData="formData" | |||
| /> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </template> | |||
| <script> | |||
| import BaseInfoFormPackage from '@/components/Template/BaseInfoFormPackage' | |||
| import TableOpertaionDelete from '@/components/Template/operation/TableOpertaionDelete.vue' | |||
| import CustomTable from '@/components/Template/CustomTable.vue' | |||
| import LineLabel from '@/components/Template/LineLabel' | |||
| import TableList from '@/components/Template/Table' | |||
| import Step from '@/components/Template/Step' | |||
| import templateMixin from '../../mixins/templateMixin' | |||
| import moment from 'moment' | |||
| import StepFormPackage from "@/components/Template/StepFormPackage.vue" | |||
| const refConf = { | |||
| base: 'baseInfoRef', | |||
| remark: 'remarkRef', | |||
| ypyj:'ypyjTableRef', | |||
| ypmc:'ypmcTableRef', | |||
| yjczxx: 'yjczxxRef', | |||
| } | |||
| const refNames = Object.values(refConf) | |||
| export default { | |||
| name: 'DJ002', | |||
| components: { | |||
| BaseInfoFormPackage, | |||
| LineLabel, | |||
| TableList, | |||
| Step, | |||
| CustomTable, | |||
| TableOpertaionDelete, | |||
| StepFormPackage | |||
| }, | |||
| mixins: [templateMixin], | |||
| props: { | |||
| fillType: { | |||
| type: String, | |||
| default: 'preFill' | |||
| } | |||
| }, | |||
| computed: { | |||
| // 备注表单配置 | |||
| remarkConig() { | |||
| return [ | |||
| { | |||
| type: 'cellItem', | |||
| config: { | |||
| remark: { | |||
| label: '', | |||
| type: 'textarea', | |||
| fillType: 'actFill', | |||
| span: 1, | |||
| placeholder: 'template.common.remarkPlaceholder', | |||
| maxlength: 1000, | |||
| rows: 5 | |||
| } | |||
| } | |||
| } | |||
| ] | |||
| }, | |||
| // 试验基本信息表单配置 | |||
| baseInfoFormConfig() { | |||
| return [ | |||
| { | |||
| type: 'cardItem', | |||
| config: { | |||
| studyMc: { | |||
| label: 'template.common.testName', | |||
| type: 'input', | |||
| disabled: true | |||
| }, | |||
| studySn: { | |||
| label: 'template.common.testNumber', | |||
| type: 'input', | |||
| disabled: true | |||
| } | |||
| } | |||
| }, | |||
| { | |||
| type: 'conditionItem', | |||
| label: 'template.dj.dj003.yplx', | |||
| config: { | |||
| yplx: { | |||
| span: 1, | |||
| label: 'template.dj.dj003.yplx', | |||
| type: 'select', | |||
| options: this.getDictOptions('business_yplx'), | |||
| fillType: 'actFill', | |||
| otherCode: 'yplxOther' | |||
| } | |||
| } | |||
| }, | |||
| { | |||
| type: 'conditionItem', | |||
| label: 'template.dj.dj003.knj', | |||
| config: { | |||
| knj: { | |||
| span: 1, | |||
| label: 'template.dj.dj003.knj', | |||
| type: 'select', | |||
| options: this.getDictOptions('business_knj'), | |||
| fillType: 'actFill', | |||
| otherCode: 'knjOther' | |||
| } | |||
| } | |||
| }, | |||
| { | |||
| type: 'conditionItem', | |||
| label: 'template.dj.dj003.cyhcftj', | |||
| config: { | |||
| cyhcftj: { | |||
| span: 1, | |||
| label: 'template.common.actualFill', | |||
| multiple: true, | |||
| type: 'select', | |||
| options: this.getDictOptions('business_cftj'), | |||
| fillType: 'actFill', | |||
| otherCode: 'cftjOther' | |||
| } | |||
| } | |||
| }, | |||
| ] | |||
| }, | |||
| // 样品名称列表 | |||
| ypmcColumns() { | |||
| return [ | |||
| { | |||
| label: 'template.dj.dj003.ypmc', | |||
| prop: "ypmc", | |||
| bodyType: 'input', | |||
| bodyFillType: 'preFill', | |||
| bodyMaxlength: 20, | |||
| }, | |||
| ] | |||
| }, | |||
| // 样品移交信息列表 | |||
| ypyjColumns() { | |||
| return [ | |||
| { | |||
| label: 'template.dj.dj003.cyd', | |||
| prop: "cyd", | |||
| bodyType: 'input', | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.dwbh', | |||
| prop: "dwbh", | |||
| bodyType: 'input', | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.ypmc', | |||
| prop: "ypmcTa", | |||
| bodyType: 'checkboxTree', | |||
| bodyFillType: 'actFill', | |||
| bodyOptions: [ | |||
| {value:1,label:'正常'}, | |||
| {value:0,label:'偏离'}, | |||
| ], | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.cysj', | |||
| prop: "cysj", | |||
| bodyType: 'dateTimeRange', | |||
| width: 450, | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.sjbd', | |||
| prop: "sjbd", | |||
| bodyType: 'select', | |||
| bodyOptions: [ | |||
| {value:1,label:'正常'}, | |||
| {value:0,label:'偏离'}, | |||
| ], | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| { | |||
| label: 'template.dj.dj003.yps', | |||
| prop: "yps", | |||
| bodyType: 'inputNumber', | |||
| bodyFillType: 'actFill' | |||
| }, | |||
| ] | |||
| }, | |||
| // 移交处置信息 | |||
| yjczxxFormConfig() { | |||
| return [ | |||
| { | |||
| type: 'cellItem', | |||
| config: { | |||
| yjsj: { | |||
| label: 'template.dj.dj003.yjsj', | |||
| type: 'input', | |||
| fillType: 'actFill', | |||
| maxlength: 200, | |||
| subType: 'button', | |||
| subKey: 'yjsj', | |||
| buttonName: 'template.dj.dj003.hqsj', | |||
| }, | |||
| dsfs: { | |||
| label: 'template.dj.dj003.dsfs', | |||
| type: 'select', | |||
| options: this.getDictOptions('business_dsfs'), | |||
| fillType: 'actFill', | |||
| }, | |||
| } | |||
| } | |||
| ] | |||
| } | |||
| }, | |||
| data() { | |||
| return { | |||
| formData: {}, | |||
| refConf | |||
| } | |||
| }, | |||
| methods: { | |||
| // 删除表格行 | |||
| async deleteTableRow(rowIndex, refName) { | |||
| this.$refs[refName].deleteRow(rowIndex) | |||
| }, | |||
| // 获取已填写的表单数据 | |||
| getFilledFormData() { | |||
| return this.getFilledFormDataByRefs(refNames) | |||
| }, | |||
| // 获取填写完成的表单数据 | |||
| async getFormData() { | |||
| return await this.validFormFields(refNames) | |||
| }, | |||
| // 只做校验 | |||
| async validFields() { | |||
| return await this.validFormFields(refNames) | |||
| }, | |||
| getResource() { | |||
| // const stepResource = this.$refs.yqsyTableRef.getStepResource() | |||
| // 使用的试剂、仪器 | |||
| // this.resourceTmp = stepResource.sjResource || [] | |||
| // this.yqResourceTmp = stepResource.yqResource || [] | |||
| // return this.resourceTmp | |||
| }, | |||
| // 保存 | |||
| async onSave() { | |||
| const formData = this.getStepResource() | |||
| console.log(formData, 'formData') | |||
| }, | |||
| // 点击按钮 | |||
| handleClickButton(_item, signData) { | |||
| this.$refs.yjczxxRef.updateFormData( | |||
| _item.subKey, | |||
| moment().format('YYYY/MM/DD HH:mm'), | |||
| { isUpdateRecord: true, signData } | |||
| ) | |||
| }, | |||
| } | |||
| } | |||
| </script> | |||
| <style rel="stylesheet/scss" lang="scss"> | |||
| .mt-20 { | |||
| margin-top: 20px; | |||
| } | |||
| .print-btn { | |||
| margin-bottom: 20px; | |||
| } | |||
| .config-header-end { | |||
| display: flex; | |||
| justify-content: flex-end; | |||
| align-items: center; | |||
| margin-bottom: 15px; | |||
| font-weight: bold; | |||
| font-size: 16px; | |||
| color: #303133; | |||
| } | |||
| </style> | |||