Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
inspection-pad-web
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
专网
inspection-pad-web
Commits
9fe900e1
提交
9fe900e1
authored
4月 23, 2025
作者:
JaxBBLL
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
2793a121
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
11 行删除
+16
-11
afxt.vue
pages/inspectionContent/components/afxt.vue
+1
-1
detail.vue
pages/inspectionContent/components/detail.vue
+15
-10
没有找到文件。
pages/inspectionContent/components/afxt.vue
浏览文件 @
9fe900e1
...
@@ -244,7 +244,7 @@ export default {
...
@@ -244,7 +244,7 @@ export default {
// 确定需要校验的范围
// 确定需要校验的范围
const
itemsToCheck
=
const
itemsToCheck
=
thirdItem
.
inspectionResult
===
1
?
details
.
slice
(
0
,
2
)
:
details
;
thirdItem
.
inspectionResult
===
1
||
thirdItem
.
inspectionResult
===
2
?
details
.
slice
(
0
,
2
)
:
details
;
console
.
log
(
"确定需要校验的范围 "
,
itemsToCheck
);
console
.
log
(
"确定需要校验的范围 "
,
itemsToCheck
);
// 检查 conclusion 和 photos(如果存在)
// 检查 conclusion 和 photos(如果存在)
for
(
const
item
of
itemsToCheck
)
{
for
(
const
item
of
itemsToCheck
)
{
...
...
pages/inspectionContent/components/detail.vue
浏览文件 @
9fe900e1
...
@@ -290,16 +290,13 @@
...
@@ -290,16 +290,13 @@
>
>
<template
v-if=
"index==0"
>
<template
v-if=
"index==0"
>
<view>
<view>
{{
item
.
label
}}
{{
item
.
label
}}
(
{{
item
.
setting
}}
)
<text
<text
class=
"status"
class=
"status"
:class=
"
{ warning: item.inspectionResult === 1 }"
:class=
"
{ warning: item.inspectionResult === 1 }"
>
{{
item
.
inspectionResultLable
}}
>
{{
item
.
inspectionResultLable
}}
</text>
</text>
</view>
</view>
<!--
<text>
{{
item
.
settingLabel
}}
{{
`(${item.setting
}
)`
}}
<
/text> -->
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
{{
item
.
label
}}
{{
item
.
label
}}
...
@@ -311,12 +308,20 @@
...
@@ -311,12 +308,20 @@
</
template
>
</
template
>
</view
</view
>
>
<
view
v
-
if
=
"index==0"
class
=
"list"
>
<
template
v-if=
"index==0"
>
<
view
class
=
"label"
style
=
"width: 70px;"
>
{{
item
.
settingLabel
}}
:
<
/view>
<!--
<view
class=
"list"
>
<
view
class
=
"content"
>
<view
class=
"label"
style=
"width: 70px;"
>
{{
item
.
settingLabel
}}
:
</view>
{{
item
.
setting
}}
<view
class=
"content"
>
<
/view>
{{
item
.
setting
}}
<
/view
>
</view>
</view>
-->
<view
class=
"list"
>
<view
class=
"label"
style=
"width: 70px;"
>
{{
item
.
label
}}
:
</view>
<view
class=
"content"
>
{{
item
.
value
}}
</view>
</view>
</
template
>
<view
class=
"list"
>
<view
class=
"list"
>
<view
class=
"label"
>
情况描述:
</view>
<view
class=
"label"
>
情况描述:
</view>
<view
class=
"content"
>
<view
class=
"content"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论