|
|
@ -84,7 +84,7 @@ |
|
|
<el-dialog :title="$t('page.business.study.studyFormFill.tjjl')" :visible.sync="openApprove" width="1200px" |
|
|
<el-dialog :title="$t('page.business.study.studyFormFill.tjjl')" :visible.sync="openApprove" width="1200px" |
|
|
append-to-body :close-on-click-modal="false"> |
|
|
append-to-body :close-on-click-modal="false"> |
|
|
<el-form ref="formApprove" :model="formApprove" :rules="rulesApprove" label-width="120px"> |
|
|
<el-form ref="formApprove" :model="formApprove" :rules="rulesApprove" label-width="120px"> |
|
|
<div class="sbzdtcma"> <input type="text"> <input type="password"> </div> |
|
|
|
|
|
|
|
|
<div class="sbzdtcma"> <input type="text"> <input type="password"> </div> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :psna="24"> |
|
|
<el-col :psna="24"> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
@ -146,6 +146,7 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { studyFormFill_bc, studyFormFill_tj, studyFormFill_info } from "@/api/business/study/studyFormFill" |
|
|
import { studyFormFill_bc, studyFormFill_tj, studyFormFill_info } from "@/api/business/study/studyFormFill" |
|
|
|
|
|
import { study_info } from "@/api/business/study/study" |
|
|
import { mapGetters } from 'vuex' |
|
|
import { mapGetters } from 'vuex' |
|
|
import SelectTemplate from "@/views/business/comps/select/SelectTemplate"; |
|
|
import SelectTemplate from "@/views/business/comps/select/SelectTemplate"; |
|
|
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; |
|
|
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; |
|
|
@ -181,7 +182,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
openApprove: false, |
|
|
openApprove: false, |
|
|
formApprove: {}, |
|
|
formApprove: {}, |
|
|
bdmbTitle:this.$t('page.business.form.bdmb'), |
|
|
|
|
|
|
|
|
bdmbTitle: this.$t('page.business.form.bdmb'), |
|
|
rulesApprove: { |
|
|
rulesApprove: { |
|
|
qmrmm: [{ |
|
|
qmrmm: [{ |
|
|
required: true, |
|
|
required: true, |
|
|
@ -208,7 +209,7 @@ export default { |
|
|
if (parseInt(formId) > 0) { |
|
|
if (parseInt(formId) > 0) { |
|
|
if (fromYt + '' == "10") { |
|
|
if (fromYt + '' == "10") { |
|
|
this.showIndex = 1 |
|
|
this.showIndex = 1 |
|
|
this.bdmbTitle=this.$t('page.business.study.studyFormFill.ytbd') |
|
|
|
|
|
|
|
|
this.bdmbTitle = this.$t('page.business.study.studyFormFill.ytbd') |
|
|
} else { |
|
|
} else { |
|
|
this.showIndex = 2 |
|
|
this.showIndex = 2 |
|
|
} |
|
|
} |
|
|
@ -220,7 +221,11 @@ export default { |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
this.showIndex = 1 |
|
|
this.showIndex = 1 |
|
|
this.form = _.merge({}, this.form, { stydyId: studyId }) |
|
|
|
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
study_info({ id: studyId }).then(response => { |
|
|
|
|
|
this.form = _.merge({}, this.form, { stydyId: studyId, resourceStudy: response.data.resource }) |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
showApprove() { |
|
|
showApprove() { |
|
|
@ -274,6 +279,8 @@ export default { |
|
|
templateMc: null, |
|
|
templateMc: null, |
|
|
templateSn: null, |
|
|
templateSn: null, |
|
|
bdnr: null, |
|
|
bdnr: null, |
|
|
|
|
|
resource: null, |
|
|
|
|
|
resourceStudy: null, |
|
|
fzrsh: null, |
|
|
fzrsh: null, |
|
|
shryId: null, |
|
|
shryId: null, |
|
|
sfbl: null, |
|
|
sfbl: null, |
|
|
|