Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
0bb1469d
提交
0bb1469d
authored
7月 17, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev' into reportexcel
上级
765a6bed
ea09ac39
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
18 行增加
和
15 行删除
+18
-15
logistics.js
src/api/other/logistics.js
+2
-1
Navbar.vue
src/layout/components/Navbar.vue
+8
-8
version.js
src/store/modules/version.js
+7
-6
index.vue
src/views/promotion/task/index.vue
+1
-0
没有找到文件。
src/api/other/logistics.js
浏览文件 @
0bb1469d
...
@@ -4,7 +4,7 @@ import request from '@/utils/request'
...
@@ -4,7 +4,7 @@ import request from '@/utils/request'
export
function
getLogisticsListAPI
(
queryParams
)
{
export
function
getLogisticsListAPI
(
queryParams
)
{
console
.
log
(
queryParams
)
console
.
log
(
queryParams
)
return
request
({
return
request
({
url
:
'/schedule/
order/
sent/query_p'
,
// 不会走 token 校验后台
url
:
'/schedule/sent/query_p'
,
// 不会走 token 校验后台
params
:
queryParams
params
:
queryParams
})
})
}
}
\ No newline at end of file
src/layout/components/Navbar.vue
浏览文件 @
0bb1469d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"right-menu"
>
<div
class=
"right-menu"
>
<template
v-if=
"appStore.device !== 'mobile'"
>
<template
v-if=
"appStore.device !== 'mobile'"
>
<!-- 新版本 -->
<!-- 新版本 -->
<div
class=
"right-menu-item hover-effect new-version"
<
!--
<
div
class=
"right-menu-item hover-effect new-version"
@
click=
"showVersionFn"
>
@
click=
"showVersionFn"
>
<svg-icon
icon-class=
"new-version"
/>
<svg-icon
icon-class=
"new-version"
/>
</div>
</div>
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<version-notice
v-model=
"showVersionNoticeVisible"
<version-notice
v-model=
"showVersionNoticeVisible"
:nowVersion=
"nowVersion"
:nowVersion=
"nowVersion"
:versionList=
"showVersionList"
:versionList=
"showVersionList"
@
confirm=
"saveNowVersion"
/>
@
confirm=
"saveNowVersion"
/>
-->
<header-search
id=
"header-search"
<header-search
id=
"header-search"
class=
"right-menu-item"
/>
class=
"right-menu-item"
/>
...
@@ -107,12 +107,12 @@ const nowVersion = ref('') // 当前最新版本
...
@@ -107,12 +107,12 @@ const nowVersion = ref('') // 当前最新版本
// 判断是否有新版本出现
// 判断是否有新版本出现
onMounted
(()
=>
{
onMounted
(()
=>
{
const
oldVersion
=
proxy
.
$cache
.
local
.
get
(
'version'
)
//
const oldVersion = proxy.$cache.local.get('version')
const
versionObj
=
versionStore
.
version
[
0
]
//
const versionObj = versionStore.version[0]
nowVersion
.
value
=
versionObj
.
version
//
nowVersion.value = versionObj.version
if
(
oldVersion
!==
nowVersion
.
value
)
{
//
if (oldVersion !== nowVersion.value) {
handleVersionList
()
//
handleVersionList()
}
//
}
})
})
// 展示版本通知弹框
// 展示版本通知弹框
const
showVersionFn
=
()
=>
{
const
showVersionFn
=
()
=>
{
...
...
src/store/modules/version.js
浏览文件 @
0bb1469d
...
@@ -10,12 +10,13 @@ export default defineStore(
...
@@ -10,12 +10,13 @@ export default defineStore(
// 获取版本信息
// 获取版本信息
getVersion
()
{
getVersion
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
getVersionAPI
().
then
(
res
=>
{
// getVersionAPI().then(res => {
this
.
version
=
res
.
data
// this.version = res.data
resolve
(
res
)
// resolve(res)
}).
catch
(
error
=>
{
// }).catch(error => {
reject
(
error
)
// reject(error)
})
// })
resolve
()
})
})
}
}
}
}
...
...
src/views/promotion/task/index.vue
浏览文件 @
0bb1469d
...
@@ -137,6 +137,7 @@ import userStore from '@/store/modules/user'
...
@@ -137,6 +137,7 @@ import userStore from '@/store/modules/user'
import
SelectProvinceCity
from
'../components/SelectProvinceCity'
import
SelectProvinceCity
from
'../components/SelectProvinceCity'
const
{
recentPickerOptions
:
pickerOptions
,
todayDate
}
=
useDatePickerOptions
(
0
)
const
{
recentPickerOptions
:
pickerOptions
,
todayDate
}
=
useDatePickerOptions
(
0
)
const
{
proxy
}
=
getCurrentInstance
()
// 城市经理状态为 true
// 城市经理状态为 true
const
isCityManager
=
userStore
().
promotionIdentity
const
isCityManager
=
userStore
().
promotionIdentity
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论