star-horse-lowcode 2.7.63 → 2.7.65
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/.env.development +3 -0
- package/.env.production +3 -0
- package/.eslintrc-auto-import.json +77 -0
- package/.gitignore +27 -0
- package/.idea/.gitignore +5 -0
- package/.idea/MarsCodeWorkspaceAppSettings.xml +6 -0
- package/.idea/inspectionProfiles/Project_Default.xml +7 -0
- package/.idea/modules.xml +8 -0
- package/.idea/testcode.iml +12 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/watcherTasks.xml +4 -0
- package/.idea/workspace.xml +207 -0
- package/.npmignore +21 -0
- package/.prettierignore +26 -0
- package/README.md +1 -0
- package/auto-imports.d.ts +137 -0
- package/components.d.ts +189 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +19 -19
- package/dist/types/index.d.ts +7 -7
- package/eslint.config.js +37 -0
- package/index.html +14 -0
- package/package-lock.json +8276 -0
- package/package.json +4 -4
- package/prettier.config.js +20 -0
- package/public/logo.svg +660 -0
- package/src/App.vue +11 -0
- package/src/api/date_utils.ts +219 -0
- package/src/api/finger_utils.ts +71 -0
- package/src/api/form_utils.ts +281 -0
- package/src/api/jquery.min.js +2 -0
- package/src/api/pcas-code.json +1 -0
- package/src/api/settings.ts +81 -0
- package/src/api/star_horse_apis.ts +196 -0
- package/src/api/star_horse_utils.ts +797 -0
- package/src/api/system.ts +351 -0
- package/src/api/user_func.ts +147 -0
- package/src/api/valid_utils.ts +165 -0
- package/src/assets/css/index.scss +908 -0
- package/src/assets/icons.css +574 -0
- package/src/assets/star-horse-icons.woff +0 -0
- package/src/components/comp/ShDynamicForm.vue +160 -0
- package/src/components/comp/ShForm.vue +30 -0
- package/src/components/comp/ShTableListColumn.vue +61 -0
- package/src/components/comp/StarHorseDataSelector.vue +139 -0
- package/src/components/comp/StarHorseDataView.vue +110 -0
- package/src/components/comp/StarHorseDataViewItems.vue +61 -0
- package/src/components/comp/StarHorseDataViewTable.vue +102 -0
- package/src/components/comp/StarHorseDialog.vue +383 -0
- package/src/components/comp/StarHorseDraggable.vue +401 -0
- package/src/components/comp/StarHorseForm.vue +458 -0
- package/src/components/comp/StarHorseFormItem.vue +82 -0
- package/src/components/comp/StarHorseFormList.vue +516 -0
- package/src/components/comp/StarHorseFormTable.vue +56 -0
- package/src/components/comp/StarHorseIcon.vue +76 -0
- package/src/components/comp/StarHorseItem.vue +302 -0
- package/src/components/comp/StarHorseJsonEditor.vue +115 -0
- package/src/components/comp/StarHorsePopover.vue +66 -0
- package/src/components/comp/StarHorseSearchComp.vue +253 -0
- package/src/components/comp/StarHorseStaticTable.vue +395 -0
- package/src/components/comp/StarHorseTableColumn.vue +249 -0
- package/src/components/comp/StarHorseTableComp.vue +1193 -0
- package/src/components/comp/StarHorseTableViewColumn.vue +61 -0
- package/src/components/comp/StarHorseTree.vue +494 -0
- package/src/components/comp/index.ts +22 -0
- package/src/components/comp/items/UTableColumn.vue +65 -0
- package/src/components/comp/items/boxItem.vue +98 -0
- package/src/components/comp/items/callitem.ts +9 -0
- package/src/components/comp/items/cardItem.vue +152 -0
- package/src/components/comp/items/collapseItem.vue +134 -0
- package/src/components/comp/items/dytableItem.vue +135 -0
- package/src/components/comp/items/otherItem.vue +65 -0
- package/src/components/comp/items/tabItem.vue +155 -0
- package/src/components/comp/items/tabPanelItem.vue +110 -0
- package/src/components/comp/items/tableColumn.vue +129 -0
- package/src/components/comp/items/tableItem.vue +97 -0
- package/src/components/comp/items/tablebtn.vue +158 -0
- package/src/components/comp/items/viewBoxItem.vue +55 -0
- package/src/components/comp/items/viewCardItem.vue +47 -0
- package/src/components/comp/items/viewCollapseItem.vue +71 -0
- package/src/components/comp/items/viewDytableItem.vue +77 -0
- package/src/components/comp/items/viewOtherItem.vue +55 -0
- package/src/components/comp/items/viewTabItem.vue +77 -0
- package/src/components/comp/items/viewTabPanelItem.vue +54 -0
- package/src/components/comp/items/viewTableItem.vue +74 -0
- package/src/components/comp/selfcomp.ts +9 -0
- package/src/components/comp/utils/DataPicker.vue +302 -0
- package/src/components/comp/utils/DataTag.vue +51 -0
- package/src/components/cron/Crontab-Day.vue +230 -0
- package/src/components/cron/Crontab-Hour.vue +165 -0
- package/src/components/cron/Crontab-Min.vue +166 -0
- package/src/components/cron/Crontab-Month.vue +166 -0
- package/src/components/cron/Crontab-Result.vue +615 -0
- package/src/components/cron/Crontab-Second.vue +185 -0
- package/src/components/cron/Crontab-Week.vue +208 -0
- package/src/components/cron/Crontab-Year.vue +183 -0
- package/src/components/cron/Crontab.vue +474 -0
- package/src/components/enums/ModuleEnums.ts +10 -0
- package/src/components/enums/ServiceEnums.ts +18 -0
- package/src/components/formcomp/container/box-container.vue +162 -0
- package/src/components/formcomp/container/callitem.ts +9 -0
- package/src/components/formcomp/container/card-container.vue +170 -0
- package/src/components/formcomp/container/collapse-container.vue +133 -0
- package/src/components/formcomp/container/dytable-col.vue +448 -0
- package/src/components/formcomp/container/dytable-container.vue +57 -0
- package/src/components/formcomp/container/dytableUtils.ts +358 -0
- package/src/components/formcomp/container/group-box-container.vue +331 -0
- package/src/components/formcomp/container/index.ts +6 -0
- package/src/components/formcomp/container/tab-container.vue +153 -0
- package/src/components/formcomp/container/table-container.vue +249 -0
- package/src/components/formcomp/items/allitem.ts +9 -0
- package/src/components/formcomp/items/area-item.vue +116 -0
- package/src/components/formcomp/items/audio-item.vue +163 -0
- package/src/components/formcomp/items/autocomplete-item.vue +118 -0
- package/src/components/formcomp/items/barcode-item.vue +87 -0
- package/src/components/formcomp/items/base-json-item.vue +207 -0
- package/src/components/formcomp/items/button-item.vue +228 -0
- package/src/components/formcomp/items/cascade-item.vue +113 -0
- package/src/components/formcomp/items/checkbox-item.vue +97 -0
- package/src/components/formcomp/items/color-item.vue +70 -0
- package/src/components/formcomp/items/cron-item.vue +115 -0
- package/src/components/formcomp/items/datetime-item.vue +99 -0
- package/src/components/formcomp/items/depart-item.vue +51 -0
- package/src/components/formcomp/items/dialog-input-item.vue +207 -0
- package/src/components/formcomp/items/divider-item.vue +66 -0
- package/src/components/formcomp/items/html-item.vue +65 -0
- package/src/components/formcomp/items/htmleditor-item.vue +104 -0
- package/src/components/formcomp/items/icon-item.vue +195 -0
- package/src/components/formcomp/items/image-item.vue +247 -0
- package/src/components/formcomp/items/index.ts +44 -0
- package/src/components/formcomp/items/input-item.vue +150 -0
- package/src/components/formcomp/items/json-array-item.vue +67 -0
- package/src/components/formcomp/items/json-item.vue +66 -0
- package/src/components/formcomp/items/markdown-item.vue +77 -0
- package/src/components/formcomp/items/number-item.vue +94 -0
- package/src/components/formcomp/items/number-range-item.vue +278 -0
- package/src/components/formcomp/items/page-select-item.vue +407 -0
- package/src/components/formcomp/items/password-item.vue +71 -0
- package/src/components/formcomp/items/qrcode-item.vue +84 -0
- package/src/components/formcomp/items/radio-item.vue +112 -0
- package/src/components/formcomp/items/rate-item.vue +68 -0
- package/src/components/formcomp/items/select-item.vue +133 -0
- package/src/components/formcomp/items/signature-item.vue +216 -0
- package/src/components/formcomp/items/slider-item.vue +68 -0
- package/src/components/formcomp/items/starhorse-form-item.vue +334 -0
- package/src/components/formcomp/items/switch-item.vue +77 -0
- package/src/components/formcomp/items/tag-item.vue +77 -0
- package/src/components/formcomp/items/text-item.vue +75 -0
- package/src/components/formcomp/items/textarea-item.vue +85 -0
- package/src/components/formcomp/items/time-item.vue +77 -0
- package/src/components/formcomp/items/time-picker-item.vue +74 -0
- package/src/components/formcomp/items/transfer-item.vue +93 -0
- package/src/components/formcomp/items/tselect-item.vue +121 -0
- package/src/components/formcomp/items/unknown-item.vue +51 -0
- package/src/components/formcomp/items/upload-item.vue +189 -0
- package/src/components/formcomp/items/user-item.vue +177 -0
- package/src/components/formcomp/items/usercomp-item.vue +85 -0
- package/src/components/formcomp/items/view-markdown-item.vue +77 -0
- package/src/components/formcomp/utils/EditDataDialog.vue +67 -0
- package/src/components/formcomp/utils/FieldList.vue +125 -0
- package/src/components/formcomp/utils/ItemRelationEventUtils.ts +284 -0
- package/src/components/help.vue +31 -0
- package/src/components/menu/MenuItem.vue +95 -0
- package/src/components/menu/SubMenu.vue +68 -0
- package/src/components/menu/SubSystemMenu.vue +142 -0
- package/src/components/register.ts +24 -0
- package/src/components/system/ContentMenu.vue +260 -0
- package/src/components/system/StarHorseButtonList.vue +344 -0
- package/src/components/system/StarHorseMenu.vue +97 -0
- package/src/components/system/StarHorseSvg.vue +62 -0
- package/src/components/system/SystemComp.ts +9 -0
- package/src/components/system/index.ts +4 -0
- package/src/components/types/ApiUrls.ts +168 -0
- package/src/components/types/BtnAction.ts +51 -0
- package/src/components/types/BtnAuth.ts +43 -0
- package/src/components/types/CompInfo.ts +81 -0
- package/src/components/types/DialogProps.ts +55 -0
- package/src/components/types/DyCompField.ts +23 -0
- package/src/components/types/DynamicNode.ts +42 -0
- package/src/components/types/MenusInfo.ts +45 -0
- package/src/components/types/PageFieldInfo.ts +530 -0
- package/src/components/types/PageProps.ts +25 -0
- package/src/components/types/Params.ts +93 -0
- package/src/components/types/RuleType.ts +10 -0
- package/src/components/types/SearchProps.ts +42 -0
- package/src/components/types/ShortKey.ts +30 -0
- package/src/components/types/StarHorseType.ts +18 -0
- package/src/components/types/index.ts +15 -0
- package/src/config/element.ts +15 -0
- package/src/config/styles.ts +4 -0
- package/src/index.ts +98 -0
- package/src/install.ts +33 -0
- package/src/lang/en_US.ts +81 -0
- package/src/lang/index.ts +35 -0
- package/src/lang/zh_CN.ts +84 -0
- package/src/main.ts +57 -0
- package/src/plugins/AblesPlugin.ts +618 -0
- package/src/plugins/registerCompPlugin.ts +15 -0
- package/src/sample/test.vue +9 -0
- package/src/store/ButtonPermission.ts +101 -0
- package/src/store/ConsumerView.ts +52 -0
- package/src/store/ContinusConfig.ts +78 -0
- package/src/store/CopyerOperation.ts +74 -0
- package/src/store/DesignForm.ts +481 -0
- package/src/store/DesignPage.ts +59 -0
- package/src/store/DynamicForm.ts +241 -0
- package/src/store/GlobalConfig.ts +90 -0
- package/src/store/SelfOperation.ts +95 -0
- package/src/store/UserInfo.ts +88 -0
- package/src/store/index.ts +6 -0
- package/src/theme/localStorge.ts +16 -0
- package/src/theme/theme.ts +27 -0
- package/src/utils/FieldOperationUtils.ts +91 -0
- package/src/utils/auth.ts +83 -0
- package/src/utils/message.ts +69 -0
- package/src/utils/preview.ts +125 -0
- package/tsconfig.json +39 -0
- package/tsconfig.node.json +10 -0
- package/vite-env.d.ts +16 -0
- package/vite.config.ts +162 -0
- package/yarn.lock +4627 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
<script setup lang="ts" name="StarHorseTableColumn">
|
|
2
|
+
import { computed, ComputedRef, nextTick, PropType, ref, unref } from "vue";
|
|
3
|
+
import { postRequest } from "@/api/star_horse_apis";
|
|
4
|
+
import { closeLoad, commonParseCodeToName } from "@/api/star_horse_utils";
|
|
5
|
+
import { error, success, warning } from "@/utils/message";
|
|
6
|
+
import { Config } from "@/api/settings";
|
|
7
|
+
import { createComponent } from "@/api/system";
|
|
8
|
+
import { dateTypes, parseDateByType } from "@/api/date_utils";
|
|
9
|
+
import { DyCompField } from "@/components/types";
|
|
10
|
+
import StarHorseItem from "@/components/comp/StarHorseItem.vue";
|
|
11
|
+
|
|
12
|
+
const props = defineProps({
|
|
13
|
+
compUrl: { type: Object },
|
|
14
|
+
batchName: { type: String, default: "" },
|
|
15
|
+
item: { type: Object as PropType<any>, required: true },
|
|
16
|
+
dataFormat: { type: Function, required: true },
|
|
17
|
+
cellEditable: { type: Boolean, default: true },
|
|
18
|
+
//全局配置,动态页面使用
|
|
19
|
+
globalConfig: { type: Object as PropType<any>, required: false },
|
|
20
|
+
//是否动态页面
|
|
21
|
+
isDynamic: { type: Boolean, default: false },
|
|
22
|
+
//是否显示排序
|
|
23
|
+
sortable: { type: Boolean, default: true },
|
|
24
|
+
compSize: { type: String, default: Config.compSize },
|
|
25
|
+
source: { type: Number, default: 5 },
|
|
26
|
+
});
|
|
27
|
+
const emits = defineEmits(["focusEvent", "blurEvent"]);
|
|
28
|
+
const compInfo: ComputedRef<DyCompField> = computed(() => {
|
|
29
|
+
return {
|
|
30
|
+
...unref(props.item.preps?.compInfo),
|
|
31
|
+
props: {
|
|
32
|
+
data: { type: Object },
|
|
33
|
+
item: { type: Object },
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
const currentRow = ref();
|
|
38
|
+
const focusEvent = (_column: any) => {};
|
|
39
|
+
const blurEvent = (column: any, params: any) => {
|
|
40
|
+
const data = Array.isArray(params) ? params[0] : params;
|
|
41
|
+
let bakeValue = data["starHorseBakeValue"];
|
|
42
|
+
delete data["starHorseBakeValue"];
|
|
43
|
+
delete data["isSelected"];
|
|
44
|
+
if ((!bakeValue && bakeValue != 0) || bakeValue == data[column["property"]]) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
let reqParams: any = {};
|
|
48
|
+
if (props.isDynamic) {
|
|
49
|
+
reqParams = {
|
|
50
|
+
dataMap: data,
|
|
51
|
+
relationTables: props.globalConfig,
|
|
52
|
+
};
|
|
53
|
+
} else {
|
|
54
|
+
reqParams = data;
|
|
55
|
+
}
|
|
56
|
+
postRequest(props.compUrl?.mergeUrl!, reqParams)
|
|
57
|
+
.then((res) => {
|
|
58
|
+
if (res.data.code != 0) {
|
|
59
|
+
warning(res.data.cnMessage);
|
|
60
|
+
} else {
|
|
61
|
+
success(res.data.cnMessage);
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
.catch((err) => {
|
|
65
|
+
error("接口调用异常" + err);
|
|
66
|
+
})
|
|
67
|
+
.finally(() => {
|
|
68
|
+
closeLoad();
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
const cellClick = (row: any, column: any) => {
|
|
72
|
+
if (
|
|
73
|
+
!props.cellEditable ||
|
|
74
|
+
props.item.preps?.["disabled"] ||
|
|
75
|
+
props.item.preps?.["editDisabled"]
|
|
76
|
+
) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
row["isSelected"] = true;
|
|
80
|
+
row["selectName"] = column["property"];
|
|
81
|
+
let bakeValue = row[column["property"]];
|
|
82
|
+
//解决空值不能提交问题
|
|
83
|
+
row["starHorseBakeValue"] = bakeValue ? bakeValue : "_";
|
|
84
|
+
currentRow.value = row;
|
|
85
|
+
if (!props.item.preps) {
|
|
86
|
+
props.item.preps = {
|
|
87
|
+
autoFocus: true,
|
|
88
|
+
};
|
|
89
|
+
} else {
|
|
90
|
+
props.item.preps.autoFocus = true;
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
const currentDataFormat = (scope: any) => {
|
|
94
|
+
let item = props.item;
|
|
95
|
+
let name = item.hideName || item.fieldName;
|
|
96
|
+
let val: string = scope.row[name];
|
|
97
|
+
//下拉数据,checkbox,radio切换为对应的名称
|
|
98
|
+
let fname: string = "";
|
|
99
|
+
if (dateTypes.includes(item.type)) {
|
|
100
|
+
return parseDateByType(val, item.type);
|
|
101
|
+
}
|
|
102
|
+
if (
|
|
103
|
+
item.type == "select" ||
|
|
104
|
+
item.type == "checkbox" ||
|
|
105
|
+
item.type == "radio"
|
|
106
|
+
) {
|
|
107
|
+
fname = item.preps?.values?.find(
|
|
108
|
+
(temp: any) => String(temp.value) == val,
|
|
109
|
+
)?.name;
|
|
110
|
+
}
|
|
111
|
+
if (fname) {
|
|
112
|
+
return fname;
|
|
113
|
+
}
|
|
114
|
+
val = commonParseCodeToName(name, val);
|
|
115
|
+
if (typeof props.dataFormat === "function") {
|
|
116
|
+
return props.dataFormat(name, val, scope.row);
|
|
117
|
+
}
|
|
118
|
+
return val;
|
|
119
|
+
};
|
|
120
|
+
const popover = ref();
|
|
121
|
+
const showOperation = async () => {
|
|
122
|
+
await nextTick();
|
|
123
|
+
};
|
|
124
|
+
const prototypeCheck = (item: any) => {
|
|
125
|
+
let flag = Object.keys(item).includes("listPrototypeDisplay");
|
|
126
|
+
if (flag) {
|
|
127
|
+
return typeof item.listPrototypeDisplay == "boolean"
|
|
128
|
+
? item.listPrototypeDisplay
|
|
129
|
+
: true;
|
|
130
|
+
} else {
|
|
131
|
+
flag = Object.keys(item.preps || {}).includes("listPrototypeDisplay");
|
|
132
|
+
if (flag) {
|
|
133
|
+
return typeof item.preps?.listPrototypeDisplay == "boolean"
|
|
134
|
+
? item.preps?.listPrototypeDisplay
|
|
135
|
+
: true;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return false;
|
|
139
|
+
};
|
|
140
|
+
const createPreps = (item: any) => {
|
|
141
|
+
return {
|
|
142
|
+
preps: {
|
|
143
|
+
...item,
|
|
144
|
+
...item.preps,
|
|
145
|
+
size: props.compSize,
|
|
146
|
+
name: item.fieldName,
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
</script>
|
|
151
|
+
<template>
|
|
152
|
+
<el-table-column
|
|
153
|
+
:prop="item.hideName || item.fieldName"
|
|
154
|
+
:label="item.label"
|
|
155
|
+
:min-width="(item.minWidth || Config.defaultColumnWidth) + 'px'"
|
|
156
|
+
:formatter="dataFormat"
|
|
157
|
+
v-if="item.listVisible"
|
|
158
|
+
:sortable="sortable"
|
|
159
|
+
:show-overflow-tooltip="true"
|
|
160
|
+
>
|
|
161
|
+
<template #default="scope">
|
|
162
|
+
<template v-if="item.preps?.showComp">
|
|
163
|
+
<el-popover
|
|
164
|
+
ref="popover"
|
|
165
|
+
:placement="item.preps.placement || 'left'"
|
|
166
|
+
:width="'auto'"
|
|
167
|
+
v-if="item.preps.popover"
|
|
168
|
+
@show="showOperation"
|
|
169
|
+
>
|
|
170
|
+
<template #reference>
|
|
171
|
+
<star-horse-item
|
|
172
|
+
v-model:dataForm="scope.row"
|
|
173
|
+
:item="item"
|
|
174
|
+
:column="scope.column"
|
|
175
|
+
:batchName="batchName"
|
|
176
|
+
:bareFlag="true"
|
|
177
|
+
:compSize="compSize"
|
|
178
|
+
/>
|
|
179
|
+
</template>
|
|
180
|
+
<component
|
|
181
|
+
:is="createComponent(compInfo)"
|
|
182
|
+
:item="item"
|
|
183
|
+
:data="scope.row"
|
|
184
|
+
v-if="compInfo.name"
|
|
185
|
+
/>
|
|
186
|
+
</el-popover>
|
|
187
|
+
<star-horse-item
|
|
188
|
+
v-model:dataForm="scope.row"
|
|
189
|
+
:item="item"
|
|
190
|
+
:column="scope.column"
|
|
191
|
+
:batchName="batchName"
|
|
192
|
+
:compSize="compSize"
|
|
193
|
+
v-else
|
|
194
|
+
/>
|
|
195
|
+
</template>
|
|
196
|
+
<template v-else-if="prototypeCheck(item)">
|
|
197
|
+
<component
|
|
198
|
+
:is="
|
|
199
|
+
(item.listPrototypeDisplay === true ||
|
|
200
|
+
item.preps?.listPrototypeDisplay === true
|
|
201
|
+
? item.type || 'input'
|
|
202
|
+
: item.listPrototypeDisplay || item.preps?.listPrototypeDisplay) +
|
|
203
|
+
'-item'
|
|
204
|
+
"
|
|
205
|
+
:bareFlag="true"
|
|
206
|
+
:callBack="() => currentDataFormat(scope)"
|
|
207
|
+
:field="createPreps(item)"
|
|
208
|
+
:formData="scope.row"
|
|
209
|
+
/>
|
|
210
|
+
</template>
|
|
211
|
+
<template v-else>
|
|
212
|
+
<star-horse-item
|
|
213
|
+
v-model:dataForm="scope.row"
|
|
214
|
+
:item="item"
|
|
215
|
+
:column="scope.column"
|
|
216
|
+
:batchName="batchName"
|
|
217
|
+
@focus="focusEvent"
|
|
218
|
+
:compSize="compSize"
|
|
219
|
+
@blur="blurEvent"
|
|
220
|
+
:source="source"
|
|
221
|
+
:autofocus="true"
|
|
222
|
+
v-if="
|
|
223
|
+
scope.row.isSelected &&
|
|
224
|
+
scope.row.selectName == scope.column.property
|
|
225
|
+
"
|
|
226
|
+
/>
|
|
227
|
+
<p @click="cellClick(scope.row, scope.column)" v-else>
|
|
228
|
+
{{ currentDataFormat(scope) }}
|
|
229
|
+
</p>
|
|
230
|
+
</template>
|
|
231
|
+
</template>
|
|
232
|
+
</el-table-column>
|
|
233
|
+
</template>
|
|
234
|
+
<style lang="scss" scoped>
|
|
235
|
+
tbody {
|
|
236
|
+
.cell {
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: row;
|
|
239
|
+
|
|
240
|
+
.el-table__expand-icon {
|
|
241
|
+
margin-top: 5px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
p {
|
|
245
|
+
display: block;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
</style>
|