From e7f22e51057aa90e19afee1628dc68a0d7a6c99e Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 11 七月 2022 08:51:57 +0800
Subject: [PATCH] 1.优化tagviews
---
src/views/jcsz/jsqd.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/views/jcsz/jsqd.vue b/src/views/jcsz/jsqd.vue
index 40bbad5..db1b229 100644
--- a/src/views/jcsz/jsqd.vue
+++ b/src/views/jcsz/jsqd.vue
@@ -150,7 +150,7 @@
<el-dialog
:title="operation==='add'?'鏂板':'缂栬緫'"
:visible.sync="dialogVisible"
- width="65%"
+ width="800px"
top="15vh"
:close-on-click-modal="false"
@closed="handleClose"
@@ -194,7 +194,7 @@
<el-dialog
title="璁剧疆"
:visible.sync="settingDialogVisible"
- width="50%"
+ width="800px"
top="15vh"
:close-on-click-modal="false"
class="settingDialogVisible"
@@ -276,7 +276,7 @@
<el-dialog
title="瑙掕壊鍏宠仈鐢ㄦ埛"
:visible.sync="userDialogVisible"
- width="80%"
+ width="1500px"
:close-on-click-modal="false"
top="15vh"
:fullscreen="isFullscreen"
@@ -419,7 +419,7 @@
<el-dialog
title="瑙掕壊鍏宠仈鏉冮檺"
:visible.sync="dialogVisibleRight"
- width="50%"
+ width="800px"
top="15vh"
:fullscreen="isFullscreen"
:close-on-click-modal="false"
@@ -509,7 +509,7 @@
const SER_HZ = /^[\u4e00-\u9fa5]+$/
export default {
- name: 'Zzjg',
+ name: 'JSQD',
components: {
Pagination
},
@@ -790,7 +790,7 @@
console.log(window.innerHeight)
this.mainHeight = window.innerHeight - 250
this.tableHeight = this.mainHeight - 100
- this.isFullscreen = window.innerHeight < 800
+ // this.isFullscreen = window.innerHeight < 800
})
},
/* 璁剧疆妯″潡*/
@@ -813,7 +813,7 @@
// 娣诲姞鎸夐挳
addSetting() {
let number = Math.random() * Math.random()// 浣滀负鍒犻櫎鏃剁殑鏍囪瘑绗�
- number = number === 0 ? Math.random() * Math.random() : number
+ number = number === 0 ? (10 + Math.random()) : number
const data = { roletype_code: '', roletype_name: '', isVisible: 1, number: number }
this.RoleTypeCodeArr.unshift(data)
},
@@ -1362,9 +1362,9 @@
color: #606266;
}
-//::v-deep .el-dialog__body {
-// padding: 20px 100px !important;
-//}
+::v-deep .el-dialog__body {
+ padding: 20px 100px !important;
+}
.settingDialogVisible, .userDialogVisible, .dialogVisibleRight {
::v-deep .el-dialog__body {
--
Gitblit v1.9.3