2204A-Ui (按钮)
parent
3f67890dee
commit
08ca26c21c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue