Browse Source

fix:[预填表单]审核bug

lkf
15881625488@163.com 2 months ago
parent
commit
8590a80d86
3 changed files with 9 additions and 9 deletions
  1. +2
    -2
      src/views/business/form/drug/comp/ytbdList.vue
  2. +2
    -2
      src/views/business/form/nonTrial/comp/ytbdList.vue
  3. +5
    -5
      src/views/business/study/comp/ytbdList.vue

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

@ -86,14 +86,14 @@
<el-button type="text" v-hasPermi="['business:drugFormPre:bj']" @click="edit(scope.row)" <el-button type="text" v-hasPermi="['business:drugFormPre:bj']" @click="edit(scope.row)"
v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 7) && id == scope.row.userId">{{ v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 7) && id == scope.row.userId">{{
$t('form.edit') }}</el-button> $t('form.edit') }}</el-button>
<template v-if="scope.row.fzrsh == 10">
<template v-if="scope.row.fzrsh == '是'">
<template v-if="scope.row.fzrshzt == 5"> <template v-if="scope.row.fzrshzt == 5">
<!-- 负责人审核 --> <!-- 负责人审核 -->
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:drugFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:drugFormPre:sh']"
v-if="scope.row.bdzt === 3 && id == leader">{{ v-if="scope.row.bdzt === 3 && id == leader">{{
$t('page.business.form.audit') }}</el-button> $t('page.business.form.audit') }}</el-button>
</template> </template>
<template>
<template v-else>
<!-- 有权限审核 --> <!-- 有权限审核 -->
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:drugFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:drugFormPre:sh']"
v-if="scope.row.bdzt === 3&&id!=scope.row.userId">{{ $t('page.business.form.audit') }}</el-button> v-if="scope.row.bdzt === 3&&id!=scope.row.userId">{{ $t('page.business.form.audit') }}</el-button>

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

@ -90,14 +90,14 @@
<el-button type="text" v-hasPermi="['business:nonTrialFormPre:bj']" @click="edit(scope.row)" <el-button type="text" v-hasPermi="['business:nonTrialFormPre:bj']" @click="edit(scope.row)"
v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 7) && id == scope.row.userId">{{ v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 7) && id == scope.row.userId">{{
$t('form.edit') }}</el-button> $t('form.edit') }}</el-button>
<template v-if="scope.row.fzrsh == 10">
<template v-if="scope.row.fzrsh == '是'">
<template v-if="scope.row.fzrshzt == 5"> <template v-if="scope.row.fzrshzt == 5">
<!-- 负责人审核 --> <!-- 负责人审核 -->
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:nonTrialFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:nonTrialFormPre:sh']"
v-if="scope.row.bdzt === 3 && id == leader">{{ v-if="scope.row.bdzt === 3 && id == leader">{{
$t('page.business.form.audit') }}</el-button> $t('page.business.form.audit') }}</el-button>
</template> </template>
<template>
<template v-else>
<!-- 有权限审核 --> <!-- 有权限审核 -->
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:nonTrialFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:nonTrialFormPre:sh']"
v-if="scope.row.bdzt === 3 && id != scope.row.userId">{{ $t('page.business.form.audit') v-if="scope.row.bdzt === 3 && id != scope.row.userId">{{ $t('page.business.form.audit')

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

@ -89,18 +89,18 @@
<el-button type="text" v-hasPermi="['business:studyFormPre:bj']" @click="edit(scope.row)" <el-button type="text" v-hasPermi="['business:studyFormPre:bj']" @click="edit(scope.row)"
v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 7) && id == scope.row.userId">{{ v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 7) && id == scope.row.userId">{{
$t('form.edit') }}</el-button> $t('form.edit') }}</el-button>
<template v-if="scope.row.fzrsh == 10">
<template v-if="scope.row.fzrsh == '是'">
<template v-if="scope.row.fzrshzt == 5"> <template v-if="scope.row.fzrshzt == 5">
<!-- 负责人审核 --> <!-- 负责人审核 -->
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']"
v-if="scope.row.bdzt === 3 && id == leader">{{ v-if="scope.row.bdzt === 3 && id == leader">{{
$t('page.business.form.audit') }}</el-button>
$t('page.business.form.audit') }}1</el-button>
</template> </template>
<template>
<template v-else>
<!-- 有权限审核 --> <!-- 有权限审核 -->
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']"
v-if="scope.row.bdzt === 3 && isMatchSubject && (id != scope.row.userId||id<=103)">{{ v-if="scope.row.bdzt === 3 && isMatchSubject && (id != scope.row.userId||id<=103)">{{
$t('page.business.form.audit') }}</el-button>
$t('page.business.form.audit') }}2</el-button>
</template> </template>
</template> </template>
<template v-else> <template v-else>
@ -108,7 +108,7 @@
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']" <el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:studyFormPre:sh']"
v-if="scope.row.bdzt === 3 && isMatchSubject && (id != scope.row.userId||id<=103)">{{ v-if="scope.row.bdzt === 3 && isMatchSubject && (id != scope.row.userId||id<=103)">{{
$t('page.business.form.audit') $t('page.business.form.audit')
}}</el-button>
}}3</el-button>
</template> </template>
<template v-if="scope.row.bdzt === 5 && id == scope.row.userId"> <template v-if="scope.row.bdzt === 5 && id == scope.row.userId">
<el-button type="text" @click="gb(scope.row)">{{ $t('page.business.study.studyFormPre.guanbi') <el-button type="text" @click="gb(scope.row)">{{ $t('page.business.study.studyFormPre.guanbi')

Loading…
Cancel
Save