Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
inspection-pad-web
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
专网
inspection-pad-web
Commits
1da6ceaf
提交
1da6ceaf
authored
4月 27, 2025
作者:
zs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
复制设备上传照片到list
上级
457ba96b
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
24 行增加
和
15 行删除
+24
-15
dialog.vue
pages/listingManagement/dialog.vue
+24
-15
没有找到文件。
pages/listingManagement/dialog.vue
浏览文件 @
1da6ceaf
...
...
@@ -38,16 +38,16 @@
</
template
>
<
script
>
import
{
import
{
SYNCHRONIZE_DATA_PAD
,
checkAndCreateDirectory
,
createFileWithPlusIO
,
setSm2
,
USER_FILE_NAME
,
getUserList
,
}
from
"@/utils/systemCofig"
;
}
from
"@/utils/systemCofig"
;
import
{
import
{
copyDirectory
,
deleteAllFilesInDirectory
,
addLog
,
...
...
@@ -55,11 +55,13 @@ import {
LOG_TYPE_ENUM
,
writeDeviceData
,
copyImagesToFolder
,
}
from
"@/utils/IoReadingAndWriting.js"
;
import
moment
from
"moment"
;
import
{
Base64
}
from
"js-base64"
;
}
from
"@/utils/IoReadingAndWriting.js"
;
import
moment
from
"moment"
;
import
{
Base64
}
from
"js-base64"
;
export
default
{
export
default
{
props
:
{
list
:
{
type
:
Array
,
...
...
@@ -112,9 +114,11 @@ export default {
this
.
coverData
();
},
// 保存图片到指定地址
copyImages
(
imagePaths
,
userName
)
{
async
copyImages
(
imagePaths
,
userName
)
{
const
targetPath
=
`
${
SYNCHRONIZE_DATA_PAD
}
/设备上架照片/
${
userName
}
`
;
const
backtargetPath
=
`
${
SYNCHRONIZE_DATA_PAD
}
/list/
${
userName
}
`
;
// 复制文件到list目录下
console
.
log
(
"imagePath打包"
,
imagePaths
);
await
copyImagesToFolder
(
imagePaths
,
backtargetPath
)
//请空文件夹
deleteAllFilesInDirectory
(
targetPath
).
then
(()
=>
{
// 复制
...
...
@@ -256,10 +260,10 @@ export default {
});
},
},
};
};
</
script
>
<
style
scoped
lang=
"less"
>
.synchronous-dialog {
.synchronous-dialog {
position: fixed;
z-index: 999;
top: 0;
...
...
@@ -270,18 +274,17 @@ export default {
display: flex;
align-items: center;
justify-content: center;
.synchronous-content {
padding: 3% 20px 32px 24px;
width: 400px;
height: 60%;
box-sizing: border-box;
background-image: linear-gradient(
-6deg,
background-image: linear-gradient(-6deg,
#f9ffe7 0%,
#ffffff 12%,
#fcfeff 73%,
#ccf1ff 100%
);
#ccf1ff 100%);
border: 0.4px solid rgba(224, 224, 224, 1);
border-radius: 12px;
position: relative;
...
...
@@ -300,9 +303,11 @@ export default {
line-height: 26px;
font-weight: 500;
}
.count-num {
margin: 5% 0 5% 0;
align-items: flex-end;
.num {
display: inline-block;
font-family: AlibabaPuHuiTi_2_65_Medium;
...
...
@@ -315,6 +320,7 @@ export default {
.operating-instructions {
margin-bottom: 8%;
.title {
font-size: 13px;
color: #4a4a4a;
...
...
@@ -322,6 +328,7 @@ export default {
font-weight: 600;
text-align: left;
}
.instructions-item {
font-size: 12px;
color: #7c7c7c;
...
...
@@ -356,10 +363,11 @@ export default {
bottom: -40px;
left: 50%;
transform: translateX(-50%);
.iconfont {
font-size: 24px;
}
}
}
}
}
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论