|
@@ -152,7 +152,16 @@
|
|
|
{{ formatDate(scope.row.latestModifyTime) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
+ <el-table-column prop="xmjl" label="开关" width="100">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-switch
|
|
|
+ v-model="scope.row.status"
|
|
|
+ :active-value="0"
|
|
|
+ @change="switchChange(scope.row)"
|
|
|
+ :inactive-value="1"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" width="120" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<div style="display: flex">
|
|
@@ -163,7 +172,7 @@
|
|
|
>
|
|
|
<span>编辑</span>
|
|
|
</div>
|
|
|
- <dialog-confirm
|
|
|
+ <!-- <dialog-confirm
|
|
|
title="删除将无法恢复该条数据,确认删除吗?"
|
|
|
confirmButtonText="确定"
|
|
|
cancelButtonText="取消"
|
|
@@ -176,7 +185,7 @@
|
|
|
<span>删除</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
- </dialog-confirm>
|
|
|
+ </dialog-confirm> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|