Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
inspection-pad-web
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
专网
inspection-pad-web
Commits
51fecdec
提交
51fecdec
authored
4月 02, 2026
作者:
何宗全
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去掉查看样表
上级
3aadda37
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
59 行增加
和
49 行删除
+59
-49
jfwsd.vue
pages/inspectionContent/components/jfwsd.vue
+6
-3
ledp.vue
pages/inspectionContent/components/ledp.vue
+41
-37
inspectionContent.vue
pages/inspectionContent/inspectionContent.vue
+3
-3
inspectionContentList.vue
pages/inspectionContent/inspectionContentList.vue
+2
-2
shaftInspection.vue
pages/shaftInspection/shaftInspection.vue
+4
-4
0c2e186a2ffff9b11f7b1cf9dd356342.keystore
zs/0c2e186a2ffff9b11f7b1cf9dd356342.keystore
+0
-0
zI7Z5z3b.txt
zs/zI7Z5z3b.txt
+3
-0
没有找到文件。
pages/inspectionContent/components/jfwsd.vue
浏览文件 @
51fecdec
...
...
@@ -247,8 +247,8 @@ export default {
// 遍历每一项进行检查
for
(
const
item
of
details
)
{
if
(
item
.
inspectionResult
===
0
)
{
if
(
!
item
.
value
)
{
return
false
;
if
(
!
item
.
value
)
{
return
false
;
}
}
else
if
(
item
.
inspectionResult
===
1
)
{
// 如果 inspectionResult 为 1,检查 conclusion 和 photos
...
...
@@ -270,7 +270,10 @@ export default {
let
hasOne
=
false
;
for
(
const
item
of
details
)
{
if
(
item
.
inspectionResult
===
""
)
{
if
(
!
item
.
value
){
hasEmpty
=
true
;
break
;
}
else
if
(
item
.
inspectionResult
===
""
)
{
hasEmpty
=
true
;
break
;
}
else
if
(
item
.
inspectionResult
===
1
)
{
...
...
pages/inspectionContent/components/ledp.vue
浏览文件 @
51fecdec
<
template
>
<!-- 机房巡检操作 -->
<view>
<view
v-for=
"(item, index) in itemData.detail"
:key=
"index"
>
<view
class=
"form-item"
>
<text
class=
"form-label"
><text
class=
"required"
>
*
</text>
{{
item
.
label
}}
</text
>
<view
class=
"switch-container"
>
<view
:class=
"['status-btn',
{ active: item.inspectionResult === 0 }]"
@click="setInspectionResult(index, 0, item.lableArr[0])"
>
{{
item
.
lableArr
[
0
]
}}
</view>
<view
:class=
"['status-btn',
{ active: item.inspectionResult === 1 }]"
@click="setInspectionResult(index, 1, item.lableArr[1])"
>
{{
item
.
lableArr
[
1
]
}}
<template
v-for=
"(item, index) in itemData.detail"
>
<view
:key=
"index"
v-if=
"item.label != '配电箱外观'"
>
<view
class=
"form-item"
>
<text
class=
"form-label"
>
<text
class=
"required"
>
*
</text>
{{
item
.
label
}}
</text>
<view
class=
"switch-container"
>
<view
:class=
"['status-btn',
{ active: item.inspectionResult === 0 }]"
@click="setInspectionResult(index, 0, item.lableArr[0])"
>
{{
item
.
lableArr
[
0
]
}}
</view>
<view
:class=
"['status-btn',
{ active: item.inspectionResult === 1 }]"
@click="setInspectionResult(index, 1, item.lableArr[1])"
>
{{
item
.
lableArr
[
1
]
}}
</view>
</view>
</view>
<template
v-if=
"item.inspectionResult === 1"
>
<view
class=
"form-item"
>
<text
class=
"form-label"
>
<text
class=
"required"
>
*
</text>
情况摘要
</text>
<text
:class=
"['conclusion',
{ 'no-text': !item.conclusion }]"
@click="showPopup(item, index)"
>
{{
item
.
conclusion
||
"请输入情况摘要"
}}
</text>
</view>
<view
class=
"form-item"
>
<text
class=
"form-label"
>
<text
class=
"required"
>
*
</text>
现场照片
</text>
<CommonUpload
v-model=
"item.photos"
:max-count=
"5"
>
</CommonUpload>
</view>
</
template
>
</view>
<template
v-if=
"item.inspectionResult === 1"
>
<view
class=
"form-item"
>
<text
class=
"form-label"
><text
class=
"required"
>
*
</text>
情况摘要
</text
>
<text
:class=
"['conclusion',
{ 'no-text': !item.conclusion }]"
@click="showPopup(item, index)"
>
{{
item
.
conclusion
||
"请输入情况摘要"
}}
</text
>
</view>
<view
class=
"form-item"
>
<text
class=
"form-label"
><text
class=
"required"
>
*
</text>
现场照片
</text
>
<CommonUpload
v-model=
"item.photos"
:max-count=
"5"
>
</CommonUpload>
</view
></
template
>
</view
><custom-popup
</template>
<custom-popup
ref=
"customPopup"
:inspectionItem=
"inspectionItem"
@
confirm=
"handlePopupConfirm"
...
...
@@ -95,6 +98,7 @@ export default {
conclusion
:
""
,
photos
:
[],
},
// 配电箱外观 山南独有
],
},
};
...
...
pages/inspectionContent/inspectionContent.vue
浏览文件 @
51fecdec
...
...
@@ -25,9 +25,9 @@
<view
class=
"look-from"
@
click=
"lookTable"
>
<text
class=
"iconfont icon-see-s"
></text>
查看样表
</view
></view
>
查看样表
</view>
</view
>
</block>
</uni-nav-bar>
...
...
pages/inspectionContent/inspectionContentList.vue
浏览文件 @
51fecdec
...
...
@@ -12,9 +12,9 @@
</view>
</block>
<block
slot=
"right"
class=
"nav-right"
>
<view
class=
"header-buttons"
>
<
!--
<
view
class=
"header-buttons"
>
<view
class=
"button"
@
click=
"lookTable"
>
查看样表
</view>
</view>
</view>
-->
</block>
</uni-nav-bar>
<view
class=
"profile-section"
>
...
...
pages/shaftInspection/shaftInspection.vue
浏览文件 @
51fecdec
...
...
@@ -23,11 +23,11 @@
<text
class=
"iconfont icon-delete"
></text
></view>
<view
class=
"look-from"
@
click=
"lookTable"
>
<view
class=
"look-from"
@
click=
"lookTable"
>
<text
class=
"iconfont icon-see-s"
></text>
查看样表
</view
></view
>
查看样表
</view>
</view
>
</block>
</uni-nav-bar>
...
...
zs/0c2e186a2ffff9b11f7b1cf9dd356342.keystore
0 → 100644
浏览文件 @
51fecdec
File added
zs/zI7Z5z3b.txt
0 → 100644
浏览文件 @
51fecdec
别名:__uni__a11bfd5
密码:zI7Z5z3b
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论