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