|
@@ -35,9 +35,20 @@
|
|
|
<el-button @click="editTep(row)" text type="primary"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
- <el-button @click="deleteTep(row)" text type="primary"
|
|
|
- >删除</el-button
|
|
|
+
|
|
|
+ <el-popconfirm
|
|
|
+ :visible="row.dialogVisible"
|
|
|
+ title="您确认删除吗?"
|
|
|
+ width="200"
|
|
|
+ @cancel="row.dialogVisible = false"
|
|
|
+ @confirm="deleteTep(row)"
|
|
|
>
|
|
|
+ <template #reference>
|
|
|
+ <el-button @click="row.dialogVisible = true" text type="primary"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
</div>
|