Browse Source

fix:[试验管理][试验锁定]

lkf
HanLong 1 month ago
parent
commit
382344b2dc
9 changed files with 19 additions and 16 deletions
  1. +3
    -2
      src/views/business/form/nonTrial/comp/syffList.vue
  2. +6
    -5
      src/views/business/study/comp/syffList.vue
  3. +3
    -2
      src/views/business/study/comp/syjList.vue
  4. +1
    -1
      src/views/business/study/comp/wzlb/bacteriaList.vue
  5. +2
    -2
      src/views/business/study/comp/wzlb/cellList.vue
  6. +1
    -1
      src/views/business/study/comp/wzlb/gspList.vue
  7. +1
    -1
      src/views/business/study/comp/wzlb/gyzjList.vue
  8. +1
    -1
      src/views/business/study/comp/wzlb/mjyList.vue
  9. +1
    -1
      src/views/business/study/comp/wzlb/sjList.vue

+ 3
- 2
src/views/business/form/nonTrial/comp/syffList.vue View File

@ -41,7 +41,7 @@
</div>
<div class="tbbd-content">
<el-row class="add-box">
<el-col>
<el-col v-ifan class="s">="searchForm.studyStatus < 5">
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:studyMethod:upload']">{{
$t('page.business.study.studyMethod.scff') }}</el-button>
</el-col>
@ -58,7 +58,7 @@
</template>
</el-table-column>
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200">
<template slot-scope="scope">
<template slot-scope="scope" v-ifan class="s">="searchForm.studyStatus < 5">
<!-- 阅读 -->
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyMethod:read']">{{
$t('page.business.study.studyMethod.yuedu') }}</el-button>
@ -108,6 +108,7 @@ export default {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.id
this.searchForm.studyStatus = newVal.status
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.search()

+ 6
- 5
src/views/business/study/comp/syffList.vue View File

@ -40,7 +40,7 @@
</div>
<div class="tbbd-content">
<el-row class="add-box">
<el-row class="add-box" v-if="searchForm.studyStatus < 5">
<el-col>
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:studyMethod:upload']">{{
$t('page.business.study.studyMethod.scff') }}</el-button>
@ -51,20 +51,20 @@
<el-table-column :label="$t('page.business.study.studyMethod.ffmc')" prop="ffmc" />
<el-table-column :label="$t('page.business.study.studyMethod.cjsj')" prop="createTime" />
<el-table-column :label="$t('page.business.study.studyMethod.cjr')" prop="userMc" />
<el-table-column :label="$t('page.business.study.studyMethod.zt')" prop="status" align="center" width="100">
<el-table-column :label="$t('page.business.study.studyMethod.zt')" prop="status" align="center" >
<template slot-scope="scope">
<span v-if="scope.row.zt != 0">{{ $t('page.business.study.studyMethod.yidu') }}</span>
<span v-if="scope.row.zt === 0">{{ $t('page.business.study.studyMethod.weidu') }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('page.business.study.studyMethod.sfgb')" prop="status" align="center" width="100">
<el-table-column :label="$t('page.business.study.studyMethod.sfgb')" prop="status" align="center" >
<template slot-scope="scope">
<span v-if="scope.row.status === 1">{{ $t('page.business.study.studyMethod.s') }}</span>
<span v-if="scope.row.status === 10">{{ $t('page.business.study.studyMethod.f') }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200">
<template slot-scope="scope">
<el-table-column :label="$t('form.operate')" align="left" fixed="right" >
<template slot-scope="scope" v-ifan class="s">="searchForm.studyStatus < 5">
<!-- 阅读 -->
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyMethod:read']">{{
$t('page.business.study.studyMethod.yuedu') }}</el-button>
@ -121,6 +121,7 @@ export default {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.id
this.searchForm.studyStatus = newVal.status
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.search()

+ 3
- 2
src/views/business/study/comp/syjList.vue View File

@ -42,7 +42,7 @@
</div>
<div class="tbbd-content">
<el-row class="add-box">
<el-row class="add-box" v-if="searchForm.studyStatus < 5">
<el-col>
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:studyRoom:add']">{{
$t('page.business.study.studyRoom.xzqy') }}</el-button>
@ -69,7 +69,7 @@
</template>
</el-table-column>
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200">
<template slot-scope="scope">
<template slot-scope="scope" v-if="searchForm.studyStatus < 5">
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyRoom:ljjl']">{{
$t('page.business.study.studyRoom.xq') }}</el-button>
<!-- 笼具记录 -->
@ -136,6 +136,7 @@ export default {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.id
this.searchForm.studyStatus = newVal.status
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.search()

+ 1
- 1
src/views/business/study/comp/wzlb/bacteriaList.vue View File

@ -55,7 +55,7 @@
<el-table-column :label="$t('form.operate')" fixed="right" align="center"
class-name="small-padding fixed-width" width="250px">
<template slot-scope="scope">
<template slot-scope="scope" v-ifan class="s">="queryParams.studyStatus < 5">
<!-- 详情 -->
<el-button type="text" @click="handleCz(scope.row)" >{{
$t('page.business.study.cell.cz') }}</el-button>

+ 2
- 2
src/views/business/study/comp/wzlb/cellList.vue View File

@ -55,9 +55,9 @@
<el-table-column :label="$t('form.operate')" fixed="right" align="center"
class-name="small-padding fixed-width" width="250px">
<template slot-scope="scope">
<template slot-scope="scope" v-ifan class="s">="queryParams.studyStatus < 5">
<!-- 详情 -->
<el-button type="text" @click="handleCz(scope.row)" >{{
<el-button type="text" @click="handleCz(scope.row)" >{{
$t('page.business.study.cell.cz') }}</el-button>
</template>
</el-table-column>

+ 1
- 1
src/views/business/study/comp/wzlb/gspList.vue View File

@ -76,7 +76,7 @@
<el-button type="text" @click="handleXq(scope.row)"
v-hasPermi="['business:studyMjy:xq', 'business:nonTrialMjy:xq', 'business:drugMjy:xq']">{{
$t('page.business.resource.gsp.detail') }}</el-button>
<template v-if="queryParams.studyStatus != 5">
<template v-if="queryParams.studyStatus < 5">
<template v-if="scope.row.syghzt == 1">
<!-- 处置 -->
<el-button type="text" @click="handleCz(scope.row)"

+ 1
- 1
src/views/business/study/comp/wzlb/gyzjList.vue View File

@ -85,7 +85,7 @@
<el-button type="text" @click="handleXq(scope.row)"
v-hasPermi="['business:studyGyzj:xq', 'business:nonTrialGyzj:xq', 'business:drugGyzj:xq']">{{
$t('page.business.resource.gyzj.detail') }}</el-button>
<template v-if="queryParams.studyStatus != 5">
<template v-if="queryParams.studyStatus < 5">
<template v-if="scope.row.zjzt == 3 && scope.row.cczt == 1">
<template v-if="scope.row.ghzt == 1">
<!-- 归还 -->

+ 1
- 1
src/views/business/study/comp/wzlb/mjyList.vue View File

@ -86,7 +86,7 @@
<el-button type="text" @click="handleXq(scope.row)"
v-hasPermi="['business:studyMjy:xq', 'business:nonTrialMjy:xq', 'business:drugMjy:xq']">{{
$t('page.business.resource.mjy.detail') }}</el-button>
<template v-if="queryParams.studyStatus != 5">
<template v-if="queryParams.studyStatus < 5">
<template v-if="scope.row.zjzt == 3 && scope.row.cczt == 1">
<!-- 处置药剂 -->
<el-button type="text" @click="handleCzyj(scope.row)"

+ 1
- 1
src/views/business/study/comp/wzlb/sjList.vue View File

@ -74,7 +74,7 @@
<el-button type="text" @click="handleXq(scope.row)" v-hasPermi="['business:resource:sj:xq']">{{
$t('page.business.resource.sj.detail') }}</el-button>
</template>
<template v-if="queryParams.studyStatus != 5">
<template v-if="queryParams.studyStatus < 5">
<!-- 处置 -->
<template v-if="scope.row.zjzt == 1">
<el-button type="text" @click="handleCz(scope.row)" v-hasPermi="['business:resource:sj:cz']">{{

Loading…
Cancel
Save