|
|
|
@ -46,7 +46,7 @@ |
|
|
|
<el-form-item :label="bdmbTitle" prop="templateId"> |
|
|
|
<SelectTemplate v-model="form.templateId" :disabled="form.id && form.id !== ''" |
|
|
|
:name="form.templateMc" :studyType="studyType" :studyFormType="studyFormType" |
|
|
|
@change="selectTemplateChange" :needPre="1" /> |
|
|
|
@change="selectTemplateChange" :needPre="1" :studySubjectId="studySubjectId"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -479,6 +479,7 @@ export default { |
|
|
|
studyType: null, |
|
|
|
studyFormType: null, |
|
|
|
ccwzlist: [], |
|
|
|
studySubjectId:null, |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
@ -576,6 +577,7 @@ export default { |
|
|
|
params = JSON.parse(caesarDecipher(this.$route.params.key)) |
|
|
|
this.studyType = params.studyType || null |
|
|
|
this.studyFormType = params.studyFormType || null |
|
|
|
this.studySubjectId = params.studySubjectId || null |
|
|
|
} catch (e) { |
|
|
|
console.log('参数错误') |
|
|
|
} |
|
|
|
|