Commit 4ec15a7a37d2d08c3788c6ab53bd63cf5f351957

Authored by guzijian
1 parent c611be43

fix: 修复表单显示不全问题

Showing 1 changed file with 8 additions and 8 deletions
src/views/num/num/index.vue
... ... @@ -40,7 +40,7 @@
40 40 <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
41 41 </el-row>
42 42  
43   - <el-table border v-loading="loading" :data="numList" @selection-change="handleSelectionChange">
  43 + <el-table border max-height="600" v-loading="loading" :data="numList" @selection-change="handleSelectionChange">
44 44 <el-table-column type="selection" width="55" align="center" />
45 45 <el-table-column label="班型名称" align="center" prop="ruleDictName" />
46 46 <el-table-column label="班次类型" align="center" prop="ruleType">
... ... @@ -232,14 +232,14 @@ function handleDelete(row) {
232 232  
233 233 proxy.$modal.msgSuccess("班型删除功能暂时禁用");
234 234 let result = false;
235   - if (result){
  235 + if (result) {
236 236 const _ids = row.id || ids.value;
237   - proxy.$modal.confirm('是否确认删除班次管理编号为"' + _ids + '"的数据项?').then(function () {
238   - return delNum(_ids);
239   - }).then(() => {
240   - getList();
241   - proxy.$modal.msgSuccess("删除成功");
242   - }).catch(() => { });
  237 + proxy.$modal.confirm('是否确认删除班次管理编号为"' + _ids + '"的数据项?').then(function () {
  238 + return delNum(_ids);
  239 + }).then(() => {
  240 + getList();
  241 + proxy.$modal.msgSuccess("删除成功");
  242 + }).catch(() => { });
243 243 }
244 244  
245 245 }
... ...