@fecp/designer 5.4.91 → 5.4.92
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +64 -64
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +5 -3
- package/es/packages/vue/src/components/table/Table.vue.mjs +31 -5
- package/es/packages/vue/src/utils/common.mjs +27 -0
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +64 -64
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +4 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +31 -5
- package/lib/packages/vue/src/utils/common.js +27 -0
- package/package.json +1 -1
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
package/es/designer.css
CHANGED
|
@@ -6078,12 +6078,12 @@ body,
|
|
|
6078
6078
|
}
|
|
6079
6079
|
.filter-divider[data-v-43e04541] .el-icon {
|
|
6080
6080
|
transition: transform 0.3s ease;
|
|
6081
|
-
}.dynamic-mode-config .dynamic-row[data-v-
|
|
6081
|
+
}.dynamic-mode-config .dynamic-row[data-v-1c63cadf] {
|
|
6082
6082
|
display: flex;
|
|
6083
6083
|
height: 54px;
|
|
6084
6084
|
align-items: center;
|
|
6085
6085
|
}
|
|
6086
|
-
.dynamic-mode-config .back-icon[data-v-
|
|
6086
|
+
.dynamic-mode-config .back-icon[data-v-1c63cadf] {
|
|
6087
6087
|
display: flex;
|
|
6088
6088
|
align-items: center;
|
|
6089
6089
|
justify-content: center;
|
|
@@ -6096,11 +6096,11 @@ body,
|
|
|
6096
6096
|
margin-left: 4px;
|
|
6097
6097
|
margin-right: -6px;
|
|
6098
6098
|
}
|
|
6099
|
-
.dynamic-mode-config .back-icon .el-icon[data-v-
|
|
6099
|
+
.dynamic-mode-config .back-icon .el-icon[data-v-1c63cadf] {
|
|
6100
6100
|
font-size: 16px;
|
|
6101
6101
|
font-weight: bold;
|
|
6102
6102
|
}
|
|
6103
|
-
.dynamic-mode-config .template-name[data-v-
|
|
6103
|
+
.dynamic-mode-config .template-name[data-v-1c63cadf] {
|
|
6104
6104
|
font-size: 16px;
|
|
6105
6105
|
font-weight: 600;
|
|
6106
6106
|
color: #303133;
|
|
@@ -6113,7 +6113,7 @@ body,
|
|
|
6113
6113
|
display: flex;
|
|
6114
6114
|
align-items: center;
|
|
6115
6115
|
}
|
|
6116
|
-
.dynamic-mode-config .template-name-line[data-v-
|
|
6116
|
+
.dynamic-mode-config .template-name-line[data-v-1c63cadf] {
|
|
6117
6117
|
height: 16px;
|
|
6118
6118
|
width: 4px;
|
|
6119
6119
|
background-color: var(--el-color-primary);
|
|
@@ -6122,42 +6122,42 @@ body,
|
|
|
6122
6122
|
margin-right: 12px;
|
|
6123
6123
|
margin-top: 2px;
|
|
6124
6124
|
}
|
|
6125
|
-
.dynamic-mode-config .tab-display-section[data-v-
|
|
6125
|
+
.dynamic-mode-config .tab-display-section[data-v-1c63cadf] {
|
|
6126
6126
|
flex: 1;
|
|
6127
6127
|
min-width: 0;
|
|
6128
6128
|
}
|
|
6129
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6129
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__header {
|
|
6130
6130
|
margin: 0;
|
|
6131
6131
|
}
|
|
6132
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6132
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__nav-wrap::after {
|
|
6133
6133
|
height: 0;
|
|
6134
6134
|
}
|
|
6135
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6135
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__item {
|
|
6136
6136
|
padding: 0 12px;
|
|
6137
6137
|
}
|
|
6138
|
-
.dynamic-mode-config .search-display-section[data-v-
|
|
6138
|
+
.dynamic-mode-config .search-display-section[data-v-1c63cadf] {
|
|
6139
6139
|
flex-shrink: 0;
|
|
6140
6140
|
display: flex;
|
|
6141
6141
|
align-items: center;
|
|
6142
6142
|
gap: 12px;
|
|
6143
6143
|
margin-left: auto;
|
|
6144
6144
|
}
|
|
6145
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-
|
|
6145
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-1c63cadf] {
|
|
6146
6146
|
/* width: 300px; */
|
|
6147
6147
|
}
|
|
6148
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-
|
|
6148
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-1c63cadf]:hover {
|
|
6149
6149
|
color: var(--el-color-primary);
|
|
6150
6150
|
cursor: pointer;
|
|
6151
6151
|
}
|
|
6152
|
-
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-
|
|
6152
|
+
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-1c63cadf] {
|
|
6153
6153
|
display: flex;
|
|
6154
6154
|
align-items: center;
|
|
6155
6155
|
gap: 8px;
|
|
6156
6156
|
}
|
|
6157
|
-
.dynamic-mode-config .search-display-section .optBtn[data-v-
|
|
6157
|
+
.dynamic-mode-config .search-display-section .optBtn[data-v-1c63cadf] {
|
|
6158
6158
|
position: relative;
|
|
6159
6159
|
}
|
|
6160
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6160
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf] {
|
|
6161
6161
|
position: absolute;
|
|
6162
6162
|
top: -10px;
|
|
6163
6163
|
right: -10px;
|
|
@@ -6174,31 +6174,31 @@ body,
|
|
|
6174
6174
|
font-size: 12px;
|
|
6175
6175
|
z-index: 1;
|
|
6176
6176
|
}
|
|
6177
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6177
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf]:hover {
|
|
6178
6178
|
background-color: #f56c6c;
|
|
6179
6179
|
}
|
|
6180
|
-
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-
|
|
6180
|
+
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-1c63cadf] {
|
|
6181
6181
|
display: flex;
|
|
6182
6182
|
}
|
|
6183
|
-
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-
|
|
6183
|
+
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-1c63cadf] {
|
|
6184
6184
|
pointer-events: none;
|
|
6185
6185
|
}
|
|
6186
|
-
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-
|
|
6186
|
+
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-1c63cadf] {
|
|
6187
6187
|
margin-right: 4px;
|
|
6188
6188
|
}
|
|
6189
|
-
.dynamic-mode-config .expand-filter-section[data-v-
|
|
6189
|
+
.dynamic-mode-config .expand-filter-section[data-v-1c63cadf] {
|
|
6190
6190
|
padding-top: 4px;
|
|
6191
6191
|
border-top: 1px solid #ebeef5;
|
|
6192
6192
|
margin-top: 4px;
|
|
6193
6193
|
}
|
|
6194
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-
|
|
6194
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-1c63cadf] {
|
|
6195
6195
|
width: 100%;
|
|
6196
6196
|
}
|
|
6197
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-
|
|
6197
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-1c63cadf] {
|
|
6198
6198
|
display: flex;
|
|
6199
6199
|
flex-wrap: wrap;
|
|
6200
6200
|
}
|
|
6201
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6201
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item {
|
|
6202
6202
|
padding: 2px;
|
|
6203
6203
|
border: 2px solid transparent;
|
|
6204
6204
|
border-radius: 2px;
|
|
@@ -6207,20 +6207,20 @@ body,
|
|
|
6207
6207
|
cursor: move;
|
|
6208
6208
|
margin-bottom: 4px;
|
|
6209
6209
|
}
|
|
6210
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6210
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__label-wrap {
|
|
6211
6211
|
margin: 0 0 0 8px !important;
|
|
6212
6212
|
}
|
|
6213
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6213
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__content {
|
|
6214
6214
|
min-width: 150px;
|
|
6215
6215
|
}
|
|
6216
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6216
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .form-item-label {
|
|
6217
6217
|
display: flex;
|
|
6218
6218
|
align-items: center;
|
|
6219
6219
|
}
|
|
6220
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6220
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-input {
|
|
6221
6221
|
width: 150px;
|
|
6222
6222
|
}
|
|
6223
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6223
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon {
|
|
6224
6224
|
position: absolute;
|
|
6225
6225
|
top: -10px;
|
|
6226
6226
|
right: -10px;
|
|
@@ -6237,19 +6237,19 @@ body,
|
|
|
6237
6237
|
font-size: 12px;
|
|
6238
6238
|
z-index: 1;
|
|
6239
6239
|
}
|
|
6240
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6240
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon:hover {
|
|
6241
6241
|
background-color: #f56c6c;
|
|
6242
6242
|
}
|
|
6243
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6243
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover {
|
|
6244
6244
|
border: 2px dashed #7b99cb !important;
|
|
6245
6245
|
}
|
|
6246
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6246
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover .delete-icon {
|
|
6247
6247
|
display: flex;
|
|
6248
6248
|
}
|
|
6249
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6249
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-select {
|
|
6250
6250
|
border: 2px dashed #efa53a !important;
|
|
6251
6251
|
}
|
|
6252
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6252
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item__label {
|
|
6253
6253
|
font-size: 13px;
|
|
6254
6254
|
color: #606266;
|
|
6255
6255
|
pointer-events: none;
|
|
@@ -6258,18 +6258,18 @@ body,
|
|
|
6258
6258
|
display: flex;
|
|
6259
6259
|
align-items: center;
|
|
6260
6260
|
}
|
|
6261
|
-
[data-v-
|
|
6261
|
+
[data-v-1c63cadf] .el-checkbox-group {
|
|
6262
6262
|
display: flex;
|
|
6263
6263
|
gap: 12px;
|
|
6264
6264
|
}
|
|
6265
|
-
[data-v-
|
|
6265
|
+
[data-v-1c63cadf] .el-checkbox-group .el-checkbox-button__inner {
|
|
6266
6266
|
border-radius: 4px;
|
|
6267
|
-
}.fec-table[data-v-
|
|
6267
|
+
}.fec-table[data-v-6145f01c] {
|
|
6268
6268
|
height: 100%;
|
|
6269
6269
|
flex-grow: 1;
|
|
6270
6270
|
padding: 0 16px;
|
|
6271
6271
|
}
|
|
6272
|
-
.fec-table-container[data-v-
|
|
6272
|
+
.fec-table-container[data-v-6145f01c] {
|
|
6273
6273
|
width: 100%;
|
|
6274
6274
|
background: #fff;
|
|
6275
6275
|
box-sizing: border-box;
|
|
@@ -6279,79 +6279,79 @@ body,
|
|
|
6279
6279
|
overflow: hidden;
|
|
6280
6280
|
flex-grow: 1;
|
|
6281
6281
|
}
|
|
6282
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6282
|
+
.fec-table-container .fec-vxe-table[data-v-6145f01c] {
|
|
6283
6283
|
flex: 1;
|
|
6284
6284
|
min-height: 0;
|
|
6285
6285
|
overflow: hidden;
|
|
6286
6286
|
margin-bottom: 16px;
|
|
6287
6287
|
}
|
|
6288
|
-
.fec-table-container[data-v-
|
|
6288
|
+
.fec-table-container[data-v-6145f01c] .vxe-table {
|
|
6289
6289
|
font-size: 14px;
|
|
6290
6290
|
font-family: inherit;
|
|
6291
6291
|
}
|
|
6292
|
-
.fec-table-container[data-v-
|
|
6293
|
-
.fec-table-container[data-v-
|
|
6292
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-sort--asc-btn,
|
|
6293
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-sort--desc-btn {
|
|
6294
6294
|
color: #dcdcdc;
|
|
6295
6295
|
}
|
|
6296
|
-
.fec-table-container[data-v-
|
|
6297
|
-
.fec-table-container[data-v-
|
|
6296
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6297
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6298
6298
|
color: #d3edf9;
|
|
6299
6299
|
}
|
|
6300
|
-
.fec-table-container[data-v-
|
|
6300
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .serverSort .sort--active {
|
|
6301
6301
|
color: var(--el-color-primary);
|
|
6302
6302
|
}
|
|
6303
|
-
.fec-table-container[data-v-
|
|
6303
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .sort--active {
|
|
6304
6304
|
color: var(--el-color-primary);
|
|
6305
6305
|
}
|
|
6306
|
-
.fec-table-container[data-v-
|
|
6306
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--body-wrapper {
|
|
6307
6307
|
overflow: auto;
|
|
6308
6308
|
}
|
|
6309
|
-
.fec-table-container[data-v-
|
|
6309
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column {
|
|
6310
6310
|
background-color: #fff;
|
|
6311
6311
|
}
|
|
6312
|
-
.fec-table-container[data-v-
|
|
6312
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column .vxe-cell {
|
|
6313
6313
|
height: 40px !important;
|
|
6314
6314
|
min-height: 40px !important;
|
|
6315
6315
|
color: #333;
|
|
6316
6316
|
}
|
|
6317
|
-
.fec-table-container[data-v-
|
|
6317
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6318
6318
|
height: 40px !important;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column .vxe-cell {
|
|
6321
6321
|
padding: 6px !important;
|
|
6322
6322
|
min-height: 32px !important;
|
|
6323
6323
|
color: #666;
|
|
6324
6324
|
font-size: 13px;
|
|
6325
6325
|
}
|
|
6326
|
-
.fec-table-container[data-v-
|
|
6327
|
-
.fec-table-container[data-v-
|
|
6326
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column .c--tooltip,
|
|
6327
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column .c--title {
|
|
6328
6328
|
height: 32px !important;
|
|
6329
6329
|
min-height: 32px !important;
|
|
6330
6330
|
}
|
|
6331
|
-
.fec-table-container[data-v-
|
|
6331
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--border-line {
|
|
6332
6332
|
border: none;
|
|
6333
6333
|
border-bottom: 1px solid #ebeef5;
|
|
6334
6334
|
border-top: 1px solid #ebeef5;
|
|
6335
6335
|
}
|
|
6336
|
-
.fec-table-container[data-v-
|
|
6337
|
-
.fec-table-container[data-v-
|
|
6336
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6337
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6338
6338
|
border: none !important;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6341
6341
|
display: none !important;
|
|
6342
6342
|
}
|
|
6343
|
-
.fec-table-container[data-v-
|
|
6343
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-cell--sort {
|
|
6344
6344
|
font-size: 14px;
|
|
6345
6345
|
}
|
|
6346
|
-
.fec-table-container[data-v-
|
|
6347
|
-
.fec-table-container[data-v-
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6349
|
-
.fec-table-container[data-v-
|
|
6350
|
-
.fec-table-container[data-v-
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6346
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column,
|
|
6347
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-footer--column,
|
|
6348
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column,
|
|
6349
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column,
|
|
6350
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-footer--column,
|
|
6351
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column {
|
|
6352
6352
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-sub[data-v-
|
|
6354
|
+
.fec-table-sub[data-v-6145f01c] .vxe-table .vxe-table--border-line {
|
|
6355
6355
|
border-top: none;
|
|
6356
6356
|
}
|
|
6357
6357
|
.custom-dialog {
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { createBlock, openBlock, withCtx, createVNode, renderSlot } from "vue";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
11
|
/* empty css */
|
|
10
12
|
/* empty css */
|
|
11
13
|
/* empty css */
|
|
12
14
|
/* empty css */
|
|
13
15
|
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
16
16
|
import { SwipeCell } from "../../../../../../node_modules/vant/es/swipe-cell/index.mjs";
|
|
17
17
|
import { showConfirmDialog } from "../../../../../../node_modules/vant/es/dialog/function-call.mjs";
|
|
18
18
|
import "../../../../../../node_modules/vant/es/dialog/index.mjs";
|
|
@@ -23,7 +23,7 @@ import { Select } from "../forms/select/index.mjs";
|
|
|
23
23
|
import { MultipleSelection } from "../forms/multipleSelection/index.mjs";
|
|
24
24
|
import { Date } from "../forms/date/index.mjs";
|
|
25
25
|
import { Number } from "../forms/number/index.mjs";
|
|
26
|
-
import { handleSearchData } from "../../utils/common.mjs";
|
|
26
|
+
import { reverseHandleSearchData, handleSearchData } from "../../utils/common.mjs";
|
|
27
27
|
import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
|
|
28
28
|
import { getCurrentVueInstance } from "../../utils/getInstance.mjs";
|
|
29
29
|
/* empty css */
|
|
@@ -168,7 +168,9 @@ const _sfc_main = {
|
|
|
168
168
|
const route = (_a = ctx.$route) == null ? void 0 : _a.path;
|
|
169
169
|
if (route) {
|
|
170
170
|
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
171
|
-
|
|
171
|
+
const filters = JSON.parse(routeParams == null ? void 0 : routeParams.filters);
|
|
172
|
+
searchInputValue.value = (filters == null ? void 0 : filters.dynamicFilter) || "";
|
|
173
|
+
filterValues.value = reverseHandleSearchData(filters);
|
|
172
174
|
}
|
|
173
175
|
const showAdvancedFilter = ref(false);
|
|
174
176
|
const toggleAdvancedFilter = () => {
|
|
@@ -477,7 +479,7 @@ const _sfc_main = {
|
|
|
477
479
|
};
|
|
478
480
|
}
|
|
479
481
|
};
|
|
480
|
-
const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
482
|
+
const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1c63cadf"]]);
|
|
481
483
|
export {
|
|
482
484
|
DynamicQuery as default
|
|
483
485
|
};
|
|
@@ -500,10 +500,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
500
500
|
emit("selection-change", [checked.row]);
|
|
501
501
|
};
|
|
502
502
|
const handleFilterSearch = (filters) => {
|
|
503
|
-
var _a;
|
|
503
|
+
var _a, _b, _c;
|
|
504
504
|
if (dataSourceManager.value) {
|
|
505
505
|
dataSourceManager.value.updateParams(filters);
|
|
506
|
-
|
|
506
|
+
dataSourceManager.value.updatePagination(
|
|
507
|
+
1,
|
|
508
|
+
((_a = localConfig.value.paginationConfig) == null ? void 0 : _a.pageSize) || 10
|
|
509
|
+
);
|
|
510
|
+
const $table = tableRef.value;
|
|
511
|
+
if ($table) {
|
|
512
|
+
$table.clearSort();
|
|
513
|
+
}
|
|
514
|
+
dataSourceManager.value.clearSort();
|
|
515
|
+
(_b = summaryAllDataManager.value) == null ? void 0 : _b.updateParams(filters);
|
|
516
|
+
summaryAllDataManager.value.updatePagination(
|
|
517
|
+
1,
|
|
518
|
+
((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) || 10
|
|
519
|
+
);
|
|
507
520
|
tableDataFetch();
|
|
508
521
|
clearSelection();
|
|
509
522
|
} else {
|
|
@@ -511,10 +524,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
511
524
|
}
|
|
512
525
|
};
|
|
513
526
|
const handleFilterReset = () => {
|
|
514
|
-
var _a;
|
|
527
|
+
var _a, _b, _c;
|
|
515
528
|
if (dataSourceManager.value) {
|
|
516
529
|
dataSourceManager.value.clearParams();
|
|
517
|
-
|
|
530
|
+
dataSourceManager.value.updatePagination(
|
|
531
|
+
1,
|
|
532
|
+
((_a = localConfig.value.paginationConfig) == null ? void 0 : _a.pageSize) || 10
|
|
533
|
+
);
|
|
534
|
+
const $table = tableRef.value;
|
|
535
|
+
if ($table) {
|
|
536
|
+
$table.clearSort();
|
|
537
|
+
}
|
|
538
|
+
dataSourceManager.value.clearSort();
|
|
539
|
+
(_b = summaryAllDataManager.value) == null ? void 0 : _b.clearParams();
|
|
540
|
+
summaryAllDataManager.value.updatePagination(
|
|
541
|
+
1,
|
|
542
|
+
((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) || 10
|
|
543
|
+
);
|
|
518
544
|
tableDataFetch();
|
|
519
545
|
clearSelection();
|
|
520
546
|
}
|
|
@@ -880,7 +906,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
880
906
|
};
|
|
881
907
|
}
|
|
882
908
|
});
|
|
883
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
909
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6145f01c"]]);
|
|
884
910
|
export {
|
|
885
911
|
_Table as default
|
|
886
912
|
};
|
|
@@ -50,6 +50,32 @@ const handleSearchData = (filterValues, completeFilterFields) => {
|
|
|
50
50
|
});
|
|
51
51
|
return filters;
|
|
52
52
|
};
|
|
53
|
+
const reverseHandleSearchData = (filters) => {
|
|
54
|
+
const filterValues = {};
|
|
55
|
+
if (!filters) {
|
|
56
|
+
return filterValues;
|
|
57
|
+
}
|
|
58
|
+
Object.keys(filters).forEach((key) => {
|
|
59
|
+
const value = filters[key];
|
|
60
|
+
if (value === "" || value === null || value === void 0) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (key.endsWith("_max")) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const maxKey = `${key}_max`;
|
|
67
|
+
const maxValue = filters[maxKey];
|
|
68
|
+
if (maxValue !== "" && maxValue !== null && maxValue !== void 0) {
|
|
69
|
+
filterValues[key] = isNaN(Number(value)) ? value : Number(value);
|
|
70
|
+
filterValues[maxKey] = isNaN(Number(maxValue)) ? maxValue : Number(maxValue);
|
|
71
|
+
} else if (typeof value === "string" && value.includes("|")) {
|
|
72
|
+
filterValues[key] = value.split("|");
|
|
73
|
+
} else {
|
|
74
|
+
filterValues[key] = value;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
return filterValues;
|
|
78
|
+
};
|
|
53
79
|
const setFormDataByFieldMapping = (value, multiple, options, fieldMapping, formData, fields) => {
|
|
54
80
|
let selectedOptions = [];
|
|
55
81
|
if (multiple) {
|
|
@@ -86,5 +112,6 @@ export {
|
|
|
86
112
|
isEqual,
|
|
87
113
|
loadComponentByPath,
|
|
88
114
|
removeEmptyValues,
|
|
115
|
+
reverseHandleSearchData,
|
|
89
116
|
setFormDataByFieldMapping
|
|
90
117
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = vue.ref(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = vue.ref(false);
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
package/lib/designer.css
CHANGED
|
@@ -6078,12 +6078,12 @@ body,
|
|
|
6078
6078
|
}
|
|
6079
6079
|
.filter-divider[data-v-43e04541] .el-icon {
|
|
6080
6080
|
transition: transform 0.3s ease;
|
|
6081
|
-
}.dynamic-mode-config .dynamic-row[data-v-
|
|
6081
|
+
}.dynamic-mode-config .dynamic-row[data-v-1c63cadf] {
|
|
6082
6082
|
display: flex;
|
|
6083
6083
|
height: 54px;
|
|
6084
6084
|
align-items: center;
|
|
6085
6085
|
}
|
|
6086
|
-
.dynamic-mode-config .back-icon[data-v-
|
|
6086
|
+
.dynamic-mode-config .back-icon[data-v-1c63cadf] {
|
|
6087
6087
|
display: flex;
|
|
6088
6088
|
align-items: center;
|
|
6089
6089
|
justify-content: center;
|
|
@@ -6096,11 +6096,11 @@ body,
|
|
|
6096
6096
|
margin-left: 4px;
|
|
6097
6097
|
margin-right: -6px;
|
|
6098
6098
|
}
|
|
6099
|
-
.dynamic-mode-config .back-icon .el-icon[data-v-
|
|
6099
|
+
.dynamic-mode-config .back-icon .el-icon[data-v-1c63cadf] {
|
|
6100
6100
|
font-size: 16px;
|
|
6101
6101
|
font-weight: bold;
|
|
6102
6102
|
}
|
|
6103
|
-
.dynamic-mode-config .template-name[data-v-
|
|
6103
|
+
.dynamic-mode-config .template-name[data-v-1c63cadf] {
|
|
6104
6104
|
font-size: 16px;
|
|
6105
6105
|
font-weight: 600;
|
|
6106
6106
|
color: #303133;
|
|
@@ -6113,7 +6113,7 @@ body,
|
|
|
6113
6113
|
display: flex;
|
|
6114
6114
|
align-items: center;
|
|
6115
6115
|
}
|
|
6116
|
-
.dynamic-mode-config .template-name-line[data-v-
|
|
6116
|
+
.dynamic-mode-config .template-name-line[data-v-1c63cadf] {
|
|
6117
6117
|
height: 16px;
|
|
6118
6118
|
width: 4px;
|
|
6119
6119
|
background-color: var(--el-color-primary);
|
|
@@ -6122,42 +6122,42 @@ body,
|
|
|
6122
6122
|
margin-right: 12px;
|
|
6123
6123
|
margin-top: 2px;
|
|
6124
6124
|
}
|
|
6125
|
-
.dynamic-mode-config .tab-display-section[data-v-
|
|
6125
|
+
.dynamic-mode-config .tab-display-section[data-v-1c63cadf] {
|
|
6126
6126
|
flex: 1;
|
|
6127
6127
|
min-width: 0;
|
|
6128
6128
|
}
|
|
6129
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6129
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__header {
|
|
6130
6130
|
margin: 0;
|
|
6131
6131
|
}
|
|
6132
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6132
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__nav-wrap::after {
|
|
6133
6133
|
height: 0;
|
|
6134
6134
|
}
|
|
6135
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6135
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__item {
|
|
6136
6136
|
padding: 0 12px;
|
|
6137
6137
|
}
|
|
6138
|
-
.dynamic-mode-config .search-display-section[data-v-
|
|
6138
|
+
.dynamic-mode-config .search-display-section[data-v-1c63cadf] {
|
|
6139
6139
|
flex-shrink: 0;
|
|
6140
6140
|
display: flex;
|
|
6141
6141
|
align-items: center;
|
|
6142
6142
|
gap: 12px;
|
|
6143
6143
|
margin-left: auto;
|
|
6144
6144
|
}
|
|
6145
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-
|
|
6145
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-1c63cadf] {
|
|
6146
6146
|
/* width: 300px; */
|
|
6147
6147
|
}
|
|
6148
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-
|
|
6148
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-1c63cadf]:hover {
|
|
6149
6149
|
color: var(--el-color-primary);
|
|
6150
6150
|
cursor: pointer;
|
|
6151
6151
|
}
|
|
6152
|
-
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-
|
|
6152
|
+
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-1c63cadf] {
|
|
6153
6153
|
display: flex;
|
|
6154
6154
|
align-items: center;
|
|
6155
6155
|
gap: 8px;
|
|
6156
6156
|
}
|
|
6157
|
-
.dynamic-mode-config .search-display-section .optBtn[data-v-
|
|
6157
|
+
.dynamic-mode-config .search-display-section .optBtn[data-v-1c63cadf] {
|
|
6158
6158
|
position: relative;
|
|
6159
6159
|
}
|
|
6160
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6160
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf] {
|
|
6161
6161
|
position: absolute;
|
|
6162
6162
|
top: -10px;
|
|
6163
6163
|
right: -10px;
|
|
@@ -6174,31 +6174,31 @@ body,
|
|
|
6174
6174
|
font-size: 12px;
|
|
6175
6175
|
z-index: 1;
|
|
6176
6176
|
}
|
|
6177
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6177
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf]:hover {
|
|
6178
6178
|
background-color: #f56c6c;
|
|
6179
6179
|
}
|
|
6180
|
-
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-
|
|
6180
|
+
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-1c63cadf] {
|
|
6181
6181
|
display: flex;
|
|
6182
6182
|
}
|
|
6183
|
-
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-
|
|
6183
|
+
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-1c63cadf] {
|
|
6184
6184
|
pointer-events: none;
|
|
6185
6185
|
}
|
|
6186
|
-
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-
|
|
6186
|
+
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-1c63cadf] {
|
|
6187
6187
|
margin-right: 4px;
|
|
6188
6188
|
}
|
|
6189
|
-
.dynamic-mode-config .expand-filter-section[data-v-
|
|
6189
|
+
.dynamic-mode-config .expand-filter-section[data-v-1c63cadf] {
|
|
6190
6190
|
padding-top: 4px;
|
|
6191
6191
|
border-top: 1px solid #ebeef5;
|
|
6192
6192
|
margin-top: 4px;
|
|
6193
6193
|
}
|
|
6194
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-
|
|
6194
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-1c63cadf] {
|
|
6195
6195
|
width: 100%;
|
|
6196
6196
|
}
|
|
6197
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-
|
|
6197
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-1c63cadf] {
|
|
6198
6198
|
display: flex;
|
|
6199
6199
|
flex-wrap: wrap;
|
|
6200
6200
|
}
|
|
6201
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6201
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item {
|
|
6202
6202
|
padding: 2px;
|
|
6203
6203
|
border: 2px solid transparent;
|
|
6204
6204
|
border-radius: 2px;
|
|
@@ -6207,20 +6207,20 @@ body,
|
|
|
6207
6207
|
cursor: move;
|
|
6208
6208
|
margin-bottom: 4px;
|
|
6209
6209
|
}
|
|
6210
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6210
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__label-wrap {
|
|
6211
6211
|
margin: 0 0 0 8px !important;
|
|
6212
6212
|
}
|
|
6213
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6213
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__content {
|
|
6214
6214
|
min-width: 150px;
|
|
6215
6215
|
}
|
|
6216
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6216
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .form-item-label {
|
|
6217
6217
|
display: flex;
|
|
6218
6218
|
align-items: center;
|
|
6219
6219
|
}
|
|
6220
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6220
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-input {
|
|
6221
6221
|
width: 150px;
|
|
6222
6222
|
}
|
|
6223
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6223
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon {
|
|
6224
6224
|
position: absolute;
|
|
6225
6225
|
top: -10px;
|
|
6226
6226
|
right: -10px;
|
|
@@ -6237,19 +6237,19 @@ body,
|
|
|
6237
6237
|
font-size: 12px;
|
|
6238
6238
|
z-index: 1;
|
|
6239
6239
|
}
|
|
6240
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6240
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon:hover {
|
|
6241
6241
|
background-color: #f56c6c;
|
|
6242
6242
|
}
|
|
6243
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6243
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover {
|
|
6244
6244
|
border: 2px dashed #7b99cb !important;
|
|
6245
6245
|
}
|
|
6246
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6246
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover .delete-icon {
|
|
6247
6247
|
display: flex;
|
|
6248
6248
|
}
|
|
6249
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6249
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-select {
|
|
6250
6250
|
border: 2px dashed #efa53a !important;
|
|
6251
6251
|
}
|
|
6252
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6252
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item__label {
|
|
6253
6253
|
font-size: 13px;
|
|
6254
6254
|
color: #606266;
|
|
6255
6255
|
pointer-events: none;
|
|
@@ -6258,18 +6258,18 @@ body,
|
|
|
6258
6258
|
display: flex;
|
|
6259
6259
|
align-items: center;
|
|
6260
6260
|
}
|
|
6261
|
-
[data-v-
|
|
6261
|
+
[data-v-1c63cadf] .el-checkbox-group {
|
|
6262
6262
|
display: flex;
|
|
6263
6263
|
gap: 12px;
|
|
6264
6264
|
}
|
|
6265
|
-
[data-v-
|
|
6265
|
+
[data-v-1c63cadf] .el-checkbox-group .el-checkbox-button__inner {
|
|
6266
6266
|
border-radius: 4px;
|
|
6267
|
-
}.fec-table[data-v-
|
|
6267
|
+
}.fec-table[data-v-6145f01c] {
|
|
6268
6268
|
height: 100%;
|
|
6269
6269
|
flex-grow: 1;
|
|
6270
6270
|
padding: 0 16px;
|
|
6271
6271
|
}
|
|
6272
|
-
.fec-table-container[data-v-
|
|
6272
|
+
.fec-table-container[data-v-6145f01c] {
|
|
6273
6273
|
width: 100%;
|
|
6274
6274
|
background: #fff;
|
|
6275
6275
|
box-sizing: border-box;
|
|
@@ -6279,79 +6279,79 @@ body,
|
|
|
6279
6279
|
overflow: hidden;
|
|
6280
6280
|
flex-grow: 1;
|
|
6281
6281
|
}
|
|
6282
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6282
|
+
.fec-table-container .fec-vxe-table[data-v-6145f01c] {
|
|
6283
6283
|
flex: 1;
|
|
6284
6284
|
min-height: 0;
|
|
6285
6285
|
overflow: hidden;
|
|
6286
6286
|
margin-bottom: 16px;
|
|
6287
6287
|
}
|
|
6288
|
-
.fec-table-container[data-v-
|
|
6288
|
+
.fec-table-container[data-v-6145f01c] .vxe-table {
|
|
6289
6289
|
font-size: 14px;
|
|
6290
6290
|
font-family: inherit;
|
|
6291
6291
|
}
|
|
6292
|
-
.fec-table-container[data-v-
|
|
6293
|
-
.fec-table-container[data-v-
|
|
6292
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-sort--asc-btn,
|
|
6293
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-sort--desc-btn {
|
|
6294
6294
|
color: #dcdcdc;
|
|
6295
6295
|
}
|
|
6296
|
-
.fec-table-container[data-v-
|
|
6297
|
-
.fec-table-container[data-v-
|
|
6296
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6297
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6298
6298
|
color: #d3edf9;
|
|
6299
6299
|
}
|
|
6300
|
-
.fec-table-container[data-v-
|
|
6300
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .serverSort .sort--active {
|
|
6301
6301
|
color: var(--el-color-primary);
|
|
6302
6302
|
}
|
|
6303
|
-
.fec-table-container[data-v-
|
|
6303
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .sort--active {
|
|
6304
6304
|
color: var(--el-color-primary);
|
|
6305
6305
|
}
|
|
6306
|
-
.fec-table-container[data-v-
|
|
6306
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--body-wrapper {
|
|
6307
6307
|
overflow: auto;
|
|
6308
6308
|
}
|
|
6309
|
-
.fec-table-container[data-v-
|
|
6309
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column {
|
|
6310
6310
|
background-color: #fff;
|
|
6311
6311
|
}
|
|
6312
|
-
.fec-table-container[data-v-
|
|
6312
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column .vxe-cell {
|
|
6313
6313
|
height: 40px !important;
|
|
6314
6314
|
min-height: 40px !important;
|
|
6315
6315
|
color: #333;
|
|
6316
6316
|
}
|
|
6317
|
-
.fec-table-container[data-v-
|
|
6317
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6318
6318
|
height: 40px !important;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column .vxe-cell {
|
|
6321
6321
|
padding: 6px !important;
|
|
6322
6322
|
min-height: 32px !important;
|
|
6323
6323
|
color: #666;
|
|
6324
6324
|
font-size: 13px;
|
|
6325
6325
|
}
|
|
6326
|
-
.fec-table-container[data-v-
|
|
6327
|
-
.fec-table-container[data-v-
|
|
6326
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column .c--tooltip,
|
|
6327
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column .c--title {
|
|
6328
6328
|
height: 32px !important;
|
|
6329
6329
|
min-height: 32px !important;
|
|
6330
6330
|
}
|
|
6331
|
-
.fec-table-container[data-v-
|
|
6331
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--border-line {
|
|
6332
6332
|
border: none;
|
|
6333
6333
|
border-bottom: 1px solid #ebeef5;
|
|
6334
6334
|
border-top: 1px solid #ebeef5;
|
|
6335
6335
|
}
|
|
6336
|
-
.fec-table-container[data-v-
|
|
6337
|
-
.fec-table-container[data-v-
|
|
6336
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6337
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6338
6338
|
border: none !important;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6341
6341
|
display: none !important;
|
|
6342
6342
|
}
|
|
6343
|
-
.fec-table-container[data-v-
|
|
6343
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-cell--sort {
|
|
6344
6344
|
font-size: 14px;
|
|
6345
6345
|
}
|
|
6346
|
-
.fec-table-container[data-v-
|
|
6347
|
-
.fec-table-container[data-v-
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6349
|
-
.fec-table-container[data-v-
|
|
6350
|
-
.fec-table-container[data-v-
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6346
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column,
|
|
6347
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-footer--column,
|
|
6348
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column,
|
|
6349
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-body--column,
|
|
6350
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-footer--column,
|
|
6351
|
+
.fec-table-container[data-v-6145f01c] .vxe-table .vxe-header--column {
|
|
6352
6352
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-sub[data-v-
|
|
6354
|
+
.fec-table-sub[data-v-6145f01c] .vxe-table .vxe-table--border-line {
|
|
6355
6355
|
border-top: none;
|
|
6356
6356
|
}
|
|
6357
6357
|
.custom-dialog {
|
|
@@ -8,13 +8,13 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
const vue = require("vue");
|
|
11
|
+
;/* empty css */
|
|
12
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
11
13
|
;/* empty css */
|
|
12
14
|
;/* empty css */
|
|
13
15
|
;/* empty css */
|
|
14
16
|
;/* empty css */
|
|
15
17
|
;/* empty css */
|
|
16
|
-
;/* empty css */
|
|
17
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
18
18
|
const index$1 = require("../../../../../../node_modules/vant/es/swipe-cell/index.js");
|
|
19
19
|
const functionCall = require("../../../../../../node_modules/vant/es/dialog/function-call.js");
|
|
20
20
|
require("../../../../../../node_modules/vant/es/dialog/index.js");
|
|
@@ -170,7 +170,9 @@ const _sfc_main = {
|
|
|
170
170
|
const route = (_a = ctx.$route) == null ? void 0 : _a.path;
|
|
171
171
|
if (route) {
|
|
172
172
|
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
173
|
-
|
|
173
|
+
const filters = JSON.parse(routeParams == null ? void 0 : routeParams.filters);
|
|
174
|
+
searchInputValue.value = (filters == null ? void 0 : filters.dynamicFilter) || "";
|
|
175
|
+
filterValues.value = common.reverseHandleSearchData(filters);
|
|
174
176
|
}
|
|
175
177
|
const showAdvancedFilter = vue.ref(false);
|
|
176
178
|
const toggleAdvancedFilter = () => {
|
|
@@ -479,5 +481,5 @@ const _sfc_main = {
|
|
|
479
481
|
};
|
|
480
482
|
}
|
|
481
483
|
};
|
|
482
|
-
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
484
|
+
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1c63cadf"]]);
|
|
483
485
|
exports.default = DynamicQuery;
|
|
@@ -502,10 +502,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
502
502
|
emit("selection-change", [checked.row]);
|
|
503
503
|
};
|
|
504
504
|
const handleFilterSearch = (filters) => {
|
|
505
|
-
var _a;
|
|
505
|
+
var _a, _b, _c;
|
|
506
506
|
if (dataSourceManager.value) {
|
|
507
507
|
dataSourceManager.value.updateParams(filters);
|
|
508
|
-
|
|
508
|
+
dataSourceManager.value.updatePagination(
|
|
509
|
+
1,
|
|
510
|
+
((_a = localConfig.value.paginationConfig) == null ? void 0 : _a.pageSize) || 10
|
|
511
|
+
);
|
|
512
|
+
const $table = tableRef.value;
|
|
513
|
+
if ($table) {
|
|
514
|
+
$table.clearSort();
|
|
515
|
+
}
|
|
516
|
+
dataSourceManager.value.clearSort();
|
|
517
|
+
(_b = summaryAllDataManager.value) == null ? void 0 : _b.updateParams(filters);
|
|
518
|
+
summaryAllDataManager.value.updatePagination(
|
|
519
|
+
1,
|
|
520
|
+
((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) || 10
|
|
521
|
+
);
|
|
509
522
|
tableDataFetch();
|
|
510
523
|
clearSelection();
|
|
511
524
|
} else {
|
|
@@ -513,10 +526,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
513
526
|
}
|
|
514
527
|
};
|
|
515
528
|
const handleFilterReset = () => {
|
|
516
|
-
var _a;
|
|
529
|
+
var _a, _b, _c;
|
|
517
530
|
if (dataSourceManager.value) {
|
|
518
531
|
dataSourceManager.value.clearParams();
|
|
519
|
-
|
|
532
|
+
dataSourceManager.value.updatePagination(
|
|
533
|
+
1,
|
|
534
|
+
((_a = localConfig.value.paginationConfig) == null ? void 0 : _a.pageSize) || 10
|
|
535
|
+
);
|
|
536
|
+
const $table = tableRef.value;
|
|
537
|
+
if ($table) {
|
|
538
|
+
$table.clearSort();
|
|
539
|
+
}
|
|
540
|
+
dataSourceManager.value.clearSort();
|
|
541
|
+
(_b = summaryAllDataManager.value) == null ? void 0 : _b.clearParams();
|
|
542
|
+
summaryAllDataManager.value.updatePagination(
|
|
543
|
+
1,
|
|
544
|
+
((_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize) || 10
|
|
545
|
+
);
|
|
520
546
|
tableDataFetch();
|
|
521
547
|
clearSelection();
|
|
522
548
|
}
|
|
@@ -882,5 +908,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
882
908
|
};
|
|
883
909
|
}
|
|
884
910
|
});
|
|
885
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
911
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-6145f01c"]]);
|
|
886
912
|
exports.default = _Table;
|
|
@@ -52,6 +52,32 @@ const handleSearchData = (filterValues, completeFilterFields) => {
|
|
|
52
52
|
});
|
|
53
53
|
return filters;
|
|
54
54
|
};
|
|
55
|
+
const reverseHandleSearchData = (filters) => {
|
|
56
|
+
const filterValues = {};
|
|
57
|
+
if (!filters) {
|
|
58
|
+
return filterValues;
|
|
59
|
+
}
|
|
60
|
+
Object.keys(filters).forEach((key) => {
|
|
61
|
+
const value = filters[key];
|
|
62
|
+
if (value === "" || value === null || value === void 0) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (key.endsWith("_max")) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const maxKey = `${key}_max`;
|
|
69
|
+
const maxValue = filters[maxKey];
|
|
70
|
+
if (maxValue !== "" && maxValue !== null && maxValue !== void 0) {
|
|
71
|
+
filterValues[key] = isNaN(Number(value)) ? value : Number(value);
|
|
72
|
+
filterValues[maxKey] = isNaN(Number(maxValue)) ? maxValue : Number(maxValue);
|
|
73
|
+
} else if (typeof value === "string" && value.includes("|")) {
|
|
74
|
+
filterValues[key] = value.split("|");
|
|
75
|
+
} else {
|
|
76
|
+
filterValues[key] = value;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
return filterValues;
|
|
80
|
+
};
|
|
55
81
|
const setFormDataByFieldMapping = (value, multiple, options, fieldMapping, formData, fields) => {
|
|
56
82
|
let selectedOptions = [];
|
|
57
83
|
if (multiple) {
|
|
@@ -87,4 +113,5 @@ exports.handleSearchData = handleSearchData;
|
|
|
87
113
|
exports.isEqual = isEqual;
|
|
88
114
|
exports.loadComponentByPath = loadComponentByPath;
|
|
89
115
|
exports.removeEmptyValues = removeEmptyValues;
|
|
116
|
+
exports.reverseHandleSearchData = reverseHandleSearchData;
|
|
90
117
|
exports.setFormDataByFieldMapping = setFormDataByFieldMapping;
|