Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
b273c54f
提交
b273c54f
authored
2月 24, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(supply): 供应链BI 列表接口定义
request 里的促销接口判断前缀要大于 0,因为 -1
上级
ef2a623a
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
142 行增加
和
3 行删除
+142
-3
index.js
src/api/index.js
+1
-0
index.js
src/api/jimu/index.js
+8
-0
request.js
src/utils/request.js
+1
-1
index.vue
src/views/bi/supply/index.vue
+19
-0
index.vue
src/views/promotion/plan/index.vue
+113
-2
没有找到文件。
src/api/index.js
浏览文件 @
b273c54f
...
@@ -9,6 +9,7 @@ export * from './bi/livecate'
...
@@ -9,6 +9,7 @@ export * from './bi/livecate'
export
*
from
'./bi/product'
export
*
from
'./bi/product'
export
*
from
'./bi/sale'
export
*
from
'./bi/sale'
export
*
from
'./bi/store'
export
*
from
'./bi/store'
export
*
from
'./jimu/index'
export
*
from
'./monitor/cache'
export
*
from
'./monitor/cache'
export
*
from
'./monitor/job'
export
*
from
'./monitor/job'
export
*
from
'./monitor/jobLog'
export
*
from
'./monitor/jobLog'
...
...
src/api/jimu/index.js
0 → 100644
浏览文件 @
b273c54f
import
request
from
'@/utils/request'
// 获取报表列表
export
function
getReportListAPI
()
{
return
request
({
url
:
'/report/share/list'
})
}
\ No newline at end of file
src/utils/request.js
浏览文件 @
b273c54f
...
@@ -31,7 +31,7 @@ service.interceptors.request.use(config => {
...
@@ -31,7 +31,7 @@ service.interceptors.request.use(config => {
// 是否需要防止数据重复提交
// 是否需要防止数据重复提交
const
isRepeatSubmit
=
(
config
.
headers
||
{}).
repeatSubmit
===
false
const
isRepeatSubmit
=
(
config
.
headers
||
{}).
repeatSubmit
===
false
if
(
getToken
()
&&
!
isToken
)
{
if
(
getToken
()
&&
!
isToken
)
{
if
(
config
.
url
.
indexOf
(
promotionBaseURL
))
{
if
(
config
.
url
.
indexOf
(
promotionBaseURL
)
>=
0
)
{
// 促销后台不能带 Bearer 前缀
// 促销后台不能带 Bearer 前缀
config
.
headers
[
'Authorization'
]
=
getToken
()
config
.
headers
[
'Authorization'
]
=
getToken
()
}
else
{
}
else
{
...
...
src/views/bi/supply/index.vue
0 → 100644
浏览文件 @
b273c54f
<
template
>
<div>
</div>
</
template
>
<
script
setup
>
import
{
getReportListAPI
}
from
'@/api'
const
getReportList
=
async
()
=>
{
const
res
=
await
getReportListAPI
()
console
.
log
(
res
)
}
getReportList
()
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
\ No newline at end of file
src/views/promotion/plan/index.vue
浏览文件 @
b273c54f
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
<
template
#
footer
>
<
template
#
footer
>
<div
class=
"dialog-footer"
>
<div
class=
"dialog-footer"
>
<p
style=
"color: red; float: left;"
>
如果表格有红色行,请根据错误提示修改本地表格重新上传
</p>
<p
style=
"color: red; float: left;"
>
如果表格有红色行,请根据错误提示修改本地表格重新上传
</p>
<el-button
@
click=
"dialogVisible = false"
>
关闭本弹窗
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取消上传
</el-button>
<el-button
type=
"primary"
<el-button
type=
"primary"
:disabled=
"!confirmExcelUUID"
:disabled=
"!confirmExcelUUID"
@
click=
"confirmPlanBtn"
>
@
click=
"confirmPlanBtn"
>
...
@@ -692,7 +692,118 @@ const planTableList = ref([])
...
@@ -692,7 +692,118 @@ const planTableList = ref([])
const
dialogVisible
=
ref
(
false
)
const
dialogVisible
=
ref
(
false
)
const
confirmExcelUUID
=
ref
(
''
)
const
confirmExcelUUID
=
ref
(
''
)
const
confirmTableColumns
=
[
const
confirmTableColumns
=
[
...
columns
.
value
,
{
label
:
'活动 ID'
,
prop
:
'id'
,
width
:
90
,
// fixed: true
},
{
label
:
'归属人'
,
prop
:
'employeeName'
,
width
:
90
,
fixed
:
true
},
{
label
:
'归属人工号'
,
prop
:
'employeeNo'
,
width
:
140
},
{
label
:
'经销商 ID'
,
prop
:
'dealerId'
,
width
:
120
},
{
label
:
'经销商'
,
prop
:
'dealerName'
,
width
:
220
},
{
label
:
'系统名称'
,
prop
:
'lineName'
,
width
:
100
},
{
label
:
'店铺编码'
,
prop
:
'storeCode'
,
width
:
160
},
{
label
:
'店铺名称'
,
prop
:
'storeName'
,
width
:
200
},
{
label
:
'活动日期'
,
prop
:
'date'
,
width
:
180
},
{
label
:
'活动状态'
,
prop
:
'planStatus'
,
width
:
100
},
{
label
:
'活动模式'
,
prop
:
'pattern'
,
width
:
100
},
{
label
:
'省份'
,
prop
:
'province'
,
width
:
100
},
{
label
:
'地址'
,
prop
:
'addr'
,
width
:
200
},
{
label
:
'上班时间'
,
prop
:
'clockInTime'
,
width
:
180
},
{
label
:
'下班时间'
,
prop
:
'clockOutTime'
,
width
:
180
},
{
label
:
'促销员薪资'
,
prop
:
'salary'
,
width
:
100
},
{
label
:
'杂费'
,
prop
:
'incidentals'
,
width
:
100
},
{
label
:
'战区'
,
prop
:
'orgName'
,
width
:
150
},
// {
// label: '城市',
// prop: 'city',
// width: 100
// },
{
label
:
'创建人'
,
prop
:
'createBy'
,
width
:
100
},
{
label
:
'最近修改人'
,
prop
:
'modifyBy'
,
width
:
100
},
{
label
:
'最后修改时间'
,
prop
:
'modifyTime'
,
width
:
250
},
{
{
label
:
'错误消息'
,
label
:
'错误消息'
,
prop
:
'errorMsg'
,
prop
:
'errorMsg'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论