Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
computedRoomPad
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
computedRoomPad
Commits
6f49b372
提交
6f49b372
authored
3月 30, 2025
作者:
caodi\cd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交
上级
b1504145
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
9 行删除
+19
-9
dialog.vue
pages/inspectionContent/components/dialog.vue
+1
-1
inspectionContentList.vue
pages/inspectionContent/inspectionContentList.vue
+9
-6
inspectionContentNew.vue
pages/inspectionContent/inspectionContentNew.vue
+9
-2
没有找到文件。
pages/inspectionContent/components/dialog.vue
浏览文件 @
6f49b372
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
>
>
</view><view
class=
"row-item bottom-row"
>
</view><view
class=
"row-item bottom-row"
>
<view
v-if=
"!startDialogData.isList"
class=
"button btn"
@
click=
"backList"
>
返回巡检列表
</view>
<view
v-if=
"!startDialogData.isList"
class=
"button btn"
@
click=
"backList"
>
返回巡检列表
</view>
<view
class=
"button"
@
click=
"confirmSignature"
>
我已到达
</view>
<view
v-if=
"!startDialogData.isLast"
class=
"button"
@
click=
"confirmSignature"
>
我已到达
</view>
</view>
</view>
<!-- 关闭按钮 -->
<!-- 关闭按钮 -->
...
...
pages/inspectionContent/inspectionContentList.vue
浏览文件 @
6f49b372
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"box"
v-if=
"!isSign"
>
<view
class=
"box"
v-if=
"!isSign"
>
<view
class=
"bar"
>
<view
class=
"bar"
>
<view
class=
"title"
>
巡检进度
</view>
<view
class=
"title"
>
巡检进度
</view>
<view
class=
"dai"
>
<view
class=
"dai"
>
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
</view>
</view>
<detail
ref=
"detail"
:jfType=
"jfType"
:detailsItem=
"detailsItem"
></detail
<detail
ref=
"detail"
:jfType=
"jfType"
:detailsItem=
"detailsItem"
></detail
></view>
></view>
<view
class=
"submit-module"
>
<view
v-if=
"!isSign"
class=
"submit-module"
>
<view
class=
"action-btn"
@
click=
"startDialogBtn()"
>
开始巡检
</view>
<view
class=
"action-btn"
@
click=
"startDialogBtn()"
>
开始巡检
</view>
</view>
</view>
<signDialog
ref=
"signDialog"
@
confirm=
"handlePopupConfirm"
></signDialog>
<signDialog
ref=
"signDialog"
@
confirm=
"handlePopupConfirm"
></signDialog>
...
@@ -321,7 +321,8 @@ export default {
...
@@ -321,7 +321,8 @@ export default {
this
.
isSubmit
=
this
.
detailsInfo
.
isSubmit
;
this
.
isSubmit
=
this
.
detailsInfo
.
isSubmit
;
this
.
isSign
=
this
.
detailsInfo
.
isSign
;
this
.
isSign
=
this
.
detailsInfo
.
isSign
;
this
.
detailsItem
=
detailsInfo
.
originData
[
0
].
details
;
this
.
detailsItem
=
detailsInfo
.
originData
[
0
].
details
;
if
(
this
.
detailsItem
.
afxt
.
detail
[
2
].
inspectionResult
===
1
)
{
console
.
log
(
12121
)
if
(
this
.
detailsItem
.
afxt
&&
this
.
detailsItem
.
afxt
.
detail
&&
this
.
detailsItem
.
afxt
.
detail
[
2
].
inspectionResult
===
1
)
{
this
.
detailsItem
.
afxt
.
detail
=
this
.
detailsItem
.
afxt
.
detail
.
slice
(
this
.
detailsItem
.
afxt
.
detail
=
this
.
detailsItem
.
afxt
.
detail
.
slice
(
0
,
0
,
3
3
...
@@ -400,6 +401,7 @@ export default {
...
@@ -400,6 +401,7 @@ export default {
},
},
// 跳转到具体的机房
// 跳转到具体的机房
toShaftInspection
(
name
,
jfType
,
value
)
{
toShaftInspection
(
name
,
jfType
,
value
)
{
console
.
log
(
"name, 跳转到具体的机房, value"
,
name
,
jfType
,
value
)
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/inspectionContent/inspectionContentNew?value=
${
value
}
&inspectionCode=
${
this
.
inspectionCode
}
&jfType=
${
jfType
}
&location=
${
name
}
&uid=
${
this
.
uid
}
&backValue=
${
this
.
backValue
}
`
,
url
:
`/pages/inspectionContent/inspectionContentNew?value=
${
value
}
&inspectionCode=
${
this
.
inspectionCode
}
&jfType=
${
jfType
}
&location=
${
name
}
&uid=
${
this
.
uid
}
&backValue=
${
this
.
backValue
}
`
,
});
});
...
@@ -682,6 +684,8 @@ export default {
...
@@ -682,6 +684,8 @@ export default {
padding: 12.8px 19.2px;
padding: 12.8px 19.2px;
height: calc(100vh - 232px - 19.2px);
height: calc(100vh - 232px - 19.2px);
&.detail {
&.detail {
height: calc(100vh - 200px);
border-radius: 9.6px;
overflow: auto;
overflow: auto;
.card-wrapper {
.card-wrapper {
width: calc((100% - 4 * 12.8px) / 5); /* 严格五等分宽度 */
width: calc((100% - 4 * 12.8px) / 5); /* 严格五等分宽度 */
...
@@ -809,12 +813,11 @@ export default {
...
@@ -809,12 +813,11 @@ export default {
width: 145.6px;
width: 145.6px;
height: 38.4px;
height: 38.4px;
line-height: 38.4px;
line-height: 38.4px;
background: #ffffff;
background-image: linear-gradient(180deg, #3773f6 0%, #2c57f6 99%);
border: 0.8px solid rgba(224, 224, 224, 1);
box-shadow: 0px 8px 19.2px 0px rgba(185, 185, 185, 0.24);
box-shadow: 0px 8px 19.2px 0px rgba(185, 185, 185, 0.24);
border-radius: 21.6px 19.2px 19.2px 21.6px;
border-radius: 21.6px 19.2px 19.2px 21.6px;
font-size: 16px;
font-size: 16px;
color: #
000000
;
color: #
fff
;
text-align: center;
text-align: center;
font-weight: 400;
font-weight: 400;
...
...
pages/inspectionContent/inspectionContentNew.vue
浏览文件 @
6f49b372
...
@@ -242,7 +242,9 @@ export default {
...
@@ -242,7 +242,9 @@ export default {
this
.
inspectionCode
=
options
.
inspectionCode
;
this
.
inspectionCode
=
options
.
inspectionCode
;
this
.
backValue
=
options
.
backValue
||
""
;
this
.
backValue
=
options
.
backValue
||
""
;
this
.
tabs
=
this
.
tabs
=
this
.
jfType
===
"2"
||
this
.
jfType
===
"3"
?
this
.
deepClone
(
tabsInfo2
)
:
this
.
deepClone
(
tabsInfo1
);
this
.
jfType
===
"2"
||
this
.
jfType
===
"3"
?
this
.
deepClone
(
tabsInfo2
)
:
this
.
deepClone
(
tabsInfo1
);
console
.
log
(
"机房查看options"
,
options
);
console
.
log
(
"机房查看options"
,
options
);
if
(
options
.
uid
)
{
if
(
options
.
uid
)
{
this
.
getDetails
(
options
.
uid
);
this
.
getDetails
(
options
.
uid
);
...
@@ -293,7 +295,10 @@ export default {
...
@@ -293,7 +295,10 @@ export default {
this
.
list
=
detailsInfo
.
originData
[
this
.
value
-
1
].
details
;
this
.
list
=
detailsInfo
.
originData
[
this
.
value
-
1
].
details
;
console
.
log
(
"查看list"
,
this
.
list
);
console
.
log
(
"查看list"
,
this
.
list
);
this
.
tabs
.
forEach
((
item
)
=>
{
this
.
tabs
.
forEach
((
item
)
=>
{
if
(
this
.
list
[
item
.
value
]
&&
this
.
list
[
item
.
value
].
status
!==
undefined
)
{
if
(
this
.
list
[
item
.
value
]
&&
this
.
list
[
item
.
value
].
status
!==
undefined
)
{
item
.
status
=
this
.
list
[
item
.
value
].
status
;
item
.
status
=
this
.
list
[
item
.
value
].
status
;
}
}
});
});
...
@@ -536,6 +541,7 @@ export default {
...
@@ -536,6 +541,7 @@ export default {
},
},
startDialog
()
{
startDialog
()
{
let
allIsSubmitOne
=
this
.
listData
.
every
((
item
)
=>
item
.
isSubmit
===
1
);
let
allIsSubmitOne
=
this
.
listData
.
every
((
item
)
=>
item
.
isSubmit
===
1
);
this
.
allIsSubmitOne
=
allIsSubmitOne
;
console
.
log
(
"是否全部完成"
,
allIsSubmitOne
);
console
.
log
(
"是否全部完成"
,
allIsSubmitOne
);
console
.
log
(
"this.listData"
,
this
.
listData
);
console
.
log
(
"this.listData"
,
this
.
listData
);
let
item
=
this
.
findTargetObject
(
this
.
listData
);
let
item
=
this
.
findTargetObject
(
this
.
listData
);
...
@@ -554,6 +560,7 @@ export default {
...
@@ -554,6 +560,7 @@ export default {
`本次巡检任务已全部完成,`
,
`本次巡检任务已全部完成,`
,
"请“返回巡检列表”进行签名及数据同步"
,
"请“返回巡检列表”进行签名及数据同步"
,
];
];
this
.
startDialogData
.
isLast
=
true
;
}
}
this
.
$refs
.
startDialog
.
open
();
this
.
$refs
.
startDialog
.
open
();
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论