@fecp/designer 5.3.12 → 5.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/designer.css +59 -59
- package/es/packages/designer/package.json.mjs +1 -1
- package/es/packages/designer/src/packages/table/property/customBtn.vue.mjs +10 -0
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +1 -2
- package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +4 -3
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +41 -9
- package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +29 -3
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +21 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +13 -7
- package/lib/designer.css +59 -59
- package/lib/packages/designer/package.json.js +1 -1
- package/lib/packages/designer/src/packages/table/property/customBtn.vue.js +10 -0
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +1 -2
- package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +4 -3
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +41 -9
- package/lib/packages/vue/src/components/table/CustomButtons.vue.js +29 -3
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +21 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +13 -7
- package/package.json +1 -1
|
@@ -48,6 +48,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
48
48
|
type: String,
|
|
49
49
|
default: ""
|
|
50
50
|
},
|
|
51
|
+
titleMode: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ""
|
|
54
|
+
},
|
|
51
55
|
// 表格数据
|
|
52
56
|
tableData: {
|
|
53
57
|
type: Array,
|
|
@@ -568,19 +572,21 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
568
572
|
"custom-btns": localConfig.value.customBtns,
|
|
569
573
|
localConfig: localConfig.value,
|
|
570
574
|
readonly: __props.readonly,
|
|
571
|
-
isSubTable: __props.
|
|
572
|
-
onClick: handleCustomBtnClick
|
|
573
|
-
|
|
575
|
+
isSubTable: __props.titleMode == "label",
|
|
576
|
+
onClick: handleCustomBtnClick,
|
|
577
|
+
hiddenFormData: hiddenFormData.value
|
|
578
|
+
}, null, 8, ["custom-btns", "localConfig", "readonly", "isSubTable", "hiddenFormData"])
|
|
574
579
|
], 64)) : createCommentVNode("", true),
|
|
575
580
|
localConfig.value.queryConfig.mode == "dynamic" ? (openBlock(), createBlock(DynamicQuery, {
|
|
576
581
|
key: 1,
|
|
577
582
|
readonly: __props.readonly,
|
|
578
|
-
isSubTable: __props.
|
|
583
|
+
isSubTable: __props.titleMode == "label",
|
|
579
584
|
localConfig: localConfig.value,
|
|
580
585
|
"fields-data": fieldsData.value,
|
|
581
586
|
onSearch: handleFilterSearch,
|
|
582
|
-
onClick: handleCustomBtnClick
|
|
583
|
-
|
|
587
|
+
onClick: handleCustomBtnClick,
|
|
588
|
+
hiddenFormData: hiddenFormData.value
|
|
589
|
+
}, null, 8, ["readonly", "isSubTable", "localConfig", "fields-data", "hiddenFormData"])) : createCommentVNode("", true),
|
|
584
590
|
createElementVNode("div", _hoisted_1, [
|
|
585
591
|
createVNode(unref(VxeTable), {
|
|
586
592
|
ref_key: "tableRef",
|
|
@@ -645,7 +651,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
645
651
|
};
|
|
646
652
|
}
|
|
647
653
|
});
|
|
648
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
654
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fa5e2171"]]);
|
|
649
655
|
export {
|
|
650
656
|
_Table as default
|
|
651
657
|
};
|
package/lib/designer.css
CHANGED
|
@@ -5104,12 +5104,12 @@ body,
|
|
|
5104
5104
|
font-size: 13px;
|
|
5105
5105
|
color: #606266;
|
|
5106
5106
|
margin-left: 8px;
|
|
5107
|
-
}.custom-buttons[data-v-
|
|
5107
|
+
}.custom-buttons[data-v-d1552802] {
|
|
5108
5108
|
display: flex;
|
|
5109
5109
|
align-items: center;
|
|
5110
5110
|
margin: 0 0 0 0;
|
|
5111
5111
|
}
|
|
5112
|
-
.back-icon[data-v-
|
|
5112
|
+
.back-icon[data-v-d1552802] {
|
|
5113
5113
|
display: flex;
|
|
5114
5114
|
align-items: center;
|
|
5115
5115
|
justify-content: center;
|
|
@@ -5123,14 +5123,14 @@ body,
|
|
|
5123
5123
|
margin-right: -6px;
|
|
5124
5124
|
margin-bottom: 8px;
|
|
5125
5125
|
}
|
|
5126
|
-
.back-icon .el-icon[data-v-
|
|
5126
|
+
.back-icon .el-icon[data-v-d1552802] {
|
|
5127
5127
|
font-size: 16px;
|
|
5128
5128
|
font-weight: bold;
|
|
5129
5129
|
}
|
|
5130
|
-
.back-icon[data-v-
|
|
5130
|
+
.back-icon[data-v-d1552802]:hover {
|
|
5131
5131
|
opacity: 0.7;
|
|
5132
5132
|
}
|
|
5133
|
-
.template-name[data-v-
|
|
5133
|
+
.template-name[data-v-d1552802] {
|
|
5134
5134
|
font-size: 16px;
|
|
5135
5135
|
font-weight: 600;
|
|
5136
5136
|
color: #303133;
|
|
@@ -5491,21 +5491,21 @@ body,
|
|
|
5491
5491
|
outline: none;
|
|
5492
5492
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
5493
5493
|
}
|
|
5494
|
-
.info-icon[data-v-
|
|
5494
|
+
.info-icon[data-v-bac36800] {
|
|
5495
5495
|
margin-left: 4px;
|
|
5496
5496
|
color: #f5b041;
|
|
5497
5497
|
cursor: help;
|
|
5498
5498
|
font-size: 14px;
|
|
5499
5499
|
}
|
|
5500
|
-
.credit-icon[data-v-
|
|
5500
|
+
.credit-icon[data-v-bac36800] {
|
|
5501
5501
|
color: #2e8bff;
|
|
5502
5502
|
margin-right: 2px;
|
|
5503
5503
|
}
|
|
5504
|
-
.regulation-icon[data-v-
|
|
5504
|
+
.regulation-icon[data-v-bac36800] {
|
|
5505
5505
|
color: #f56c6c;
|
|
5506
5506
|
margin-right: 2px;
|
|
5507
5507
|
}
|
|
5508
|
-
[data-v-
|
|
5508
|
+
[data-v-bac36800] .el-form-item__label {
|
|
5509
5509
|
padding: 0 8px 0 0;
|
|
5510
5510
|
}
|
|
5511
5511
|
.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.fec-header[data-v-93e082c1] {
|
|
@@ -5562,27 +5562,27 @@ body,
|
|
|
5562
5562
|
width: 80px;
|
|
5563
5563
|
font-size: var(--el-font-size-extra-small);
|
|
5564
5564
|
}
|
|
5565
|
-
.fec-form[data-v-
|
|
5565
|
+
.fec-form[data-v-884f35d8] {
|
|
5566
5566
|
height: 100%;
|
|
5567
5567
|
}
|
|
5568
|
-
[data-v-
|
|
5568
|
+
[data-v-884f35d8] .vgl-item {
|
|
5569
5569
|
transition: none;
|
|
5570
5570
|
}
|
|
5571
|
-
[data-v-
|
|
5571
|
+
[data-v-884f35d8] .vgl-item > .el-form-item {
|
|
5572
5572
|
width: 100%;
|
|
5573
5573
|
padding: 12px 8px 0 8px;
|
|
5574
5574
|
height: calc(100% - 15px);
|
|
5575
5575
|
display: flex;
|
|
5576
5576
|
}
|
|
5577
|
-
[data-v-
|
|
5577
|
+
[data-v-884f35d8] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5578
5578
|
flex-direction: column;
|
|
5579
5579
|
}
|
|
5580
|
-
[data-v-
|
|
5580
|
+
[data-v-884f35d8] .vgl-item > .el-form-item .el-form-item__label {
|
|
5581
5581
|
line-height: 20px;
|
|
5582
5582
|
display: flex;
|
|
5583
5583
|
align-items: center;
|
|
5584
5584
|
}
|
|
5585
|
-
[data-v-
|
|
5585
|
+
[data-v-884f35d8] .vgl-item > .el-container {
|
|
5586
5586
|
height: auto !important;
|
|
5587
5587
|
}.cell-content .cell-text[data-v-2352d631] {
|
|
5588
5588
|
display: inline-block;
|
|
@@ -5695,11 +5695,11 @@ body,
|
|
|
5695
5695
|
}
|
|
5696
5696
|
.filter-divider[data-v-366e01c3] .el-icon {
|
|
5697
5697
|
transition: transform 0.3s ease;
|
|
5698
|
-
}.dynamic-mode-config .dynamic-row[data-v-
|
|
5698
|
+
}.dynamic-mode-config .dynamic-row[data-v-bb55debf] {
|
|
5699
5699
|
display: flex;
|
|
5700
5700
|
align-items: center;
|
|
5701
5701
|
}
|
|
5702
|
-
.dynamic-mode-config .back-icon[data-v-
|
|
5702
|
+
.dynamic-mode-config .back-icon[data-v-bb55debf] {
|
|
5703
5703
|
display: flex;
|
|
5704
5704
|
align-items: center;
|
|
5705
5705
|
justify-content: center;
|
|
@@ -5713,11 +5713,11 @@ body,
|
|
|
5713
5713
|
margin-right: -6px;
|
|
5714
5714
|
margin-bottom: 8px;
|
|
5715
5715
|
}
|
|
5716
|
-
.dynamic-mode-config .back-icon .el-icon[data-v-
|
|
5716
|
+
.dynamic-mode-config .back-icon .el-icon[data-v-bb55debf] {
|
|
5717
5717
|
font-size: 16px;
|
|
5718
5718
|
font-weight: bold;
|
|
5719
5719
|
}
|
|
5720
|
-
.dynamic-mode-config .template-name[data-v-
|
|
5720
|
+
.dynamic-mode-config .template-name[data-v-bb55debf] {
|
|
5721
5721
|
font-size: 16px;
|
|
5722
5722
|
font-weight: 600;
|
|
5723
5723
|
color: #303133;
|
|
@@ -5729,42 +5729,42 @@ body,
|
|
|
5729
5729
|
position: relative;
|
|
5730
5730
|
margin-bottom: 8px;
|
|
5731
5731
|
}
|
|
5732
|
-
.dynamic-mode-config .tab-display-section[data-v-
|
|
5732
|
+
.dynamic-mode-config .tab-display-section[data-v-bb55debf] {
|
|
5733
5733
|
flex: 1;
|
|
5734
5734
|
min-width: 0;
|
|
5735
5735
|
margin-bottom: 8px;
|
|
5736
5736
|
}
|
|
5737
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
5737
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-bb55debf] .el-tabs__header {
|
|
5738
5738
|
margin: 0;
|
|
5739
5739
|
}
|
|
5740
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
5740
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-bb55debf] .el-tabs__nav-wrap::after {
|
|
5741
5741
|
height: 0;
|
|
5742
5742
|
}
|
|
5743
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
5743
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-bb55debf] .el-tabs__item {
|
|
5744
5744
|
padding: 0 12px;
|
|
5745
5745
|
}
|
|
5746
|
-
.dynamic-mode-config .search-display-section[data-v-
|
|
5746
|
+
.dynamic-mode-config .search-display-section[data-v-bb55debf] {
|
|
5747
5747
|
flex-shrink: 0;
|
|
5748
5748
|
display: flex;
|
|
5749
5749
|
align-items: center;
|
|
5750
5750
|
gap: 12px;
|
|
5751
5751
|
margin-left: auto;
|
|
5752
5752
|
}
|
|
5753
|
-
.dynamic-mode-config .search-display-section .search-input-group[data-v-
|
|
5753
|
+
.dynamic-mode-config .search-display-section .search-input-group[data-v-bb55debf] {
|
|
5754
5754
|
margin-bottom: 8px;
|
|
5755
5755
|
}
|
|
5756
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-
|
|
5756
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-bb55debf] {
|
|
5757
5757
|
width: 300px;
|
|
5758
5758
|
}
|
|
5759
|
-
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-
|
|
5759
|
+
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-bb55debf] {
|
|
5760
5760
|
display: flex;
|
|
5761
5761
|
align-items: center;
|
|
5762
5762
|
gap: 8px;
|
|
5763
5763
|
}
|
|
5764
|
-
.dynamic-mode-config .search-display-section .optBtn[data-v-
|
|
5764
|
+
.dynamic-mode-config .search-display-section .optBtn[data-v-bb55debf] {
|
|
5765
5765
|
position: relative;
|
|
5766
5766
|
}
|
|
5767
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
5767
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-bb55debf] {
|
|
5768
5768
|
position: absolute;
|
|
5769
5769
|
top: -10px;
|
|
5770
5770
|
right: -10px;
|
|
@@ -5781,31 +5781,31 @@ body,
|
|
|
5781
5781
|
font-size: 12px;
|
|
5782
5782
|
z-index: 1;
|
|
5783
5783
|
}
|
|
5784
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
5784
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-bb55debf]:hover {
|
|
5785
5785
|
background-color: #f56c6c;
|
|
5786
5786
|
}
|
|
5787
|
-
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-
|
|
5787
|
+
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-bb55debf] {
|
|
5788
5788
|
display: flex;
|
|
5789
5789
|
}
|
|
5790
|
-
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-
|
|
5790
|
+
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-bb55debf] {
|
|
5791
5791
|
pointer-events: none;
|
|
5792
5792
|
}
|
|
5793
|
-
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-
|
|
5793
|
+
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-bb55debf] {
|
|
5794
5794
|
margin-right: 4px;
|
|
5795
5795
|
}
|
|
5796
|
-
.dynamic-mode-config .expand-filter-section[data-v-
|
|
5796
|
+
.dynamic-mode-config .expand-filter-section[data-v-bb55debf] {
|
|
5797
5797
|
padding-top: 4px;
|
|
5798
5798
|
border-top: 1px solid #ebeef5;
|
|
5799
5799
|
margin-top: 4px;
|
|
5800
5800
|
}
|
|
5801
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-
|
|
5801
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-bb55debf] {
|
|
5802
5802
|
width: 100%;
|
|
5803
5803
|
}
|
|
5804
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-
|
|
5804
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-bb55debf] {
|
|
5805
5805
|
display: flex;
|
|
5806
5806
|
flex-wrap: wrap;
|
|
5807
5807
|
}
|
|
5808
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5808
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item {
|
|
5809
5809
|
padding: 2px;
|
|
5810
5810
|
border: 2px solid transparent;
|
|
5811
5811
|
border-radius: 2px;
|
|
@@ -5814,20 +5814,20 @@ body,
|
|
|
5814
5814
|
cursor: move;
|
|
5815
5815
|
margin-bottom: 4px;
|
|
5816
5816
|
}
|
|
5817
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5817
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item .el-form-item__label-wrap {
|
|
5818
5818
|
margin: 0 0 0 8px !important;
|
|
5819
5819
|
}
|
|
5820
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5820
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item .el-form-item__content {
|
|
5821
5821
|
min-width: 150px;
|
|
5822
5822
|
}
|
|
5823
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5823
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item .form-item-label {
|
|
5824
5824
|
display: flex;
|
|
5825
5825
|
align-items: center;
|
|
5826
5826
|
}
|
|
5827
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5827
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item .el-input {
|
|
5828
5828
|
width: 150px;
|
|
5829
5829
|
}
|
|
5830
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5830
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item .delete-icon {
|
|
5831
5831
|
position: absolute;
|
|
5832
5832
|
top: -10px;
|
|
5833
5833
|
right: -10px;
|
|
@@ -5844,19 +5844,19 @@ body,
|
|
|
5844
5844
|
font-size: 12px;
|
|
5845
5845
|
z-index: 1;
|
|
5846
5846
|
}
|
|
5847
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5847
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item .delete-icon:hover {
|
|
5848
5848
|
background-color: #f56c6c;
|
|
5849
5849
|
}
|
|
5850
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5850
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item.is-hover {
|
|
5851
5851
|
border: 2px dashed #7b99cb !important;
|
|
5852
5852
|
}
|
|
5853
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5853
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item.is-hover .delete-icon {
|
|
5854
5854
|
display: flex;
|
|
5855
5855
|
}
|
|
5856
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5856
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item.is-select {
|
|
5857
5857
|
border: 2px dashed #efa53a !important;
|
|
5858
5858
|
}
|
|
5859
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
5859
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-bb55debf] .el-form-item__label {
|
|
5860
5860
|
font-size: 13px;
|
|
5861
5861
|
color: #606266;
|
|
5862
5862
|
pointer-events: none;
|
|
@@ -5865,17 +5865,17 @@ body,
|
|
|
5865
5865
|
display: flex;
|
|
5866
5866
|
align-items: center;
|
|
5867
5867
|
}
|
|
5868
|
-
[data-v-
|
|
5868
|
+
[data-v-bb55debf] .el-checkbox-group {
|
|
5869
5869
|
display: flex;
|
|
5870
5870
|
gap: 12px;
|
|
5871
5871
|
}
|
|
5872
|
-
[data-v-
|
|
5872
|
+
[data-v-bb55debf] .el-checkbox-group .el-checkbox-button__inner {
|
|
5873
5873
|
border-radius: 4px;
|
|
5874
|
-
}.fec-table[data-v-
|
|
5874
|
+
}.fec-table[data-v-fa5e2171] {
|
|
5875
5875
|
height: 100%;
|
|
5876
5876
|
flex-grow: 1;
|
|
5877
5877
|
}
|
|
5878
|
-
.fec-table-container[data-v-
|
|
5878
|
+
.fec-table-container[data-v-fa5e2171] {
|
|
5879
5879
|
width: 100%;
|
|
5880
5880
|
background: #fff;
|
|
5881
5881
|
box-sizing: border-box;
|
|
@@ -5885,30 +5885,30 @@ body,
|
|
|
5885
5885
|
overflow: hidden;
|
|
5886
5886
|
flex-grow: 1;
|
|
5887
5887
|
}
|
|
5888
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
5888
|
+
.fec-table-container .fec-vxe-table[data-v-fa5e2171] {
|
|
5889
5889
|
flex: 1;
|
|
5890
5890
|
min-height: 0;
|
|
5891
5891
|
overflow: hidden;
|
|
5892
5892
|
}
|
|
5893
|
-
.fec-table-container[data-v-
|
|
5893
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table {
|
|
5894
5894
|
font-size: 14px;
|
|
5895
5895
|
}
|
|
5896
|
-
.fec-table-container[data-v-
|
|
5896
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table .vxe-table--body-wrapper {
|
|
5897
5897
|
overflow: auto;
|
|
5898
5898
|
}
|
|
5899
|
-
.fec-table-container[data-v-
|
|
5899
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table .vxe-header--column {
|
|
5900
5900
|
background-color: #f5f7fa;
|
|
5901
5901
|
}
|
|
5902
|
-
.fec-table-container[data-v-
|
|
5902
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table .vxe-header--column .vxe-cell {
|
|
5903
5903
|
height: 40px !important;
|
|
5904
5904
|
min-height: 40px !important;
|
|
5905
5905
|
}
|
|
5906
|
-
.fec-table-container[data-v-
|
|
5906
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table .vxe-body--column .vxe-cell {
|
|
5907
5907
|
padding: 6px !important;
|
|
5908
5908
|
min-height: 40px !important;
|
|
5909
5909
|
}
|
|
5910
|
-
.fec-table-container[data-v-
|
|
5911
|
-
.fec-table-container[data-v-
|
|
5910
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table .vxe-body--column .c--tooltip,
|
|
5911
|
+
.fec-table-container[data-v-fa5e2171] .vxe-table .vxe-body--column .c--title {
|
|
5912
5912
|
height: 40px !important;
|
|
5913
5913
|
min-height: 40px !important;
|
|
5914
5914
|
}:root,:host{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-break:anywhere;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;line-break:anywhere;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}
|
|
@@ -15,6 +15,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
15
15
|
const vue = require("vue");
|
|
16
16
|
const EventConfigButton = require("../../../components/EventConfigButton.vue.js");
|
|
17
17
|
const common = require("../../utils/common.js");
|
|
18
|
+
const ConditionConfigButton = require("../../../components/ConditionConfigButton.vue2.js");
|
|
18
19
|
const index = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.js");
|
|
19
20
|
const index$1 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.js");
|
|
20
21
|
const index$2 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/select/index.js");
|
|
@@ -107,6 +108,15 @@ const _sfc_main = {
|
|
|
107
108
|
]),
|
|
108
109
|
_: 1
|
|
109
110
|
}),
|
|
111
|
+
vue.createVNode(_component_el_form_item, { label: "显示条件" }, {
|
|
112
|
+
default: vue.withCtx(() => [
|
|
113
|
+
vue.createVNode(ConditionConfigButton.default, {
|
|
114
|
+
condition: vue.unref(currentItem).showCondition,
|
|
115
|
+
onConfirm: (data) => vue.unref(currentItem).showCondition = data
|
|
116
|
+
}, null, 8, ["condition", "onConfirm"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
110
120
|
vue.createVNode(_component_el_form_item, { label: "风格" }, {
|
|
111
121
|
default: vue.withCtx(() => [
|
|
112
122
|
vue.createVNode(_component_el_select, {
|
|
@@ -207,7 +207,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
207
207
|
hiddenFields.value.forEach((field) => {
|
|
208
208
|
if (field.fieldName) {
|
|
209
209
|
if (typeof field.value == "object") {
|
|
210
|
-
debugger;
|
|
211
210
|
const value = parseRouteParams.parseSingleParamValue(field.value, defaultData, [
|
|
212
211
|
...fieldsData.value,
|
|
213
212
|
...hiddenFields.value
|
|
@@ -983,5 +982,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
983
982
|
};
|
|
984
983
|
}
|
|
985
984
|
});
|
|
986
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
985
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-884f35d8"]]);
|
|
987
986
|
exports.default = _Form;
|
|
@@ -129,8 +129,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
129
129
|
ref_key: "innerComponentRef",
|
|
130
130
|
ref: innerComponentRef,
|
|
131
131
|
config: __props.config,
|
|
132
|
-
localConfig: __props.localConfig
|
|
133
|
-
|
|
132
|
+
localConfig: __props.localConfig,
|
|
133
|
+
formMode: __props.formMode
|
|
134
|
+
}, null, 8, ["config", "localConfig", "formMode"])) : __props.config.fieldType == "approvalHistory" ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.ApprovalHistory), {
|
|
134
135
|
key: 4,
|
|
135
136
|
ref_key: "innerComponentRef",
|
|
136
137
|
ref: innerComponentRef,
|
|
@@ -189,5 +190,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
189
190
|
};
|
|
190
191
|
}
|
|
191
192
|
});
|
|
192
|
-
const _FormItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
193
|
+
const _FormItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-bac36800"]]);
|
|
193
194
|
exports.default = _FormItem;
|
|
@@ -7,6 +7,7 @@ const Table = require("../../table/Table.vue.js");
|
|
|
7
7
|
const index$2 = require("../subTitle/index.js");
|
|
8
8
|
const index = require("../h2/index.js");
|
|
9
9
|
const parseRouteParams = require("../../../utils/parseRouteParams.js");
|
|
10
|
+
const parseFilterConfig = require("../../../utils/parseFilterConfig.js");
|
|
10
11
|
const index$1 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/button/index.js");
|
|
11
12
|
const _hoisted_1 = {
|
|
12
13
|
key: 0,
|
|
@@ -24,6 +25,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
24
25
|
localConfig: {
|
|
25
26
|
type: Object,
|
|
26
27
|
required: true
|
|
28
|
+
},
|
|
29
|
+
formMode: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ""
|
|
27
32
|
}
|
|
28
33
|
// subFormId: {
|
|
29
34
|
// type: String,
|
|
@@ -76,8 +81,34 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
76
81
|
return {};
|
|
77
82
|
});
|
|
78
83
|
const subTableOption = vue.ref({});
|
|
79
|
-
const
|
|
80
|
-
|
|
84
|
+
const subTableFieldsData = vue.computed(() => {
|
|
85
|
+
var _a, _b;
|
|
86
|
+
return [
|
|
87
|
+
...((_a = subTableOption.value) == null ? void 0 : _a.fieldsData) || [],
|
|
88
|
+
...((_b = subTableOption.value) == null ? void 0 : _b.hiddenFields) || []
|
|
89
|
+
];
|
|
90
|
+
});
|
|
91
|
+
const leftButtons = vue.computed(() => {
|
|
92
|
+
var _a, _b;
|
|
93
|
+
return (((_b = (_a = subTableOption.value) == null ? void 0 : _a.customBtns) == null ? void 0 : _b.left) || []).filter((item) => {
|
|
94
|
+
if (!item.showCondition) return true;
|
|
95
|
+
return parseFilterConfig.checkFilterMatch(
|
|
96
|
+
item.showCondition,
|
|
97
|
+
initHiddenData.value,
|
|
98
|
+
subTableFieldsData.value
|
|
99
|
+
);
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
const rightButtons = vue.computed(() => {
|
|
103
|
+
var _a, _b;
|
|
104
|
+
return (((_b = (_a = subTableOption.value) == null ? void 0 : _a.customBtns) == null ? void 0 : _b.right) || []).filter((item) => {
|
|
105
|
+
if (!item.showCondition) return true;
|
|
106
|
+
return parseFilterConfig.checkFilterMatch(
|
|
107
|
+
item.showCondition,
|
|
108
|
+
initHiddenData.value,
|
|
109
|
+
subTableFieldsData.value
|
|
110
|
+
);
|
|
111
|
+
});
|
|
81
112
|
});
|
|
82
113
|
function subTableLoaded(subOption) {
|
|
83
114
|
subTableOption.value = subOption;
|
|
@@ -116,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
116
147
|
config: __props.config
|
|
117
148
|
}, vue.createSlots({
|
|
118
149
|
default: vue.withCtx(() => [
|
|
119
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment,
|
|
150
|
+
__props.formMode != "query" ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(vue.unref(rightButtons), (btn) => {
|
|
120
151
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
121
152
|
btn.btnType == "custom" ? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
122
153
|
key: btn.id,
|
|
@@ -130,14 +161,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
130
161
|
_: 2
|
|
131
162
|
}, 1032, ["onClick"])) : vue.createCommentVNode("", true)
|
|
132
163
|
], 64);
|
|
133
|
-
}), 256))
|
|
164
|
+
}), 256)) : vue.createCommentVNode("", true)
|
|
134
165
|
]),
|
|
135
166
|
_: 2
|
|
136
167
|
}, [
|
|
137
|
-
vue.unref(
|
|
168
|
+
vue.unref(leftButtons) ? {
|
|
138
169
|
name: "left",
|
|
139
170
|
fn: vue.withCtx(() => [
|
|
140
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment,
|
|
171
|
+
__props.formMode != "query" ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(vue.unref(leftButtons), (btn) => {
|
|
141
172
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
142
173
|
btn.btnType == "custom" ? (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
143
174
|
key: btn.id,
|
|
@@ -151,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
151
182
|
_: 2
|
|
152
183
|
}, 1032, ["onClick"])) : vue.createCommentVNode("", true)
|
|
153
184
|
], 64);
|
|
154
|
-
}), 256))
|
|
185
|
+
}), 256)) : vue.createCommentVNode("", true)
|
|
155
186
|
]),
|
|
156
187
|
key: "0"
|
|
157
188
|
} : void 0
|
|
@@ -167,13 +198,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
167
198
|
isSubTable: "",
|
|
168
199
|
onLoaded: subTableLoaded,
|
|
169
200
|
mode: __props.config.subTableMode,
|
|
201
|
+
titleMode: __props.config.titleMode,
|
|
170
202
|
hasPagination: __props.config.isSubTablePagination,
|
|
171
203
|
height: __props.config.subTableHeight,
|
|
172
204
|
tableData: vue.unref(subTableData),
|
|
173
205
|
initHiddenData: vue.unref(initHiddenData),
|
|
174
206
|
canLoadBySearchData: __props.config.reloadOnParamsChange,
|
|
175
|
-
readonly: __props.config.isSubTableReadOnly
|
|
176
|
-
}, null, 8, ["templateKey", "mode", "hasPagination", "height", "tableData", "initHiddenData", "canLoadBySearchData", "readonly"])
|
|
207
|
+
readonly: __props.config.isSubTableReadOnly || __props.formMode == "query"
|
|
208
|
+
}, null, 8, ["templateKey", "mode", "titleMode", "hasPagination", "height", "tableData", "initHiddenData", "canLoadBySearchData", "readonly"])
|
|
177
209
|
], 64);
|
|
178
210
|
};
|
|
179
211
|
}
|
|
@@ -6,6 +6,7 @@ const vue = require("vue");
|
|
|
6
6
|
require("../../../../../node_modules/.pnpm/vxe-table@4.17.47_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/components.js");
|
|
7
7
|
const index$1 = require("../../../../../node_modules/.pnpm/@element-plus_icons-vue@2.3.2_vue@3.5.13_typescript@5.7.3_/node_modules/@element-plus/icons-vue/dist/index.js");
|
|
8
8
|
const getInstance = require("../../utils/getInstance.js");
|
|
9
|
+
const parseFilterConfig = require("../../utils/parseFilterConfig.js");
|
|
9
10
|
;/* empty css */
|
|
10
11
|
const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
11
12
|
const index = require("../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/icon/index.js");
|
|
@@ -37,6 +38,10 @@ const _sfc_main = {
|
|
|
37
38
|
isSubTable: {
|
|
38
39
|
type: Boolean,
|
|
39
40
|
default: false
|
|
41
|
+
},
|
|
42
|
+
hiddenFormData: {
|
|
43
|
+
type: Object,
|
|
44
|
+
default: {}
|
|
40
45
|
}
|
|
41
46
|
},
|
|
42
47
|
emits: ["click"],
|
|
@@ -44,11 +49,32 @@ const _sfc_main = {
|
|
|
44
49
|
const ctx = getInstance.getCurrentVueInstance();
|
|
45
50
|
const props = __props;
|
|
46
51
|
const emit = __emit;
|
|
52
|
+
const fieldsData = vue.computed(() => {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
return [
|
|
55
|
+
...((_a = props.localConfig) == null ? void 0 : _a.fieldsData) || [],
|
|
56
|
+
...((_b = props.localConfig) == null ? void 0 : _b.hiddenFields) || []
|
|
57
|
+
];
|
|
58
|
+
});
|
|
47
59
|
const leftButtons = vue.computed(() => {
|
|
48
|
-
return props.customBtns.left || []
|
|
60
|
+
return (props.customBtns.left || []).filter((item) => {
|
|
61
|
+
if (!item.showCondition) return true;
|
|
62
|
+
return parseFilterConfig.checkFilterMatch(
|
|
63
|
+
item.showCondition,
|
|
64
|
+
props.hiddenFormData,
|
|
65
|
+
fieldsData.value
|
|
66
|
+
);
|
|
67
|
+
});
|
|
49
68
|
});
|
|
50
69
|
const rightButtons = vue.computed(() => {
|
|
51
|
-
return props.customBtns.right || []
|
|
70
|
+
return (props.customBtns.right || []).filter((item) => {
|
|
71
|
+
if (!item.showCondition) return true;
|
|
72
|
+
return parseFilterConfig.checkFilterMatch(
|
|
73
|
+
item.showCondition,
|
|
74
|
+
props.hiddenFormData,
|
|
75
|
+
fieldsData.value
|
|
76
|
+
);
|
|
77
|
+
});
|
|
52
78
|
});
|
|
53
79
|
const hasButtons = vue.computed(() => {
|
|
54
80
|
return leftButtons.value.length > 0 || rightButtons.value.length > 0;
|
|
@@ -139,5 +165,5 @@ const _sfc_main = {
|
|
|
139
165
|
};
|
|
140
166
|
}
|
|
141
167
|
};
|
|
142
|
-
const CustomButtons = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
168
|
+
const CustomButtons = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-d1552802"]]);
|
|
143
169
|
exports.default = CustomButtons;
|