|
|
@ -118,19 +118,19 @@ |
|
|
$t('page.business.study.studyFormFill.jq') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.jq') }}</el-button> |
|
|
<!-- 更换归属人 --> |
|
|
<!-- 更换归属人 --> |
|
|
<el-button type="text" |
|
|
<el-button type="text" |
|
|
v-if="scope.row.bdzt === 1 || scope.row.bdzt === 3 || scope.row.bdzt === 5 || scope.row.bdzt === 7" |
|
|
|
|
|
|
|
|
v-if="(scope.row.bdzt === 1 || scope.row.bdzt === 3 || scope.row.bdzt === 5 || scope.row.bdzt === 7) && checkRole(['bz'])" |
|
|
@click="ghgsr(scope.row)" v-hasPermi="['business:drugFormFill:ghgsr']">{{ |
|
|
@click="ghgsr(scope.row)" v-hasPermi="['business:drugFormFill:ghgsr']">{{ |
|
|
$t('page.business.study.studyFormFill.ghgsr') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.ghgsr') }}</el-button> |
|
|
<!-- 审阅 --> |
|
|
<!-- 审阅 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 5 || scope.row.bdzt === 7" @click="sy(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="(scope.row.bdzt === 5 || scope.row.bdzt === 7) && (isQa || checkRole(['bz']))" @click="sy(scope.row)" |
|
|
v-hasPermi="['business:drugFormFill:sy']">{{ |
|
|
v-hasPermi="['business:drugFormFill:sy']">{{ |
|
|
$t('page.business.study.studyFormFill.sy') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.sy') }}</el-button> |
|
|
<!-- 废止 --> |
|
|
<!-- 废止 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="fz(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1 && id==scope.row.userId" @click="fz(scope.row)" |
|
|
v-hasPermi="['business:drugFormFill:fz']">{{ |
|
|
v-hasPermi="['business:drugFormFill:fz']">{{ |
|
|
$t('page.business.study.studyFormFill.fz') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.fz') }}</el-button> |
|
|
<!-- 确认废止 --> |
|
|
<!-- 确认废止 --> |
|
|
<el-button type="text" v-if="scope.row.bdzt === 9" @click="qrfz(scope.row)" |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 9 && checkRole(['bz'])" @click="qrfz(scope.row)" |
|
|
v-hasPermi="['business:drugFormFill:qrfz']">{{ |
|
|
v-hasPermi="['business:drugFormFill:qrfz']">{{ |
|
|
$t('page.business.study.studyFormFill.qrfz') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.qrfz') }}</el-button> |
|
|
<!-- 观察 --> |
|
|
<!-- 观察 --> |
|
|
@ -169,6 +169,8 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
|
|
|
import { studySubject_isQa } from "@/api/business/study/studySubject" |
|
|
|
|
|
import { checkPermi, checkRole } from "@/utils/permission"; |
|
|
import { studyFormFill_list } from '@/api/business/study/studyFormFill' |
|
|
import { studyFormFill_list } from '@/api/business/study/studyFormFill' |
|
|
import Bj from "@/views/business/study/comp/tbbd/Bj"; |
|
|
import Bj from "@/views/business/study/comp/tbbd/Bj"; |
|
|
import Xq from "@/views/business/study/comp/tbbd/Xq"; |
|
|
import Xq from "@/views/business/study/comp/tbbd/Xq"; |
|
|
@ -214,6 +216,7 @@ export default { |
|
|
components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc, SelectDeptUser, SelectDeptUserDialog }, |
|
|
components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc, SelectDeptUser, SelectDeptUserDialog }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
isQa:false, |
|
|
leader: null, |
|
|
leader: null, |
|
|
showFh: false, |
|
|
showFh: false, |
|
|
showAudit: false, |
|
|
showAudit: false, |
|
|
@ -243,8 +246,15 @@ export default { |
|
|
currentRow: null |
|
|
currentRow: null |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { }, |
|
|
|
|
|
|
|
|
created() {this.getIsQa() }, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
checkPermi, |
|
|
|
|
|
checkRole, |
|
|
|
|
|
getIsQa() { |
|
|
|
|
|
studySubject_isQa().then(response => { |
|
|
|
|
|
this.isQa=response.data |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
ghgsr(row) { |
|
|
ghgsr(row) { |
|
|
this.currentRow = row |
|
|
this.currentRow = row |
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|