Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
inspection-pad-web
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
专网
inspection-pad-web
Commits
80022c88
提交
80022c88
authored
4月 17, 2025
作者:
zs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
edit
上级
0b91117e
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
34 行增加
和
19 行删除
+34
-19
log.js
api/log.js
+19
-0
operLog.vue
pages/index/operLog.vue
+0
-0
index.vue
pages/listingManagement/index.vue
+15
-19
没有找到文件。
api/log.js
浏览文件 @
80022c88
...
@@ -19,6 +19,25 @@ export default {
...
@@ -19,6 +19,25 @@ export default {
}
}
},
},
async
pageSelect
(
data
){
let
sqllitedb
=
await
SqlliteDbUtil
.
initSqlliteDB
()
let
pre
=
(
data
.
page
-
1
)
*
data
.
size
let
nxt
=
data
.
size
try
{
let
count
=
await
sqllitedb
.
selectSQL
(
`select count(*) as total from
${
table
.
logListName
}
limit 1 `
)
let
sql
=
`select * from
${
table
.
logListName
}
ORDER BY time desc limit
${
nxt
}
offset
${
pre
}
`
let
rs
=
await
sqllitedb
.
selectSQL
(
sql
)
console
.
log
(
'sql'
,
sql
)
return
{
data
:
rs
||
[],
total
:
count
[
0
].
total
||
0
}
}
catch
(
e
)
{
console
.
log
(
e
.
message
)
}
finally
{
await
sqllitedb
.
closeDB
();
}
},
async
addlog
(
data
)
{
async
addlog
(
data
)
{
let
sqllitedb
=
await
SqlliteDbUtil
.
initSqlliteDB
()
let
sqllitedb
=
await
SqlliteDbUtil
.
initSqlliteDB
()
try
{
try
{
...
...
pages/index/operLog.vue
浏览文件 @
80022c88
差异被折叠。
点击展开。
pages/listingManagement/index.vue
浏览文件 @
80022c88
...
@@ -77,7 +77,11 @@
...
@@ -77,7 +77,11 @@
mode=
"aspectFill"
mode=
"aspectFill"
class=
"photo"
class=
"photo"
></image>
></image>
<view
class=
"photo-mask"
>
拍摄时间:
{{
photo
.
time
}}
</view>
<view
class=
"photo-mask"
>
<view>
照片编号:
{{
photo
.
id
}}
</view>
<view>
拍摄时间:
{{
photo
.
time
}}
</view>
<view>
数据同步:
{{
photo
.
synchronization
?
"已同步"
:
"待同步"
}}
</view>
</view>
<view
<view
class=
"check-icon"
class=
"check-icon"
:class=
"
{ active: photo.selected }"
:class=
"
{ active: photo.selected }"
...
@@ -96,7 +100,7 @@
...
@@ -96,7 +100,7 @@
photo
.
synchronization
?
"已同步"
:
"待同步"
photo
.
synchronization
?
"已同步"
:
"待同步"
}}
</view>
}}
</view>
<view
class=
"photo-info"
>
<view
class=
"photo-info"
>
<text
class=
"no"
>
照片编号:
{{
photo
.
id
}}
</text>
照片编号:
{{
photo
.
id
}}
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -485,9 +489,7 @@ export default {
...
@@ -485,9 +489,7 @@ export default {
height: 168px;
height: 168px;
}
}
.photo-mask{
position: absolute;
}
.check-icon {
.check-icon {
position: absolute;
position: absolute;
top: 6.4px;
top: 6.4px;
...
@@ -540,7 +542,6 @@ export default {
...
@@ -540,7 +542,6 @@ export default {
.photo-mask{
.photo-mask{
background: rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, 0.5);
color: #ffffff;
color: #ffffff;
text-align: center;
position: absolute;
position: absolute;
bottom: 26.4px;
bottom: 26.4px;
width: 148px;
width: 148px;
...
@@ -548,25 +549,20 @@ export default {
...
@@ -548,25 +549,20 @@ export default {
right: 0;
right: 0;
border-radius: 4.8px;
border-radius: 4.8px;
margin:0 auto;
margin:0 auto;
padding:
3.6
px;
padding:
4.8
px;
font-size: 9.6px;
font-size: 9.6px;
color: #ffffff;
color: #ffffff;
line-height: 16px;
line-height: 16px;
font-weight: 400;
text-shadow: 0 0 2px rgba(0,0,0,0.30);
text-shadow: 0 0 2px rgba(0,0,0,0.30);
font-weight: 400;
}
}
.photo-info {
.photo-info {
text-align: center;
text-align: center;
font-family: PingFangSC-Regular;
text {
font-size: 11.2px;
font-family: PingFangSC-Regular;
color: #000000;
font-size: 11.2px;
line-height: 17.6px;
color: #000000;
font-weight: 400;
line-height: 17.6px;
}
font-weight: 400;
}
}
}
}
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论