cnhis-design-vue 3.1.21-beta.9 → 3.1.22-beta.0
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/components/big-table/index.d.ts +4 -6
- package/es/components/big-table/src/BigTable.vue.d.ts +4 -6
- package/es/components/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +17 -8
- package/es/components/big-table/src/components/edit-form/edit-input.js +15 -7
- package/es/components/big-table/src/hooks/useEdit.d.ts +2 -1
- package/es/components/big-table/src/hooks/useEdit2.js +3 -2
- package/es/components/big-table/src/hooks/useSeparateRow2.js +3 -2
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/fabric-chart/src/components/PopupMenu.js +2 -1
- package/es/components/fabric-chart/src/hooks/constant.d.ts +40 -0
- package/es/components/fabric-chart/src/hooks/constant.js +1 -1
- package/es/components/fabric-chart/src/hooks/constant2.js +43 -1
- package/es/components/fabric-chart/src/hooks/useCenter2.js +30 -18
- package/es/components/fabric-chart/src/hooks/useDraw2.js +8 -8
- package/es/components/fabric-chart/src/hooks/useLeft2.js +13 -0
- package/es/components/field-set/index.d.ts +26 -0
- package/es/components/field-set/src/FieldSet.js +12 -6
- package/es/components/field-set/src/FieldSet.vue.d.ts +4 -0
- package/es/components/form-render/src/FormRender.js +2 -1
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor2.js +2 -1
- package/es/components/form-render/src/hooks/useFieldNormalize2.js +6 -0
- package/es/components/form-render/src/hooks/useFieldVisitor2.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator2.js +2 -1
- package/es/components/form-render/src/utils/index.d.ts +0 -1
- package/es/components/form-render/src/utils/index.js +2 -6
- package/es/components/iho-table/index.d.ts +704 -0
- package/es/components/iho-table/index.js +3 -0
- package/es/components/iho-table/index2.js +25 -0
- package/es/components/iho-table/src/IhoTable.js +51 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +704 -0
- package/es/components/iho-table/src/components/IhoTableColumn.d.ts +14 -0
- package/es/components/iho-table/src/components/IhoTableColumn.js +17 -0
- package/es/components/iho-table/src/components/index.d.ts +1 -0
- package/es/components/iho-table/src/components/index.js +1 -0
- package/es/components/iho-table/src/constants/index.d.ts +40 -0
- package/es/components/iho-table/src/constants/index.js +1 -0
- package/es/components/iho-table/src/constants/index2.js +40 -0
- package/es/components/iho-table/src/hooks/index.d.ts +2 -0
- package/es/components/iho-table/src/hooks/index.js +2 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +8 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/index2.js +50 -0
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +13 -0
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks2.js +29 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +67 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks2.js +82 -0
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +10 -0
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks2.js +30 -0
- package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +8 -0
- package/es/components/iho-table/src/hooks/useTablePlugin.js +1 -0
- package/es/components/iho-table/src/hooks/useTablePlugin2.js +21 -0
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index2.js +29 -0
- package/es/components/iho-table/src/plugins/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/index.js +7 -0
- package/es/components/iho-table/src/plugins/index2.js +7 -0
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index2.js +26 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.js +28 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.js +48 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.js +62 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.d.ts +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.js +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.js +45 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.js +55 -0
- package/es/components/iho-table/src/types/index.d.ts +23 -0
- package/es/components/iho-table/src/types/index.js +1 -0
- package/es/components/iho-table/src/types/pluginType.d.ts +96 -0
- package/es/components/iho-table/src/types/pluginType.js +1 -0
- package/es/components/iho-table/src/types/pluginType2.js +8 -0
- package/es/components/iho-table/src/utils/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.js +1 -0
- package/es/components/iho-table/src/utils/index2.js +8 -0
- package/es/components/iho-table/style/index.css +1 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -1
- package/es/components/index.js +3 -0
- package/es/components/index2.js +4 -1
- package/es/components/info-header/src/InfoHeader.js +3 -3
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts2.js +5 -3
- package/es/shared/types/index.d.ts +1 -0
- package/es/shared/utils/index.d.ts +1 -0
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/index2.js +6 -1
- package/es/shared/utils/tapable/AsyncParallelHook.js +17 -2
- package/package.json +3 -3
|
@@ -603,11 +603,12 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
603
603
|
rowIndex: any;
|
|
604
604
|
};
|
|
605
605
|
deleteRow: (row: any, col: any, index: number) => void;
|
|
606
|
-
onFormChange: ({ value, row, column, index }: {
|
|
606
|
+
onFormChange: ({ value, row, column, index, type }: {
|
|
607
607
|
value: string | number | null;
|
|
608
608
|
row: any;
|
|
609
609
|
column: any;
|
|
610
610
|
index: number;
|
|
611
|
+
type?: string | undefined;
|
|
611
612
|
}) => void;
|
|
612
613
|
getDefaultValue: (params: any, item: any) => any;
|
|
613
614
|
isAboutNestTable: import("vue").ComputedRef<any>;
|
|
@@ -702,7 +703,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
702
703
|
handleFilterChangeAll: (val: any, field: any) => void;
|
|
703
704
|
handleFilterChange: (value: any, name: any, field: any) => void;
|
|
704
705
|
handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
|
|
705
|
-
handleFilterClearAll: (
|
|
706
|
+
handleFilterClearAll: (columnName: any) => false | undefined;
|
|
706
707
|
handleCancelFilter: () => void;
|
|
707
708
|
mergeQuickSearchConfig: (filterFields: any, props: any) => void;
|
|
708
709
|
handleFilter: (field: any) => void;
|
|
@@ -721,10 +722,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
721
722
|
handleCheckAll: () => void;
|
|
722
723
|
handleCancelAllCheck: () => void;
|
|
723
724
|
getRowClassName: (params: any) => any;
|
|
724
|
-
footerMethod: (
|
|
725
|
-
columns: any;
|
|
726
|
-
data: any;
|
|
727
|
-
}) => any[];
|
|
725
|
+
footerMethod: (payload: any) => any;
|
|
728
726
|
loadChildrenMethod: ({ row }: {
|
|
729
727
|
row: any;
|
|
730
728
|
}) => Promise<any>;
|
|
@@ -601,11 +601,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
601
601
|
rowIndex: any;
|
|
602
602
|
};
|
|
603
603
|
deleteRow: (row: any, col: any, index: number) => void;
|
|
604
|
-
onFormChange: ({ value, row, column, index }: {
|
|
604
|
+
onFormChange: ({ value, row, column, index, type }: {
|
|
605
605
|
value: string | number | null;
|
|
606
606
|
row: any;
|
|
607
607
|
column: any;
|
|
608
608
|
index: number;
|
|
609
|
+
type?: string | undefined;
|
|
609
610
|
}) => void;
|
|
610
611
|
getDefaultValue: (params: any, item: any) => any;
|
|
611
612
|
isAboutNestTable: import("vue").ComputedRef<any>;
|
|
@@ -700,7 +701,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
700
701
|
handleFilterChangeAll: (val: any, field: any) => void;
|
|
701
702
|
handleFilterChange: (value: any, name: any, field: any) => void;
|
|
702
703
|
handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
|
|
703
|
-
handleFilterClearAll: (
|
|
704
|
+
handleFilterClearAll: (columnName: any) => false | undefined;
|
|
704
705
|
handleCancelFilter: () => void;
|
|
705
706
|
mergeQuickSearchConfig: (filterFields: any, props: any) => void;
|
|
706
707
|
handleFilter: (field: any) => void;
|
|
@@ -719,10 +720,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
719
720
|
handleCheckAll: () => void;
|
|
720
721
|
handleCancelAllCheck: () => void;
|
|
721
722
|
getRowClassName: (params: any) => any;
|
|
722
|
-
footerMethod: (
|
|
723
|
-
columns: any;
|
|
724
|
-
data: any;
|
|
725
|
-
}) => any[];
|
|
723
|
+
footerMethod: (payload: any) => any;
|
|
726
724
|
loadChildrenMethod: ({ row }: {
|
|
727
725
|
row: any;
|
|
728
726
|
}) => Promise<any>;
|
|
@@ -494,7 +494,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
494
494
|
} else {
|
|
495
495
|
col.slots.header = toolTipTitle(item);
|
|
496
496
|
}
|
|
497
|
-
if (!isScanMultiTable2) {
|
|
497
|
+
if (!isScanMultiTable2 && !isFunction(attr.footerMethod) && !isFunction(attr["footer-method"])) {
|
|
498
498
|
col.slots.footer = "tooltip_footer";
|
|
499
499
|
}
|
|
500
500
|
if (props.showNestTable && state.isTree == 0 && ((_g = props.curNestColumnConfig) == null ? void 0 : _g.isTree) == 0) {
|
|
@@ -833,7 +833,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
833
833
|
}, [createVNode("span", null, [createTextVNode("\u5DF2\u9009\u62E9"), field.CONVERT.length, createTextVNode("\u9879")]), createVNode(NButton, {
|
|
834
834
|
"class": "checkbox-btn checkbox-btn-clear",
|
|
835
835
|
"text": true,
|
|
836
|
-
"onClick": () => handleFilterClearAll(
|
|
836
|
+
"onClick": () => handleFilterClearAll(item.columnName)
|
|
837
837
|
}, {
|
|
838
838
|
default: () => [createTextVNode("\u6E05\u7A7A")]
|
|
839
839
|
})]) : null, createVNode("div", null, [createVNode(NButton, {
|
|
@@ -913,7 +913,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
913
913
|
field.searchFilterCONVERT = value;
|
|
914
914
|
_beforeSearchConvert = XEUtils.clone(value, true);
|
|
915
915
|
};
|
|
916
|
-
const handleFilterClearAll = (
|
|
916
|
+
const handleFilterClearAll = (columnName) => {
|
|
917
|
+
const field = state.filterFields[columnName];
|
|
918
|
+
if (!field)
|
|
919
|
+
return false;
|
|
917
920
|
field.indeterminate = false;
|
|
918
921
|
field.checkAll = false;
|
|
919
922
|
state.filterFields[field.columnName].CONVERT = [];
|
|
@@ -1040,10 +1043,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1040
1043
|
};
|
|
1041
1044
|
return state.selectType === "checkbox" ? selectStyle() : null;
|
|
1042
1045
|
};
|
|
1043
|
-
const footerMethod = ({
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1046
|
+
const footerMethod = (payload) => {
|
|
1047
|
+
const {
|
|
1048
|
+
columns,
|
|
1049
|
+
data
|
|
1050
|
+
} = payload;
|
|
1051
|
+
if (isFunction(attr.footerMethod))
|
|
1052
|
+
return attr.spanMethod(footerMethod);
|
|
1053
|
+
if (isFunction(attr["footer-method"]))
|
|
1054
|
+
return attr["footer-method"](payload);
|
|
1047
1055
|
if (!props.groupCountFields || !props.groupCountFields.length) {
|
|
1048
1056
|
return [columns.map((column, index) => {
|
|
1049
1057
|
if (index === 0) {
|
|
@@ -2282,7 +2290,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2282
2290
|
formatData,
|
|
2283
2291
|
xGrid,
|
|
2284
2292
|
loadColumn,
|
|
2285
|
-
loadData
|
|
2293
|
+
loadData,
|
|
2294
|
+
handleFilterClearAll
|
|
2286
2295
|
});
|
|
2287
2296
|
return (_ctx, _cache) => {
|
|
2288
2297
|
var _a;
|
|
@@ -36,20 +36,21 @@ var EditInput = defineComponent({
|
|
|
36
36
|
formRef
|
|
37
37
|
} = useCommon(props, attrs);
|
|
38
38
|
const __value = ref(attrs.value);
|
|
39
|
+
const commData = {
|
|
40
|
+
row: props.row,
|
|
41
|
+
column: props.col,
|
|
42
|
+
index: props.index
|
|
43
|
+
};
|
|
39
44
|
const onUpdateValue = (value) => {
|
|
40
45
|
emit("formChange", {
|
|
41
46
|
value,
|
|
42
|
-
|
|
43
|
-
column: props.col,
|
|
44
|
-
index: props.index
|
|
47
|
+
...commData
|
|
45
48
|
});
|
|
46
49
|
};
|
|
47
50
|
function onBlur() {
|
|
48
51
|
emit("formChange", {
|
|
49
52
|
value: __value.value,
|
|
50
|
-
|
|
51
|
-
column: props.col,
|
|
52
|
-
index: props.index
|
|
53
|
+
...commData
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
const config = {
|
|
@@ -68,7 +69,14 @@ var EditInput = defineComponent({
|
|
|
68
69
|
}), null) : createVNode(NInputNumber, mergeProps({
|
|
69
70
|
"ref": formRef
|
|
70
71
|
}, attrs, config, {
|
|
71
|
-
"
|
|
72
|
+
"value": __value.value,
|
|
73
|
+
"onUpdate:value": ($event) => __value.value = $event,
|
|
74
|
+
"onUpdateValue": onUpdateValue,
|
|
75
|
+
"onBlur": () => emit("formChange", {
|
|
76
|
+
value: __value.value,
|
|
77
|
+
...commData,
|
|
78
|
+
type: "blur"
|
|
79
|
+
})
|
|
72
80
|
}), null);
|
|
73
81
|
}
|
|
74
82
|
});
|
|
@@ -326,11 +326,12 @@ export declare const useEdit: (props: any, state: any, emit: any, xGrid: any) =>
|
|
|
326
326
|
initEditTable: () => Promise<void>;
|
|
327
327
|
deleteRow: (row: any, col: any, index: number) => void;
|
|
328
328
|
onClickSelectTable: (row: any) => Promise<void>;
|
|
329
|
-
onFormChange: ({ value, row, column, index }: {
|
|
329
|
+
onFormChange: ({ value, row, column, index, type }: {
|
|
330
330
|
value: number | string | null;
|
|
331
331
|
row: any;
|
|
332
332
|
column: any;
|
|
333
333
|
index: number;
|
|
334
|
+
type?: string | undefined;
|
|
334
335
|
}) => void;
|
|
335
336
|
getDefaultValue: (params: any, item: any) => any;
|
|
336
337
|
};
|
|
@@ -60,7 +60,8 @@ const useEdit = (props, state, emit, xGrid) => {
|
|
|
60
60
|
value,
|
|
61
61
|
row,
|
|
62
62
|
column,
|
|
63
|
-
index
|
|
63
|
+
index,
|
|
64
|
+
type
|
|
64
65
|
}) => {
|
|
65
66
|
var _a, _b;
|
|
66
67
|
let oldValue = row[column.columnName];
|
|
@@ -84,7 +85,7 @@ const useEdit = (props, state, emit, xGrid) => {
|
|
|
84
85
|
if (((column == null ? void 0 : column.formType) === "date" || (column == null ? void 0 : column.formType) === "time") && !value) {
|
|
85
86
|
row[column.columnName] = void 0;
|
|
86
87
|
}
|
|
87
|
-
emit("formChange", { value, row, column, index, oldValue });
|
|
88
|
+
emit("formChange", { value, row, column, index, oldValue, ...type ? { type } : {} });
|
|
88
89
|
};
|
|
89
90
|
const getDefaultValue = (params, item) => {
|
|
90
91
|
var _a;
|
|
@@ -114,7 +114,7 @@ function useSeparateRow(getColumnConfig, getFieldItem, $VXETable) {
|
|
|
114
114
|
}, {});
|
|
115
115
|
}
|
|
116
116
|
function getColumnInfoMaxLength(parsedRowData) {
|
|
117
|
-
return Math.max(...parsedRowData.map((r) => r.data.length));
|
|
117
|
+
return Math.max(...parsedRowData.map((r) => r.data.length), 1);
|
|
118
118
|
}
|
|
119
119
|
async function getColumnRenderWidth(column) {
|
|
120
120
|
const prev = getRenderWidth();
|
|
@@ -132,11 +132,12 @@ function useSeparateRow(getColumnConfig, getFieldItem, $VXETable) {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
function contentSeparate(value, columnName, width) {
|
|
135
|
-
if (isArray(value))
|
|
135
|
+
if (isArray(value)) {
|
|
136
136
|
return value.map((row) => {
|
|
137
137
|
var _a, _b, _c;
|
|
138
138
|
return (_c = (_b = (_a = getFieldItem(columnName)) == null ? void 0 : _a.separateFormatter) == null ? void 0 : _b.call(_a, cloneDeep(row))) != null ? _c : row;
|
|
139
139
|
});
|
|
140
|
+
}
|
|
140
141
|
if (!isString(value) || !isNumber(width))
|
|
141
142
|
return [value];
|
|
142
143
|
width -= 24;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.big-table-filter-wrap{background-color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-direction:column;flex-wrap:wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:0 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding-left:13px;padding-right:3px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{display:inline-flex;height:100%;line-height:unset;width:100%}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:#f2f2f2;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background-color:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--tableImageHeight);width:var(--tableImageWidth)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom,.custom-big-table .domPropsInnerHTML-span .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue,.custom-big-table .domPropsInnerHTML-span .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray,.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu,.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit,.custom-big-table .domPropsInnerHTML-span .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design,.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:4px 0 4px 0 rgba(0,0,0,.12)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-4px 0 4px 0 rgba(0,0,0,.12)}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}
|
|
1
|
+
.big-table-filter-wrap{background-color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-direction:column;flex-wrap:wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:0 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding-left:13px;padding-right:3px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{display:inline-flex;height:100%;line-height:unset;width:100%}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--tableImageHeight);width:var(--tableImageWidth)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom,.custom-big-table .domPropsInnerHTML-span .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue,.custom-big-table .domPropsInnerHTML-span .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray,.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu,.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit,.custom-big-table .domPropsInnerHTML-span .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design,.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:4px 0 4px 0 rgba(0,0,0,.12)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-4px 0 4px 0 rgba(0,0,0,.12)}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}
|
|
@@ -60,7 +60,7 @@ var PopupMenu = defineComponent({
|
|
|
60
60
|
"align": "center"
|
|
61
61
|
}, {
|
|
62
62
|
default: () => [createVNode("span", null, [item.label]), createVNode(NInputNumber, {
|
|
63
|
-
"style": "width:
|
|
63
|
+
"style": "width: 110px",
|
|
64
64
|
"size": "small",
|
|
65
65
|
"value": item.value,
|
|
66
66
|
"onUpdate:value": ($event) => item.value = $event,
|
|
@@ -68,6 +68,7 @@ var PopupMenu = defineComponent({
|
|
|
68
68
|
"placeholder": "\u8BF7\u8F93\u5165\u6570\u503C",
|
|
69
69
|
"max": props.target.origin.data.value,
|
|
70
70
|
"min": min,
|
|
71
|
+
"showButton": false,
|
|
71
72
|
"onFocus": () => emit("update:show", true)
|
|
72
73
|
}, null)]
|
|
73
74
|
});
|
|
@@ -12,3 +12,43 @@ export declare const PAIN_MENU: {
|
|
|
12
12
|
value: undefined;
|
|
13
13
|
type: string;
|
|
14
14
|
}[];
|
|
15
|
+
export declare const OVERLAP: {
|
|
16
|
+
yemai: {
|
|
17
|
+
stroke: string;
|
|
18
|
+
strokeX: string;
|
|
19
|
+
strokeWidth: number;
|
|
20
|
+
strokeWidthX: number;
|
|
21
|
+
radius: number;
|
|
22
|
+
angle: number;
|
|
23
|
+
};
|
|
24
|
+
koumai: {
|
|
25
|
+
stroke: string;
|
|
26
|
+
strokeWidth: number;
|
|
27
|
+
radius: number;
|
|
28
|
+
radiusCircle: number;
|
|
29
|
+
fillCircle: string;
|
|
30
|
+
};
|
|
31
|
+
gangmai: {
|
|
32
|
+
radius: number;
|
|
33
|
+
radiusCircle: number;
|
|
34
|
+
stroke: string;
|
|
35
|
+
fillCircle: string;
|
|
36
|
+
};
|
|
37
|
+
xinmai: {
|
|
38
|
+
radius: number;
|
|
39
|
+
radiusCircle: number;
|
|
40
|
+
stroke: string;
|
|
41
|
+
fillCircle: string;
|
|
42
|
+
};
|
|
43
|
+
humai: {
|
|
44
|
+
radius: number;
|
|
45
|
+
fill: string;
|
|
46
|
+
};
|
|
47
|
+
ermai: {
|
|
48
|
+
stroke: string;
|
|
49
|
+
strokeWidth: number;
|
|
50
|
+
radius: number;
|
|
51
|
+
radiusCircle: number;
|
|
52
|
+
fillCircle: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { PAIN_MENU, TEMPERATURE_MENU } from './constant2.js';
|
|
1
|
+
export { OVERLAP, PAIN_MENU, TEMPERATURE_MENU } from './constant2.js';
|
|
@@ -32,5 +32,47 @@ const PAIN_MENU = [
|
|
|
32
32
|
type: "physicsReduce"
|
|
33
33
|
}
|
|
34
34
|
];
|
|
35
|
+
const BLUE = "#2563F4";
|
|
36
|
+
const RED = "#FF1818";
|
|
37
|
+
const OVERLAP = {
|
|
38
|
+
yemai: {
|
|
39
|
+
stroke: RED,
|
|
40
|
+
strokeX: BLUE,
|
|
41
|
+
strokeWidth: 1,
|
|
42
|
+
strokeWidthX: 1,
|
|
43
|
+
radius: 6,
|
|
44
|
+
angle: 45
|
|
45
|
+
},
|
|
46
|
+
koumai: {
|
|
47
|
+
stroke: RED,
|
|
48
|
+
strokeWidth: 1,
|
|
49
|
+
radius: 6,
|
|
50
|
+
radiusCircle: 3,
|
|
51
|
+
fillCircle: BLUE
|
|
52
|
+
},
|
|
53
|
+
gangmai: {
|
|
54
|
+
radius: 6,
|
|
55
|
+
radiusCircle: 3,
|
|
56
|
+
stroke: BLUE,
|
|
57
|
+
fillCircle: RED
|
|
58
|
+
},
|
|
59
|
+
xinmai: {
|
|
60
|
+
radius: 6,
|
|
61
|
+
radiusCircle: 3,
|
|
62
|
+
stroke: RED,
|
|
63
|
+
fillCircle: RED
|
|
64
|
+
},
|
|
65
|
+
humai: {
|
|
66
|
+
radius: 6,
|
|
67
|
+
fill: "green"
|
|
68
|
+
},
|
|
69
|
+
ermai: {
|
|
70
|
+
stroke: RED,
|
|
71
|
+
strokeWidth: 1,
|
|
72
|
+
radius: 6,
|
|
73
|
+
radiusCircle: 3,
|
|
74
|
+
fillCircle: BLUE
|
|
75
|
+
}
|
|
76
|
+
};
|
|
35
77
|
|
|
36
|
-
export { PAIN_MENU, TEMPERATURE_MENU };
|
|
78
|
+
export { OVERLAP, PAIN_MENU, TEMPERATURE_MENU };
|
|
@@ -3,7 +3,7 @@ import { fabric } from '../utils/index.js';
|
|
|
3
3
|
import { drawLine, defaultStyle, drawPoint, drawText, drawArrow } from './useDraw2.js';
|
|
4
4
|
import useGrid from './useGrid2.js';
|
|
5
5
|
import { useShadow } from './useShadow2.js';
|
|
6
|
-
import { TEMPERATURE_MENU, PAIN_MENU } from './constant2.js';
|
|
6
|
+
import { TEMPERATURE_MENU, PAIN_MENU, OVERLAP } from './constant2.js';
|
|
7
7
|
|
|
8
8
|
function isEffectiveNode(node) {
|
|
9
9
|
return (node == null ? void 0 : node.time) && ((node == null ? void 0 : node.value) || (node == null ? void 0 : node.value) === 0);
|
|
@@ -154,17 +154,20 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
154
154
|
pointMenuProps.list = ["\u65B0\u589E\u8282\u70B9"];
|
|
155
155
|
itemList.forEach((v) => {
|
|
156
156
|
if (!getEqualXTypes(x).includes(v.bigType)) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
157
|
+
const newY = ["pain"].includes(v.bigType) ? painOriginY : vitalSignsOriginY;
|
|
158
|
+
if (y >= newY.originY && y <= newY.endY) {
|
|
159
|
+
pointMenuProps.list.push({
|
|
160
|
+
renderItem: addRenderItem ? addRenderItem(v) : () => v.title,
|
|
161
|
+
origin: {
|
|
162
|
+
title: v.title,
|
|
163
|
+
unit: v.unit,
|
|
164
|
+
type: v.bigType,
|
|
165
|
+
dataIndex: v.dataIndex,
|
|
166
|
+
key: v.key
|
|
167
|
+
},
|
|
168
|
+
pointer: event2.pointer
|
|
169
|
+
});
|
|
170
|
+
}
|
|
168
171
|
}
|
|
169
172
|
});
|
|
170
173
|
if (pointMenuProps.list.length === 1) {
|
|
@@ -193,7 +196,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
193
196
|
return;
|
|
194
197
|
if (!pulseObj.dataList.some((item) => item.title.includes("\u8109\u640F")))
|
|
195
198
|
return;
|
|
196
|
-
const overlap = left.overlap || {};
|
|
199
|
+
const overlap = Object.assign({}, OVERLAP, left.overlap || {});
|
|
197
200
|
const points = [];
|
|
198
201
|
maiboPoints.size && [...maiboPoints].forEach((item) => {
|
|
199
202
|
[...otherPoints].forEach((obj) => {
|
|
@@ -232,6 +235,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
232
235
|
function drawPolyLine(item, dataIndex, scaleValue) {
|
|
233
236
|
const {
|
|
234
237
|
type,
|
|
238
|
+
riseStyle = {},
|
|
235
239
|
noRiseStyle = {},
|
|
236
240
|
verifiedStyle = {},
|
|
237
241
|
reduceStyle = {},
|
|
@@ -256,9 +260,9 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
256
260
|
const points = getPointer(v, scaleValue);
|
|
257
261
|
const nextV = item.list[index + 1];
|
|
258
262
|
const nextPoint = getPointer(nextV, scaleValue);
|
|
259
|
-
let reduceLine, reducePoint, noRiseText, arrowGroup, verifiedText;
|
|
263
|
+
let reduceLine, reducePoint, noRiseText, arrowGroup, riseText, verifiedText;
|
|
260
264
|
if ((points == null ? void 0 : points.length) && (type === "temperature" || type === "pain")) {
|
|
261
|
-
if (v.noRise) {
|
|
265
|
+
if (v.noRise && noRiseStyle.show) {
|
|
262
266
|
if (typeof v.noRise === "string") {
|
|
263
267
|
noRiseText = drawText([points[0], points[1] + 5], {
|
|
264
268
|
value: v.noRise.split("").join("\n"),
|
|
@@ -272,6 +276,14 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
272
276
|
otherList.push(arrowGroup);
|
|
273
277
|
}
|
|
274
278
|
}
|
|
279
|
+
if (v.rise && riseStyle.show) {
|
|
280
|
+
riseText = drawText([points[0], points[1] - 5], {
|
|
281
|
+
value: v.rise.split("").join("\n"),
|
|
282
|
+
originY: "bottom",
|
|
283
|
+
...riseStyle
|
|
284
|
+
});
|
|
285
|
+
otherList.push(riseText);
|
|
286
|
+
}
|
|
275
287
|
if (v.verified) {
|
|
276
288
|
verifiedText = drawText([points[0], points[1] - 5], {
|
|
277
289
|
value: "v",
|
|
@@ -348,8 +360,8 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
348
360
|
const pointAttrNew = {
|
|
349
361
|
origin: {
|
|
350
362
|
data: v,
|
|
351
|
-
title:
|
|
352
|
-
key:
|
|
363
|
+
title: _item.title,
|
|
364
|
+
key: _item.key || "",
|
|
353
365
|
unit: scaleValue.unit,
|
|
354
366
|
type,
|
|
355
367
|
dataIndex,
|
|
@@ -385,7 +397,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
385
397
|
}
|
|
386
398
|
lineList.push(line);
|
|
387
399
|
if (point) {
|
|
388
|
-
if (
|
|
400
|
+
if (_item.title.includes("\u8109\u640F")) {
|
|
389
401
|
maiboPoints.add(point);
|
|
390
402
|
} else {
|
|
391
403
|
otherPoints.add(point);
|
|
@@ -129,13 +129,11 @@ function drawPoint(type = "circle", style) {
|
|
|
129
129
|
...newStyle
|
|
130
130
|
});
|
|
131
131
|
case "image":
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
case "yemai":
|
|
132
|
+
return new fabric.Image(style.element, {
|
|
133
|
+
...newStyle,
|
|
134
|
+
scale: 1
|
|
135
|
+
});
|
|
136
|
+
case "yemai": {
|
|
139
137
|
const createAdd = () => {
|
|
140
138
|
const width = ((style.radius || 5) + (style.strokeWidth || 1)) * 2;
|
|
141
139
|
const subLineStyle = {
|
|
@@ -152,7 +150,8 @@ function drawPoint(type = "circle", style) {
|
|
|
152
150
|
scale: 1,
|
|
153
151
|
...newStyle
|
|
154
152
|
});
|
|
155
|
-
|
|
153
|
+
}
|
|
154
|
+
case "koumai": {
|
|
156
155
|
const left = (style.radius || 5) + (style.strokeWidth || 1);
|
|
157
156
|
const circle = new fabric.Circle({
|
|
158
157
|
objectCaching: false,
|
|
@@ -167,6 +166,7 @@ function drawPoint(type = "circle", style) {
|
|
|
167
166
|
scale: 1,
|
|
168
167
|
...newStyle
|
|
169
168
|
});
|
|
169
|
+
}
|
|
170
170
|
default:
|
|
171
171
|
style && Reflect.deleteProperty(style, "stroke");
|
|
172
172
|
return new fabric.Text(String(type), {
|
|
@@ -235,8 +235,21 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, getXValue, g
|
|
|
235
235
|
function isLimit(point) {
|
|
236
236
|
return point.left >= originX && point.left <= endX && point.top >= originY && point.top <= endY;
|
|
237
237
|
}
|
|
238
|
+
function moveLimit(point) {
|
|
239
|
+
if (point.left >= originX && point.left <= endX) {
|
|
240
|
+
point.setCoords();
|
|
241
|
+
const newY = point.origin.type === "pain" ? painOriginY : vitalSignsOriginY;
|
|
242
|
+
if (point.top < newY.originY) {
|
|
243
|
+
point.set("top", newY.originY);
|
|
244
|
+
}
|
|
245
|
+
if (point.top > newY.endY) {
|
|
246
|
+
point.set("top", newY.endY);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
238
250
|
function setPointEvent(point) {
|
|
239
251
|
point.on("moving", () => {
|
|
252
|
+
moveLimit(point);
|
|
240
253
|
if (isLimit(point)) {
|
|
241
254
|
setPopup(point);
|
|
242
255
|
} else {
|
|
@@ -62,7 +62,10 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
62
62
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
63
63
|
columnWidth: number;
|
|
64
64
|
editable: boolean;
|
|
65
|
+
editableDisable: boolean;
|
|
65
66
|
required: boolean;
|
|
67
|
+
requiredDisable: boolean;
|
|
68
|
+
hide: boolean;
|
|
66
69
|
}[];
|
|
67
70
|
widthShow: string;
|
|
68
71
|
widthLarge: string;
|
|
@@ -79,7 +82,10 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
79
82
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
80
83
|
columnWidth: number;
|
|
81
84
|
editable: boolean;
|
|
85
|
+
editableDisable: boolean;
|
|
82
86
|
required: boolean;
|
|
87
|
+
requiredDisable: boolean;
|
|
88
|
+
hide: boolean;
|
|
83
89
|
}) => {
|
|
84
90
|
background: string | undefined;
|
|
85
91
|
};
|
|
@@ -103,8 +109,28 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
103
109
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
104
110
|
columnWidth: number;
|
|
105
111
|
editable: boolean;
|
|
112
|
+
editableDisable: boolean;
|
|
106
113
|
required: boolean;
|
|
114
|
+
requiredDisable: boolean;
|
|
115
|
+
hide: boolean;
|
|
107
116
|
}) => void;
|
|
117
|
+
isDisable: (item: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
show: boolean;
|
|
122
|
+
sort: boolean;
|
|
123
|
+
title: string;
|
|
124
|
+
alias: string;
|
|
125
|
+
fixedShow: boolean;
|
|
126
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
127
|
+
columnWidth: number;
|
|
128
|
+
editable: boolean;
|
|
129
|
+
editableDisable: boolean;
|
|
130
|
+
required: boolean;
|
|
131
|
+
requiredDisable: boolean;
|
|
132
|
+
hide: boolean;
|
|
133
|
+
}, key: string) => any;
|
|
108
134
|
setWidth: () => void;
|
|
109
135
|
NButton: any;
|
|
110
136
|
NCheckbox: any;
|