@epxing/business 5.3.0-beta.2 → 5.3.0-beta.3
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/API.md +8 -4
- package/README.md +44 -44
- package/dist/src/base/AiSkillEditor.js +1 -1
- package/dist/src/base/AiSkillEditor.vue.js +2 -0
- package/dist/src/base/AppConfigFormItem.js +1 -3
- package/dist/src/base/AppConfigFormItem.vue.js +210 -85
- package/dist/src/base/CommonFieldList.js +1 -1
- package/dist/src/base/CommonFieldList.vue.js +2 -1
- package/dist/src/base/ConfigModuleIndex.js +38 -1
- package/dist/src/base/ManageAppNav.js +1 -1
- package/dist/src/base/ManageMenu.js +1 -1
- package/dist/src/base/RoleBindTrace.js +253 -0
- package/dist/src/base/RoleGroupManage.js +1037 -0
- package/dist/src/base/ServiceMenu.js +7 -6
- package/dist/src/components/AiList.js +1278 -3
- package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
- package/dist/src/components/EntityRightFormItem.js +1 -5
- package/dist/src/components/EntityRightFormItem.vue.js +3 -1
- package/dist/src/components/EntitySystemEr.js +492 -0
- package/dist/src/components/HallNav.vue.js +7 -36
- package/dist/src/components/IconFontLibrary.js +22 -1
- package/dist/src/components/IconFontList.js +21 -1
- package/dist/src/components/PrintFormList.js +2 -1
- package/dist/src/components/PrintFormList.vue.js +3 -1
- package/dist/src/components/WikiWorkbench.js +153 -129
- package/dist/src/components/authorization/AuthorizationInterface.js +3 -1
- package/dist/src/components/custom-bpmn/PropertiesView.js +1991 -1942
- package/dist/src/components/icon-gallery/IconGallery.js +193 -0
- package/dist/src/components/icon-gallery/mixin.js +150 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +86 -93
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
- package/dist/src/index.js +26 -20
- package/dist/src/public-components.js +16 -14
- package/dist/src/route-components.js +5 -5
- package/dist/src/system.component.index.js +1 -1
- package/dist/src/system.component.js +8 -3
- package/dist/src/system.component.lazy.js +1 -1
- package/dist/src/views/Add.js +1 -1
- package/dist/src/views/Add.vue.js +8 -3
- package/dist/src/views/AiToolManager.js +792 -317
- package/dist/src/views/App.js +3 -45
- package/dist/src/views/AppRoleSelect.js +3 -230
- package/dist/src/views/Error.js +3 -207
- package/dist/src/views/ExcelDesign.js +326 -316
- package/dist/src/views/JvmMemoryMonitor.js +463 -0
- package/dist/src/views/Module.js +3 -170
- package/dist/src/views/WikiBinding.js +88 -25
- package/dist/style.css +2867 -1487
- package/package.json +12 -6
- package/src/base/AiSkillEditor.vue +2 -0
- package/src/base/AppConfigFormItem.vue +211 -145
- package/src/base/CommonFieldList.vue +9 -6
- package/src/base/ConfigModuleIndex.vue +37 -1
- package/src/base/ManageAppNav.vue +1188 -1188
- package/src/base/ManageMenu.vue +933 -933
- package/src/base/RoleBindTrace.vue +364 -0
- package/src/base/RoleGroupManage.vue +1160 -0
- package/src/base/ServiceMenu.vue +6 -5
- package/src/components/AiList.vue +439 -113
- package/src/components/EntityCheckboxFind.vue +12 -8
- package/src/components/EntityRightFormItem.vue +9 -10
- package/src/components/EntitySystemEr.vue +517 -0
- package/src/components/HallNav.vue +6 -33
- package/src/components/IconFontLibrary.vue +27 -60
- package/src/components/IconFontList.vue +13 -64
- package/src/components/PrintFormList.vue +33 -27
- package/src/components/WikiWorkbench.vue +90 -60
- package/src/components/authorization/AuthorizationInterface.vue +2 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -1
- package/src/components/custom-bpmn/CustomRenderer.js +1 -1
- package/src/components/custom-bpmn/PropertiesView.vue +35 -4
- package/src/components/custom-bpmn/index.js +1 -1
- package/src/components/icon-gallery/IconGallery.vue +130 -0
- package/src/components/icon-gallery/mixin.jsx +109 -0
- package/src/components/wiki-workbench/WikiIntake.vue +178 -104
- package/src/index.js +24 -20
- package/src/public-components.js +1 -0
- package/src/route-components.js +4 -4
- package/src/system.component.index.js +1 -1
- package/src/views/Add.vue +8 -5
- package/src/views/AiToolManager.vue +326 -4
- package/src/views/App.vue +4 -53
- package/src/views/AppRoleSelect.vue +4 -334
- package/src/views/Error.vue +4 -63
- package/src/views/ExcelDesign.vue +24 -7
- package/src/views/JvmMemoryMonitor.vue +284 -0
- package/src/views/Module.vue +4 -210
- package/src/views/WikiBinding.vue +42 -0
- package/types/app.d.ts +1 -0
- package/types/dept-find.d.ts +1 -1
- package/types/index.d.ts +15 -14
- package/types/popup.d.ts +2 -2
- package/types/route-components.d.ts +1 -1
- package/types/user-find.d.ts +1 -1
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/src/components/AiList.vue.js +0 -93
- package/dist/src/components/IconFontLibrary.vue.js +0 -67
- package/dist/src/components/IconFontList.vue.js +0 -79
|
@@ -1,334 +1,4 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<div class="app__title">
|
|
6
|
-
<span class="app__prefix" :style="{background: appConfig.COLOR}">
|
|
7
|
-
<i :class="['app__icon fa',appConfig.ICON || 'el-icon-menu' ]"></i>
|
|
8
|
-
</span>
|
|
9
|
-
<i class="app__name">{{appConfig.NAME}}</i>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="role__title">请选择您的角色</div>
|
|
12
|
-
<template v-if="roleList.length>0">
|
|
13
|
-
<el-radio-group class="radio-group" v-model="mainRole" @change="setMainRole">
|
|
14
|
-
<ul :class="{'role__list': true, 'm_role_list': $isMobile}">
|
|
15
|
-
<li class="role__item" v-for="role in roleList" :key="role.ID" @click="openApp(role)">
|
|
16
|
-
<span class="role__prefix" :style="{background: appConfig.ROLE_COLOR}">
|
|
17
|
-
<i :class="['fa',role.ICON || 'el-icon-user-solid']"></i>
|
|
18
|
-
</span>
|
|
19
|
-
<span class="role__name">{{role.NAME}}</span>
|
|
20
|
-
<span class="role__opera" @click.stop>
|
|
21
|
-
<el-radio class="radio" :label="role.ID" :value="role.ID">设为默认</el-radio>
|
|
22
|
-
</span>
|
|
23
|
-
</li>
|
|
24
|
-
</ul>
|
|
25
|
-
</el-radio-group>
|
|
26
|
-
</template>
|
|
27
|
-
<div class="no-role" v-else>
|
|
28
|
-
<p>对不起,您还未得到该应用的访问授权!</p>
|
|
29
|
-
<el-button type="primary" @click="logout">退出登录</el-button>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
|
|
35
|
-
<script>
|
|
36
|
-
import { mapState } from 'vuex'
|
|
37
|
-
import { roleStorage } from '@epxing/core/src/menu-route'
|
|
38
|
-
import { migrateLegacyTheme, initTheme } from '@epxing/core/src/ui-settings'
|
|
39
|
-
import storage from '@epxing/utils/src/storage'
|
|
40
|
-
// 应用角色选择
|
|
41
|
-
export default {
|
|
42
|
-
name: 'epx-app-role-select',
|
|
43
|
-
data () {
|
|
44
|
-
return {
|
|
45
|
-
roleList: null,
|
|
46
|
-
radio: '',
|
|
47
|
-
mainRole: null
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
computed: {
|
|
51
|
-
...mapState({
|
|
52
|
-
clientConfig: state => state.config.clientConfig || {},
|
|
53
|
-
appConfig: state => state.config.appConfig || {}, // 应用配置
|
|
54
|
-
$isMobile: state => state.config.isMobile // 是否为移动端
|
|
55
|
-
})
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
methods: {
|
|
59
|
-
setTheme () {
|
|
60
|
-
const { 'CLIENT|THEME': clientTheme, 'SYSTEM|THEME': systemTheme } = this.appConfig
|
|
61
|
-
// 主题应用统一交给 core/ui-settings:个性化设置抽屉里选的主题色/暗色优先,老单值键
|
|
62
|
-
// epx_frame_theme 与应用配置(SYSTEM|THEME / CLIENT|THEME)只作兜底。
|
|
63
|
-
// 老实现在这里直接 setAttribute('data-theme', 老键),会把用户在设置抽屉里选的主题色**盖掉**
|
|
64
|
-
// ——本页是顶层路由、不渲染 AppIndex,与「登录页个性化主题色不生效」是同一个病根。
|
|
65
|
-
// 预设名单也不再在本文件手抄一份(此前 AppIndex/本文件各一份,改一处即漂移)。
|
|
66
|
-
// 读取用 storage.get(sessionStorage 优先、localStorage 兜底,隐私模式/禁用存储时不抛错)而非裸 localStorage。
|
|
67
|
-
const skinCode = migrateLegacyTheme(storage.get('epx_frame_theme') || systemTheme || clientTheme)
|
|
68
|
-
// 自定义肤色码:查 SKIN_COLOR 取色注入 body{--color-primary}(data-theme=custom 迁移函数已写好)
|
|
69
|
-
if (skinCode) {
|
|
70
|
-
this.$http.find({
|
|
71
|
-
entityId: 'SKIN_COLOR',
|
|
72
|
-
'scope.CODE': skinCode
|
|
73
|
-
})
|
|
74
|
-
.then(data => {
|
|
75
|
-
const flag = /rgb\(([\d,\s]+)\)/.test(data.data.COLOR)
|
|
76
|
-
if (flag) {
|
|
77
|
-
const style = `body {--color-primary: ${RegExp.$1}}`
|
|
78
|
-
var css = document.createElement('style')
|
|
79
|
-
css.type = 'text/css'
|
|
80
|
-
css.id = 'custom-theme'
|
|
81
|
-
if (css.styleSheet) {
|
|
82
|
-
css.styleSheet.cssText = style
|
|
83
|
-
} else {
|
|
84
|
-
css.appendChild(document.createTextNode(style))
|
|
85
|
-
}
|
|
86
|
-
document.head.appendChild(css)
|
|
87
|
-
}
|
|
88
|
-
})
|
|
89
|
-
}
|
|
90
|
-
// 引导期 src/App.vue 已 initTheme(),此处幂等 no-op;保留是为了不依赖某个外壳一定调过它。
|
|
91
|
-
initTheme()
|
|
92
|
-
},
|
|
93
|
-
getServiceRoles () {
|
|
94
|
-
return this.$http.get({
|
|
95
|
-
action: 'getServiceRoles',
|
|
96
|
-
entityId: 'FM_ROLE',
|
|
97
|
-
serviceId: this.appConfig.ID,
|
|
98
|
-
order_fields: 'ORDER_NUM,LOG_C_TIME',
|
|
99
|
-
order_mode: 'asc,asc'
|
|
100
|
-
})
|
|
101
|
-
.then(role => {
|
|
102
|
-
if (role.entitys.length === 1) {
|
|
103
|
-
this.openApp(role.entitys[0])
|
|
104
|
-
} else {
|
|
105
|
-
const mainRole = role.entitys.find(role => role.MAIN_ROLE === 'true')
|
|
106
|
-
if (mainRole) {
|
|
107
|
-
this.mainRole = mainRole.ID
|
|
108
|
-
this.openApp(mainRole)
|
|
109
|
-
} else {
|
|
110
|
-
// 多个角色且没有设置默认角色
|
|
111
|
-
this.roleList = [...role.entitys]
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
})
|
|
115
|
-
},
|
|
116
|
-
setMainRole () {
|
|
117
|
-
this.$http.save({
|
|
118
|
-
action: 'setMainRole',
|
|
119
|
-
entityId: 'FM_USER_SERVICE_MAIN_ROLE',
|
|
120
|
-
serviceId: this.appConfig.ID,
|
|
121
|
-
roleId: this.mainRole
|
|
122
|
-
})
|
|
123
|
-
.then(() => {
|
|
124
|
-
this.$message.success('设置成功')
|
|
125
|
-
})
|
|
126
|
-
},
|
|
127
|
-
openApp (role) {
|
|
128
|
-
const roleCode = role.CODE + (role.TYPE === 'client' ? '-client' : '')
|
|
129
|
-
// 获取应用参数
|
|
130
|
-
const { CODE, 'SYSTEM|CODE': systemCode, 'CLIENT|CODE': clientCode } = this.appConfig
|
|
131
|
-
const { client = clientCode, system = systemCode, name: lastRouteName, ...otherParams } = this.$route.params
|
|
132
|
-
// 选定角色持久化(菜单直达路由不带 role 段,取数点从 localStorage 读)
|
|
133
|
-
roleStorage.set(client, system, roleCode)
|
|
134
|
-
let name = 'app1'
|
|
135
|
-
if (systemCode === 'epxing-frame') {
|
|
136
|
-
switch (CODE) {
|
|
137
|
-
case 'FM_SERVICE_SYSTEM':
|
|
138
|
-
name = 'system'
|
|
139
|
-
break
|
|
140
|
-
case 'FM_SERVICE_CLIENT':
|
|
141
|
-
name = 'client'
|
|
142
|
-
break
|
|
143
|
-
case 'FM_SERVICE_HALL':
|
|
144
|
-
name = 'hall'
|
|
145
|
-
break
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
// 从菜单直达链接被拦到本页的(守卫塞了 backMenu):选完角色回到原菜单 URL
|
|
149
|
-
const { backMenu, ...restQuery } = this.$route.query
|
|
150
|
-
if (backMenu) {
|
|
151
|
-
return this.$router.replace({
|
|
152
|
-
name: name === 'hall' ? 'hallMenu' : 'appMenu',
|
|
153
|
-
params: { client, system, app: CODE, menuKey: backMenu },
|
|
154
|
-
query: restQuery
|
|
155
|
-
})
|
|
156
|
-
}
|
|
157
|
-
this.$router.replace({
|
|
158
|
-
name: lastRouteName || name,
|
|
159
|
-
params: {
|
|
160
|
-
client,
|
|
161
|
-
system,
|
|
162
|
-
app: CODE,
|
|
163
|
-
role: roleCode,
|
|
164
|
-
...otherParams
|
|
165
|
-
},
|
|
166
|
-
query: { ...this.$route.query }
|
|
167
|
-
})
|
|
168
|
-
},
|
|
169
|
-
logout () {
|
|
170
|
-
this.$http.logout()
|
|
171
|
-
.then(() => {
|
|
172
|
-
this.$util.toLogin(true)
|
|
173
|
-
})
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
created () {
|
|
177
|
-
this.getServiceRoles()
|
|
178
|
-
this.setTheme()
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
</script>
|
|
182
|
-
|
|
183
|
-
<style lang="scss" scoped>
|
|
184
|
-
.role-select{
|
|
185
|
-
height: 100%;
|
|
186
|
-
background: #F1F3F7;
|
|
187
|
-
}
|
|
188
|
-
.role-select__bg {
|
|
189
|
-
height: 50%;
|
|
190
|
-
background: url('@/assets/images/role_select.webp') no-repeat center;
|
|
191
|
-
background-size: cover;
|
|
192
|
-
}
|
|
193
|
-
.select__modal {
|
|
194
|
-
width: 1200px;
|
|
195
|
-
height: 520px;
|
|
196
|
-
overflow: auto;
|
|
197
|
-
box-sizing: border-box;
|
|
198
|
-
padding: 30px;
|
|
199
|
-
background: var(--epx-bg-card);
|
|
200
|
-
position: relative;
|
|
201
|
-
left: 50%;
|
|
202
|
-
top: -260px;
|
|
203
|
-
margin-left: -600px;
|
|
204
|
-
}
|
|
205
|
-
.app__prefix {
|
|
206
|
-
float: left;
|
|
207
|
-
width: 56px;
|
|
208
|
-
height: 56px;
|
|
209
|
-
border-radius: 50%;
|
|
210
|
-
@include bg_color_primary;
|
|
211
|
-
margin-right: 20px;
|
|
212
|
-
text-align: center;
|
|
213
|
-
i {
|
|
214
|
-
font-size: 24px;
|
|
215
|
-
color: #fff;
|
|
216
|
-
line-height: 56px;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
.app__name {
|
|
220
|
-
font-size: var(--epx-font-size-xl);
|
|
221
|
-
line-height: 56px;
|
|
222
|
-
}
|
|
223
|
-
.role__title {
|
|
224
|
-
font-size: 18px;
|
|
225
|
-
line-height: 48px;
|
|
226
|
-
text-align: center;
|
|
227
|
-
position: relative;
|
|
228
|
-
&::after {
|
|
229
|
-
content: '';
|
|
230
|
-
display: block;
|
|
231
|
-
position: absolute;
|
|
232
|
-
left: 50%;
|
|
233
|
-
bottom: 0;
|
|
234
|
-
margin-left: -38px;
|
|
235
|
-
width: 76px;
|
|
236
|
-
height: 2px;
|
|
237
|
-
background: #333333;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
.radio-group {
|
|
241
|
-
width: 100%;
|
|
242
|
-
}
|
|
243
|
-
.role__list {
|
|
244
|
-
display: flex;
|
|
245
|
-
justify-content: center;
|
|
246
|
-
flex-wrap: wrap;
|
|
247
|
-
margin-top: 48px;
|
|
248
|
-
}
|
|
249
|
-
.role__item {
|
|
250
|
-
width: 200px;
|
|
251
|
-
height: 220px;
|
|
252
|
-
display: flex;
|
|
253
|
-
flex-direction: column;
|
|
254
|
-
align-items: center;
|
|
255
|
-
justify-content: center;
|
|
256
|
-
margin: 0 12px;
|
|
257
|
-
cursor: pointer;
|
|
258
|
-
&:hover {
|
|
259
|
-
box-shadow: 0px 1px 16px 2px rgba(0, 0, 0, 0.1);
|
|
260
|
-
.role__opera .radio {
|
|
261
|
-
display: block;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.role__prefix {
|
|
267
|
-
display: block;
|
|
268
|
-
width: 82px;
|
|
269
|
-
height: 82px;
|
|
270
|
-
border-radius: 50%;
|
|
271
|
-
@include bg_color_primary;
|
|
272
|
-
text-align: center;
|
|
273
|
-
i {
|
|
274
|
-
font-size: 36px;
|
|
275
|
-
color: #fff;
|
|
276
|
-
line-height: 82px;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
.role__name {
|
|
280
|
-
display: inline-block;
|
|
281
|
-
font-size: var(--epx-font-size-l);
|
|
282
|
-
padding: 20px 0;
|
|
283
|
-
}
|
|
284
|
-
.role__opera {
|
|
285
|
-
display: block;
|
|
286
|
-
height: 20px;
|
|
287
|
-
.radio {
|
|
288
|
-
display: none;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
.no-role {
|
|
292
|
-
margin-top: 60px;
|
|
293
|
-
text-align: center;
|
|
294
|
-
>p {
|
|
295
|
-
font-size: 30px;
|
|
296
|
-
margin-bottom: 40px;
|
|
297
|
-
color: red;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
.m-role-select {
|
|
301
|
-
.select__modal{
|
|
302
|
-
width: 100%;
|
|
303
|
-
height: 100%;
|
|
304
|
-
left: 0;
|
|
305
|
-
margin-left: 0;
|
|
306
|
-
padding: 10px 0;
|
|
307
|
-
}
|
|
308
|
-
.app__title {
|
|
309
|
-
display: none;
|
|
310
|
-
}
|
|
311
|
-
.role__list {
|
|
312
|
-
margin-top: 24px;
|
|
313
|
-
justify-content: flex-start;
|
|
314
|
-
}
|
|
315
|
-
.role__item {
|
|
316
|
-
width: calc(33.3% - 24px);
|
|
317
|
-
height: auto;
|
|
318
|
-
margin: 0 12px;
|
|
319
|
-
}
|
|
320
|
-
.role__prefix {
|
|
321
|
-
width: 48px;
|
|
322
|
-
height: 48px;
|
|
323
|
-
i {
|
|
324
|
-
font-size: 24px;
|
|
325
|
-
line-height: 48px;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
.role__name {
|
|
329
|
-
font-size: var(--epx-font-size-base);
|
|
330
|
-
padding: 10px 0;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
</style>
|
|
1
|
+
<script>
|
|
2
|
+
// 保留业务包旧路径,基础路由页统一由 core 提供。
|
|
3
|
+
export { default } from '@epxing/core/src/views/AppRoleSelect.vue'
|
|
4
|
+
</script>
|
package/src/views/Error.vue
CHANGED
|
@@ -1,63 +1,4 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
</div>
|
|
6
|
-
<div class="error" v-else>
|
|
7
|
-
<i class="epx-icon-color-a-500"></i>
|
|
8
|
-
<p>应用加载错误,<a @click="reload">点击刷新</a></p>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
name: 'epx-error',
|
|
15
|
-
data () {
|
|
16
|
-
return {
|
|
17
|
-
errCode: ''
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
methods: {
|
|
21
|
-
reload () {
|
|
22
|
-
window.location.reload(true)
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
created () {
|
|
26
|
-
const url = this.$util.search('url')
|
|
27
|
-
this.errCode = this.$util.search('code')
|
|
28
|
-
setTimeout(() => {
|
|
29
|
-
window.history.replaceState(null, null, url)
|
|
30
|
-
}, 10)
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
</script>
|
|
34
|
-
|
|
35
|
-
<style lang="scss" scoped>
|
|
36
|
-
.error {
|
|
37
|
-
font-size: 140px;
|
|
38
|
-
text-align: center;
|
|
39
|
-
line-height: 1;
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 50%;
|
|
42
|
-
width: 100%;
|
|
43
|
-
margin-top: -150px;
|
|
44
|
-
p {
|
|
45
|
-
font-size: 18px;
|
|
46
|
-
color:var(--epx-text);
|
|
47
|
-
margin-top: 30px
|
|
48
|
-
}
|
|
49
|
-
a {
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.off {
|
|
54
|
-
margin-top: -170px;
|
|
55
|
-
svg {
|
|
56
|
-
width: 300px;
|
|
57
|
-
height: 300px;
|
|
58
|
-
}
|
|
59
|
-
p {
|
|
60
|
-
margin-top: -10px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
</style>
|
|
1
|
+
<script>
|
|
2
|
+
// 保留业务包旧路径,基础路由页统一由 core 提供。
|
|
3
|
+
export { default } from '@epxing/core/src/views/Error.vue'
|
|
4
|
+
</script>
|
|
@@ -494,14 +494,22 @@
|
|
|
494
494
|
<div class="attribute-item">
|
|
495
495
|
<label for="">数据展开方向</label>
|
|
496
496
|
<div class="attribute-item__content">
|
|
497
|
-
<el-radio-group v-model="activeCell.expand">
|
|
498
|
-
<el-radio
|
|
499
|
-
<el-radio
|
|
500
|
-
<el-radio
|
|
501
|
-
<el-radio
|
|
502
|
-
<el-radio
|
|
497
|
+
<el-radio-group v-model="activeCell.expand" class="expand-radio-group">
|
|
498
|
+
<el-radio value="Down">向下</el-radio>
|
|
499
|
+
<el-radio value="Right">向右</el-radio>
|
|
500
|
+
<el-radio value="RightDown">向右再向下</el-radio>
|
|
501
|
+
<el-radio value="group">分组</el-radio>
|
|
502
|
+
<el-radio value="None">不展开</el-radio>
|
|
503
|
+
<el-radio value="Left">合并</el-radio>
|
|
503
504
|
</el-radio-group>
|
|
504
505
|
</div>
|
|
506
|
+
</div>
|
|
507
|
+
<!-- 向右再向下展开:先向右填满每行列数,再换行向下 -->
|
|
508
|
+
<div class="attribute-item" v-if="activeCell.expand === 'RightDown'">
|
|
509
|
+
<label for="">每行列数:</label>
|
|
510
|
+
<div class="attribute-item__content">
|
|
511
|
+
<el-input-number size="default" v-model="activeCell.expandColumnCount" :min="2" :step="1" step-strictly></el-input-number>
|
|
512
|
+
</div>
|
|
505
513
|
</div>
|
|
506
514
|
<div class="attribute-item">
|
|
507
515
|
<label for="">分页方式</label>
|
|
@@ -3070,6 +3078,15 @@ export default {
|
|
|
3070
3078
|
line-height: 36px;
|
|
3071
3079
|
color: #444;
|
|
3072
3080
|
}
|
|
3081
|
+
// 数据展开方向选项较多,按两列网格排列保证对齐
|
|
3082
|
+
.expand-radio-group {
|
|
3083
|
+
display: grid;
|
|
3084
|
+
grid-template-columns: repeat(2, max-content);
|
|
3085
|
+
column-gap: 24px;
|
|
3086
|
+
.el-radio {
|
|
3087
|
+
margin-right: 0;
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3073
3090
|
.params-tree {
|
|
3074
3091
|
margin-top: 10px;
|
|
3075
3092
|
}
|
|
@@ -3152,7 +3169,7 @@ export default {
|
|
|
3152
3169
|
}
|
|
3153
3170
|
.table-form-item-label::before {
|
|
3154
3171
|
content: '*';
|
|
3155
|
-
color: #
|
|
3172
|
+
color: #f56c6c;
|
|
3156
3173
|
margin-right: 4px;
|
|
3157
3174
|
}
|
|
3158
3175
|
.property-item-condition{
|