@fecp/designer 5.4.91 → 5.4.93
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 +84 -84
- 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/components/table/TableFilter.vue.mjs +14 -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 +84 -84
- 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/components/table/TableFilter.vue.js +13 -4
- 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
|
@@ -5981,7 +5981,7 @@ body,
|
|
|
5981
5981
|
}
|
|
5982
5982
|
.cell-content .copy-icon[data-v-5138d230]:hover {
|
|
5983
5983
|
color: #409eff;
|
|
5984
|
-
}.fec-table-filter[data-v-
|
|
5984
|
+
}.fec-table-filter[data-v-cb568913] {
|
|
5985
5985
|
display: flex;
|
|
5986
5986
|
background-color: #fff;
|
|
5987
5987
|
align-items: flex-start;
|
|
@@ -5989,7 +5989,7 @@ body,
|
|
|
5989
5989
|
border-bottom: 1px solid #f0f5fb;
|
|
5990
5990
|
padding-top: 16px;
|
|
5991
5991
|
}
|
|
5992
|
-
.fec-table-filter .filter-fields[data-v-
|
|
5992
|
+
.fec-table-filter .filter-fields[data-v-cb568913] {
|
|
5993
5993
|
flex: 1;
|
|
5994
5994
|
display: grid;
|
|
5995
5995
|
grid-template-columns: repeat(var(--column-count, 3), 1fr);
|
|
@@ -5997,18 +5997,18 @@ body,
|
|
|
5997
5997
|
transition: all 0.4s ease;
|
|
5998
5998
|
overflow: hidden;
|
|
5999
5999
|
}
|
|
6000
|
-
.fec-table-filter .filter-fields.is-collapsed[data-v-
|
|
6001
|
-
max-height: var(--
|
|
6000
|
+
.fec-table-filter .filter-fields.is-collapsed[data-v-cb568913] {
|
|
6001
|
+
max-height: var(--def020d8);
|
|
6002
6002
|
}
|
|
6003
|
-
.fec-table-filter .filter-field[data-v-
|
|
6003
|
+
.fec-table-filter .filter-field[data-v-cb568913] {
|
|
6004
6004
|
transition: all 0.3s ease;
|
|
6005
6005
|
}
|
|
6006
|
-
.fec-table-filter .filter-field[data-v-
|
|
6006
|
+
.fec-table-filter .filter-field[data-v-cb568913] .el-form-item {
|
|
6007
6007
|
display: flex;
|
|
6008
6008
|
flex-direction: row;
|
|
6009
6009
|
align-items: center;
|
|
6010
6010
|
}
|
|
6011
|
-
.fec-table-filter .filter-field[data-v-
|
|
6011
|
+
.fec-table-filter .filter-field[data-v-cb568913] .el-form-item .el-form-item__label {
|
|
6012
6012
|
font-size: 14px;
|
|
6013
6013
|
color: #606266;
|
|
6014
6014
|
font-weight: 500;
|
|
@@ -6020,16 +6020,16 @@ body,
|
|
|
6020
6020
|
text-align: right;
|
|
6021
6021
|
width: 35% !important;
|
|
6022
6022
|
}
|
|
6023
|
-
.fec-table-filter .filter-field[data-v-
|
|
6023
|
+
.fec-table-filter .filter-field[data-v-cb568913] .el-form-item .el-form-item__content {
|
|
6024
6024
|
flex: 1;
|
|
6025
6025
|
margin-left: 0 !important;
|
|
6026
6026
|
}
|
|
6027
|
-
.fec-table-filter .filter-field[data-v-
|
|
6028
|
-
.fec-table-filter .filter-field[data-v-
|
|
6029
|
-
.fec-table-filter .filter-field[data-v-
|
|
6027
|
+
.fec-table-filter .filter-field[data-v-cb568913] .text-field-wrapper,
|
|
6028
|
+
.fec-table-filter .filter-field[data-v-cb568913] .el-select,
|
|
6029
|
+
.fec-table-filter .filter-field[data-v-cb568913] .el-date-editor {
|
|
6030
6030
|
width: 100%;
|
|
6031
6031
|
}
|
|
6032
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6032
|
+
.fec-table-filter .filter-actions[data-v-cb568913] {
|
|
6033
6033
|
flex-shrink: 0;
|
|
6034
6034
|
/* border-left: 1px solid #eaebef; */
|
|
6035
6035
|
display: flex;
|
|
@@ -6039,34 +6039,34 @@ body,
|
|
|
6039
6039
|
gap: 10px;
|
|
6040
6040
|
height: 100%;
|
|
6041
6041
|
}
|
|
6042
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6042
|
+
.fec-table-filter .filter-actions[data-v-cb568913] .el-button {
|
|
6043
6043
|
margin: 0;
|
|
6044
6044
|
}
|
|
6045
|
-
.fec-table-filter .filter-actions.inline[data-v-
|
|
6045
|
+
.fec-table-filter .filter-actions.inline[data-v-cb568913] {
|
|
6046
6046
|
flex-direction: row;
|
|
6047
6047
|
gap: 8px;
|
|
6048
6048
|
height: auto;
|
|
6049
6049
|
align-items: center;
|
|
6050
6050
|
}
|
|
6051
|
-
.filter-fields[data-v-
|
|
6051
|
+
.filter-fields[data-v-cb568913] {
|
|
6052
6052
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6053
6053
|
}
|
|
6054
|
-
.filter-field[data-v-
|
|
6054
|
+
.filter-field[data-v-cb568913] {
|
|
6055
6055
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
6056
6056
|
}
|
|
6057
|
-
.filter-divider[data-v-
|
|
6057
|
+
.filter-divider[data-v-cb568913] {
|
|
6058
6058
|
margin: 8px 0;
|
|
6059
6059
|
z-index: 1;
|
|
6060
6060
|
transition: all 0.3s ease;
|
|
6061
6061
|
}
|
|
6062
|
-
.filter-divider .collapse-toggle[data-v-
|
|
6062
|
+
.filter-divider .collapse-toggle[data-v-cb568913] {
|
|
6063
6063
|
display: flex;
|
|
6064
6064
|
align-items: center;
|
|
6065
6065
|
gap: 2px;
|
|
6066
6066
|
color: #409eff;
|
|
6067
6067
|
cursor: pointer;
|
|
6068
6068
|
}
|
|
6069
|
-
.filter-divider[data-v-
|
|
6069
|
+
.filter-divider[data-v-cb568913] .el-divider__text {
|
|
6070
6070
|
font-size: 13px;
|
|
6071
6071
|
color: #606266;
|
|
6072
6072
|
transition: all 0.3s ease;
|
|
@@ -6076,14 +6076,14 @@ body,
|
|
|
6076
6076
|
background-color: #fff;
|
|
6077
6077
|
padding: 0 10px;
|
|
6078
6078
|
}
|
|
6079
|
-
.filter-divider[data-v-
|
|
6079
|
+
.filter-divider[data-v-cb568913] .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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6]: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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6]: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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] {
|
|
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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .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-d47dd1f6] .el-checkbox-group {
|
|
6262
6262
|
display: flex;
|
|
6263
6263
|
gap: 12px;
|
|
6264
6264
|
}
|
|
6265
|
-
[data-v-
|
|
6265
|
+
[data-v-d47dd1f6] .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-d47dd1f6"]]);
|
|
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
|
};
|
|
@@ -17,7 +17,8 @@ import { Select } from "../forms/select/index.mjs";
|
|
|
17
17
|
import { MultipleSelection } from "../forms/multipleSelection/index.mjs";
|
|
18
18
|
import { Date } from "../forms/date/index.mjs";
|
|
19
19
|
import { Number } from "../forms/number/index.mjs";
|
|
20
|
-
import { handleSearchData } from "../../utils/common.mjs";
|
|
20
|
+
import { reverseHandleSearchData, handleSearchData } from "../../utils/common.mjs";
|
|
21
|
+
import { getCurrentVueInstance } from "../../utils/getInstance.mjs";
|
|
21
22
|
/* empty css */
|
|
22
23
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
23
24
|
import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
@@ -45,15 +46,16 @@ const _sfc_main = {
|
|
|
45
46
|
},
|
|
46
47
|
emits: ["search", "reset"],
|
|
47
48
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
49
|
+
var _a;
|
|
48
50
|
useCssVars((_ctx) => ({
|
|
49
|
-
"
|
|
51
|
+
"def020d8": `${config.value.collapseRows * 90}px`
|
|
50
52
|
}));
|
|
51
53
|
const props = __props;
|
|
52
54
|
const emit = __emit;
|
|
53
55
|
const config = computed(() => {
|
|
54
|
-
var
|
|
56
|
+
var _a2, _b, _c, _d, _e;
|
|
55
57
|
return {
|
|
56
|
-
enabled: ((
|
|
58
|
+
enabled: ((_a2 = props.queryConfig) == null ? void 0 : _a2.enabled) ?? false,
|
|
57
59
|
mode: ((_b = props.queryConfig) == null ? void 0 : _b.mode) || "fixed",
|
|
58
60
|
columnCount: ((_c = props.queryConfig) == null ? void 0 : _c.columnCount) || 3,
|
|
59
61
|
collapseRows: ((_d = props.queryConfig) == null ? void 0 : _d.collapseRows) || 2,
|
|
@@ -73,6 +75,13 @@ const _sfc_main = {
|
|
|
73
75
|
});
|
|
74
76
|
});
|
|
75
77
|
const filterValues = ref({});
|
|
78
|
+
const ctx = getCurrentVueInstance();
|
|
79
|
+
const route = (_a = ctx.$route) == null ? void 0 : _a.path;
|
|
80
|
+
if (route) {
|
|
81
|
+
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
82
|
+
const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || {});
|
|
83
|
+
filterValues.value = reverseHandleSearchData(filters);
|
|
84
|
+
}
|
|
76
85
|
const isCollapsed = ref(true);
|
|
77
86
|
const shouldShowToggle = computed(() => {
|
|
78
87
|
const fieldCount = completeFilterFields.value.length;
|
|
@@ -282,7 +291,7 @@ const _sfc_main = {
|
|
|
282
291
|
};
|
|
283
292
|
}
|
|
284
293
|
};
|
|
285
|
-
const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
294
|
+
const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cb568913"]]);
|
|
286
295
|
export {
|
|
287
296
|
TableFilter as default
|
|
288
297
|
};
|
|
@@ -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
|
};
|