From e45cb00314d0d027996a6155d05bde749ab4acd8 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 22 六月 2022 10:57:56 +0800
Subject: [PATCH] 1.解决了部分浏览器兼容问题
---
src/views/jcsz/zzjg.vue | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/views/jcsz/zzjg.vue b/src/views/jcsz/zzjg.vue
index cf1f0fb..248f1ea 100644
--- a/src/views/jcsz/zzjg.vue
+++ b/src/views/jcsz/zzjg.vue
@@ -1,7 +1,8 @@
<template>
<div>
- <div class="body" style="background-color: #ffffff; padding: 20px 10px 0 20px;" :style="{height:mainHeight+'px'}">
- <div style="height: 50px;">
+ <div class="body" style="background-color: #ffffff; padding: 20px 10px 0 20px;">
+ <!-- <div class="body" style="background-color: #ffffff; padding: 20px 10px 0 20px;" :style="{height:mainHeight+'px'}">-->
+ <div>
<el-form
ref="form"
:model="form"
@@ -36,28 +37,29 @@
</div>
</el-form>
</div>
- <div style="margin-bottom: 20px;display: flex">
+ <div style="margin-bottom: 20px;display: flex;z-index: 2">
<el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
<!-- <el-button type="primary" icon="el-icon-edit" @click="edit('edit')">淇敼</el-button>-->
<!-- <el-button type="primary" icon="el-icon-delete" @click="del">鎵归噺鍒犻櫎</el-button>-->
</div>
+ <!-- :style="{width: 100+'%',height:tableHeight+'px'}"-->
<div style="display: flex;border: 1px solid #eee">
<el-table
:data="tableData"
border
highlight-current-row
- :style="{width: 100+'%',height:tableHeight+'px'}"
:header-cell-style="this.$headerCellStyle"
:cell-style="this.$cellStyle"
@sort-change="sortChange"
>
+
<!-- <el-table-column-->
<!-- type="selection"-->
<!-- width="50"-->
<!-- />-->
<el-table-column
- prop="id"
+ prop="RowNum"
width="50"
label="搴忓彿"
/>
@@ -97,6 +99,7 @@
<el-table-column
prop="lm_date"
label="鍒涘缓鏃堕棿"
+ show-overflow-tooltip
sortable="custom"
/>
<el-table-column
@@ -130,12 +133,12 @@
width="50%"
top="15vh"
@closed="handleClose"
+ @close="handleClose"
>
<el-form ref="dialogForm" :rules="dialogFormRules" :model="dialogForm" label-width="80px">
<el-form-item label="缁勭粐绫诲瀷" prop="OrgType">
<el-radio-group
v-model="dialogForm.OrgType"
- style="display: flex;align-items: end;height: 29px;"
@change="changeRadio"
>
<el-radio
@@ -383,13 +386,12 @@
AddUpdateOrganization(data).then(res => {
if (res.code === '200') {
this.$message.success(this.operation === 'add' ? '娣诲姞鎴愬姛锛�' : '淇敼鎴愬姛锛�')
+ this.dialogVisible = false
this.getOrganizationSearch()
} else {
this.$message.error(this.operation === 'add' ? '娣诲姞澶辫触锛�' : '淇敼澶辫触锛�')
}
})
-
- this.dialogVisible = false
}
})
},
@@ -459,7 +461,8 @@
}
::v-deep .el-input__inner {
- height: 30px
+ height: 30px;
+ line-height:30px;
}
::v-deep .el-table .caret-wrapper {
--
Gitblit v1.9.3