vue2-client 1.18.31 → 1.18.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.18.31",
3
+ "version": "1.18.32",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -10,6 +10,7 @@
10
10
  @columnClick="columnClick"
11
11
  @ceshi="ceshi"
12
12
  @rowDblClick="rowDblClick"
13
+ :defaultPageSize="5"
13
14
  :defaultQueryForm="{
14
15
  s_f_user_name: '张三'
15
16
  }"
@@ -36,7 +37,7 @@ export default {
36
37
  data () {
37
38
  return {
38
39
  // 查询配置文件名
39
- queryParamsName: 'ChargeCenterQueryUserCRUD',
40
+ queryParamsName: 'ChargeCenterQueryTodayDetailSIMPLECRUD',
40
41
  // 查询配置左侧tree
41
42
  xTreeConfigName: 'addressType',
42
43
  // 新增表单固定值
@@ -260,6 +260,7 @@
260
260
  <template v-if="item.actionArr && item.actionArr.length > 0">
261
261
  <a-dropdown
262
262
  placement="bottomRight"
263
+ overlayClassName="x-table-action-dropdown"
263
264
  :overlayStyle="{
264
265
  whiteSpace: 'nowrap',
265
266
  maxWidth: '250px',
@@ -697,6 +698,13 @@ export default {
697
698
  }
698
699
  </style>
699
700
  <style>
701
+ /* 多操作下拉菜单边框与阴影 */
702
+ .x-table-action-dropdown .ant-dropdown-menu {
703
+ border: 1px solid #e8e8e8;
704
+ border-radius: 4px;
705
+ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
706
+ }
707
+
700
708
  /* vue-draggable-resizable 拖动手柄样式 */
701
709
  .table-draggable-handle {
702
710
  height: 100% !important;
@@ -226,7 +226,7 @@ export default {
226
226
  let finalPageSize = this.pageSize
227
227
  if (this.showPagination === false) {
228
228
  // 当 showPagination 为 false 时,优先使用传入的 pageSize
229
- finalPageSize = pagination?.pageSize || this.pageSize
229
+ finalPageSize = this.defaultPageSize || pagination?.pageSize
230
230
  } else if (pagination && pagination.pageSize) {
231
231
  finalPageSize = pagination.pageSize
232
232
  } else if (this.localPagination && this.localPagination.pageSize) {
@@ -53,10 +53,10 @@ routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynami
53
53
  routerResource.example = {
54
54
  path: 'example',
55
55
  name: '示例主页面',
56
- component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
56
+ // component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
57
57
  // component: () => import('@vue2-client/base-client/components/his/HChart/demo.vue'),
58
58
  // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
59
- // component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
59
+ component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
60
60
  // component: () => import('@vue2-client/components/xScrollBox/example.vue'),
61
61
  // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
62
62
  // component: () => import('@vue2-client/pages/addressSelect/addressDemo.vue'),