2204A-Ui (按钮)

main
笨蛋 2024-11-15 16:27:42 +08:00
parent 3f67890dee
commit 08ca26c21c
1 changed files with 10 additions and 1 deletions

View File

@ -83,10 +83,19 @@
</el-table-column>
<el-table-column label="状态" align="center" prop="states">
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.states"/>
<el-switch
v-model="scope.row.states"
active-value="Y"
inactive-value="N"
active-text="是"
inactive-text="否"
active-color="#13ce66"
inactive-color="#ff4949">
></el-switch>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button