This commit is contained in:
2024-03-05 17:15:25 +08:00
parent 01ef8368dc
commit 097a22c62a
2 changed files with 432 additions and 298 deletions

File diff suppressed because it is too large Load Diff

View File

@ -46,6 +46,7 @@
</el-table-column>
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
v-hasPermi="['system:question:edit']">编辑</el-button>
@ -54,8 +55,8 @@
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@pagination="getList" />
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" />
</el-col>
</el-row>
</div>
@ -156,6 +157,12 @@ export default {
},
/** 修改按钮操作 */
handleUpdate(row) {
this.$router.push({
path: "/question/addQuestionnaire",
query: {
id: row.id,
},
});
},
/** 删除按钮操作 */
handleDelete(row) {