Skip to content

Commit b2a91aa

Browse files
puhui999gitee-org
authored andcommitted
Merge branch 'dev' of gitee.com:yudaocode/yudao-ui-admin-vue3 into dev
Signed-off-by: puhui999 <[email protected]>
2 parents d679a7a + df57191 commit b2a91aa

File tree

64 files changed

+239
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+239
-169
lines changed

src/router/modules/remaining.ts

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
116116
{
117117
path: 'type/data/:dictType',
118118
component: () => import('@/views/system/dict/data/index.vue'),
119-
name: 'data',
119+
name: 'SystemDictData',
120120
meta: {
121121
title: '字典数据',
122122
noCache: true,
@@ -140,7 +140,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
140140
{
141141
path: 'edit',
142142
component: () => import('@/views/infra/codegen/EditTable.vue'),
143-
name: 'EditTable',
143+
name: 'InfraCodegenEditTable',
144144
meta: {
145145
noCache: true,
146146
hidden: true,
@@ -163,7 +163,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
163163
{
164164
path: 'job-log',
165165
component: () => import('@/views/infra/job/logger/index.vue'),
166-
name: 'JobLog',
166+
name: 'InfraJobLog',
167167
meta: {
168168
noCache: true,
169169
hidden: true,
@@ -236,7 +236,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
236236
{
237237
path: '/manager/form/edit',
238238
component: () => import('@/views/bpm/form/editor/index.vue'),
239-
name: 'bpmFormEditor',
239+
name: 'BpmFormEditor',
240240
meta: {
241241
noCache: true,
242242
hidden: true,
@@ -248,7 +248,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
248248
{
249249
path: '/manager/model/edit',
250250
component: () => import('@/views/bpm/model/editor/index.vue'),
251-
name: 'modelEditor',
251+
name: 'BpmModelEditor',
252252
meta: {
253253
noCache: true,
254254
hidden: true,
@@ -260,7 +260,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
260260
{
261261
path: '/manager/definition',
262262
component: () => import('@/views/bpm/definition/index.vue'),
263-
name: 'BpmProcessDefinitionList',
263+
name: 'BpmProcessDefinition',
264264
meta: {
265265
noCache: true,
266266
hidden: true,
@@ -272,7 +272,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
272272
{
273273
path: '/manager/task-assign-rule',
274274
component: () => import('@/views/bpm/taskAssignRule/index.vue'),
275-
name: 'BpmTaskAssignRuleList',
275+
name: 'BpmTaskAssignRule',
276276
meta: {
277277
noCache: true,
278278
hidden: true,
@@ -315,30 +315,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
315315
title: '发起 OA 请假',
316316
activeMenu: 'bpm/oa/leave/create'
317317
}
318-
},
319-
{
320-
path: '/bpm/task/todo',
321-
component: () => import('@/views/bpm/task/todo/index.vue'),
322-
name: 'TaskTodo',
323-
meta: {
324-
noCache: true,
325-
hidden: true,
326-
canTo: true,
327-
title: '代办任务',
328-
activeMenu: 'bpm/task/todo/index'
329-
}
330-
},
331-
{
332-
path: '/bpm/processInstance',
333-
component: () => import('@/views/bpm/processInstance/index.vue'),
334-
name: 'processInstance',
335-
meta: {
336-
noCache: true,
337-
hidden: true,
338-
canTo: true,
339-
title: '流程办理',
340-
activeMenu: 'bpm/processInstance/index'
341-
}
342318
}
343319
]
344320
},
@@ -353,7 +329,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
353329
{
354330
path: 'value/:propertyId(\\d+)',
355331
component: () => import('@/views/mall/product/property/value/index.vue'),
356-
name: 'PropertyValue',
332+
name: 'ProductPropertyValue',
357333
meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' }
358334
}
359335
]

src/types/auto-components.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,14 @@ declare module '@vue/runtime-core' {
5555
ElIcon: typeof import('element-plus/es')['ElIcon']
5656
ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
5757
ElInput: typeof import('element-plus/es')['ElInput']
58+
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
5859
ElLink: typeof import('element-plus/es')['ElLink']
5960
ElOption: typeof import('element-plus/es')['ElOption']
6061
ElPagination: typeof import('element-plus/es')['ElPagination']
6162
ElPopover: typeof import('element-plus/es')['ElPopover']
63+
ElRadio: typeof import('element-plus/es')['ElRadio']
64+
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
65+
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
6266
ElRow: typeof import('element-plus/es')['ElRow']
6367
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
6468
ElSelect: typeof import('element-plus/es')['ElSelect']

src/views/bpm/definition/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</Dialog>
9494
</template>
9595

96-
<script setup lang="ts" name="Form">
96+
<script setup lang="ts" name="BpmProcessDefinition">
9797
import { DICT_TYPE } from '@/utils/dict'
9898
import { dateFormatter } from '@/utils/formatTime'
9999
import * as DefinitionApi from '@/api/bpm/definition'

src/views/bpm/form/index.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,11 @@
8383
</Dialog>
8484
</template>
8585

86-
<script setup lang="ts" name="Form">
86+
<script setup lang="ts" name="BpmForm">
8787
import { DICT_TYPE } from '@/utils/dict'
8888
import { dateFormatter } from '@/utils/formatTime'
8989
import * as FormApi from '@/api/bpm/form'
9090
import { setConfAndFields2 } from '@/utils/formCreate'
91-
9291
const message = useMessage() // 消息弹窗
9392
const { t } = useI18n() // 国际化
9493
const { push } = useRouter() // 路由
@@ -130,7 +129,7 @@ const resetQuery = () => {
130129
/** 添加/修改操作 */
131130
const openForm = (id?: number) => {
132131
push({
133-
name: 'bpmFormEditor',
132+
name: 'BpmFormEditor',
134133
query: {
135134
id
136135
}

src/views/bpm/group/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<UserGroupForm ref="formRef" @success="getList" />
112112
</template>
113113

114-
<script setup lang="ts" name="UserGroup">
114+
<script setup lang="ts" name="BpmUserGroup">
115115
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
116116
import { dateFormatter } from '@/utils/formatTime'
117117
import * as UserGroupApi from '@/api/bpm/userGroup'

src/views/bpm/model/editor/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</ContentWrap>
2525
</template>
2626

27-
<script setup lang="ts">
27+
<script setup lang="ts" name="BpmModelEditor">
2828
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
2929
import CustomContentPadProvider from '@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
3030
// 自定义左侧菜单(修改 默认任务 为 用户任务)

src/views/bpm/model/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
</Dialog>
225225
</template>
226226

227-
<script setup lang="ts" name="Form">
227+
<script setup lang="ts" name="BpmModel">
228228
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
229229
import { dateFormatter, formatDate } from '@/utils/formatTime'
230230
import * as ModelApi from '@/api/bpm/model'
@@ -319,7 +319,7 @@ const handleChangeState = async (row) => {
319319
/** 设计流程 */
320320
const handleDesign = (row) => {
321321
push({
322-
name: 'modelEditor',
322+
name: 'BpmModelEditor',
323323
query: {
324324
modelId: row.id
325325
}
@@ -352,7 +352,7 @@ const handleAssignRule = (row) => {
352352
/** 跳转到指定流程定义列表 */
353353
const handleDefinitionList = (row) => {
354354
push({
355-
name: 'BpmProcessDefinitionList',
355+
name: 'BpmProcessDefinition',
356356
query: {
357357
key: row.key
358358
}

src/views/bpm/processInstance/create/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<ProcessInstanceBpmnViewer :bpmn-xml="bpmnXML" />
4747
</ContentWrap>
4848
</template>
49-
<script setup lang="ts">
49+
<script setup lang="ts" name="BpmProcessInstanceCreate">
5050
import { DICT_TYPE } from '@/utils/dict'
5151
import * as DefinitionApi from '@/api/bpm/definition'
5252
import * as ProcessInstanceApi from '@/api/bpm/processInstance'

src/views/bpm/processInstance/detail/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<TaskUpdateAssigneeForm ref="taskUpdateAssigneeFormRef" @success="getDetail" />
9797
</ContentWrap>
9898
</template>
99-
<script setup lang="ts">
99+
<script setup lang="ts" name="BpmProcessInstanceDetail">
100100
import { useUserStore } from '@/store/modules/user'
101101
import { setConfAndFields2 } from '@/utils/formCreate'
102102
import type { ApiAttrs } from '@form-create/element-ui/types/config'

src/views/bpm/processInstance/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
v-hasPermi="['bpm:process-instance:query']"
8282
@click="handleCreate"
8383
>
84-
发起流程
84+
<Icon icon="ep:plus" class="mr-5px" /> 发起流程
8585
</el-button>
8686
</el-form-item>
8787
</el-form>
@@ -159,7 +159,7 @@
159159
/>
160160
</ContentWrap>
161161
</template>
162-
<script setup lang="ts">
162+
<script setup lang="ts" name="BpmProcessInstance">
163163
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
164164
import { dateFormatter } from '@/utils/formatTime'
165165
import { ElMessageBox } from 'element-plus'

0 commit comments

Comments
 (0)