Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
monthReport_smzx
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
monthReport_smzx
Commits
cf769f30
提交
cf769f30
authored
9月 29, 2024
作者:
邓文彬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(pad): bug修改
上级
01fa8e11
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
340 行增加
和
91 行删除
+340
-91
inspFirst.vue
pages/inspection/inspFirst.vue
+6
-6
inspectionContent.vue
pages/inspectionContent/inspectionContent.vue
+3
-3
batteryRoom.vue
pages/inspectionContent/model/batteryRoom.vue
+78
-8
computerRoomDuty.vue
pages/inspectionContent/model/computerRoomDuty.vue
+7
-22
dutyHandover.vue
pages/inspectionContent/model/dutyHandover.vue
+12
-22
gatherDataCenter.vue
pages/inspectionContent/model/gatherDataCenter.vue
+76
-4
shieldedComputerRoom.vue
pages/inspectionContent/model/shieldedComputerRoom.vue
+79
-7
tabs.vue
pages/inspectionContent/model/tabs.vue
+1
-1
tabContentItem.vue
pages/shaftInspection/model/tabContentItem.vue
+64
-2
tabs.vue
pages/shaftInspection/model/tabs.vue
+2
-2
shaftInspection.vue
pages/shaftInspection/shaftInspection.vue
+5
-4
dict.js
utils/dict.js
+7
-10
没有找到文件。
pages/inspection/inspFirst.vue
浏览文件 @
cf769f30
...
@@ -86,11 +86,11 @@ export default {
...
@@ -86,11 +86,11 @@ export default {
},
},
],
],
formData
:
{
formData
:
{
inspectionType
:
"
1
"
,
inspectionType
:
""
,
inspectionCode
:
"
1
"
,
inspectionCode
:
""
,
recordName
:
"
1
"
,
recordName
:
""
,
inspectionTime
:
"
1
"
,
inspectionTime
:
""
,
inspectionBy
:
"
1
"
,
inspectionBy
:
""
,
},
},
};
};
},
},
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
inspectionType
:
"1"
,
inspectionType
:
"1"
,
inspectionCode
:
`JFXJ
${
moment
().
format
(
"yyyyMMDDhhmmss"
)}${(
Math
.
floor
(
Math
.
random
()
*
900
)
+
100
)}
`
,
inspectionCode
:
`JFXJ
${
moment
().
format
(
"yyyyMMDDhhmmss"
)}${(
Math
.
floor
(
Math
.
random
()
*
900
)
+
100
)}
`
,
recordName
:
`
${
moment
().
format
(
"yyyyMMDD"
)}
-机房巡检记录`
,
recordName
:
`
${
moment
().
format
(
"yyyyMMDD"
)}
-机房巡检记录`
,
inspectionTime
:
moment
().
format
(
"yyyy-MM-DD HH:mm
:ss
"
),
inspectionTime
:
moment
().
format
(
"yyyy-MM-DD HH:mm"
),
inspectionBy
:
this
.
$store
.
state
.
now_user
.
user
,
inspectionBy
:
this
.
$store
.
state
.
now_user
.
user
,
inspectionById
:
this
.
$store
.
state
.
now_user
.
userId
,
inspectionById
:
this
.
$store
.
state
.
now_user
.
userId
,
createByName
:
this
.
$store
.
state
.
now_user
.
user
,
createByName
:
this
.
$store
.
state
.
now_user
.
user
,
...
...
pages/inspectionContent/inspectionContent.vue
浏览文件 @
cf769f30
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
><text
class=
"text"
>
{{
baseInfo
.
inspectionCode
}}
</text>
><text
class=
"text"
>
{{
baseInfo
.
inspectionCode
}}
</text>
</view>
</view>
<view
class=
"base-row-item"
<view
class=
"base-row-item"
><text
class=
"name"
>
巡检
日期
</text
><text
class=
"name"
>
巡检
时间
</text
><text
class=
"text"
>
{{
baseInfo
.
inspectionTime
}}
</text>
><text
class=
"text"
>
{{
baseInfo
.
inspectionTime
}}
</text>
</view>
</view>
</view>
</view>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</view>
</view>
<view
class=
"main"
>
<view
class=
"main"
>
<view
class=
"content_header"
>
巡检项目
(pm)
</view>
<view
class=
"content_header"
>
巡检项目
</view>
<!-- tabls -->
<!-- tabls -->
<Tabs
class=
"tabs"
ref=
"tabs"
:options=
"tabList"
@
change=
"changeTab"
/>
<Tabs
class=
"tabs"
ref=
"tabs"
:options=
"tabList"
@
change=
"changeTab"
/>
...
@@ -167,7 +167,7 @@ export default {
...
@@ -167,7 +167,7 @@ export default {
name
:
"电池间"
,
name
:
"电池间"
,
isVaild
:
false
,
// 校验通过
isVaild
:
false
,
// 校验通过
position
:
pad_1_3_inspection_position
.
rows
,
position
:
pad_1_3_inspection_position
.
rows
,
descript
:
"
痕迹检查
"
,
descript
:
""
,
},
},
{
{
name
:
"机房值班"
,
name
:
"机房值班"
,
...
...
pages/inspectionContent/model/batteryRoom.vue
浏览文件 @
cf769f30
...
@@ -50,24 +50,37 @@
...
@@ -50,24 +50,37 @@
<uni-forms-item
<uni-forms-item
v-if=
"item.inspectionResult == 1"
v-if=
"item.inspectionResult == 1"
required
required
class=
"row-item"
class=
"row-item
note-item
"
label=
"情况摘要"
label=
"情况摘要"
name=
"notes"
name=
"notes"
>
>
<
input
<
textarea
type=
"text"
type=
"text"
:disabled=
"isDisable"
:disabled=
"isDisable"
v-model=
"item.notes"
v-model=
"item.notes"
placeholder=
"请输入内容"
placeholder=
"请输入内容"
/>
/>
<view
class=
"qucik-content"
>
<view
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</view>
<view
v-if=
"!isDisable"
>
<text
class=
"qucik-text"
v-for=
"quickItem in quickTextList"
:key=
"quickItem.text"
@
click=
"clickQuick(item, quickItem)"
>
{{
quickItem
.
text
}}
</text
>
</view>
</view>
</uni-forms-item>
</uni-forms-item>
</uni-forms>
</uni-forms>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
import
{
pad_1_
1
_inspection_items
,
pad_1_
3
_inspection_items
,
pad_1_
1
_inspection_position
,
pad_1_
3
_inspection_position
,
pad_room_type
,
pad_room_type
,
}
from
"@/utils/dict.js"
;
}
from
"@/utils/dict.js"
;
...
@@ -104,6 +117,17 @@ export default {
...
@@ -104,6 +117,17 @@ export default {
},
},
roomTypeLabel
:
"电池间巡检"
,
// 用于获取类型值
roomTypeLabel
:
"电池间巡检"
,
// 用于获取类型值
quickTextList
:
[
{
text
:
"有异常"
,
},
{
text
:
"已处理"
,
},
{
text
:
"需派单维修"
,
},
],
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -154,7 +178,7 @@ export default {
...
@@ -154,7 +178,7 @@ export default {
(
item
)
=>
item
.
dictLabel
==
roomTypeLabel
(
item
)
=>
item
.
dictLabel
==
roomTypeLabel
)[
0
].
dictValue
;
)[
0
].
dictValue
;
const
temp
=
pad_1_
1
_inspection_items
.
rows
.
map
((
item
)
=>
{
const
temp
=
pad_1_
3
_inspection_items
.
rows
.
map
((
item
)
=>
{
return
{
return
{
// ...item,
// ...item,
dictLabel
:
item
.
dictLabel
,
dictLabel
:
item
.
dictLabel
,
...
@@ -172,15 +196,13 @@ export default {
...
@@ -172,15 +196,13 @@ export default {
{
{
value
:
1
,
value
:
1
,
label
:
"异常"
,
label
:
"异常"
,
isActive
:
false
,
},
},
],
],
measuredData
:
""
,
// 逗号分隔字符串
measuredData
:
""
,
// 逗号分隔字符串
measuredDataArr
:
[],
// 前端本地使用
measuredDataArr
:
[],
// 前端本地使用
postionList
:
pad_1_
1
_inspection_position
.
rows
.
map
((
item
)
=>
{
postionList
:
pad_1_
3
_inspection_position
.
rows
.
map
((
item
)
=>
{
return
{
return
{
...
item
,
...
item
,
isActive
:
false
,
};
};
}),
}),
};
};
...
@@ -231,6 +253,10 @@ export default {
...
@@ -231,6 +253,10 @@ export default {
};
};
});
});
},
},
clickQuick
(
item
,
quickItem
)
{
item
.
notes
=
`
${
item
.
notes
}${
quickItem
.
text
}
`
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -283,9 +309,53 @@ export default {
...
@@ -283,9 +309,53 @@ export default {
}
}
}
}
.note-item {
textarea{
width: 100%;
height: 96px;
background: #f7f7f7;
border-radius: 1px;
font-size: 14px;
color: #4a4a4a;
padding: 16px;
font-weight: 400;
}
.qucik-content {
display: flex;
align-items: center;
.quick-input {
margin: 16px 18px 18px 0 ;
font-size: 14px;
color: #7c7c7c;
font-weight: 400;
}
.qucik-text {
display: inline-block;
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 8px;
padding: 0 10px;
height: 32px;
font-size: 12px;
color: #4a4a4a;
line-height: 20px;
font-weight: 400;
margin-right: 12px;
line-height: 32px;
text-align: center;
}
}
}
/deep/ .uni-forms-item__content {
/deep/ .uni-forms-item__content {
display: flex;
display: flex;
align-items: center;
align-items: center;
}
}
.note-item {
/deep/ .uni-forms-item__content {
display: block;
}
}
}
}
</
style
>
</
style
>
pages/inspectionContent/model/computerRoomDuty.vue
浏览文件 @
cf769f30
...
@@ -20,12 +20,11 @@
...
@@ -20,12 +20,11 @@
placeholder-style=
"color:#C7C7C7"
placeholder-style=
"color:#C7C7C7"
placeholder=
"请输入需求文字"
placeholder=
"请输入需求文字"
:disabled=
"isDisable"
:disabled=
"isDisable"
/>
/>
<view
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</view
>
<view
>
<text
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</text>
<
view
v-if=
"!isDisable"
>
<
text
v-if=
"!isDisable"
>
<text
<text
class=
"qucik-text"
class=
"qucik-text"
v-for=
"item in quickTextList"
v-for=
"item in quickTextList"
...
@@ -33,7 +32,8 @@
...
@@ -33,7 +32,8 @@
@
click=
"clickQuick(item)"
@
click=
"clickQuick(item)"
>
{{
item
.
text
}}
</text
>
{{
item
.
text
}}
</text
>
>
</view>
</text>
</view>
</uni-forms-item>
</uni-forms-item>
</uni-forms>
</uni-forms>
</view>
</view>
...
@@ -68,33 +68,17 @@ export default {
...
@@ -68,33 +68,17 @@ export default {
roomWatch
:
""
,
// 机房值班
roomWatch
:
""
,
// 机房值班
},
},
quickTextList
:
[
quickTextList
:
[
{
text
:
"门禁异常"
,
isActive
:
false
,
},
{
text
:
"已处理"
,
isActive
:
false
,
},
{
text
:
"需派单维修"
,
isActive
:
false
,
},
{
{
text
:
"进出总人数:"
,
text
:
"进出总人数:"
,
isActive
:
false
,
},
},
{
{
text
:
"访客记录:"
,
text
:
"访客记录:"
,
isActive
:
false
,
},
},
{
{
text
:
"有"
,
text
:
"有"
,
isActive
:
false
,
},
},
{
{
text
:
"无"
,
text
:
"无"
,
isActive
:
false
,
},
},
],
],
roomTypeLabel
:
"机房值班"
,
// 用于获取类型值
roomTypeLabel
:
"机房值班"
,
// 用于获取类型值
...
@@ -165,9 +149,10 @@ export default {
...
@@ -165,9 +149,10 @@ export default {
color: #4a4a4a;
color: #4a4a4a;
padding: 16px;
padding: 16px;
font-weight: 400;
font-weight: 400;
margin-bottom: 14px;
}
}
.quick-input {
.quick-input {
margin: 16px 18px;
margin: 16px 18px
18px 0
;
font-size: 14px;
font-size: 14px;
color: #7c7c7c;
color: #7c7c7c;
font-weight: 400;
font-weight: 400;
...
...
pages/inspectionContent/model/dutyHandover.vue
浏览文件 @
cf769f30
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
/>
/>
<
view
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</view
>
<
text
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</text
>
<
view
v-if=
"!isDisable"
>
<
text
v-if=
"!isDisable"
>
<text
<text
class=
"qucik-text"
class=
"qucik-text"
v-for=
"item in quickTextList"
v-for=
"item in quickTextList"
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
@
click=
"clickQuick(item)"
@
click=
"clickQuick(item)"
>
{{
item
.
text
}}
</text
>
{{
item
.
text
}}
</text
>
>
</
view
>
</
text
>
</uni-forms-item>
</uni-forms-item>
<view
class=
"user-info"
>
<view
class=
"user-info"
>
...
@@ -99,37 +99,26 @@ export default {
...
@@ -99,37 +99,26 @@ export default {
successor
:
""
,
// 接班人
successor
:
""
,
// 接班人
},
},
quickTextList
:
[
quickTextList
:
[
{
text
:
"有异常"
,
isActive
:
false
,
},
{
text
:
"已处理"
,
isActive
:
false
,
},
{
text
:
"需派单维修"
,
isActive
:
false
,
},
{
{
text
:
"进出总人数:"
,
text
:
"进出总人数:"
,
isActive
:
false
,
},
},
{
{
text
:
"访客记录:"
,
text
:
"访客记录:"
,
isActive
:
false
,
},
},
{
{
text
:
"未完成事项:"
,
text
:
"未完成事项:"
,
isActive
:
false
,
},
},
{
{
text
:
"有"
,
text
:
"有"
,
isActive
:
false
,
},
},
{
{
text
:
"无"
,
text
:
"无"
,
isActive
:
false
,
},
},
],
],
roomTypeLabel
:
"值班交接"
,
// 用于获取类型值
roomTypeLabel
:
"值班交接"
,
// 用于获取类型值
...
@@ -154,7 +143,6 @@ export default {
...
@@ -154,7 +143,6 @@ export default {
},
},
clickQuick
(
item
)
{
clickQuick
(
item
)
{
this
.
form
.
dutyHandover
=
`
${
this
.
form
.
dutyHandover
}${
item
.
text
}
`
;
this
.
form
.
dutyHandover
=
`
${
this
.
form
.
dutyHandover
}${
item
.
text
}
`
;
// this.quickTextList[index].isActive = item.isActive;
},
},
// 校验数据 所有表单
// 校验数据 所有表单
...
@@ -204,9 +192,11 @@ export default {
...
@@ -204,9 +192,11 @@ export default {
color: #4a4a4a;
color: #4a4a4a;
padding: 16px;
padding: 16px;
font-weight: 400;
font-weight: 400;
margin-bottom: 14px;
}
}
.quick-input {
.quick-input {
margin: 16px 18px;
margin: 16px 18px
18px 0
;
font-size: 14px;
font-size: 14px;
color: #7c7c7c;
color: #7c7c7c;
font-weight: 400;
font-weight: 400;
...
...
pages/inspectionContent/model/gatherDataCenter.vue
浏览文件 @
cf769f30
...
@@ -51,16 +51,30 @@
...
@@ -51,16 +51,30 @@
<uni-forms-item
<uni-forms-item
v-if=
"item.inspectionResult == 1"
v-if=
"item.inspectionResult == 1"
required
required
class=
"row-item"
class=
"row-item
note-item
"
label=
"情况摘要"
label=
"情况摘要"
name=
"notes"
name=
"notes"
>
>
<input
<textarea
type=
"text"
type=
"text"
:disabled=
"isDisable"
:disabled=
"isDisable"
v-model=
"item.notes"
v-model=
"item.notes"
placeholder=
"请输入内容"
placeholder=
"请输入内容"
/>
/>
<view
class=
"qucik-content"
>
<view
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</view>
<view
v-if=
"!isDisable"
>
<text
class=
"qucik-text"
v-for=
"quickItem in quickTextList"
:key=
"quickItem.text"
@
click=
"clickQuick(item, quickItem)"
>
{{
quickItem
.
text
}}
</text
>
</view>
</view>
</uni-forms-item>
</uni-forms-item>
</uni-forms>
</uni-forms>
</view>
</view>
...
@@ -105,6 +119,17 @@ export default {
...
@@ -105,6 +119,17 @@ export default {
},
},
roomTypeLabel
:
"汇聚机房巡检"
,
// 用于获取类型值
roomTypeLabel
:
"汇聚机房巡检"
,
// 用于获取类型值
quickTextList
:
[
{
text
:
"有异常"
,
},
{
text
:
"已处理"
,
},
{
text
:
"需派单维修"
,
},
],
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -173,7 +198,7 @@ export default {
...
@@ -173,7 +198,7 @@ export default {
{
{
value
:
1
,
value
:
1
,
label
:
"异常"
,
label
:
"异常"
,
isActive
:
false
,
},
},
],
],
measuredData
:
""
,
// 逗号分隔字符串
measuredData
:
""
,
// 逗号分隔字符串
...
@@ -181,7 +206,7 @@ export default {
...
@@ -181,7 +206,7 @@ export default {
postionList
:
pad_1_1_inspection_position
.
rows
.
map
((
item
)
=>
{
postionList
:
pad_1_1_inspection_position
.
rows
.
map
((
item
)
=>
{
return
{
return
{
...
item
,
...
item
,
isActive
:
false
,
};
};
}),
}),
};
};
...
@@ -232,6 +257,9 @@ export default {
...
@@ -232,6 +257,9 @@ export default {
};
};
});
});
},
},
clickQuick
(
item
,
quickItem
)
{
item
.
notes
=
`
${
item
.
notes
}${
quickItem
.
text
}
`
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -284,9 +312,53 @@ export default {
...
@@ -284,9 +312,53 @@ export default {
}
}
}
}
.note-item {
textarea{
width: 100%;
height: 96px;
background: #f7f7f7;
border-radius: 1px;
font-size: 14px;
color: #4a4a4a;
padding: 16px;
font-weight: 400;
}
.qucik-content {
display: flex;
align-items: center;
.quick-input {
margin: 16px 18px 18px 0 ;
font-size: 14px;
color: #7c7c7c;
font-weight: 400;
}
.qucik-text {
display: inline-block;
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 8px;
padding: 0 10px;
height: 32px;
font-size: 12px;
color: #4a4a4a;
line-height: 20px;
font-weight: 400;
margin-right: 12px;
line-height: 32px;
text-align: center;
}
}
}
/deep/ .uni-forms-item__content {
/deep/ .uni-forms-item__content {
display: flex;
display: flex;
align-items: center;
align-items: center;
}
}
.note-item {
/deep/ .uni-forms-item__content {
display: block;
}
}
}
}
</
style
>
</
style
>
pages/inspectionContent/model/shieldedComputerRoom.vue
浏览文件 @
cf769f30
...
@@ -49,15 +49,30 @@
...
@@ -49,15 +49,30 @@
<!-- 异常状态时显示 -->
<!-- 异常状态时显示 -->
<uni-forms-item
<uni-forms-item
required
required
class=
"row-item"
class=
"row-item
note-item
"
label=
"情况摘要"
label=
"情况摘要"
name=
"notes"
name=
"notes"
v-if=
"item.inspectionResult == 1"
v-if=
"item.inspectionResult == 1"
>
>
<input
type=
"text"
<textarea
type=
"text"
:disabled=
"isDisable"
:disabled=
"isDisable"
v-model=
"item.notes"
placeholder=
"请输入内容"
/>
v-model=
"item.notes"
placeholder=
"请输入内容"
/>
<view
class=
"qucik-content"
>
<view
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</view>
<view
v-if=
"!isDisable"
>
<text
class=
"qucik-text"
v-for=
"quickItem in quickTextList"
:key=
"quickItem.text"
@
click=
"clickQuick(item, quickItem)"
>
{{
quickItem
.
text
}}
</text
>
</view>
</view>
</uni-forms-item>
</uni-forms-item>
</uni-forms>
</uni-forms>
</view>
</view>
...
@@ -102,6 +117,17 @@ export default {
...
@@ -102,6 +117,17 @@ export default {
},
},
roomTypeLabel
:
"屏蔽机房巡检"
,
// 用于获取类型值
roomTypeLabel
:
"屏蔽机房巡检"
,
// 用于获取类型值
quickTextList
:
[
{
text
:
"有异常"
,
},
{
text
:
"已处理"
,
},
{
text
:
"需派单维修"
,
},
],
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -170,7 +196,7 @@ export default {
...
@@ -170,7 +196,7 @@ export default {
{
{
value
:
1
,
value
:
1
,
label
:
"异常"
,
label
:
"异常"
,
isActive
:
false
,
},
},
],
],
measuredData
:
""
,
// 逗号分隔字符串
measuredData
:
""
,
// 逗号分隔字符串
...
@@ -178,7 +204,7 @@ export default {
...
@@ -178,7 +204,7 @@ export default {
postionList
:
pad_1_2_inspection_position
.
rows
.
map
((
item
)
=>
{
postionList
:
pad_1_2_inspection_position
.
rows
.
map
((
item
)
=>
{
return
{
return
{
...
item
,
...
item
,
isActive
:
false
,
};
};
}),
}),
};
};
...
@@ -229,6 +255,9 @@ export default {
...
@@ -229,6 +255,9 @@ export default {
};
};
});
});
},
},
clickQuick
(
item
,
quickItem
)
{
item
.
notes
=
`
${
item
.
notes
}${
quickItem
.
text
}
`
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -280,10 +309,53 @@ export default {
...
@@ -280,10 +309,53 @@ export default {
}
}
}
}
}
}
.note-item {
textarea{
width: 100%;
height: 96px;
background: #f7f7f7;
border-radius: 1px;
font-size: 14px;
color: #4a4a4a;
padding: 16px;
font-weight: 400;
}
.qucik-content {
display: flex;
align-items: center;
.quick-input {
margin: 16px 18px 18px 0 ;
font-size: 14px;
color: #7c7c7c;
font-weight: 400;
}
.qucik-text {
display: inline-block;
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 8px;
padding: 0 10px;
height: 32px;
font-size: 12px;
color: #4a4a4a;
line-height: 20px;
font-weight: 400;
margin-right: 12px;
line-height: 32px;
text-align: center;
}
}
}
/deep/ .uni-forms-item__content {
/deep/ .uni-forms-item__content {
display: flex;
display: flex;
align-items: center;
align-items: center;
}
}
.note-item {
/deep/ .uni-forms-item__content {
display: block;
}
}
}
}
</
style
>
</
style
>
pages/inspectionContent/model/tabs.vue
浏览文件 @
cf769f30
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
list
[
activeIndex
].
position
.
map
((
item
)
=>
item
.
dictLabel
).
join
(
"、"
)
list
[
activeIndex
].
position
.
map
((
item
)
=>
item
.
dictLabel
).
join
(
"、"
)
}}
</text>
}}
</text>
</view>
</view>
<view
class=
"descript-item"
>
<view
v-if=
"list[activeIndex].descript"
class=
"descript-item"
>
<text
class=
"name"
>
巡检说明
</text>
<text
class=
"name"
>
巡检说明
</text>
<text
class=
"text"
>
{{
list
[
activeIndex
].
descript
}}
</text>
<text
class=
"text"
>
{{
list
[
activeIndex
].
descript
}}
</text>
</view>
</view>
...
...
pages/shaftInspection/model/tabContentItem.vue
浏览文件 @
cf769f30
...
@@ -68,6 +68,18 @@
...
@@ -68,6 +68,18 @@
placeholder-style=
"color:#C7C7C7"
placeholder-style=
"color:#C7C7C7"
placeholder=
"请输入"
placeholder=
"请输入"
/>
/>
<view>
<text
v-if=
"!isDisable"
class=
"quick-input"
>
快捷输入
</text>
<text
v-if=
"!isDisable"
>
<text
class=
"qucik-text"
v-for=
"item in quickTextList"
:key=
"item.text"
@
click=
"clickQuick(item)"
>
{{
item
.
text
}}
</text
>
</text>
</view>
</uni-forms-item>
</uni-forms-item>
</uni-forms>
</uni-forms>
</view>
</view>
...
@@ -79,7 +91,6 @@ import {
...
@@ -79,7 +91,6 @@ import {
pad_room_type
,
pad_room_type
,
}
from
"@/utils/dict.js"
;
}
from
"@/utils/dict.js"
;
/**
/**
* 汇集机房
* 汇集机房
*/
*/
...
@@ -92,7 +103,9 @@ export default {
...
@@ -92,7 +103,9 @@ export default {
data
()
{
data
()
{
return
{
return
{
list
:
[],
list
:
[],
form
:
{},
form
:
{
conclusion
:
''
},
rules
:
{
rules
:
{
// 对notes字段进行必填验证
// 对notes字段进行必填验证
notes
:
{
notes
:
{
...
@@ -120,7 +133,27 @@ export default {
...
@@ -120,7 +133,27 @@ export default {
],
],
},
},
},
},
quickTextList
:
[
{
text
:
"全部正常"
,
},
{
text
:
"门禁异常:"
,
},
{
text
:
"卫生异常:"
,
},
{
text
:
"设备告警:"
,
},
{
text
:
"有"
,
},
{
text
:
"无"
,
},
],
// roomTypeLabel: "汇聚机房巡检", // 用于获取类型值
// roomTypeLabel: "汇聚机房巡检", // 用于获取类型值
};
};
},
},
...
@@ -271,6 +304,9 @@ export default {
...
@@ -271,6 +304,9 @@ export default {
return
;
return
;
});
});
},
},
clickQuick
(
item
)
{
this
.
form
.
conclusion
=
`
${
this
.
form
.
conclusion
}${
item
.
text
}
`
},
},
},
};
};
</
script
>
</
script
>
...
@@ -329,8 +365,12 @@ export default {
...
@@ -329,8 +365,12 @@ export default {
}
}
.textarea-form {
.textarea-form {
/deep/ .uni-forms-item__content {
display: block;
}
border-bottom: none;
border-bottom: none;
margin-bottom: 0;
margin-bottom: 0;
.textarea {
.textarea {
width: 100%;
width: 100%;
height: 96px;
height: 96px;
...
@@ -340,6 +380,28 @@ export default {
...
@@ -340,6 +380,28 @@ export default {
color: #4a4a4a;
color: #4a4a4a;
padding: 16px;
padding: 16px;
font-weight: 400;
font-weight: 400;
margin-bottom: 14px;
}
.quick-input {
margin: 16px 18px 18px 0;
font-size: 14px;
color: #7c7c7c;
font-weight: 400;
}
.qucik-text {
display: inline-block;
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 8px;
padding: 0 10px;
height: 32px;
font-size: 12px;
color: #4a4a4a;
line-height: 20px;
font-weight: 400;
margin-right: 12px;
line-height: 32px;
text-align: center;
}
}
}
}
}
}
...
...
pages/shaftInspection/model/tabs.vue
浏览文件 @
cf769f30
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</view>
</view>
<!-- 描述 -->
<!-- 描述 -->
<
!--
<
view
class=
"descript"
>
<view
class=
"descript"
>
<view
v-if=
"list[activeIndex].position"
class=
"descript-item"
>
<view
v-if=
"list[activeIndex].position"
class=
"descript-item"
>
<text
class=
"name"
>
巡检位置
</text>
<text
class=
"name"
>
巡检位置
</text>
<text
class=
"text"
>
{{
<text
class=
"text"
>
{{
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<text
class=
"name"
>
巡检说明
</text>
<text
class=
"name"
>
巡检说明
</text>
<text
class=
"text"
>
{{
list
[
activeIndex
].
descript
}}
</text>
<text
class=
"text"
>
{{
list
[
activeIndex
].
descript
}}
</text>
</view>
</view>
</view>
-->
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
pages/shaftInspection/shaftInspection.vue
浏览文件 @
cf769f30
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
><text
class=
"text"
>
{{
baseInfo
.
inspectionCode
}}
</text>
><text
class=
"text"
>
{{
baseInfo
.
inspectionCode
}}
</text>
</view>
</view>
<view
class=
"base-row-item"
<view
class=
"base-row-item"
><text
class=
"name"
>
巡检
日期
</text
><text
class=
"name"
>
巡检
时间
</text
><text
class=
"text"
>
{{
baseInfo
.
inspectionTime
}}
</text>
><text
class=
"text"
>
{{
baseInfo
.
inspectionTime
}}
</text>
</view>
</view>
</view>
</view>
...
@@ -102,7 +102,7 @@ import {
...
@@ -102,7 +102,7 @@ import {
writeDarf
,
writeDarf
,
writeInspectionData
,
writeInspectionData
,
}
from
"@/utils/IoReadingAndWriting.js"
;
}
from
"@/utils/IoReadingAndWriting.js"
;
import
{
pad_2_1_inspection_position
}
from
"@/utils/dict.js"
;
import
{
pad_2_1_inspection_position
,
pad_2_1_floor
}
from
"@/utils/dict.js"
;
import
{
getInspectionDetails
,
getDarft
}
from
"@/request/index.js"
;
import
{
getInspectionDetails
,
getDarft
}
from
"@/request/index.js"
;
...
@@ -175,8 +175,9 @@ export default {
...
@@ -175,8 +175,9 @@ export default {
value
:
item
.
dictValue
,
value
:
item
.
dictValue
,
isVaild
:
false
,
// 校验通过
isVaild
:
false
,
// 校验通过
// type: 1, // 枚举值
// type: 1, // 枚举值
position
:
pad_2_1_
inspection_position
.
rows
,
position
:
pad_2_1_
floor
.
rows
,
refName
:
`TabContentItem_
${
index
}
`
,
refName
:
`TabContentItem_
${
index
}
`
,
descript
:
"检查内容包括门禁、卫生、设备告警。"
};
};
});
});
...
@@ -331,7 +332,7 @@ export default {
...
@@ -331,7 +332,7 @@ export default {
...
temp
[
0
],
...
temp
[
0
],
isSubmit
:
0
,
isSubmit
:
0
,
isException
:
temp
.
filter
((
item
)
=>
item
.
isException
>
1
).
length
?
1
:
0
,
// 总的数据
isException
:
temp
.
filter
((
item
)
=>
item
.
isException
>
0
).
length
?
1
:
0
,
// 总的数据
items
:
[],
items
:
[],
synchronization
:
0
,
// 是否导出过
synchronization
:
0
,
// 是否导出过
submitTime
:
moment
().
format
(
"yyyy-MM-DD"
),
// 记录提交时间
submitTime
:
moment
().
format
(
"yyyy-MM-DD"
),
// 记录提交时间
...
...
utils/dict.js
浏览文件 @
cf769f30
...
@@ -620,7 +620,8 @@ export const pad_1_2_inspection_position = {
...
@@ -620,7 +620,8 @@ export const pad_1_2_inspection_position = {
// 机房巡检_电池间巡检_检查项
// 机房巡检_电池间巡检_检查项
export
const
pad_1_3_inspection_items
=
{
export
const
pad_1_3_inspection_items
=
{
"total"
:
11
,
"msg"
:
"操作成功"
,
"code"
:
200
,
"rows"
:
[
"rows"
:
[
{
{
"createBy"
:
"admin"
,
"createBy"
:
"admin"
,
...
@@ -794,27 +795,23 @@ export const pad_1_3_inspection_items = {
...
@@ -794,27 +795,23 @@ export const pad_1_3_inspection_items = {
},
},
{
{
"createBy"
:
"admin"
,
"createBy"
:
"admin"
,
"createTime"
:
"2024-09-05 15:5
0:28
"
,
"createTime"
:
"2024-09-05 15:5
6:14
"
,
"updateBy"
:
null
,
"updateBy"
:
null
,
"updateTime"
:
null
,
"updateTime"
:
null
,
"remark"
:
null
,
"remark"
:
null
,
"dictCode"
:
1
275
,
"dictCode"
:
1
306
,
"dictSort"
:
11
,
"dictSort"
:
11
,
"dictLabel"
:
"清洁"
,
"dictLabel"
:
"清洁"
,
"dictValue"
:
"11"
,
"dictValue"
:
"11"
,
"dictType"
:
"pad_1_
1
_inspection_items"
,
"dictType"
:
"pad_1_
3
_inspection_items"
,
"cssClass"
:
null
,
"cssClass"
:
null
,
"listClass"
:
"default"
,
"listClass"
:
"default"
,
"isDefault"
:
"N"
,
"isDefault"
:
"N"
,
"status"
:
"0"
,
"status"
:
"0"
,
"default"
:
false
"default"
:
false
}
}
],
]
"code"
:
200
,
}
"msg"
:
"查询成功"
,
"status"
:
null
,
"map"
:
null
};
// 机房巡检_电池间巡检_位置
// 机房巡检_电池间巡检_位置
export
const
pad_1_3_inspection_position
=
{
export
const
pad_1_3_inspection_position
=
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论