Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
e44508dc
提交
e44508dc
authored
2月 24, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(promotion): 修改部分时间去掉时分秒,修改上传修改按钮的名字和顺序颜色
同上
上级
33188c76
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
7 行增加
和
5 行删除
+7
-5
index.vue
src/views/promotion/plan/index.vue
+7
-5
没有找到文件。
src/views/promotion/plan/index.vue
浏览文件 @
e44508dc
...
@@ -145,19 +145,19 @@
...
@@ -145,19 +145,19 @@
<el-upload
class=
"upload-demo"
<el-upload
class=
"upload-demo"
action=
"#"
action=
"#"
accept=
".xls,.xlsx"
accept=
".xls,.xlsx"
:http-request=
"upload
Change
File"
:http-request=
"uploadFile"
:show-file-list=
"false"
>
:show-file-list=
"false"
>
<template
#
trigger
>
<template
#
trigger
>
<el-button
type=
"
success"
>
批量修改计划
</el-button>
<el-button
type=
"
primary"
>
{{
cityManagerPrivilege
?
'城市经理'
:
'职能角色'
}}
-新增计划上传
</el-button>
</
template
>
</
template
>
</el-upload>
</el-upload>
<el-upload
class=
"upload-demo"
<el-upload
class=
"upload-demo"
action=
"#"
action=
"#"
accept=
".xls,.xlsx"
accept=
".xls,.xlsx"
:http-request=
"uploadFile"
:http-request=
"upload
Change
File"
:show-file-list=
"false"
>
:show-file-list=
"false"
>
<
template
#
trigger
>
<
template
#
trigger
>
<el-button
type=
"primary"
>
{{
cityManagerPrivilege
?
'城市经理'
:
'职能角色'
}}
-上传计划
</el-button>
<el-button
type=
"primary"
>
修改计划上传
</el-button>
</
template
>
</
template
>
</el-upload>
</el-upload>
</el-col>
</el-col>
...
@@ -652,7 +652,9 @@ getPlanList()
...
@@ -652,7 +652,9 @@ getPlanList()
const
formatter
=
(
row
,
col
,
value
)
=>
{
const
formatter
=
(
row
,
col
,
value
)
=>
{
if
(
col
.
property
===
'planStatus'
)
{
if
(
col
.
property
===
'planStatus'
)
{
return
value
==
0
?
'未执行'
:
'执行'
return
value
==
0
?
'未执行'
:
'执行'
}
else
if
(
col
.
property
===
'modifyTime'
||
col
.
property
===
'date'
||
col
.
property
===
'clockInTime'
||
col
.
property
===
'clockOutTime'
)
{
}
else
if
(
col
.
property
===
'modifyTime'
||
col
.
property
===
'date'
)
{
return
parseTime
(
value
,
'{y}-{m}-{d}'
)
}
else
if
(
col
.
property
===
'clockInTime'
||
col
.
property
===
'clockOutTime'
)
{
return
parseTime
(
value
)
return
parseTime
(
value
)
}
else
{
}
else
{
return
value
return
value
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论