|
|
|
@ -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" :selectedDeptId="selectedDeptId"/> |
|
|
|
@change="selectTemplateChange" :needPre="1" :selectedDeptId="selectedDeptId" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -174,15 +174,18 @@ |
|
|
|
<div>{{ $t('page.business.study.studyFormFill.yltj') }}</div> |
|
|
|
<div style=" display: flex; flex-wrap: wrap; gap: 16px;"> |
|
|
|
<div v-for="(item, index) in resource" :key="'r' + index" style=" flex: 0 0 calc(50% - 11px);"> |
|
|
|
{{ item.bh }} |
|
|
|
<el-input type="number" v-model="item.syl" maxlength="50" style="width:150px;"> |
|
|
|
<template slot="append"> |
|
|
|
<div style="width: 20px;"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div> {{ item.bh }}</div> |
|
|
|
<div> |
|
|
|
<el-input type="number" v-model="item.syl" maxlength="50" style="width:100px; margin:0px 0px 0px 5px;" /> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div style="width: 70px;"> |
|
|
|
<BusinessSelect v-model="item.syldw" :showMax="false" dictType="business_tjdw"> |
|
|
|
</BusinessSelect> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
@ -479,7 +482,7 @@ export default { |
|
|
|
studyType: null, |
|
|
|
studyFormType: null, |
|
|
|
ccwzlist: [], |
|
|
|
selectedDeptId:null, |
|
|
|
selectedDeptId: null, |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
@ -608,9 +611,9 @@ export default { |
|
|
|
this.templateData = deepClone(this.form) |
|
|
|
const obj = Object.assign({}, this.$route, { title: this.$t('page.business.study.studyFormFill.xzbd') }) |
|
|
|
this.$tab.updatePage(obj); |
|
|
|
let name=this.studyType==1?'试验':(this.studyType==5?'非试验表单':'麻精药表单') |
|
|
|
let nameEn=this.studyType==1?'Study':(this.studyType==5?'Non-study':'ontrolled Drug') |
|
|
|
this.saveSimpleLog({jcmc:'填报表单新增',jcmcEn:'Record Create',name:name,nameEn:nameEn}) |
|
|
|
let name = this.studyType == 1 ? '试验' : (this.studyType == 5 ? '非试验表单' : '麻精药表单') |
|
|
|
let nameEn = this.studyType == 1 ? 'Study' : (this.studyType == 5 ? 'Non-study' : 'ontrolled Drug') |
|
|
|
this.saveSimpleLog({ jcmc: '填报表单新增', jcmcEn: 'Record Create', name: name, nameEn: nameEn }) |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
} |
|
|
|
|