diff --git a/src/api/business/public/public.js b/src/api/business/public/public.js
index 044a53f..18c6d69 100644
--- a/src/api/business/public/public.js
+++ b/src/api/business/public/public.js
@@ -83,3 +83,19 @@ export function public_yqList(query) {
params: query
})
}
+// 给药制剂列表
+export function public_gyzjList(query) {
+ return request({
+ url: '/system/business/public/gyzjList',
+ method: 'get',
+ params: query
+ })
+}
+// 供试品列表
+export function public_gspList(query) {
+ return request({
+ url: '/system/business/public/gspList',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/components/Template/StepComponents/ry/czdd.vue b/src/components/Template/StepComponents/ry/czdd.vue
index 03025f6..92a190f 100644
--- a/src/components/Template/StepComponents/ry/czdd.vue
+++ b/src/components/Template/StepComponents/ry/czdd.vue
@@ -1,3 +1,4 @@
+
@@ -11,7 +12,6 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js';
components: {
StepFormPackage
},
-
computed: {
formConfig() {
return [{
diff --git a/src/components/Template/StepComponents/ry/czhj.vue b/src/components/Template/StepComponents/ry/czhj.vue
new file mode 100644
index 0000000..c52d6ce
--- /dev/null
+++ b/src/components/Template/StepComponents/ry/czhj.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Template/StepFormPackage.vue b/src/components/Template/StepFormPackage.vue
index ce8cf5b..4db7d5a 100644
--- a/src/components/Template/StepFormPackage.vue
+++ b/src/components/Template/StepFormPackage.vue
@@ -79,9 +79,11 @@ export default {
},
mounted() {
EventBus.$on("onReagentSubmit",this.onReagentSubmit)
+ EventBus.$on("onInstrumentSubmit",this.onInstrumentSubmit)
},
unmounted() {
EventBus.$off("onReagentSubmit",this.onReagentSubmit)
+ EventBus.$off("onInstrumentSubmit",this.onInstrumentSubmit)
},
data() {
return {
@@ -100,6 +102,11 @@ export default {
if(data.uuid !== this.uuid) return;
this.formFields[this.currentClickKey] = data.selectedId;
},
+ // 处理选择仪器提交,不确定后续还会不会有其他操作,所以和选择试剂提交区分开。
+ onInstrumentSubmit(data){
+ if(data.uuid !== this.uuid) return;
+ this.formFields[this.currentClickKey] = data.selectedId;
+ },
getClickableItem(sItem) {
return {
...sItem,
@@ -120,9 +127,8 @@ export default {
})
}
},
- onSelectReagentSubmit(reagent){
- this.formFields[this.currentClickKey] = reagent
- },
+
+
}
}
diff --git a/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue b/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue
index 55d0112..700039c 100644
--- a/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue
+++ b/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue
@@ -73,7 +73,7 @@ export default {
label: '来源(厂家)',
},
{
- prop: 'nddw',
+ prop: 'jzrq',
label: '下次校准时间',
},
],
@@ -112,7 +112,7 @@ export default {
let row = this.currentRow;
this.$emit('submit', this.selectedId,row);
// 触发eventBus事件
- EventBus.$emit("onReagentSubmit",{uuid:this.uuid,selectedId:this.selectedId,row});
+ EventBus.$emit("onInstrumentSubmit",{uuid:this.uuid,selectedId:this.selectedId,row});
this.visible = false;
},
handleSelect(code,row) {
diff --git a/src/views/business/comps/template/dialog/SelectMixReagentDialog.vue b/src/views/business/comps/template/dialog/SelectMixReagentDialog.vue
new file mode 100644
index 0000000..05fc35e
--- /dev/null
+++ b/src/views/business/comps/template/dialog/SelectMixReagentDialog.vue
@@ -0,0 +1,129 @@
+
+
+
+
+ 试剂列表
+ 供试品列表
+ 给药制剂列表
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/business/comps/template/formConfig/formConfig.js b/src/views/business/comps/template/formConfig/formConfig.js
new file mode 100644
index 0000000..d0e6a53
--- /dev/null
+++ b/src/views/business/comps/template/formConfig/formConfig.js
@@ -0,0 +1,122 @@
+// 试剂列表查询表单
+export const getSjSearchForm = () => {
+ return {
+ mc: {
+ label: 'page.business.resource.sj.sjmc',
+ },
+ bh: {
+ label: 'page.business.resource.sj.sjbh',
+ },
+ studyName: {
+ label: 'page.business.resource.sj.sssy',
+ },
+ }
+}
+// 供试品列表查询表单
+export const getGspSearchForm = () => {
+ return {
+ mc: {
+ label: '名称/代号',
+ },
+ bh: {
+ label: 'page.business.resource.sj.sjbh',
+ },
+ ph: {
+ label: '物质批号',
+ },
+ }
+}
+// 给药制剂列表查询表单
+export const getGyzjSearchForm = () => {
+ return {
+ mc: {
+ label: 'page.business.resource.sj.sjmc',
+ },
+ bh: {
+ label: 'page.business.resource.sj.sjbh',
+ },
+ studyMc: {
+ label: 'page.business.resource.sj.sssy',
+ },
+ }
+}
+
+// 试剂列表表格列
+export const getSjColumns = () => {
+ return [
+ {
+ prop: 'mc',
+ label: 'page.business.resource.sj.sjmc',
+ },
+ {
+ prop: 'bh',
+ label: 'page.business.resource.sj.sjbh',
+ },
+ {
+ prop: 'nd',
+ label: 'page.business.resource.sj.sjnd',
+ },
+ {
+ prop: 'nddw',
+ label: 'page.business.resource.gsp.nddw',
+ },
+ {
+ prop: 'sxr',
+ label: 'page.business.resource.sj.sxr',
+ },
+ {
+ prop: 'studyName',
+ label: 'page.business.resource.sj.sssy',
+ },
+ ]
+}
+// 供试品列表表格列
+export const getGspColumns = () => {
+ return [
+ {
+ prop: 'mc',
+ label: '名称/代号',
+ },
+ {
+ prop: 'bh',
+ label: 'page.business.resource.sj.sjbh',
+ },
+ {
+ prop: 'yxq',
+ label: '有效期',
+ },
+ {
+ prop: 'ph',
+ label: '物质批号',
+ },
+ ]
+}
+// 给药制剂列表表格列
+export const getGyzjColumns = () => {
+ return [
+ {
+ prop: 'mc',
+ label: 'page.business.resource.sj.sjmc',
+ },
+ {
+ prop: 'bh',
+ label: 'page.business.resource.sj.sjbh',
+ },
+ {
+ prop: 'nd',
+ label: 'page.business.resource.sj.sjnd',
+ },
+ {
+ prop: 'nddw',
+ label: 'page.business.resource.gsp.nddw',
+ },
+ {
+ prop: 'sxr',
+ label: 'page.business.resource.sj.sxr',
+ },
+ {
+ prop: 'studyName',
+ label: 'page.business.resource.sj.sssy',
+ },
+ ]
+}
\ No newline at end of file