Skip to content

Commit ec58321

Browse files
author
puhui999
committed
Merge remote-tracking branch 'yudao/dev' into dev
# Conflicts: # src/views/Login/components/LoginForm.vue # src/views/Login/components/MobileForm.vue # src/views/mp/components/wx-editor/WxEditor.vue
2 parents b26bba9 + de5b121 commit ec58321

File tree

37 files changed

+580
-903
lines changed

37 files changed

+580
-903
lines changed

.vscode/settings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,15 @@
4040
"i18n-ally.displayLanguage": "zh-CN",
4141
"i18n-ally.enabledFrameworks": ["vue", "react"],
4242
"god.tsconfig": "./tsconfig.json",
43-
"vue-i18n.i18nPaths": "src/locales"
43+
"vue-i18n.i18nPaths": "src/locales",
44+
"explorer.fileNesting.enabled": true,
45+
"explorer.fileNesting.expand": false,
46+
"explorer.fileNesting.patterns": {
47+
"*.ts": "$(capture).test.ts, $(capture).test.tsx",
48+
"*.tsx": "$(capture).test.ts, $(capture).test.tsx",
49+
"*.env": "$(capture).env.*",
50+
"CHANGELOG.md": "CHANGELOG*",
51+
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc,vite.config.*,windi.*,tailwind.*,tsconfig.*,postcss*",
52+
".eslintrc.js": ".eslintignore,.eslintrc-*,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelint*,stylelint*,prettier.*,.editorconfig"
53+
}
4454
}

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@
3232
"@form-create/element-ui": "^3.1.17",
3333
"@iconify/iconify": "^3.1.0",
3434
"@videojs-player/vue": "^1.0.0",
35-
"@vueup/vue-quill": "^1.1.1",
3635
"@vueuse/core": "^9.13.0",
3736
"@wangeditor/editor": "^5.1.23",
3837
"@wangeditor/editor-for-vue": "^5.1.10",
3938
"@zxcvbn-ts/core": "^2.2.1",
4039
"animate.css": "^4.1.1",
41-
"axios": "^1.3.4",
40+
"axios": "^1.3.5",
4241
"benz-amr-recorder": "^1.1.5",
4342
"bpmn-js-token-simulation": "^0.10.0",
4443
"camunda-bpmn-moddle": "^7.0.1",
@@ -48,16 +47,16 @@
4847
"diagram-js": "^11.6.0",
4948
"echarts": "^5.4.1",
5049
"echarts-wordcloud": "^2.1.0",
51-
"element-plus": "2.3.1",
50+
"element-plus": "2.3.3",
5251
"fast-xml-parser": "^4.1.3",
5352
"highlight.js": "^11.7.0",
54-
"intro.js": "^6.0.0",
53+
"intro.js": "^7.0.1",
5554
"jsencrypt": "^3.3.2",
5655
"lodash-es": "^4.17.21",
5756
"min-dash": "^4.0.0",
5857
"mitt": "^3.0.0",
5958
"nprogress": "^0.2.0",
60-
"pinia": "^2.0.33",
59+
"pinia": "^2.0.34",
6160
"qrcode": "^1.5.1",
6261
"qs": "^6.11.1",
6362
"steady-xml": "^0.1.0",

src/components/Editor/src/Editor.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const props = defineProps({
2020
editorId: propTypes.string.def('wangeEditor-1'),
2121
height: propTypes.oneOfType([Number, String]).def('500px'),
2222
editorConfig: {
23-
type: Object as PropType<IEditorConfig>,
23+
type: Object as PropType<Partial<IEditorConfig>>,
2424
default: () => undefined
2525
},
2626
readonly: propTypes.bool.def(false),
@@ -147,6 +147,7 @@ const editorConfig = computed((): IEditorConfig => {
147147
props.editorConfig || {}
148148
)
149149
})
150+
150151
const editorStyle = computed(() => {
151152
return {
152153
height: isNumber(props.height) ? `${props.height}px` : props.height

src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@
111111
>
112112
<el-divider direction="vertical" />
113113
<el-button
114-
type="text"
114+
type="primary"
115+
link
115116
style="color: #ff4d4f"
116117
@click="removeFieldOptionItem(scope, scope.$index, 'enum')"
117118
>移除</el-button
@@ -143,7 +144,8 @@
143144
>
144145
<el-divider direction="vertical" />
145146
<el-button
146-
type="text"
147+
type="primary"
148+
link
147149
style="color: #ff4d4f"
148150
@click="removeFieldOptionItem(scope, scope.$index, 'constraint')"
149151
>移除</el-button
@@ -174,7 +176,8 @@
174176
>
175177
<el-divider direction="vertical" />
176178
<el-button
177-
type="text"
179+
type="primary"
180+
link
178181
style="color: #ff4d4f"
179182
@click="removeFieldOptionItem(scope, scope.$index, 'property')"
180183
>移除</el-button

src/hooks/web/useCrudSchemas.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ type CrudSearchParams = {
2929
show?: boolean
3030
// 接口
3131
api?: () => Promise<any>
32+
// 搜索字段
33+
field?: string
3234
} & Omit<FormSchema, 'field'>
3335

3436
type CrudTableParams = {

src/layout/components/AppView.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ const getCaches = computed((): string[] => {
2121
<template>
2222
<section
2323
:class="[
24-
'p-[var(--app-content-padding)] w-[100%] bg-[var(--app-contnet-bg-color)] dark:bg-[var(--el-bg-color)]',
24+
'p-[var(--app-content-padding)] w-[100%] bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]',
2525
{
2626
'!min-h-[calc(100%-var(--app-footer-height))]':
27-
fixedHeader && (layout === 'classic' || layout === 'topLeft') && footer,
27+
((fixedHeader && (layout === 'classic' || layout === 'topLeft')) || layout === 'top') &&
28+
footer,
2829
2930
'!min-h-[calc(100%-var(--tags-view-height)-var(--top-tool-height)-var(--app-footer-height))]':
30-
((!fixedHeader && layout === 'classic') || layout === 'top') && footer,
31+
!fixedHeader && layout === 'classic' && footer,
3132
3233
'!min-h-[calc(100%-var(--tags-view-height)-var(--app-footer-height))]':
33-
!fixedHeader && layout === 'topLeft' && footer,
34+
!fixedHeader && (layout === 'topLeft' || layout === 'top') && footer,
3435
3536
'!min-h-[calc(100%-var(--top-tool-height))]': fixedHeader && layout === 'cutMenu' && footer,
3637

src/layout/components/useRenderLayout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ export const useRenderLayout = () => {
177177
class={[
178178
`${prefixCls}-content-scrollbar`,
179179
{
180-
'mt-[var(--tags-view-height)]': fixedHeader.value
180+
'mt-[var(--tags-view-height)] !pb-[calc(var(--tags-view-height)+var(--app-footer-height))]':
181+
fixedHeader.value,
182+
'pb-[var(--app-footer-height)]': !fixedHeader.value
181183
}
182184
]}
183185
>

src/main.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ import App from './App.vue'
3737

3838
import './permission'
3939

40-
import { isDevMode } from '@/utils/env'
41-
4240
import { MyPD } from '@/components/bpmnProcessDesigner/package/index.js'
4341
import '@/components/bpmnProcessDesigner/package/theme/index.scss'
4442
import 'bpmn-js/dist/assets/diagram-js.css'
@@ -53,11 +51,6 @@ import '@/plugins/tongji' // 百度统计
5351

5452
import Logger from '@/utils/Logger'
5553

56-
// 本地开发模式 全局引入 element-plus 样式,加快第一次进入速度
57-
if (isDevMode()) {
58-
import('element-plus/dist/index.css')
59-
}
60-
6154
// 创建实例
6255
const setupAll = async () => {
6356
const app = createApp(App)

src/styles/index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@import './var.css';
2-
@import './vxe.css';
32
@import 'element-plus/theme-chalk/dark/css-vars.css';
43

54
.reset-margin [class*='el-icon'] + span {

src/styles/variables.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
$namespace: v;
33
// el命名空间
44
$elNamespace: el;
5-
// vxe命名空间
6-
$vxeNamespace: vxe;

0 commit comments

Comments
 (0)