Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
5378ce81
提交
5378ce81
authored
9月 05, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'release' into dev
上级
cec4ade8
1ec485b7
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
29 行增加
和
13 行删除
+29
-13
App.vue
src/App.vue
+3
-3
index.vue
...y/sales_point_inspection/examine/inspectionTask/index.vue
+8
-2
conventionalDisplay.vue
...ction/examine/inspectionTask/tabs/conventionalDisplay.vue
+4
-2
scheduleAdjustment.vue
...ection/examine/inspectionTask/tabs/scheduleAdjustment.vue
+4
-2
scheduleDisplay.vue
...nspection/examine/inspectionTask/tabs/scheduleDisplay.vue
+4
-2
newTerminal.vue
...t_activity/sales_point_inspection/examine/newTerminal.vue
+6
-2
没有找到文件。
src/App.vue
浏览文件 @
5378ce81
<
template
>
<
template
>
<
!--
<
template
v-if=
"!isInWhiteList"
>
<template
v-if=
"!isInWhiteList"
>
<el-watermark
:font=
"font"
<el-watermark
:font=
"font"
:content=
"content"
:content=
"content"
class=
"wm-class"
>
class=
"wm-class"
>
<router-view
/>
<router-view
/>
</el-watermark>
</el-watermark>
</
template
>
</
template
>
<
template
v-else
>
-->
<
template
v-else
>
<router-view
/>
<router-view
/>
<
!--
</
template
>
--
>
<
/
template
>
</template>
</template>
<
script
setup
>
<
script
setup
>
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/index.vue
浏览文件 @
5378ce81
...
@@ -326,7 +326,10 @@ const handleClickLocation = () => {
...
@@ -326,7 +326,10 @@ const handleClickLocation = () => {
/*************** 门头照上传 ***************/
/*************** 门头照上传 ***************/
// 上传照片
// 上传照片
const
commitStorePhotosRead
=
async
(
file
)
=>
{
const
commitStorePhotosRead
=
async
(
file
)
=>
{
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/storeFrontPhoto/
${
useUserStore
().
empInfo
.
empNo
}
/
${
form
.
storeCode
}
.png`
,
file
.
file
)
const
date
=
new
Date
()
const
month
=
date
.
getMonth
()
+
1
const
theDate
=
date
.
getDate
()
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/storeFrontPhoto/
${
date
.
getFullYear
()}
-
${
month
}
/
${
useUserStore
().
empInfo
.
empNo
}
/
${
form
.
storeCode
}
.png`
,
file
.
file
)
form
.
commitStorePicture
=
[{
form
.
commitStorePicture
=
[{
url
:
pictureUrl
url
:
pictureUrl
}]
}]
...
@@ -401,7 +404,10 @@ const handleRemarkChange = async () => {
...
@@ -401,7 +404,10 @@ const handleRemarkChange = async () => {
// 大日期照片上传
// 大日期照片上传
const
longTimePictureArrRead
=
async
(
file
)
=>
{
const
longTimePictureArrRead
=
async
(
file
)
=>
{
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/longTimePicture/
${
useUserStore
().
empInfo
.
empNo
}
/
${
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
const
date
=
new
Date
()
const
month
=
date
.
getMonth
()
+
1
const
theDate
=
date
.
getDate
()
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/longTimePicture/
${
date
.
getFullYear
()}
-
${
month
}
/
${
useUserStore
().
empInfo
.
empNo
}
/
${
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
form
.
longTimePictureArr
.
push
({
form
.
longTimePictureArr
.
push
({
url
:
pictureUrl
url
:
pictureUrl
})
})
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/conventionalDisplay.vue
浏览文件 @
5378ce81
...
@@ -183,9 +183,11 @@ const handleCostChange = async (index) => {
...
@@ -183,9 +183,11 @@ const handleCostChange = async (index) => {
const
displayPhotosRead
=
async
(
file
,
{
name
,
index
})
=>
{
const
displayPhotosRead
=
async
(
file
,
{
name
,
index
})
=>
{
// name:是当前照片组件所在陈列组的索引
// name:是当前照片组件所在陈列组的索引
// index: 当前照片组的索引
// index: 当前照片组的索引
const
date
=
new
Date
()
const
month
=
date
.
getMonth
()
+
1
const
theDate
=
date
.
getDate
()
const
target
=
displayGroup
.
value
[
name
]
const
target
=
displayGroup
.
value
[
name
]
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/displayPhoto/
${
date
.
getFullYear
()}
-
${
month
}
/
${
useUserStore
().
empInfo
.
empNo
}
/
${
props
.
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/displayPhoto/
${
useUserStore
().
empInfo
.
empNo
}
/
${
props
.
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
target
.
photoArr
.
push
({
target
.
photoArr
.
push
({
url
:
pictureUrl
url
:
pictureUrl
})
})
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/scheduleAdjustment.vue
浏览文件 @
5378ce81
...
@@ -181,9 +181,11 @@ const handleCostChange = async (index) => {
...
@@ -181,9 +181,11 @@ const handleCostChange = async (index) => {
const
displayPhotosRead
=
async
(
file
,
{
name
,
index
})
=>
{
const
displayPhotosRead
=
async
(
file
,
{
name
,
index
})
=>
{
// name:是当前照片组件所在陈列组的索引
// name:是当前照片组件所在陈列组的索引
// index: 当前照片组的索引
// index: 当前照片组的索引
const
date
=
new
Date
()
const
month
=
date
.
getMonth
()
+
1
const
theDate
=
date
.
getDate
()
const
target
=
displayGroup
.
value
[
name
]
const
target
=
displayGroup
.
value
[
name
]
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/scheduleAdjustmentPhoto/
${
date
.
getFullYear
()}
-
${
month
}
/
${
useUserStore
().
empInfo
.
empNo
}
/
${
props
.
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/scheduleAdjustmentPhoto/
${
useUserStore
().
empInfo
.
empNo
}
/
${
props
.
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
target
.
photoArr
.
push
({
target
.
photoArr
.
push
({
url
:
pictureUrl
url
:
pictureUrl
})
})
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/inspectionTask/tabs/scheduleDisplay.vue
浏览文件 @
5378ce81
...
@@ -181,9 +181,11 @@ const handleCostChange = async (index) => {
...
@@ -181,9 +181,11 @@ const handleCostChange = async (index) => {
const
displayPhotosRead
=
async
(
file
,
{
name
,
index
})
=>
{
const
displayPhotosRead
=
async
(
file
,
{
name
,
index
})
=>
{
// name:是当前照片组件所在陈列组的索引
// name:是当前照片组件所在陈列组的索引
// index: 当前照片组的索引
// index: 当前照片组的索引
const
date
=
new
Date
()
const
month
=
date
.
getMonth
()
+
1
const
theDate
=
date
.
getDate
()
const
target
=
displayGroup
.
value
[
name
]
const
target
=
displayGroup
.
value
[
name
]
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/scheduleDisplayPhoto/
${
date
.
getFullYear
()}
-
${
month
}
/
${
useUserStore
().
empInfo
.
empNo
}
/
${
props
.
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/scheduleDisplayPhoto/
${
useUserStore
().
empInfo
.
empNo
}
/
${
props
.
form
.
storeCode
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
target
.
photoArr
.
push
({
target
.
photoArr
.
push
({
url
:
pictureUrl
url
:
pictureUrl
})
})
...
...
src/views/mobile/pages/audit_activity/sales_point_inspection/examine/newTerminal.vue
浏览文件 @
5378ce81
...
@@ -37,7 +37,8 @@
...
@@ -37,7 +37,8 @@
label=
"门店类型"
label=
"门店类型"
label-align=
"top"
label-align=
"top"
placeholder=
"请选择"
placeholder=
"请选择"
@
click=
"showTypePopup = true"
:rules=
"[{ required: true, message: '请选择门店类型' }]"
/>
@
click=
"showTypePopup = true"
:rules=
"[{ required: true, message: '请选择门店类型' }]"
/>
<van-popup
v-model:show=
"showTypePopup"
<van-popup
v-model:show=
"showTypePopup"
position=
"bottom"
position=
"bottom"
@
close=
"showTypePopup = false"
>
@
close=
"showTypePopup = false"
>
...
@@ -80,7 +81,10 @@ const showTypePopup = ref(false);
...
@@ -80,7 +81,10 @@ const showTypePopup = ref(false);
// 门头照上传逻辑
// 门头照上传逻辑
const
posPhotosRead
=
async
(
file
)
=>
{
const
posPhotosRead
=
async
(
file
)
=>
{
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/newTerminal-storePhoto/
${
useUserStore
().
empInfo
.
empNo
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
const
date
=
new
Date
()
const
month
=
date
.
getMonth
()
+
1
const
theDate
=
date
.
getDate
()
const
pictureUrl
=
await
uploadFileToOSSAPI
(
`risk/newTerminal-storePhoto/
${
date
.
getFullYear
()}
-
${
month
}
/
${
useUserStore
().
empInfo
.
empNo
}
/
${
uuidv4
()}
.png`
,
file
.
file
)
form
.
storePicture
=
[{
form
.
storePicture
=
[{
url
:
pictureUrl
url
:
pictureUrl
}]
}]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论