|
|
|
@ -172,6 +172,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { checkPermi, checkRole } from "@/utils/permission"; |
|
|
|
import { drug_checkSd,drug_sd } from "@/api/business/form/drug" |
|
|
|
import { studyFormPre_list, studyFormPre_info } from '@/api/business/study/studyFormPre' |
|
|
|
import { public_studyList, public_studyFormPreList } from '@/api/business/public/public' |
|
|
|
@ -205,6 +206,7 @@ export default { |
|
|
|
this.searchForm.studyMc = newVal.name |
|
|
|
this.searchForm.studyId = newVal.id |
|
|
|
this.leader = newVal.leader |
|
|
|
this.studyStatus = newVal.status |
|
|
|
this.search() |
|
|
|
}, |
|
|
|
immediate: true, |
|
|
|
@ -221,6 +223,7 @@ export default { |
|
|
|
openXz: false, |
|
|
|
open: false, |
|
|
|
leader: null, |
|
|
|
studyStatus: null, |
|
|
|
showAudit: false, |
|
|
|
showEdit: false, |
|
|
|
showDetail: false, |
|
|
|
@ -264,6 +267,8 @@ export default { |
|
|
|
}, |
|
|
|
created() { }, |
|
|
|
methods: { |
|
|
|
checkPermi, |
|
|
|
checkRole, |
|
|
|
copy() { |
|
|
|
this.$modal.loading() |
|
|
|
public_studyList().then(response => { |
|
|
|
@ -385,7 +390,7 @@ export default { |
|
|
|
|
|
|
|
sdsy() { |
|
|
|
this.$modal.loading() |
|
|
|
nonTrial_checkSd({ |
|
|
|
drug_checkSd({ |
|
|
|
study:{id:this.study.id}, |
|
|
|
}).then(() => { |
|
|
|
this.$refs.fsySignRef.show(this.$t('page.business.study.drug.sdsy'),this.$t('page.business.study.drug.sdsy')) |
|
|
|
@ -398,12 +403,12 @@ export default { |
|
|
|
}, |
|
|
|
doSd(sign){ |
|
|
|
this.$modal.loading() |
|
|
|
nonTrial_sd({ |
|
|
|
drug_sd({ |
|
|
|
study:{id:this.study.id}, |
|
|
|
sign:sign |
|
|
|
}).then(() => { |
|
|
|
this.$refs.fsySignRef.cancel() |
|
|
|
this.getStudyInfo() |
|
|
|
this.studyStatus = 5 |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
|