Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
9e8287d2
提交
9e8287d2
authored
5月 15, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(invalidplan): 完成查看已删除计划列表_分页分开统计功能
同上
上级
540b7ef0
全部展开
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
13 行删除
+19
-13
effectivePlan.vue
src/views/promotion/plan/effectivePlan.vue
+8
-7
index.vue
src/views/promotion/plan/index.vue
+11
-6
invalidPlan.vue
src/views/promotion/plan/invalidPlan.vue
+0
-0
没有找到文件。
src/views/promotion/plan/effectivePlan.vue
浏览文件 @
9e8287d2
...
...
@@ -92,8 +92,8 @@
</el-table>
<!-- 分页 -->
<pagination
:total=
"total"
v-model:page=
"
queryParams.
pageNum"
v-model:limit=
"
queryParams.
pageSize"
v-model:page=
"pageNum"
v-model:limit=
"pageSize"
@
pagination=
"getPlanList"
/>
<!-- 弹窗确认上传计划表格 -->
<el-dialog
title=
"上传计划"
...
...
@@ -327,8 +327,6 @@ const props = defineProps({
}
})
const
{
proxy
}
=
getCurrentInstance
();
const
isCityManager
=
userStore
().
promotionIdentity
const
empInfo
=
userStore
().
empInfo
...
...
@@ -350,6 +348,7 @@ const handleDelete = async () => {
employeeNo
:
empInfo
.
empNo
})
proxy
.
$modal
.
msgSuccess
(
'删除成功'
)
proxy
.
eventBus
.
emit
(
'refreshPlanList'
)
// 刷新计划列表
getPlanList
()
}
// 单条
...
...
@@ -810,11 +809,13 @@ const tableRowTimeOutClassName = ({ row }) => {
/*************** 数据和分页 ***************/
const
total
=
ref
(
0
)
const
pageNum
=
ref
(
1
)
const
pageSize
=
ref
(
10
)
// 任务列表
const
getPlanList
=
async
()
=>
{
const
res
=
await
getPlanListAPI
({
pageNum
:
p
rops
.
queryParams
.
pageNum
,
pageSize
:
p
rops
.
queryParams
.
pageSiz
e
,
pageNum
:
p
ageNum
.
value
,
pageSize
:
p
ageSize
.
valu
e
,
queryParams
:
{
activityStartDate
:
props
.
queryParams
.
activityDate
&&
props
.
queryParams
.
activityDate
[
0
],
activityEndDate
:
props
.
queryParams
.
activityDate
&&
props
.
queryParams
.
activityDate
[
1
],
...
...
@@ -823,7 +824,7 @@ const getPlanList = async () => {
province
:
props
.
queryParams
.
provinceName
,
city
:
props
.
queryParams
.
cityName
,
dealerId
:
props
.
queryParams
.
dealerId
,
orgQcId
:
props
.
queryParams
.
war
z
oneId
,
orgQcId
:
props
.
queryParams
.
war
Z
oneId
,
employeeId
:
props
.
queryParams
.
employeeId
,
storeNameLike
:
props
.
queryParams
.
storeName
}
...
...
src/views/promotion/plan/index.vue
浏览文件 @
9e8287d2
...
...
@@ -132,7 +132,10 @@
<EffectivePlan
ref=
"effectivePlan"
:queryParams=
"queryParams"
/>
</el-tab-pane>
<el-tab-pane
label=
"已删除计划"
>
Config
</el-tab-pane>
<el-tab-pane
label=
"已删除计划"
>
<InvalidPlan
ref=
"invalidPlan"
:queryParams=
"queryParams"
/>
</el-tab-pane>
</el-tabs>
</div>
</div>
...
...
@@ -144,7 +147,10 @@ import { parseTime } from '@/utils'
import
userStore
from
'@/store/modules/user'
import
{
useDatePickerOptions
}
from
'@/hooks'
import
{
PROMOTION_STATUS
}
from
'@/dicts'
import
EffectivePlan
from
'./effectivePlan.vue'
;
import
EffectivePlan
from
'./effectivePlan.vue'
import
InvalidPlan
from
'./invalidPlan.vue'
const
{
proxy
}
=
getCurrentInstance
()
const
isCityManager
=
userStore
().
promotionIdentity
const
empInfo
=
userStore
().
empInfo
// 当前登录员工信息
...
...
@@ -159,8 +165,6 @@ const queryParams = reactive({
warZoneId
:
''
,
// 战区
employeeId
:
''
,
// 归属人
storeName
:
''
,
// 门店名称
pageNum
:
1
,
pageSize
:
10
,
})
/************* 选择日期 *************/
const
{
recentPickerOptions
:
pickerOptions
}
=
useDatePickerOptions
()
...
...
@@ -275,8 +279,8 @@ onMounted(async () => {
})
/************ 数据列表管理 ************/
const
effectivePlan
=
ref
({})
const
getPlanList
=
()
=>
{
effectivePlan
.
value
.
getPlanList
()
proxy
.
$refs
.
effectivePlan
.
getPlanList
()
proxy
.
$refs
.
invalidPlan
.
getPlanList
()
}
</
script
>
\ No newline at end of file
src/views/promotion/plan/invalidPlan.vue
浏览文件 @
9e8287d2
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论