Sfoglia il codice sorgente

- 修改 用户例外转通用弹窗大小

master
JinxChen 2 anni fa
parent
commit
b237684ece
2 ha cambiato i file con 15 aggiunte e 6 eliminazioni
  1. +3
    -2
      README.md
  2. +12
    -4
      src/views/off-limits-manage/user-exception/index.vue

+ 3
- 2
README.md Vedi File

@@ -1,7 +1,7 @@
<!--
* @Date: 2021-11-29 11:14:13
* @LastEditors: JinxChen
* @LastEditTime: 2022-01-12 09:24:58
* @LastEditTime: 2022-01-12 17:34:32
* @FilePath: \GpsCardAdmin\README.md
* @description:
-->
@@ -181,4 +181,5 @@ FIX
`2021年1月12日`
FIX
- 修复 登录过期没有跳转到登录界面的问题
- 修复 登录过期错误提示两次的问题
- 修复 登录过期错误提示两次的问题
- 修改 用户例外转通用弹窗大小

+ 12
- 4
src/views/off-limits-manage/user-exception/index.vue Vedi File

@@ -1,7 +1,7 @@
<!--
* @Date: 2021-11-30 09:44:24
* @LastEditors: JinxuChen
* @LastEditTime: 2022-01-08 16:27:51
* @LastEditors: JinxChen
* @LastEditTime: 2022-01-12 17:32:23
* @FilePath: \GpsCardAdmin\src\views\off-limits-manage\user-exception\index.vue
* @description:
-->
@@ -102,7 +102,7 @@
</span>
</el-dialog>
<!-- 转通用弹窗 -->
<el-dialog :visible.sync="dialogTrans" :title="dialogTransTitle">
<el-dialog :visible.sync="dialogTrans" :title="dialogTransTitle" width="200">
<!-- <p>请选择要转换的类别:</p> -->
<!-- <el-radio v-model="radio1" label="1" border>关键字</el-radio>
<el-radio v-model="radio1" label="2" border>固定地点</el-radio>-->
@@ -334,9 +334,17 @@ export default {
// 转通用例外
onTransform(row) {
console.log("row", row);
this.dialogTrans = true;
// todo 暂时取消, 后面需求改变再根据需求开发
/* this.dialogTrans = true; */
this.content = row.content;
this.form.status = row.status === '启用' ? 2 : 0;
this.$confirm("是否转通用?", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.onTransConfirm()
}).catch(() => {});
},
// 确定转通用例外
onTransConfirm() {


Loading…
Annulla
Salva