| | |
| | | </el-form> |
| | | |
| | | <!-- 签字确认组件 --> |
| | | <ConfirmStorageDialog :visible.sync="signatureVisible" @confirm="handleSignatureConfirm" name="操作人签字" |
| | | text="是否确认提交该项原始细胞库资料信息?" /> |
| | | <ConfirmStorageDialog :visible.sync="signatureVisible" :handleSignature="form.handleSignature" |
| | | @confirm="handleSignatureConfirm" name="操作人签字" text="是否确认提交该项原始细胞库资料信息?" /> |
| | | </Card> |
| | | </template> |
| | | |
| | |
| | | identifyingStrainCode: '', // 鉴别菌株编号 |
| | | identifyingStrainName: '', // 鉴别菌株名称 |
| | | validationExperimentCode: '', // 验证实验编号 |
| | | experimentTime: '' // 实验时间 |
| | | experimentTime: '', // 实验时间 |
| | | handleSignature: '', // 签名图片url |
| | | }, |
| | | rules: { |
| | | strainSource: [{ required: true, message: '请输入菌种来源', trigger: 'blur' }], |
| | |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | | if (this.$route.query.id) { |
| | | detail({ id: this.$route.query.id }).then(res => { |
| | | if (res) { |
| | | // 这里根据实际接口返回字段做适配 |
| | | this.form = res |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | methods: { |
| | | handleSubmit() { |
| | | this.$refs.strainForm.validate((valid) => { |