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 CHANGED
@@ -1,6 +1,12 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
+ **1.6.13 -2023-02-13 @苗艳强**
5
+ - 调整页面样式
6
+
7
+ **1.6.12 -2023-01-16 @江超**
8
+ - 修复v4环境下新增和修改异常的问题
9
+
4
10
  **1.6.11 -2023-01-12 @苗艳强**
5
11
  - 修复树形选择框值为数字类型时无法选中问题
6
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.6.11",
3
+ "version": "1.6.13",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -266,6 +266,7 @@ export default {
266
266
  // 交由父级处理
267
267
  this.$emit('onSubmit', {
268
268
  businessType: this.businessType,
269
+ serviceName: this.serviceName,
269
270
  realForm: realForm,
270
271
  currUserName: this.currUser.name
271
272
  }, () => {
@@ -241,7 +241,7 @@ export default {
241
241
  businessType: res.businessType,
242
242
  operator: res.currUserName
243
243
  }
244
- addOrModify(requestParameters, this.serviceName).then(data => {
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
- const width = document.documentElement.clientWidth
255
- if (width >= 1600) {
256
- this.scrollYHeight = 429
257
- } else if (width >= 1200) {
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 = 343
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" :style="`min-height: ${minHeight}px;`">
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
- /*min-height: calc(100vh - 64px - 122px);*/
161
+ min-height: calc(100vh - 64px - 1px);
162
162
  }
163
163
  .setting{
164
164
  background-color: @primary-color;