-
-
- {{ pitem.name }}:{{ pitem.value }}
+
+
+
{{ $i18n.locale === 'zh_CN' ? item.jcmc : item.jcmcEn
+ }}
+
{{ item.createTime }}
+
+
+
+
+
+ {{ pitem.name }}:
+
+
+ {{ ppitem }}
+ {{ ppitem }};
+
+
+
+
+
+
+
+
+ {{ pitem.name }}:
+
+
+ {{ ppitem }}
+ {{ ppitem }};
+
+
+
+
+
+
+ {{ $t('form.remark') }}:{{ item.remark }}
-
-
-
- {{ pitem.name }}:{{ pitem.value }}
+
+ {{ $t('form.qmyy') }}:{{ $i18n.locale === 'zh_CN' ? item.jcmc : item.jcmcEn }}
+
+
+
+ {{ $t('form.signer') }}:{{ item.qmrMc }}
-
-
- {{$t('form.remark')}}:{{ item.remark }}
-
-
- {{$t('form.qmyy')}}:{{ $i18n.locale === 'zh_CN'?item.jcmc:item.jcmcEn }}
-
-
-
- {{$t('form.signer')}}:{{ item.qmrMc }}
-
-
-
+
+
@@ -55,35 +75,35 @@
export default {
name: "JcgjList",
components: {},
- props:{
- showRy:{
- type:Boolean,
- default:false
+ props: {
+ showRy: {
+ type: Boolean,
+ default: false
},
- showXg:{
- type:Boolean,
- default:false
+ showXg: {
+ type: Boolean,
+ default: false
},
- showLc:{
- type:Boolean,
- default:true
+ showLc: {
+ type: Boolean,
+ default: true
},
- showBj:{
- type:Boolean,
- default:true
+ showBj: {
+ type: Boolean,
+ default: true
},
- showBcsm:{
- type:Boolean,
- default:false
+ showBcsm: {
+ type: Boolean,
+ default: false
},
// 更换笼具
showLj: {
- type:Boolean,
- default:false
+ type: Boolean,
+ default: false
},
readonly: {
- type:Boolean,
- default:false
+ type: Boolean,
+ default: false
},
},
data() {
@@ -96,11 +116,71 @@ export default {
};
},
mounted() {
- this.list=[]
+ this.list = []
},
methods: {
+ openFileEn(ppindex, pitem, item) {
+ let result=''
+ if (pitem.name == 'Old Value') {
+ let _oldUrl = ""
+ for (var i = 0; i < item.jcnrList.length; i++) {
+ if (item.jcnrList[i].name == 'oldUrl') {
+ _oldUrl = item.jcnrList[i].value
+ break;
+ }
+ }
+ if (_oldUrl && _oldUrl != '') {
+ let oldUrl = _oldUrl.split(";")
+ result=process.env.VUE_APP_FILE_DOMAIN +oldUrl[ppindex]
+ }
+ }
+ if (pitem.name == 'New Value') {
+ let _url = ""
+ for (var i = 0; i < item.jcnrList.length; i++) {
+ if (item.jcnrList[i].name == 'url') {
+ _url = item.jcnrList[i].value
+ break;
+ }
+ }
+ if (_url && _url != '') {
+ let url = _url.split(";")
+ result=process.env.VUE_APP_FILE_DOMAIN +url[ppindex];
+ }
+ }
+ return result;
+ },
+ openFile(ppindex, pitem, item) {
+ let result=''
+ if (pitem.name == '原值') {
+ let _oldUrl = ""
+ for (var i = 0; i < item.jcnrList.length; i++) {
+ if (item.jcnrList[i].name == 'oldUrl') {
+ _oldUrl = item.jcnrList[i].value
+ break;
+ }
+ }
+ if (_oldUrl && _oldUrl != '') {
+ let oldUrl = _oldUrl.split(";")
+ result=process.env.VUE_APP_FILE_DOMAIN +oldUrl[ppindex]
+ }
+ }
+ if (pitem.name == '新值') {
+ let _url = ""
+ for (var i = 0; i < item.jcnrList.length; i++) {
+ if (item.jcnrList[i].name == 'url') {
+ _url = item.jcnrList[i].value
+ break;
+ }
+ }
+ if (_url && _url != '') {
+ let url = _url.split(";")
+ result=process.env.VUE_APP_FILE_DOMAIN +url[ppindex];
+ }
+ }
+ return result;
+ },
handleQuery() {
- this.$emit('handleQuery',this.queryParams)
+ this.$emit('handleQuery', this.queryParams)
},
init(val) {
let that = this
diff --git a/src/views/business/comps/template/comps/sp/comps/LadderConfig.vue b/src/views/business/comps/template/comps/sp/comps/LadderConfig.vue
index eb93087..d0c5d17 100644
--- a/src/views/business/comps/template/comps/sp/comps/LadderConfig.vue
+++ b/src/views/business/comps/template/comps/sp/comps/LadderConfig.vue
@@ -54,6 +54,7 @@ export default {
TableOpertaion,
BaseInfoFormPackage,
},
+ inject:["templateData"],
name: "LadderConfig",
mixins: [templateMixin],
props: {
@@ -342,9 +343,9 @@ export default {
const { rowData } = val;
let postData = {
bh: rowData.targetSolutionCode + rowData.subTargetSolutionCode,
- studySubjectId: this.currentFormData.studySubjectId,
- studyId: this.currentFormData.studyId,
- studyFormId: this.currentFormData.id,
+ studySubjectId: this.templateData.studySubjectId,
+ studyId: this.templateData.studyId,
+ studyFormId: this.templateData.id,
}
this.startConfigRequest(postData);
},
@@ -358,9 +359,9 @@ export default {
bh: rowData.targetSolutionCode + rowData.subTargetSolutionCode,
nd: rowData.actSolutionConcentration,//实际目标溶液浓度
nddw: headerSelectFields.actSolutionConcentrationUnit,
- studySubjectId: this.currentFormData.studySubjectId,
- studyId: this.currentFormData.studyId,
- studyFormId: this.currentFormData.id,
+ studySubjectId: this.templateData.studySubjectId,
+ studyId: this.templateData.studyId,
+ studyFormId: this.templateData.id,
kc: total,
kcdw: unit,
}
@@ -379,14 +380,12 @@ export default {
}
})
let postData = {
- studyId: this.currentFormData.studyId,
- studyFormId: this.currentFormData.id,
+ studyId: this.templateData.studyId,
+ studyFormId: this.templateData.id,
bh: mybh,
nd: rowData.actSolutionConcentration || 0,
nddw: headerSelectFields.actSolutionConcentrationUnit,
- studySubjectId: this.currentFormData.studySubjectId,
- studyId: this.currentFormData.studyId,
- studyFormId: this.currentFormData.id,
+ studySubjectId: this.templateData.studySubjectId,
list: list
}
this.subPackageRequest(postData);
diff --git a/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue b/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue
index a14d1e7..f22b9b1 100644
--- a/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue
+++ b/src/views/business/comps/template/dialog/SelectInstrumentDialog.vue
@@ -121,7 +121,7 @@ export default {
jzrq: row.jzrq,
}
// 触发eventBus事件
- EventBus.$emit("onInstrumentSubmit",{selectInfo,uuid:this.uuid,selectedId:this.selectedId,row});
+ EventBus.$emit("onInstrumentSubmit",{selectInfo,uuid:this.uuid,selectedId:this.selectedId,row,type:"yq"});
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
index 42a452e..b948996 100644
--- a/src/views/business/comps/template/dialog/SelectMixReagentDialog.vue
+++ b/src/views/business/comps/template/dialog/SelectMixReagentDialog.vue
@@ -13,7 +13,7 @@
-
+
其他
diff --git a/src/views/business/comps/template/dialog/SubPackageDialog.vue b/src/views/business/comps/template/dialog/SubPackageDialog.vue
index 5ad7543..9b2ee4f 100644
--- a/src/views/business/comps/template/dialog/SubPackageDialog.vue
+++ b/src/views/business/comps/template/dialog/SubPackageDialog.vue
@@ -1,5 +1,5 @@
-
@@ -480,7 +483,10 @@ export default {
border-radius: 4px;
padding: 20px;
}
-
+.item-center{
+ display: flex;
+ align-items: center;
+}
.header-title {
margin-bottom: 10px;
}
diff --git a/src/views/business/comps/template/mixins/templateMixin.js b/src/views/business/comps/template/mixins/templateMixin.js
index 6d9c539..647bd2e 100644
--- a/src/views/business/comps/template/mixins/templateMixin.js
+++ b/src/views/business/comps/template/mixins/templateMixin.js
@@ -294,7 +294,7 @@ export default {
//试剂弹窗确认前
onBeforeReagentSubmit(data) {
const { selectData, callback, key, formFields } = data
- const { subTargetStartSolution, targetStartSolution } = formFields
+ const { subTargetStartSolution = "", targetStartSolution = "" } = formFields
const { nd } = selectData.row
const sjndArr = nd.split('/')
const ytndArr = targetStartSolution.split('/')
diff --git a/src/views/business/study/comp/tbbd/Fh.vue b/src/views/business/study/comp/tbbd/Fh.vue
index b83c35c..27830a2 100644
--- a/src/views/business/study/comp/tbbd/Fh.vue
+++ b/src/views/business/study/comp/tbbd/Fh.vue
@@ -48,18 +48,17 @@
{{ $t('page.business.study.studyFormFill.jcgj') }}
-
+
+ @pagination="getJjcgjList" :page.sync="queryParamsJcgj.pageNum" :limit.sync="queryParamsJcgj.pageSize" />