Browse Source

fix:[试验表单]新增使用物资信息

master
15881625488@163.com 2 days ago
parent
commit
8eba86f2d8
10 changed files with 27 additions and 13 deletions
  1. +1
    -1
      src/views/business/study/comp/jhbd/Fh.vue
  2. +1
    -1
      src/views/business/study/comp/jhbd/Sy.vue
  3. +1
    -1
      src/views/business/study/comp/jhbd/Xq.vue
  4. +1
    -1
      src/views/business/study/comp/sqbd/Fh.vue
  5. +1
    -1
      src/views/business/study/comp/sqbd/Sh.vue
  6. +1
    -1
      src/views/business/study/comp/sqbd/Sy.vue
  7. +1
    -1
      src/views/business/study/comp/sqbd/Xq.vue
  8. +11
    -4
      src/views/business/study/comp/tbbd/Bj.vue
  9. +1
    -1
      src/views/business/study/comp/tbbd/Xq.vue
  10. +8
    -1
      src/views/business/study/comp/ytbd/Xq.vue

+ 1
- 1
src/views/business/study/comp/jhbd/Fh.vue View File

@ -18,7 +18,7 @@
</div> </div>
<div class="edit-content"> <div class="edit-content">
<div class="content-left"> <div class="content-left">
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="actFill" :templateData="form"/>
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="qc" :templateData="form"/>
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div>

+ 1
- 1
src/views/business/study/comp/jhbd/Sy.vue View File

@ -16,7 +16,7 @@
</div> </div>
<div class="edit-content"> <div class="edit-content">
<div class="content-left"> <div class="content-left">
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="actFill" :templateData="form" />
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="review" :templateData="form" />
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div>

+ 1
- 1
src/views/business/study/comp/jhbd/Xq.vue View File

@ -26,7 +26,7 @@
<el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormPlan.dcbhsjgj') }} <el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormPlan.dcbhsjgj') }}
</el-button> </el-button>
</div> </div>
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="actFill" :templateData="form"/>
<TemplateTable ref="templateTable" :sn="form.templateSn" fillType="audit" :templateData="form"/>
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormPlan.qmxx') }}</div>

+ 1
- 1
src/views/business/study/comp/sqbd/Fh.vue View File

@ -18,7 +18,7 @@
</div> </div>
<div class="edit-content"> <div class="edit-content">
<div class="content-left"> <div class="content-left">
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="readonly" />
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="qc" />
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div>

+ 1
- 1
src/views/business/study/comp/sqbd/Sh.vue View File

@ -18,7 +18,7 @@
</div> </div>
<div class="edit-content"> <div class="edit-content">
<div class="content-left"> <div class="content-left">
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="readonly" />
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="audit" />
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div>

+ 1
- 1
src/views/business/study/comp/sqbd/Sy.vue View File

@ -16,7 +16,7 @@
</div> </div>
<div class="edit-content"> <div class="edit-content">
<div class="content-left"> <div class="content-left">
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="readonly" />
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="review" />
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div>

+ 1
- 1
src/views/business/study/comp/sqbd/Xq.vue View File

@ -28,7 +28,7 @@
<el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormApply.dcbhsjgj') }} <el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormApply.dcbhsjgj') }}
</el-button> </el-button>
</div> </div>
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="readonly" />
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="audit" />
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormApply.qmxx') }}</div>

+ 11
- 4
src/views/business/study/comp/tbbd/Bj.vue View File

@ -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,

+ 1
- 1
src/views/business/study/comp/tbbd/Xq.vue View File

@ -28,7 +28,7 @@
<el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormFill.dcbhsjgj') }} <el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormFill.dcbhsjgj') }}
</el-button> </el-button>
</div> </div>
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="actFill" />
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="audit" />
<div class="content-title"> <div class="content-title">
<div class="line"></div> <div class="line"></div>
<div class="subtitle"> {{ $t('page.business.study.studyFormFill.qmxx') }}</div> <div class="subtitle"> {{ $t('page.business.study.studyFormFill.qmxx') }}</div>

+ 8
- 1
src/views/business/study/comp/ytbd/Xq.vue View File

@ -55,6 +55,7 @@
<el-dialog :title="$t('page.business.study.studyFormPre.cjjl')" :visible.sync="openApprove" width="500px" <el-dialog :title="$t('page.business.study.studyFormPre.cjjl')" :visible.sync="openApprove" width="500px"
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>
<el-alert :title="$t('page.business.study.studyFormPre.ts')" :closable="false" type="success"> <el-alert :title="$t('page.business.study.studyFormPre.ts')" :closable="false" type="success">
</el-alert> </el-alert>
<el-row> <el-row>
@ -232,7 +233,13 @@ export default {
localStorage.setItem(key, JSON.stringify({ localStorage.setItem(key, JSON.stringify({
url: this.$route.fullPath url: this.$route.fullPath
})) }))
this.$tab.openPage(response.data.bdmc, '/study/formFillBj/' + response.data.id + "/10/" + key+'/'+response.data.studyId)
if (this.$route.fullPath.indexOf('/study/') > -1) {
this.$tab.openPage(response.data.bdmc, '/study/formFillBj/' + response.data.id + "/10/" + key + '/' + response.data.studyId)
} else if (this.$route.fullPath.indexOf('/nonTrial/') > -1) {
this.$tab.openPage(response.data.bdmc, '/nonTrial/formFillBj/' + response.data.id + "/10/" + key + '/' + response.data.studyId)
} else {
this.$tab.openPage(response.data.bdmc, '/drug/formFillBj/' + response.data.id + "/10/" + key + '/' + response.data.studyId)
}
this.$emit('close') this.$emit('close')
this.openApprove = false this.openApprove = false
this.$modal.closeLoading() this.$modal.closeLoading()

Loading…
Cancel
Save