作者 RuoYi

自定义弹层溢出滚动样式

@@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
64 margin-top: 6vh !important; 64 margin-top: 6vh !important;
65 } 65 }
66 66
67 -.el-dialog .el-dialog__body { 67 +.el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
68 overflow: auto; 68 overflow: auto;
69 overflow-x: hidden; 69 overflow-x: hidden;
70 max-height: 70vh; 70 max-height: 70vh;
@@ -137,7 +137,7 @@ @@ -137,7 +137,7 @@
137 /** 表格更多操作下拉样式 */ 137 /** 表格更多操作下拉样式 */
138 .el-table .el-dropdown-link { 138 .el-table .el-dropdown-link {
139 cursor: pointer; 139 cursor: pointer;
140 - color: #1890ff; 140 + color: #409EFF;
141 margin-left: 5px; 141 margin-left: 5px;
142 } 142 }
143 143
@@ -95,7 +95,7 @@ @@ -95,7 +95,7 @@
95 95
96 <el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange"> 96 <el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange">
97 <el-table-column type="selection" width="55" align="center" /> 97 <el-table-column type="selection" width="55" align="center" />
98 - <el-table-column label="任务编号" align="center" prop="jobId" /> 98 + <el-table-column label="任务编号" width="100" align="center" prop="jobId" />
99 <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" /> 99 <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" />
100 <el-table-column label="任务组名" align="center" prop="jobGroup"> 100 <el-table-column label="任务组名" align="center" prop="jobGroup">
101 <template slot-scope="scope"> 101 <template slot-scope="scope">
@@ -240,7 +240,7 @@ @@ -240,7 +240,7 @@
240 </div> 240 </div>
241 </el-dialog> 241 </el-dialog>
242 242
243 - <el-dialog title="Cron表达式生成器" :visible.sync="openCron"> 243 + <el-dialog title="Cron表达式生成器" :visible.sync="openCron" append-to-body class="scrollbar">
244 <crontab @hide="openCron=false" @fill="crontabFill" :expression="expression"></crontab> 244 <crontab @hide="openCron=false" @fill="crontabFill" :expression="expression"></crontab>
245 </el-dialog> 245 </el-dialog>
246 246
@@ -161,7 +161,7 @@ @@ -161,7 +161,7 @@
161 @pagination="getList" 161 @pagination="getList"
162 /> 162 />
163 <!-- 预览界面 --> 163 <!-- 预览界面 -->
164 - <el-dialog :title="preview.title" :visible.sync="preview.open" width="80%" top="5vh" append-to-body> 164 + <el-dialog :title="preview.title" :visible.sync="preview.open" width="80%" top="5vh" append-to-body class="scrollbar">
165 <el-tabs v-model="preview.activeName"> 165 <el-tabs v-model="preview.activeName">
166 <el-tab-pane 166 <el-tab-pane
167 v-for="(value, key) in preview.data" 167 v-for="(value, key) in preview.data"