@fmdevui/fm-dev 1.0.98 → 1.0.100
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/core/ui/components/index.d.ts +45 -3
- package/es/core/ui/components/inpttable/index.vue.d.ts +45 -2
- package/es/{make-installer.css → defaults.css} +1 -1
- package/es/packages/core/ui/components/inpttable/index.vue.mjs +1 -1
- package/es/packages/core/ui/components/inpttable/index.vue2.mjs +72 -17
- package/index.css +4 -4
- package/index.js +73 -19
- package/index.min.css +1 -1
- package/index.min.js +33 -33
- package/index.min.mjs +27 -27
- package/index.mjs +73 -19
- package/lib/core/ui/components/index.d.ts +45 -3
- package/lib/core/ui/components/inpttable/index.vue.d.ts +45 -2
- package/lib/index.css +1 -1
- package/lib/packages/core/ui/components/inpttable/index.vue.js +1 -1
- package/lib/packages/core/ui/components/inpttable/index.vue2.js +72 -17
- package/package.json +1 -1
|
@@ -736,7 +736,18 @@ declare const Fminputtable: {
|
|
|
736
736
|
modelValue: (StringConstructor | ArrayConstructor | NumberConstructor | null)[];
|
|
737
737
|
fetchOptions: {
|
|
738
738
|
type: FunctionConstructor;
|
|
739
|
-
|
|
739
|
+
};
|
|
740
|
+
apiService: {
|
|
741
|
+
type: StringConstructor;
|
|
742
|
+
default: string;
|
|
743
|
+
};
|
|
744
|
+
apiAction: {
|
|
745
|
+
type: StringConstructor;
|
|
746
|
+
default: string;
|
|
747
|
+
};
|
|
748
|
+
method: {
|
|
749
|
+
type: StringConstructor;
|
|
750
|
+
default: string;
|
|
740
751
|
};
|
|
741
752
|
valueProp: {
|
|
742
753
|
type: StringConstructor;
|
|
@@ -816,6 +827,9 @@ declare const Fminputtable: {
|
|
|
816
827
|
disabled: boolean;
|
|
817
828
|
placeholder: string;
|
|
818
829
|
clearable: boolean;
|
|
830
|
+
method: string;
|
|
831
|
+
apiService: string;
|
|
832
|
+
apiAction: string;
|
|
819
833
|
valueProp: string;
|
|
820
834
|
labelProp: string;
|
|
821
835
|
labelFormat: Function;
|
|
@@ -841,7 +855,18 @@ declare const Fminputtable: {
|
|
|
841
855
|
modelValue: (StringConstructor | ArrayConstructor | NumberConstructor | null)[];
|
|
842
856
|
fetchOptions: {
|
|
843
857
|
type: FunctionConstructor;
|
|
844
|
-
|
|
858
|
+
};
|
|
859
|
+
apiService: {
|
|
860
|
+
type: StringConstructor;
|
|
861
|
+
default: string;
|
|
862
|
+
};
|
|
863
|
+
apiAction: {
|
|
864
|
+
type: StringConstructor;
|
|
865
|
+
default: string;
|
|
866
|
+
};
|
|
867
|
+
method: {
|
|
868
|
+
type: StringConstructor;
|
|
869
|
+
default: string;
|
|
845
870
|
};
|
|
846
871
|
valueProp: {
|
|
847
872
|
type: StringConstructor;
|
|
@@ -918,6 +943,9 @@ declare const Fminputtable: {
|
|
|
918
943
|
disabled: boolean;
|
|
919
944
|
placeholder: string;
|
|
920
945
|
clearable: boolean;
|
|
946
|
+
method: string;
|
|
947
|
+
apiService: string;
|
|
948
|
+
apiAction: string;
|
|
921
949
|
valueProp: string;
|
|
922
950
|
labelProp: string;
|
|
923
951
|
labelFormat: Function;
|
|
@@ -937,7 +965,18 @@ declare const Fminputtable: {
|
|
|
937
965
|
modelValue: (StringConstructor | ArrayConstructor | NumberConstructor | null)[];
|
|
938
966
|
fetchOptions: {
|
|
939
967
|
type: FunctionConstructor;
|
|
940
|
-
|
|
968
|
+
};
|
|
969
|
+
apiService: {
|
|
970
|
+
type: StringConstructor;
|
|
971
|
+
default: string;
|
|
972
|
+
};
|
|
973
|
+
apiAction: {
|
|
974
|
+
type: StringConstructor;
|
|
975
|
+
default: string;
|
|
976
|
+
};
|
|
977
|
+
method: {
|
|
978
|
+
type: StringConstructor;
|
|
979
|
+
default: string;
|
|
941
980
|
};
|
|
942
981
|
valueProp: {
|
|
943
982
|
type: StringConstructor;
|
|
@@ -1017,6 +1056,9 @@ declare const Fminputtable: {
|
|
|
1017
1056
|
disabled: boolean;
|
|
1018
1057
|
placeholder: string;
|
|
1019
1058
|
clearable: boolean;
|
|
1059
|
+
method: string;
|
|
1060
|
+
apiService: string;
|
|
1061
|
+
apiAction: string;
|
|
1020
1062
|
valueProp: string;
|
|
1021
1063
|
labelProp: string;
|
|
1022
1064
|
labelFormat: Function;
|
|
@@ -100,7 +100,27 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
100
100
|
*/
|
|
101
101
|
fetchOptions: {
|
|
102
102
|
type: FunctionConstructor;
|
|
103
|
-
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* api service name
|
|
106
|
+
*/
|
|
107
|
+
apiService: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* api service 下的方法
|
|
113
|
+
*/
|
|
114
|
+
apiAction: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* 基础编码 自动获取数据
|
|
120
|
+
*/
|
|
121
|
+
method: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
104
124
|
};
|
|
105
125
|
/**
|
|
106
126
|
* 选中记录后绑定值的属性名
|
|
@@ -308,7 +328,27 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
308
328
|
*/
|
|
309
329
|
fetchOptions: {
|
|
310
330
|
type: FunctionConstructor;
|
|
311
|
-
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* api service name
|
|
334
|
+
*/
|
|
335
|
+
apiService: {
|
|
336
|
+
type: StringConstructor;
|
|
337
|
+
default: string;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* api service 下的方法
|
|
341
|
+
*/
|
|
342
|
+
apiAction: {
|
|
343
|
+
type: StringConstructor;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* 基础编码 自动获取数据
|
|
348
|
+
*/
|
|
349
|
+
method: {
|
|
350
|
+
type: StringConstructor;
|
|
351
|
+
default: string;
|
|
312
352
|
};
|
|
313
353
|
/**
|
|
314
354
|
* 选中记录后绑定值的属性名
|
|
@@ -434,6 +474,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
434
474
|
disabled: boolean;
|
|
435
475
|
placeholder: string;
|
|
436
476
|
clearable: boolean;
|
|
477
|
+
method: string;
|
|
478
|
+
apiService: string;
|
|
479
|
+
apiAction: string;
|
|
437
480
|
valueProp: string;
|
|
438
481
|
labelProp: string;
|
|
439
482
|
labelFormat: Function;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.drag_verify[data-v-9e8c9ed2]{background-color:#e8e8e8;overflow:hidden;position:relative;text-align:center}.drag_verify .dv_handler[data-v-9e8c9ed2]{cursor:move;left:0;position:absolute;top:0}.drag_verify .dv_handler i[data-v-9e8c9ed2]{color:#666;font-size:16px;padding-left:0}.drag_verify .dv_handler .el-icon-circle-check[data-v-9e8c9ed2]{color:#6c6;margin-top:9px}.drag_verify .dv_progress_bar[data-v-9e8c9ed2]{height:34px;position:absolute;width:0}.drag_verify .dv_text[data-v-9e8c9ed2]{background:-webkit-gradient(linear,left top,right top,color-stop(0,var(--textColor)),color-stop(.4,var(--textColor)),color-stop(.5,#fff),color-stop(.6,var(--textColor)),color-stop(1,var(--textColor)));-webkit-background-clip:text;color:transparent;position:absolute;top:0;-moz-user-select:none;-webkit-user-select:none;user-select:none;-o-user-select:none;-ms-user-select:none;-webkit-text-fill-color:transparent;-webkit-text-size-adjust:none;animation:slidetounlock 3s infinite}.drag_verify .dv_text[data-v-9e8c9ed2] *{-webkit-text-fill-color:var(--textColor)}.goFirst[data-v-9e8c9ed2]{left:0!important;transition:left .5s}.goOrigin[data-v-9e8c9ed2]{transition:transform .5s}.goKeep[data-v-9e8c9ed2]{transition:left .2s}.goFirst2[data-v-9e8c9ed2]{transition:width .5s;width:0!important}.drag-verify-container[data-v-9e8c9ed2]{border-radius:50%;line-height:0;position:relative}.move-bar[data-v-9e8c9ed2]{position:absolute;z-index:100}.clip-bar[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.8);position:absolute}.refresh[data-v-9e8c9ed2]{cursor:pointer;font-size:20px;position:absolute;right:5px;top:5px;z-index:200}.tips[data-v-9e8c9ed2]{bottom:25px;font-size:12px;height:20px;line-height:20px;position:absolute;text-align:center;width:100%;z-index:200}.tips.success[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.6);color:green}.tips.danger[data-v-9e8c9ed2]{background:rgba(0,0,0,.6);color:#ff0}.check-img[data-v-9e8c9ed2]{border-radius:50%;width:100%}
|
|
2
2
|
|
|
3
|
-
.query-form[data-v-
|
|
3
|
+
.query-form[data-v-32a757fa]{z-index:9999}[data-v-32a757fa] .el-select-dropdown{.el-scrollbar>.el-scrollbar__bar{display:none!important}}.popper-class[data-v-32a757fa]{min-width:400px!important}[data-v-32a757fa] .popper-class :deep(.el-select-dropdown__wrap){max-height:600px!important}
|
|
4
4
|
.el-select-dropdown__wrap[max-height],.popper-class .el-select-dropdown__wrap{max-height:450px!important}.el-table .selected-row,.popper-class .selected-row{background-color:var(--el-color-primary-light-9)!important;border-left:3px solid var(--el-color-primary)!important}.el-table .selected-row:hover,.popper-class .selected-row:hover{background-color:var(--el-color-primary-light-8)!important}.el-table .selected-row td,.popper-class .selected-row td{background-color:var(--el-color-primary-light-9)!important}.el-table .selected-row:hover td,.popper-class .selected-row:hover td{background-color:var(--el-color-primary-light-8)!important}
|
|
@@ -3,6 +3,6 @@ import './index.vue3.mjs';
|
|
|
3
3
|
import './index.vue4.mjs';
|
|
4
4
|
import _export_sfc from '../../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
5
5
|
|
|
6
|
-
var inputtable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
6
|
+
var inputtable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-32a757fa"]]);
|
|
7
7
|
|
|
8
8
|
export { inputtable as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, computed, onMounted, onUnmounted, watch, resolveComponent, resolveDirective, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, mergeProps, withCtx, withDirectives, renderList, createBlock, withModifiers, renderSlot, createTextVNode } from 'vue';
|
|
2
2
|
import { ElMessage } from 'element-plus';
|
|
3
|
+
import { useBaseApi } from '../../../api/base/index.mjs';
|
|
3
4
|
|
|
4
5
|
const _hoisted_1 = { class: "w100 selector-loading-container" };
|
|
5
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -88,10 +89,30 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
88
89
|
* };
|
|
89
90
|
*/
|
|
90
91
|
fetchOptions: {
|
|
91
|
-
type: Function
|
|
92
|
+
type: Function
|
|
92
93
|
// 函数类型
|
|
93
|
-
required: true
|
|
94
|
-
|
|
94
|
+
//required: true, // 必填项
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* api service name
|
|
98
|
+
*/
|
|
99
|
+
apiService: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: "baseData"
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* api service 下的方法
|
|
105
|
+
*/
|
|
106
|
+
apiAction: {
|
|
107
|
+
type: String,
|
|
108
|
+
default: "BaseData"
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* 基础编码 自动获取数据
|
|
112
|
+
*/
|
|
113
|
+
method: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: "post"
|
|
95
116
|
},
|
|
96
117
|
/**
|
|
97
118
|
* 选中记录后绑定值的属性名
|
|
@@ -331,20 +352,54 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
331
352
|
state.isQuerying = true;
|
|
332
353
|
state.loading = true;
|
|
333
354
|
const finalParams = Object.assign({}, props.queryParams, state.tableQuery);
|
|
334
|
-
props.fetchOptions
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
355
|
+
if (typeof props.fetchOptions === "function") {
|
|
356
|
+
props.fetchOptions(finalParams).then((res) => {
|
|
357
|
+
const result = res.data?.result;
|
|
358
|
+
state.tableData.items = result?.items ?? [];
|
|
359
|
+
state.tableData.total = result?.total ?? 0;
|
|
360
|
+
state.loading = false;
|
|
361
|
+
state.isQuerying = false;
|
|
362
|
+
updateSelectedRows();
|
|
363
|
+
}).catch((error) => {
|
|
364
|
+
ElMessage.error("\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
365
|
+
state.tableData.items = [];
|
|
366
|
+
state.tableData.total = 0;
|
|
367
|
+
state.loading = false;
|
|
368
|
+
state.isQuerying = false;
|
|
369
|
+
});
|
|
370
|
+
} else {
|
|
371
|
+
if (props.method == "post") {
|
|
372
|
+
useBaseApi(props.apiAction).post(finalParams, props.apiAction).then((res) => {
|
|
373
|
+
const result = res.data?.result;
|
|
374
|
+
state.tableData.items = result?.items ?? [];
|
|
375
|
+
state.tableData.total = result?.total ?? 0;
|
|
376
|
+
state.loading = false;
|
|
377
|
+
state.isQuerying = false;
|
|
378
|
+
updateSelectedRows();
|
|
379
|
+
}).catch((error) => {
|
|
380
|
+
ElMessage.error("\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
381
|
+
state.tableData.items = [];
|
|
382
|
+
state.tableData.total = 0;
|
|
383
|
+
state.loading = false;
|
|
384
|
+
state.isQuerying = false;
|
|
385
|
+
});
|
|
386
|
+
} else {
|
|
387
|
+
useBaseApi(props.apiAction).get(finalParams, props.apiAction).then((res) => {
|
|
388
|
+
const result = res.data?.result;
|
|
389
|
+
state.tableData.items = result?.items ?? [];
|
|
390
|
+
state.tableData.total = result?.total ?? 0;
|
|
391
|
+
state.loading = false;
|
|
392
|
+
state.isQuerying = false;
|
|
393
|
+
updateSelectedRows();
|
|
394
|
+
}).catch((error) => {
|
|
395
|
+
ElMessage.error("\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
396
|
+
state.tableData.items = [];
|
|
397
|
+
state.tableData.total = 0;
|
|
398
|
+
state.loading = false;
|
|
399
|
+
state.isQuerying = false;
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
}
|
|
348
403
|
};
|
|
349
404
|
const resetQuery = () => {
|
|
350
405
|
state.loading = true;
|
package/index.css
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
* 目的:确保查询表单在下拉框内容的最上层,防止被其他元素遮挡
|
|
119
119
|
* 场景:当查询表单内有下拉框、日期选择器等弹出组件时,需要确保它们能正常显示
|
|
120
120
|
*/
|
|
121
|
-
.query-form[data-v-
|
|
121
|
+
.query-form[data-v-32a757fa] {
|
|
122
122
|
z-index: 9999;
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
* 说明:使用 :deep 深度选择器穿透 scoped 限制,影响 Element Plus 内部元素
|
|
129
129
|
* 注意:display: none 而不是 visibility: hidden,完全移除滚动条占用的空间
|
|
130
130
|
*/
|
|
131
|
-
[data-v-
|
|
131
|
+
[data-v-32a757fa] .el-select-dropdown {
|
|
132
132
|
.el-scrollbar > .el-scrollbar__bar {
|
|
133
133
|
display: none !important;
|
|
134
134
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
* 值:400px 是经过测试的最小宽度,能够容纳常见的表格列
|
|
141
141
|
* 优先级:使用 !important 确保样式不被其他全局样式覆盖
|
|
142
142
|
*/
|
|
143
|
-
.popper-class[data-v-
|
|
143
|
+
.popper-class[data-v-32a757fa] {
|
|
144
144
|
min-width: 400px !important;
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
* 值:600px 是合理的最大高度,适配大部分屏幕分辨率
|
|
151
151
|
* 说明:使用双层 :deep 选择器穿透 Element Plus 的嵌套结构
|
|
152
152
|
*/
|
|
153
|
-
[data-v-
|
|
153
|
+
[data-v-32a757fa] .popper-class :deep(.el-select-dropdown__wrap) {
|
|
154
154
|
max-height: 600px !important;
|
|
155
155
|
}
|
|
156
156
|
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.100 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
|
|
@@ -35610,10 +35610,30 @@
|
|
|
35610
35610
|
* };
|
|
35611
35611
|
*/
|
|
35612
35612
|
fetchOptions: {
|
|
35613
|
-
type: Function
|
|
35613
|
+
type: Function
|
|
35614
35614
|
// 函数类型
|
|
35615
|
-
required: true
|
|
35616
|
-
|
|
35615
|
+
//required: true, // 必填项
|
|
35616
|
+
},
|
|
35617
|
+
/**
|
|
35618
|
+
* api service name
|
|
35619
|
+
*/
|
|
35620
|
+
apiService: {
|
|
35621
|
+
type: String,
|
|
35622
|
+
default: "baseData"
|
|
35623
|
+
},
|
|
35624
|
+
/**
|
|
35625
|
+
* api service 下的方法
|
|
35626
|
+
*/
|
|
35627
|
+
apiAction: {
|
|
35628
|
+
type: String,
|
|
35629
|
+
default: "BaseData"
|
|
35630
|
+
},
|
|
35631
|
+
/**
|
|
35632
|
+
* 基础编码 自动获取数据
|
|
35633
|
+
*/
|
|
35634
|
+
method: {
|
|
35635
|
+
type: String,
|
|
35636
|
+
default: "post"
|
|
35617
35637
|
},
|
|
35618
35638
|
/**
|
|
35619
35639
|
* 选中记录后绑定值的属性名
|
|
@@ -35853,20 +35873,54 @@
|
|
|
35853
35873
|
state.isQuerying = true;
|
|
35854
35874
|
state.loading = true;
|
|
35855
35875
|
const finalParams = Object.assign({}, props.queryParams, state.tableQuery);
|
|
35856
|
-
props.fetchOptions
|
|
35857
|
-
|
|
35858
|
-
|
|
35859
|
-
|
|
35860
|
-
|
|
35861
|
-
|
|
35862
|
-
|
|
35863
|
-
|
|
35864
|
-
|
|
35865
|
-
|
|
35866
|
-
|
|
35867
|
-
|
|
35868
|
-
|
|
35869
|
-
|
|
35876
|
+
if (typeof props.fetchOptions === "function") {
|
|
35877
|
+
props.fetchOptions(finalParams).then((res) => {
|
|
35878
|
+
const result = res.data?.result;
|
|
35879
|
+
state.tableData.items = result?.items ?? [];
|
|
35880
|
+
state.tableData.total = result?.total ?? 0;
|
|
35881
|
+
state.loading = false;
|
|
35882
|
+
state.isQuerying = false;
|
|
35883
|
+
updateSelectedRows();
|
|
35884
|
+
}).catch((error) => {
|
|
35885
|
+
elementPlus.ElMessage.error("\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
35886
|
+
state.tableData.items = [];
|
|
35887
|
+
state.tableData.total = 0;
|
|
35888
|
+
state.loading = false;
|
|
35889
|
+
state.isQuerying = false;
|
|
35890
|
+
});
|
|
35891
|
+
} else {
|
|
35892
|
+
if (props.method == "post") {
|
|
35893
|
+
useBaseApi(props.apiAction).post(finalParams, props.apiAction).then((res) => {
|
|
35894
|
+
const result = res.data?.result;
|
|
35895
|
+
state.tableData.items = result?.items ?? [];
|
|
35896
|
+
state.tableData.total = result?.total ?? 0;
|
|
35897
|
+
state.loading = false;
|
|
35898
|
+
state.isQuerying = false;
|
|
35899
|
+
updateSelectedRows();
|
|
35900
|
+
}).catch((error) => {
|
|
35901
|
+
elementPlus.ElMessage.error("\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
35902
|
+
state.tableData.items = [];
|
|
35903
|
+
state.tableData.total = 0;
|
|
35904
|
+
state.loading = false;
|
|
35905
|
+
state.isQuerying = false;
|
|
35906
|
+
});
|
|
35907
|
+
} else {
|
|
35908
|
+
useBaseApi(props.apiAction).get(finalParams, props.apiAction).then((res) => {
|
|
35909
|
+
const result = res.data?.result;
|
|
35910
|
+
state.tableData.items = result?.items ?? [];
|
|
35911
|
+
state.tableData.total = result?.total ?? 0;
|
|
35912
|
+
state.loading = false;
|
|
35913
|
+
state.isQuerying = false;
|
|
35914
|
+
updateSelectedRows();
|
|
35915
|
+
}).catch((error) => {
|
|
35916
|
+
elementPlus.ElMessage.error("\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
35917
|
+
state.tableData.items = [];
|
|
35918
|
+
state.tableData.total = 0;
|
|
35919
|
+
state.loading = false;
|
|
35920
|
+
state.isQuerying = false;
|
|
35921
|
+
});
|
|
35922
|
+
}
|
|
35923
|
+
}
|
|
35870
35924
|
};
|
|
35871
35925
|
const resetQuery = () => {
|
|
35872
35926
|
state.loading = true;
|
|
@@ -36235,7 +36289,7 @@
|
|
|
36235
36289
|
}
|
|
36236
36290
|
});
|
|
36237
36291
|
|
|
36238
|
-
var inputtable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
36292
|
+
var inputtable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-32a757fa"]]);
|
|
36239
36293
|
|
|
36240
36294
|
const _hoisted_1$3 = { style: { "padding": "5px" } };
|
|
36241
36295
|
const _hoisted_2$2 = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
|
package/index.min.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
.drag_verify[data-v-9e8c9ed2]{background-color:#e8e8e8;overflow:hidden;position:relative;text-align:center}.drag_verify .dv_handler[data-v-9e8c9ed2]{cursor:move;left:0;position:absolute;top:0}.drag_verify .dv_handler i[data-v-9e8c9ed2]{color:#666;font-size:16px;padding-left:0}.drag_verify .dv_handler .el-icon-circle-check[data-v-9e8c9ed2]{color:#6c6;margin-top:9px}.drag_verify .dv_progress_bar[data-v-9e8c9ed2]{height:34px;position:absolute;width:0}.drag_verify .dv_text[data-v-9e8c9ed2]{background:-webkit-gradient(linear,left top,right top,color-stop(0,var(--textColor)),color-stop(.4,var(--textColor)),color-stop(.5,#fff),color-stop(.6,var(--textColor)),color-stop(1,var(--textColor)));-webkit-background-clip:text;color:transparent;position:absolute;top:0;-moz-user-select:none;-webkit-user-select:none;user-select:none;-o-user-select:none;-ms-user-select:none;-webkit-text-fill-color:transparent;-webkit-text-size-adjust:none;animation:slidetounlock 3s infinite}.drag_verify .dv_text[data-v-9e8c9ed2] *{-webkit-text-fill-color:var(--textColor)}.goFirst[data-v-9e8c9ed2]{left:0!important;transition:left .5s}.goOrigin[data-v-9e8c9ed2]{transition:transform .5s}.goKeep[data-v-9e8c9ed2]{transition:left .2s}.goFirst2[data-v-9e8c9ed2]{transition:width .5s;width:0!important}.drag-verify-container[data-v-9e8c9ed2]{border-radius:50%;line-height:0;position:relative}.move-bar[data-v-9e8c9ed2]{position:absolute;z-index:100}.clip-bar[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.8);position:absolute}.refresh[data-v-9e8c9ed2]{cursor:pointer;font-size:20px;position:absolute;right:5px;top:5px;z-index:200}.tips[data-v-9e8c9ed2]{bottom:25px;font-size:12px;height:20px;line-height:20px;position:absolute;text-align:center;width:100%;z-index:200}.tips.success[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.6);color:green}.tips.danger[data-v-9e8c9ed2]{background:rgba(0,0,0,.6);color:#ff0}.check-img[data-v-9e8c9ed2]{border-radius:50%;width:100%}
|
|
2
2
|
|
|
3
|
-
.query-form[data-v-
|
|
3
|
+
.query-form[data-v-32a757fa]{z-index:9999}[data-v-32a757fa] .el-select-dropdown{.el-scrollbar>.el-scrollbar__bar{display:none!important}}.popper-class[data-v-32a757fa]{min-width:400px!important}[data-v-32a757fa] .popper-class :deep(.el-select-dropdown__wrap){max-height:600px!important}
|
|
4
4
|
.el-select-dropdown__wrap[max-height],.popper-class .el-select-dropdown__wrap{max-height:450px!important}.el-table .selected-row,.popper-class .selected-row{background-color:var(--el-color-primary-light-9)!important;border-left:3px solid var(--el-color-primary)!important}.el-table .selected-row:hover,.popper-class .selected-row:hover{background-color:var(--el-color-primary-light-8)!important}.el-table .selected-row td,.popper-class .selected-row td{background-color:var(--el-color-primary-light-9)!important}.el-table .selected-row:hover td,.popper-class .selected-row:hover td{background-color:var(--el-color-primary-light-8)!important}
|