Browse Source

feat: [表单管理] [麻精药] 权限修改

master
memorylkf 4 days ago
parent
commit
c94931f009
2 changed files with 9 additions and 4 deletions
  1. +8
    -3
      src/views/business/form/drug/comp/ytbdList.vue
  2. +1
    -1
      src/views/business/form/nonTrial/comp/ytbdList.vue

+ 8
- 3
src/views/business/form/drug/comp/ytbdList.vue View File

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

+ 1
- 1
src/views/business/form/nonTrial/comp/ytbdList.vue View File

@ -407,7 +407,7 @@ export default {
sign:sign sign:sign
}).then(() => { }).then(() => {
this.$refs.fsySignRef.cancel() this.$refs.fsySignRef.cancel()
this.getStudyInfo()
this.studyStatus = 5
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

Loading…
Cancel
Save