|
|
@ -82,9 +82,12 @@ |
|
|
<el-table-column :label="$t('page.business.form.gsr')" align="center" prop="userMc" width="100" /> |
|
|
<el-table-column :label="$t('page.business.form.gsr')" align="center" prop="userMc" width="100" /> |
|
|
<el-table-column :label="$t('page.business.form.status')" prop="status" align="center" width="100"> |
|
|
<el-table-column :label="$t('page.business.form.status')" prop="status" align="center" width="100"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="scope.row.bdzt === 1">{{ $t('page.business.form.statusTbz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.form.statusYtj') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.form.statusYtg') }}</span> |
|
|
|
|
|
|
|
|
<span v-if="scope.row.bdzt === 1">{{ $t('page.business.study.studyFormFill.tbz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 3">{{ $t('page.business.study.studyFormFill.ytj') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 5">{{ $t('page.business.study.studyFormFill.ywc') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 7">{{ $t('page.business.study.studyFormFill.ywcfh') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 9">{{ $t('page.business.study.studyFormFill.dfz') }}</span> |
|
|
|
|
|
<span v-if="scope.row.bdzt === 11">{{ $t('page.business.study.studyFormFill.yfz') }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column :label="$t('page.business.study.studyFormFill.sfbl')" align="center" prop="status" width="100"> |
|
|
<el-table-column :label="$t('page.business.study.studyFormFill.sfbl')" align="center" prop="status" width="100"> |
|
|
@ -96,32 +99,33 @@ |
|
|
<el-table-column :label="$t('page.business.form.tjsj')" align="center" prop="tjsj" width="140" /> |
|
|
<el-table-column :label="$t('page.business.form.tjsj')" align="center" prop="tjsj" width="140" /> |
|
|
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200"> |
|
|
<el-table-column :label="$t('form.operate')" align="left" fixed="right" width="200"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<!-- 表单状态:1:填报中;3:已提交;5:已完成(经复核);7:已完成;9:待废止;11:已废止 --> |
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
|
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyFormFill:xq']">{{ |
|
|
<el-button type="text" @click="detail(scope.row)" v-hasPermi="['business:studyFormFill:xq']">{{ |
|
|
$t('form.detail') }}</el-button> |
|
|
$t('form.detail') }}</el-button> |
|
|
<!-- 编辑 --> |
|
|
<!-- 编辑 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:bj']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1||scope.row.bdzt === 5||scope.row.bdzt === 7" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:bj']">{{ |
|
|
$t('form.edit') }}</el-button> |
|
|
$t('form.edit') }}</el-button> |
|
|
<!-- 复核 --> |
|
|
<!-- 复核 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:fh']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 3" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:fh']">{{ |
|
|
$t('page.business.study.studyFormFill.fh') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.fh') }}</el-button> |
|
|
<!-- 加签 --> |
|
|
<!-- 加签 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:jq']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:jq']">{{ |
|
|
$t('page.business.study.studyFormFill.jq') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.jq') }}</el-button> |
|
|
<!-- 更换归属人 --> |
|
|
<!-- 更换归属人 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:ghgsr']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1||scope.row.bdzt === 3||scope.row.bdzt === 5||scope.row.bdzt === 7" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:ghgsr']">{{ |
|
|
$t('page.business.study.studyFormFill.ghgsr') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.ghgsr') }}</el-button> |
|
|
<!-- 审阅 --> |
|
|
<!-- 审阅 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:sy']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 5||scope.row.bdzt === 7" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:sy']">{{ |
|
|
$t('page.business.study.studyFormFill.sy') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.sy') }}</el-button> |
|
|
<!-- 废止 --> |
|
|
<!-- 废止 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:fz']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:fz']">{{ |
|
|
$t('page.business.study.studyFormFill.fz') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.fz') }}</el-button> |
|
|
<!-- 确认废止 --> |
|
|
<!-- 确认废止 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:shfz']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 9" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:shfz']">{{ |
|
|
$t('page.business.study.studyFormFill.shfz') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.shfz') }}</el-button> |
|
|
<!-- 观察 --> |
|
|
<!-- 观察 --> |
|
|
<el-button type="text" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:gc']">{{ |
|
|
|
|
|
|
|
|
<el-button type="text" v-if="scope.row.bdzt === 1" @click="edit(scope.row)" v-hasPermi="['business:studyFormFill:gc']">{{ |
|
|
$t('page.business.study.studyFormFill.gc') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.gc') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -247,7 +251,7 @@ export default { |
|
|
add() { |
|
|
add() { |
|
|
this.showEdit = true |
|
|
this.showEdit = true |
|
|
this.$emit('showDetail', this.showEdit) |
|
|
this.$emit('showDetail', this.showEdit) |
|
|
this.$refs.Bj.edit({ studyId: this.searchForm.studyId }) |
|
|
|
|
|
|
|
|
this.$refs.Bj.edit({ studyId: this.searchForm.studyId,studySubjectId:this.searchForm.studySubjectId }) |
|
|
}, |
|
|
}, |
|
|
edit(row) { |
|
|
edit(row) { |
|
|
this.showEdit = true |
|
|
this.showEdit = true |
|
|
|