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>
<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()
})

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

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

Loading…
Cancel
Save