|
|
|
@ -4,8 +4,6 @@ |
|
|
|
<div class="detail-container"> |
|
|
|
<div class="detail-title"><img src="@/assets/images/detail-title.png">生物样品分析溶液配制表<img |
|
|
|
src="@/assets/images/detail-title.png" /></div> |
|
|
|
<button @click = "onSave">保存</button> |
|
|
|
|
|
|
|
<div class="detail-content"> |
|
|
|
<div class="content"> |
|
|
|
<LineLabel label = "试验基本信息"/> |
|
|
|
@ -241,20 +239,13 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
},3000) |
|
|
|
setTimeout(()=>{ |
|
|
|
this.storageFormConfig[0].config.storageCondition1.options = [ |
|
|
|
{label:"白光",value:"1"}, |
|
|
|
{label:"黄光",value:"3"}, |
|
|
|
{label:"其他",value:"-1"}, |
|
|
|
] |
|
|
|
},4000) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getFormData(){ |
|
|
|
const baseData = this.$refs.baseInfo.getFormData(); |
|
|
|
const conditionData = this.$refs.storageCondition.getFormData(); |
|
|
|
const stepData = this.$refs.stepRef.getFormData(); |
|
|
|
const stepFormData = this.$refs.stepFormPackage.getFormData(); |
|
|
|
async getFormData(){ |
|
|
|
const baseData = await this.$refs.baseInfo.getFormData(); |
|
|
|
const conditionData = await this.$refs.storageCondition.getFormData(); |
|
|
|
const stepData = await this.$refs.stepRef.getFormData(); |
|
|
|
const stepFormData = await this.$refs.stepFormPackage.getFormData(); |
|
|
|
return { |
|
|
|
...baseData, |
|
|
|
...conditionData, |
|
|
|
@ -262,13 +253,6 @@ export default { |
|
|
|
...stepFormData, |
|
|
|
} |
|
|
|
}, |
|
|
|
async onSave(){ |
|
|
|
const baseData = await this.$refs.baseInfo.getFormData(); |
|
|
|
const conditionData = await this.$refs.storageCondition.getFormData(); |
|
|
|
const stepData = await this.$refs.stepRef.getFormData(); |
|
|
|
const stepFormData = await this.$refs.stepFormPackage.getFormData(); |
|
|
|
console.log(baseData,conditionData,stepData,stepFormData,"reee") |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|