Skip to content

Commit fb19dd2

Browse files
committed
Merge branch 'master' of https://gitee.com/yudaocode/yudao-ui-admin-vue3 into feature/bpm
# Conflicts: # src/views/bpm/model/ModelForm.vue # src/views/bpm/model/index.vue
2 parents 8985936 + e5ec820 commit fb19dd2

File tree

244 files changed

+5149
-2643
lines changed

Some content is hidden

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

244 files changed

+5149
-2643
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
"editor.defaultFormatter": "esbenp.prettier-vscode"
8484
},
8585
"editor.codeActionsOnSave": {
86-
"source.fixAll.eslint": "explicit"
86+
"source.fixAll.eslint": "explicit",
87+
"source.fixAll.stylelint": "explicit"
8788
},
8889
"[vue]": {
8990
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"driver.js": "^1.3.1",
4848
"echarts": "^5.5.0",
4949
"echarts-wordcloud": "^2.1.0",
50-
"element-plus": "2.7.0",
50+
"element-plus": "2.8.0",
5151
"fast-xml-parser": "^4.3.2",
5252
"highlight.js": "^11.9.0",
5353
"jsencrypt": "^3.3.2",

pnpm-lock.yaml

Lines changed: 1280 additions & 1280 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,4 @@ body {
5454
.#{$prefix-cls}-grey-mode {
5555
filter: grayscale(100%);
5656
}
57-
58-
.scrollbar__view {
59-
height: 99%!important;
60-
}
6157
</style>

src/api/ai/mindmap/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getAccessToken } from '@/utils/auth'
22
import { fetchEventSource } from '@microsoft/fetch-event-source'
33
import { config } from '@/config/axios/config'
4-
import request from '@/config/axios'
4+
import request from '@/config/axios' // AI 思维导图 VO
55

66
// AI 思维导图 VO
77
export interface MindMapVO {

src/api/mall/product/property.ts

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,6 @@ export interface PropertyValueVO {
2424
remark?: string
2525
}
2626

27-
/**
28-
* 商品属性值的明细
29-
*/
30-
export interface PropertyValueDetailVO {
31-
/** 属性项的编号 */
32-
propertyId: number // 属性的编号
33-
/** 属性的名称 */
34-
propertyName: string
35-
/** 属性值的编号 */
36-
valueId: number
37-
/** 属性值的名称 */
38-
valueName: string
39-
}
40-
4127
// ------------------------ 属性项 -------------------
4228

4329
// 创建属性项
@@ -65,6 +51,11 @@ export const getPropertyPage = (params: PageParam) => {
6551
return request.get({ url: '/product/property/page', params })
6652
}
6753

54+
// 获得属性项精简列表
55+
export const getPropertySimpleList = (): Promise<PropertyVO[]> => {
56+
return request.get({ url: '/product/property/simple-list' })
57+
}
58+
6859
// ------------------------ 属性值 -------------------
6960

7061
// 获得属性值分页
@@ -91,3 +82,8 @@ export const updatePropertyValue = (data: PropertyValueVO) => {
9182
export const deletePropertyValue = (id: number) => {
9283
return request.delete({ url: `/product/property/value/delete?id=${id}` })
9384
}
85+
86+
// 获得属性值精简列表
87+
export const getPropertyValueSimpleList = (propertyId: number): Promise<PropertyValueVO[]> => {
88+
return request.get({ url: '/product/property/value/simple-list', params: { propertyId } })
89+
}

src/api/mall/product/spu.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export interface Spu {
5050
giveIntegral?: number // 赠送积分
5151
virtualSalesCount?: number // 虚拟销量
5252
price?: number // 商品价格
53+
combinationPrice?: number // 商品拼团价格
54+
seckillPrice?: number // 商品秒杀价格
5355
salesCount?: number // 商品销量
5456
marketPrice?: number // 市场价
5557
costPrice?: number // 成本价

src/api/mall/promotion/combination/combinationActivity.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface CombinationActivityVO {
1616
virtualGroup?: number
1717
status?: number
1818
limitDuration?: number
19+
combinationPrice?: number
1920
products: CombinationProductVO[]
2021
}
2122

@@ -36,7 +37,7 @@ export interface SpuExtension extends Spu {
3637
}
3738

3839
// 查询拼团活动列表
39-
export const getCombinationActivityPage = async (params) => {
40+
export const getCombinationActivityPage = async (params: any) => {
4041
return await request.get({ url: '/promotion/combination-activity/page', params })
4142
}
4243

@@ -45,6 +46,11 @@ export const getCombinationActivity = async (id: number) => {
4546
return await request.get({ url: '/promotion/combination-activity/get?id=' + id })
4647
}
4748

49+
// 获得拼团活动列表,基于活动编号数组
50+
export const getCombinationActivityListByIds = (ids: number[]) => {
51+
return request.get({ url: `/promotion/combination-activity/list-by-ids?ids=${ids}` })
52+
}
53+
4854
// 新增拼团活动
4955
export const createCombinationActivity = async (data: CombinationActivityVO) => {
5056
return await request.post({ url: '/promotion/combination-activity/create', data })

src/api/mall/promotion/coupon/couponTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function getCouponTemplatePage(params: PageParam) {
7474
}
7575

7676
// 获得优惠劵模板分页
77-
export function getCouponTemplateList(ids: number[]) {
77+
export function getCouponTemplateList(ids: number[]): Promise<CouponTemplateVO[]> {
7878
return request.get({
7979
url: `/promotion/coupon-template/list?ids=${ids}`
8080
})

src/api/mall/promotion/kefu/conversation/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ export const KeFuConversationApi = {
3030
},
3131
// 删除客服会话
3232
deleteConversation: async (id: number) => {
33-
return await request.get({ url: '/promotion/kefu-conversation/delete?id' + id })
33+
return await request.delete({ url: `/promotion/kefu-conversation/delete?id=${id}`})
3434
}
3535
}

0 commit comments

Comments
 (0)