Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
computedRoomPad
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
computedRoomPad
Commits
308a35c6
提交
308a35c6
authored
3月 25, 2025
作者:
caodi\cd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:优化
上级
9e026987
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
23 行增加
和
14 行删除
+23
-14
manifest.json
manifest.json
+2
-2
detail.vue
pages/inspectionContent/components/detail.vue
+0
-1
inspectionContentList.vue
pages/inspectionContent/inspectionContentList.vue
+14
-6
dialog.vue
pages/listingManagement/dialog.vue
+4
-4
index.vue
pages/listingManagement/index.vue
+1
-0
IoReadingAndWriting.js
utils/IoReadingAndWriting.js
+1
-0
systemCofig.js
utils/systemCofig.js
+1
-1
没有找到文件。
manifest.json
浏览文件 @
308a35c6
...
...
@@ -28,8 +28,8 @@
/*
android打包配置
*/
"android"
:
{
"permissions"
:
[
"<uses-permission android:name=
\"
android.permission.READ_EXTERNAL_STORAGE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.WRITE_EXTERNAL_STORAGE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.READ_EXTERNAL_STORAGE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.WRITE_EXTERNAL_STORAGE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.CHANGE_NETWORK_STATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.MOUNT_UNMOUNT_FILESYSTEMS
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.VIBRATE
\"
/>"
,
...
...
pages/inspectionContent/components/detail.vue
浏览文件 @
308a35c6
...
...
@@ -418,7 +418,6 @@ export default {
height
:
calc
(
100
vh
-
180
px
);
border
-
radius
:
0
0
9.6
px
9.6
px
;
background
-
color
:
#
fff
;
padding
:
0
19.2
px
19.2
px
;
.
weitu
{
width
:
100
%
;
margin
-
bottom
:
19.2
px
;
...
...
pages/inspectionContent/inspectionContentList.vue
浏览文件 @
308a35c6
...
...
@@ -53,7 +53,7 @@
>
</view>
</view>
<view
v-if=
"!isSign"
class=
"card-box"
>
<view
v-if=
"!isSign"
class=
"card-box"
>
<view
class=
"card-row"
:class=
"
{ right: rowIndex % 2 !== 0 }"
...
...
@@ -91,7 +91,7 @@
</view>
</view></view
>
<view
v-else
class=
"card-box"
>
<view
v-else
class=
"card-box
detail
"
>
<view
class=
"card-row"
:class=
"
{ right: rowIndex % 2 !== 0 }"
...
...
@@ -157,7 +157,7 @@ export default {
options
:
{},
//存储数据
backValue
:
""
,
all_data
:
[],
//所有数据
jfType
:
"0"
,
//机房类型
jfType
:
"0"
,
//机房类型
};
},
computed
:
{
...
...
@@ -259,7 +259,7 @@ export default {
// 获取机房详情
getDetailsItem
(
location
,
jfType
,
value
)
{
this
.
detailsItem
=
this
.
detailsInfo
.
originData
[
value
-
1
].
details
;
this
.
jfType
=
this
.
detailsInfo
.
originData
[
value
-
1
].
jfType
this
.
jfType
=
this
.
detailsInfo
.
originData
[
value
-
1
].
jfType
;
if
(
this
.
detailsItem
.
afxt
.
detail
[
2
].
inspectionResult
===
1
)
{
this
.
detailsItem
.
afxt
.
detail
=
this
.
detailsItem
.
afxt
.
detail
.
slice
(
0
,
3
);
}
...
...
@@ -512,8 +512,16 @@ export default {
background: #ffffff;
border-radius: 0 0 9.6px 9.6px;
padding: 12.8px 19.2px;
height: calc(100vh - 225px);
// overflow: auto;
height: calc(100vh - 232px - 19.2px);
&.detail {
overflow: auto;
.card-wrapper {
width: calc((100% - 4 * 12.8px) / 5); /* 严格五等分宽度 */
.card {
margin-bottom: 12.8px;
}
}
}
}
.card-row {
display: flex;
...
...
pages/listingManagement/dialog.vue
浏览文件 @
308a35c6
...
...
@@ -166,7 +166,7 @@ export default {
writeDeviceData
(
tmepList
,
userName
)
.
then
((
res
)
=>
{
console
.
log
(
"tmepList"
,
tmepList
);
this
.
$store
.
commit
(
"SET_DEVICEDATA"
,
arr
);
this
.
$store
.
commit
(
"SET_DEVICEDATA"
,
this
.
list
);
console
.
log
(
"arr"
,
arr
);
setTimeout
(()
=>
{
uni
.
showToast
({
...
...
@@ -191,11 +191,11 @@ export default {
// 更新同步时间
this
.
updateSysTime
();
this
.
getDetails
();
// this.getDetails();
},
2
*
1000
,
uni
.
navigateTo
({
url
:
"/pages/listingManagement/index?backValue=home"
,
});
},
2
*
1000
);
}));
})
.
catch
((
error
)
=>
{
this
.
loading
=
false
;
...
...
pages/listingManagement/index.vue
浏览文件 @
308a35c6
...
...
@@ -195,6 +195,7 @@ export default {
};
console
.
log
(
"newPhoto"
,
newPhoto
);
$this
.
photos
.
unshift
(
newPhoto
);
console
.
log
(
"$this.photos"
,
$this
.
photos
);
$this
.
addPhotos
(
$this
.
photos
,
`照片编号(
${
newPhoto
.
id
}
)`
,
...
...
utils/IoReadingAndWriting.js
浏览文件 @
308a35c6
...
...
@@ -199,6 +199,7 @@ export const writeDeviceData = (content, userName) => {
fileName
,
fileContent
).
then
((
res
)
=>
{
console
.
log
(
"更新"
,
res
)
// store 更新 设备上架. 缓存数据置为空,让接口重新读取文件数据
store
.
commit
(
"SET_DEVICEDATA"
,
[]);
resolve
();
...
...
utils/systemCofig.js
浏览文件 @
308a35c6
...
...
@@ -231,7 +231,7 @@ export async function checkFileExists(directoryPath, fileName) {
);
});
}
createFileWithPlusIO
export
const
readFilesInDirectory
=
async
(
directoryPath
)
=>
{
const
promiseArr
=
[];
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论