vue2-client 1.6.11 → 1.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/base-client/components/common/XAddForm/XAddForm.vue +1 -0
- package/src/base-client/components/common/XFormTable/XFormTable.vue +1 -1
- package/src/base-client/components/common/XTable/XTable.vue +5 -6
- package/src/layouts/AdminLayout.vue +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -241,7 +241,7 @@ export default {
|
|
|
241
241
|
businessType: res.businessType,
|
|
242
242
|
operator: res.currUserName
|
|
243
243
|
}
|
|
244
|
-
addOrModify(requestParameters,
|
|
244
|
+
addOrModify(requestParameters, res.serviceName).then(data => {
|
|
245
245
|
this.$message.success(res.businessType + '成功!')
|
|
246
246
|
this.refreshTable(res.businessType === '新增')
|
|
247
247
|
// commit
|
|
@@ -251,13 +251,12 @@ export default {
|
|
|
251
251
|
totalWidth = totalWidth + 180
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
this.scrollYHeight = 390
|
|
254
|
+
// 设置表格高度
|
|
255
|
+
const height = document.documentElement.clientHeight
|
|
256
|
+
if (height >= 1070) {
|
|
257
|
+
this.scrollYHeight = 'calc(100vh - 526px)'
|
|
259
258
|
} else {
|
|
260
|
-
this.scrollYHeight =
|
|
259
|
+
this.scrollYHeight = 'calc(100vh - 398px)'
|
|
261
260
|
}
|
|
262
261
|
// 横向滚动长度大于所有宽度,才能实现固定表头
|
|
263
262
|
this.scrollXWidth = totalWidth
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<a-layout class="admin-layout-main beauty-scroll">
|
|
21
21
|
<admin-header :class="[{'fixed-tabs': fixedTabs, 'fixed-header': fixedHeader, 'multi-page': multiPage}]" :style="headerStyle" :menuData="headMenuData" :collapsed="collapsed" @toggleCollapse="toggleCollapse"/>
|
|
22
22
|
<a-layout-header :class="['virtual-header', {'fixed-tabs' : fixedTabs, 'fixed-header': fixedHeader, 'multi-page': multiPage}]" v-show="fixedHeader"></a-layout-header>
|
|
23
|
-
<a-layout-content class="admin-layout-content"
|
|
23
|
+
<a-layout-content class="admin-layout-content">
|
|
24
24
|
<div style="position: relative">
|
|
25
25
|
<slot></slot>
|
|
26
26
|
</div>
|
|
@@ -158,7 +158,7 @@ export default {
|
|
|
158
158
|
.admin-layout-content{
|
|
159
159
|
padding: 24px;
|
|
160
160
|
/*overflow-x: hidden;*/
|
|
161
|
-
|
|
161
|
+
min-height: calc(100vh - 64px - 1px);
|
|
162
162
|
}
|
|
163
163
|
.setting{
|
|
164
164
|
background-color: @primary-color;
|