@fecp/designer 5.4.96 → 5.4.98
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 +55 -55
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +7 -6
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +6 -3
- package/es/packages/vue/src/utils/common.mjs +7 -5
- 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 +55 -55
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +7 -6
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +6 -3
- package/lib/packages/vue/src/utils/common.js +7 -5
- 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-a11251e7] {
|
|
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-a11251e7] {
|
|
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-a11251e7] {
|
|
6001
|
+
max-height: var(--5db6b2d0);
|
|
6002
6002
|
}
|
|
6003
|
-
.fec-table-filter .filter-field[data-v-
|
|
6003
|
+
.fec-table-filter .filter-field[data-v-a11251e7] {
|
|
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-a11251e7] .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-a11251e7] .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-a11251e7] .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-a11251e7] .text-field-wrapper,
|
|
6028
|
+
.fec-table-filter .filter-field[data-v-a11251e7] .el-select,
|
|
6029
|
+
.fec-table-filter .filter-field[data-v-a11251e7] .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-a11251e7] {
|
|
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-a11251e7] .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-a11251e7] {
|
|
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-a11251e7] {
|
|
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-a11251e7] {
|
|
6055
6055
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
6056
6056
|
}
|
|
6057
|
-
.filter-divider[data-v-
|
|
6057
|
+
.filter-divider[data-v-a11251e7] {
|
|
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-a11251e7] {
|
|
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-a11251e7] .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-a11251e7] .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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e]: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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e]: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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .el-form-item__label {
|
|
6253
6253
|
font-size: 13px;
|
|
6254
6254
|
color: #606266;
|
|
6255
6255
|
pointer-events: none;
|
|
@@ -6258,11 +6258,11 @@ body,
|
|
|
6258
6258
|
display: flex;
|
|
6259
6259
|
align-items: center;
|
|
6260
6260
|
}
|
|
6261
|
-
[data-v-
|
|
6261
|
+
[data-v-9e44c27e] .el-checkbox-group {
|
|
6262
6262
|
display: flex;
|
|
6263
6263
|
gap: 12px;
|
|
6264
6264
|
}
|
|
6265
|
-
[data-v-
|
|
6265
|
+
[data-v-9e44c27e] .el-checkbox-group .el-checkbox-button__inner {
|
|
6266
6266
|
border-radius: 4px;
|
|
6267
6267
|
}.fec-table[data-v-c35f81ee] {
|
|
6268
6268
|
height: 100%;
|
|
@@ -153,15 +153,16 @@ const _sfc_main = {
|
|
|
153
153
|
const getFieldConfig = (fieldId) => {
|
|
154
154
|
return props.fieldsData.find((field) => field.id === fieldId) || {};
|
|
155
155
|
};
|
|
156
|
-
const filterFields =
|
|
157
|
-
|
|
156
|
+
const filterFields = ref([]);
|
|
157
|
+
filterFields.value = props.localConfig.queryConfig.filterFields.map(
|
|
158
|
+
(filterField) => {
|
|
158
159
|
const fieldConfig = getFieldConfig(filterField.fieldId);
|
|
159
160
|
return {
|
|
160
161
|
...filterField,
|
|
161
162
|
...fieldConfig
|
|
162
163
|
};
|
|
163
|
-
}
|
|
164
|
-
|
|
164
|
+
}
|
|
165
|
+
);
|
|
165
166
|
const filterValues = ref({});
|
|
166
167
|
const searchInputValue = ref("");
|
|
167
168
|
const ctx = getCurrentVueInstance();
|
|
@@ -170,7 +171,7 @@ const _sfc_main = {
|
|
|
170
171
|
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
171
172
|
const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || "{}");
|
|
172
173
|
searchInputValue.value = (filters == null ? void 0 : filters.dynamicFilter) || "";
|
|
173
|
-
filterValues.value = reverseHandleSearchData(filters);
|
|
174
|
+
filterValues.value = reverseHandleSearchData(filters, filterFields.value);
|
|
174
175
|
}
|
|
175
176
|
const showAdvancedFilter = ref(false);
|
|
176
177
|
const toggleAdvancedFilter = () => {
|
|
@@ -479,7 +480,7 @@ const _sfc_main = {
|
|
|
479
480
|
};
|
|
480
481
|
}
|
|
481
482
|
};
|
|
482
|
-
const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
483
|
+
const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9e44c27e"]]);
|
|
483
484
|
export {
|
|
484
485
|
DynamicQuery as default
|
|
485
486
|
};
|
|
@@ -48,7 +48,7 @@ const _sfc_main = {
|
|
|
48
48
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
49
49
|
var _a;
|
|
50
50
|
useCssVars((_ctx) => ({
|
|
51
|
-
"
|
|
51
|
+
"5db6b2d0": `${config.value.collapseRows * 90}px`
|
|
52
52
|
}));
|
|
53
53
|
const props = __props;
|
|
54
54
|
const emit = __emit;
|
|
@@ -80,7 +80,10 @@ const _sfc_main = {
|
|
|
80
80
|
if (route) {
|
|
81
81
|
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
82
82
|
const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || "{}");
|
|
83
|
-
filterValues.value = reverseHandleSearchData(
|
|
83
|
+
filterValues.value = reverseHandleSearchData(
|
|
84
|
+
filters,
|
|
85
|
+
completeFilterFields.value
|
|
86
|
+
);
|
|
84
87
|
}
|
|
85
88
|
const isCollapsed = ref(true);
|
|
86
89
|
const shouldShowToggle = computed(() => {
|
|
@@ -291,7 +294,7 @@ const _sfc_main = {
|
|
|
291
294
|
};
|
|
292
295
|
}
|
|
293
296
|
};
|
|
294
|
-
const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
297
|
+
const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a11251e7"]]);
|
|
295
298
|
export {
|
|
296
299
|
TableFilter as default
|
|
297
300
|
};
|
|
@@ -50,7 +50,7 @@ const handleSearchData = (filterValues, completeFilterFields) => {
|
|
|
50
50
|
});
|
|
51
51
|
return filters;
|
|
52
52
|
};
|
|
53
|
-
const reverseHandleSearchData = (filters) => {
|
|
53
|
+
const reverseHandleSearchData = (filters, completeFilterFields) => {
|
|
54
54
|
const filterValues = {};
|
|
55
55
|
if (!filters) {
|
|
56
56
|
return filterValues;
|
|
@@ -60,18 +60,20 @@ const reverseHandleSearchData = (filters) => {
|
|
|
60
60
|
if (value === "" || value === null || value === void 0) {
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
+
const fieldConfig = completeFilterFields.find((field) => field.fieldName === key);
|
|
64
|
+
const fieldId = (fieldConfig == null ? void 0 : fieldConfig.id) || key;
|
|
63
65
|
if (key.endsWith("_max")) {
|
|
64
66
|
return;
|
|
65
67
|
}
|
|
66
68
|
const maxKey = `${key}_max`;
|
|
67
69
|
const maxValue = filters[maxKey];
|
|
68
70
|
if (maxValue !== "" && maxValue !== null && maxValue !== void 0) {
|
|
69
|
-
filterValues[
|
|
70
|
-
filterValues[
|
|
71
|
+
filterValues[fieldId] = isNaN(Number(value)) ? value : Number(value);
|
|
72
|
+
filterValues[`${fieldId}_max`] = isNaN(Number(maxValue)) ? maxValue : Number(maxValue);
|
|
71
73
|
} else if (typeof value === "string" && value.includes("|")) {
|
|
72
|
-
filterValues[
|
|
74
|
+
filterValues[fieldId] = value.split("|");
|
|
73
75
|
} else {
|
|
74
|
-
filterValues[
|
|
76
|
+
filterValues[fieldId] = value;
|
|
75
77
|
}
|
|
76
78
|
});
|
|
77
79
|
return filterValues;
|
|
@@ -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.vue2.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.vue2.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
|
@@ -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-a11251e7] {
|
|
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-a11251e7] {
|
|
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-a11251e7] {
|
|
6001
|
+
max-height: var(--5db6b2d0);
|
|
6002
6002
|
}
|
|
6003
|
-
.fec-table-filter .filter-field[data-v-
|
|
6003
|
+
.fec-table-filter .filter-field[data-v-a11251e7] {
|
|
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-a11251e7] .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-a11251e7] .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-a11251e7] .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-a11251e7] .text-field-wrapper,
|
|
6028
|
+
.fec-table-filter .filter-field[data-v-a11251e7] .el-select,
|
|
6029
|
+
.fec-table-filter .filter-field[data-v-a11251e7] .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-a11251e7] {
|
|
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-a11251e7] .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-a11251e7] {
|
|
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-a11251e7] {
|
|
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-a11251e7] {
|
|
6055
6055
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
6056
6056
|
}
|
|
6057
|
-
.filter-divider[data-v-
|
|
6057
|
+
.filter-divider[data-v-a11251e7] {
|
|
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-a11251e7] {
|
|
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-a11251e7] .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-a11251e7] .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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e]: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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e]: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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] {
|
|
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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .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-9e44c27e] .el-form-item__label {
|
|
6253
6253
|
font-size: 13px;
|
|
6254
6254
|
color: #606266;
|
|
6255
6255
|
pointer-events: none;
|
|
@@ -6258,11 +6258,11 @@ body,
|
|
|
6258
6258
|
display: flex;
|
|
6259
6259
|
align-items: center;
|
|
6260
6260
|
}
|
|
6261
|
-
[data-v-
|
|
6261
|
+
[data-v-9e44c27e] .el-checkbox-group {
|
|
6262
6262
|
display: flex;
|
|
6263
6263
|
gap: 12px;
|
|
6264
6264
|
}
|
|
6265
|
-
[data-v-
|
|
6265
|
+
[data-v-9e44c27e] .el-checkbox-group .el-checkbox-button__inner {
|
|
6266
6266
|
border-radius: 4px;
|
|
6267
6267
|
}.fec-table[data-v-c35f81ee] {
|
|
6268
6268
|
height: 100%;
|
|
@@ -155,15 +155,16 @@ const _sfc_main = {
|
|
|
155
155
|
const getFieldConfig = (fieldId) => {
|
|
156
156
|
return props.fieldsData.find((field) => field.id === fieldId) || {};
|
|
157
157
|
};
|
|
158
|
-
const filterFields = vue.
|
|
159
|
-
|
|
158
|
+
const filterFields = vue.ref([]);
|
|
159
|
+
filterFields.value = props.localConfig.queryConfig.filterFields.map(
|
|
160
|
+
(filterField) => {
|
|
160
161
|
const fieldConfig = getFieldConfig(filterField.fieldId);
|
|
161
162
|
return {
|
|
162
163
|
...filterField,
|
|
163
164
|
...fieldConfig
|
|
164
165
|
};
|
|
165
|
-
}
|
|
166
|
-
|
|
166
|
+
}
|
|
167
|
+
);
|
|
167
168
|
const filterValues = vue.ref({});
|
|
168
169
|
const searchInputValue = vue.ref("");
|
|
169
170
|
const ctx = getInstance.getCurrentVueInstance();
|
|
@@ -172,7 +173,7 @@ const _sfc_main = {
|
|
|
172
173
|
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
173
174
|
const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || "{}");
|
|
174
175
|
searchInputValue.value = (filters == null ? void 0 : filters.dynamicFilter) || "";
|
|
175
|
-
filterValues.value = common.reverseHandleSearchData(filters);
|
|
176
|
+
filterValues.value = common.reverseHandleSearchData(filters, filterFields.value);
|
|
176
177
|
}
|
|
177
178
|
const showAdvancedFilter = vue.ref(false);
|
|
178
179
|
const toggleAdvancedFilter = () => {
|
|
@@ -481,5 +482,5 @@ const _sfc_main = {
|
|
|
481
482
|
};
|
|
482
483
|
}
|
|
483
484
|
};
|
|
484
|
-
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
485
|
+
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-9e44c27e"]]);
|
|
485
486
|
exports.default = DynamicQuery;
|
|
@@ -50,7 +50,7 @@ const _sfc_main = {
|
|
|
50
50
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
51
51
|
var _a;
|
|
52
52
|
vue.useCssVars((_ctx) => ({
|
|
53
|
-
"
|
|
53
|
+
"5db6b2d0": `${config.value.collapseRows * 90}px`
|
|
54
54
|
}));
|
|
55
55
|
const props = __props;
|
|
56
56
|
const emit = __emit;
|
|
@@ -82,7 +82,10 @@ const _sfc_main = {
|
|
|
82
82
|
if (route) {
|
|
83
83
|
const routeParams = JSON.parse(sessionStorage.getItem(route));
|
|
84
84
|
const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || "{}");
|
|
85
|
-
filterValues.value = common.reverseHandleSearchData(
|
|
85
|
+
filterValues.value = common.reverseHandleSearchData(
|
|
86
|
+
filters,
|
|
87
|
+
completeFilterFields.value
|
|
88
|
+
);
|
|
86
89
|
}
|
|
87
90
|
const isCollapsed = vue.ref(true);
|
|
88
91
|
const shouldShowToggle = vue.computed(() => {
|
|
@@ -293,5 +296,5 @@ const _sfc_main = {
|
|
|
293
296
|
};
|
|
294
297
|
}
|
|
295
298
|
};
|
|
296
|
-
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
299
|
+
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a11251e7"]]);
|
|
297
300
|
exports.default = TableFilter;
|
|
@@ -52,7 +52,7 @@ const handleSearchData = (filterValues, completeFilterFields) => {
|
|
|
52
52
|
});
|
|
53
53
|
return filters;
|
|
54
54
|
};
|
|
55
|
-
const reverseHandleSearchData = (filters) => {
|
|
55
|
+
const reverseHandleSearchData = (filters, completeFilterFields) => {
|
|
56
56
|
const filterValues = {};
|
|
57
57
|
if (!filters) {
|
|
58
58
|
return filterValues;
|
|
@@ -62,18 +62,20 @@ const reverseHandleSearchData = (filters) => {
|
|
|
62
62
|
if (value === "" || value === null || value === void 0) {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
+
const fieldConfig = completeFilterFields.find((field) => field.fieldName === key);
|
|
66
|
+
const fieldId = (fieldConfig == null ? void 0 : fieldConfig.id) || key;
|
|
65
67
|
if (key.endsWith("_max")) {
|
|
66
68
|
return;
|
|
67
69
|
}
|
|
68
70
|
const maxKey = `${key}_max`;
|
|
69
71
|
const maxValue = filters[maxKey];
|
|
70
72
|
if (maxValue !== "" && maxValue !== null && maxValue !== void 0) {
|
|
71
|
-
filterValues[
|
|
72
|
-
filterValues[
|
|
73
|
+
filterValues[fieldId] = isNaN(Number(value)) ? value : Number(value);
|
|
74
|
+
filterValues[`${fieldId}_max`] = isNaN(Number(maxValue)) ? maxValue : Number(maxValue);
|
|
73
75
|
} else if (typeof value === "string" && value.includes("|")) {
|
|
74
|
-
filterValues[
|
|
76
|
+
filterValues[fieldId] = value.split("|");
|
|
75
77
|
} else {
|
|
76
|
-
filterValues[
|
|
78
|
+
filterValues[fieldId] = value;
|
|
77
79
|
}
|
|
78
80
|
});
|
|
79
81
|
return filterValues;
|