Ver código fonte

修改删除提示

zhuliu 3 anos atrás
pai
commit
308e43b73f
2 arquivos alterados com 4 adições e 3 exclusões
  1. 3 2
      src/views/client/index.vue
  2. 1 1
      src/views/dataPermission/index.vue

+ 3 - 2
src/views/client/index.vue

@@ -382,10 +382,11 @@ export default {
 				});
 			},
     handleDelete(row) {
-      this.$confirm('确认删除本条数据吗?', '提示', {
+      this.$confirm('该操作将删除该租户下所有数据,无法撤回,请慎重考虑!是否删除?', '注意!', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
-        type: 'warning'
+        type: 'warning',
+        center: true
       }).then(() => {
         this.loading = true
         this.$api.deleteTenant({ id: row.id }).then(response => {

+ 1 - 1
src/views/dataPermission/index.vue

@@ -23,7 +23,7 @@
     >
       <el-table-column type="selection" width="60" align="center" ></el-table-column>
       <el-table-column prop="name" label="数据权限名称" align="" show-overflow-tooltip></el-table-column>
-      <el-table-column prop="tenant" label="条件" align="center" show-overflow-tooltip></el-table-column>
+      <!-- <el-table-column prop="tenant" label="条件" align="center" show-overflow-tooltip></el-table-column> -->
       <el-table-column prop="remark" label="备注" align="center" show-overflow-tooltip></el-table-column>
       <el-table-column label="操作" align="center" width="150">
         <template slot-scope="scope">