Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pangchong
mocp-uniapp
Commits
cdf74bc6
Commit
cdf74bc6
authored
Oct 10, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 防风害操作单
parent
67f56ff8
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
783 additions
and
89 deletions
+783
-89
src/mocp/api/windDamageManagement.js
+8
-0
src/mocp/store/windDamageManagement.js
+30
-8
src/pages.json
+12
-6
src/pages/modules/mocp/panel/windDamageManagement/append.vue
+21
-7
src/pages/modules/mocp/panel/windDamageManagement/editBasic.vue
+13
-8
src/pages/modules/mocp/panel/windDamageManagement/editConclusion.vue
+3
-3
src/pages/modules/mocp/panel/windDamageManagement/list.vue
+15
-13
src/pages/modules/mocp/panel/windDamageManagement/operateDetails.vue
+649
-0
src/pages/modules/mocp/panel/windDamageManagement/patrolDetails.vue
+29
-44
src/static/mocp/css/list.scss
+3
-0
No files found.
src/mocp/api/windDamageManagement.js
View file @
cdf74bc6
...
...
@@ -88,3 +88,11 @@ export const savePatrolWorkApi = (data, config) => {
config
})
}
export
const
saveOperateWorkApi
=
(
data
,
config
)
=>
{
return
post
({
method
:
'POST'
,
url
:
'/terminal/saveOperateWork'
,
data
,
config
})
}
src/mocp/store/windDamageManagement.js
View file @
cdf74bc6
...
...
@@ -48,19 +48,41 @@ const useWindDamageManagementStore = defineStore('windDamageManagement303030', {
getDetails
(
state
)
{
if
(
state
.
tabIndex
==
0
)
{
return
state
.
details
?.
patrolList
.
find
((
item
)
=>
item
.
patrolBasicVo
.
id
==
String
(
state
.
basicId
))
||
{}
}
else
if
(
state
.
tabIndex
==
1
)
{
return
state
.
details
?.
operateList
.
find
((
item
)
=>
item
.
operateBasicVo
.
id
==
String
(
state
.
basicId
))
||
{}
}
return
{}
},
getBasicVo
(
state
)
{
if
(
state
.
tabIndex
==
0
)
{
return
this
.
getDetails
.
patrolBasicVo
||
{}
}
else
if
(
state
.
tabIndex
==
1
)
{
return
this
.
getDetails
?.
operateBasicVo
||
{}
}
return
{}
},
getConclusionVo
(
state
)
{
if
(
state
.
tabIndex
==
0
)
{
return
this
.
getDetails
.
patrolConclusionVo
||
{}
}
else
if
(
state
.
tabIndex
==
1
)
{
return
this
.
getDetails
.
operateConclusionVo
||
{}
}
return
{}
},
getWorkVo
(
state
)
{
if
(
state
.
tabIndex
==
0
)
{
return
this
.
getDetails
.
patrolWorkVo
||
{}
}
else
if
(
state
.
tabIndex
==
1
)
{
return
this
.
getDetails
.
operateWorkVo
||
{}
}
return
{}
}
},
actions
:
{
async
getAllTaskInfoByWeather
(
weatherId
,
weatherSource
)
{
const
res
=
await
getAllTaskInfoByWeatherApi
(
{
weatherId
:
weatherId
||
this
.
weatherId
,
weatherSource
:
weatherSource
||
this
.
weatherSource
},
{
loading
:
true
}
)
async
getAllTaskInfoByWeather
()
{
const
res
=
await
getAllTaskInfoByWeatherApi
({
weatherId
:
this
.
weatherId
,
weatherSource
:
this
.
weatherSource
},
{
loading
:
true
})
if
(
res
.
code
==
200
)
{
if
(
this
.
tabIndex
==
0
)
{
this
.
details
=
res
.
data
}
}
else
{
uni
.
$mocpMessage
.
error
(
res
.
message
)
}
...
...
@@ -82,6 +104,6 @@ const useWindDamageManagementStore = defineStore('windDamageManagement303030', {
}
},
// 配置持久化
persist
:
fals
e
persist
:
tru
e
})
export
default
useWindDamageManagementStore
src/pages.json
View file @
cdf74bc6
...
...
@@ -736,12 +736,6 @@
}
},
{
"path"
:
"pages/modules/mocp/panel/windDamageManagement/patrolDetails"
,
"style"
:
{
"navigationBarTitleText"
:
"防风害巡场检查单"
}
},
{
"path"
:
"pages/modules/mocp/panel/windDamageManagement/editBasic"
,
"style"
:
{
"navigationBarTitleText"
:
"基础信息"
...
...
@@ -758,6 +752,18 @@
"style"
:
{
"navigationBarTitleText"
:
"结论"
}
},
{
"path"
:
"pages/modules/mocp/panel/windDamageManagement/patrolDetails"
,
"style"
:
{
"navigationBarTitleText"
:
"防风害巡场检查单"
}
},
{
"path"
:
"pages/modules/mocp/panel/windDamageManagement/operateDetails"
,
"style"
:
{
"navigationBarTitleText"
:
"防风害操作单"
}
}
],
"globalStyle"
:
{
...
...
src/pages/modules/mocp/panel/windDamageManagement/append.vue
View file @
cdf74bc6
...
...
@@ -10,18 +10,21 @@
pickAlign=
"right"
clearable
v-model=
"formData.dutyUid"
:search-value=
"get
Details.patrolBasicVo?
.dutyName"
:search-value=
"get
BasicVo
.dutyName"
></custom-admin-picker>
</up-form-item>
<up-form-item
label=
"航站"
:borderBottom=
"true"
prop=
"terminal"
required
>
<up-input
border=
"none"
inputAlign=
"right"
clearable
v-model=
"formData.terminal"
disabled
disabledColor=
"#fff"
></up-input>
</up-form-item>
<up-form-item
label=
"巡场人员"
:borderBottom=
"true"
>
<up-form-item
label=
"机号"
:borderBottom=
"true"
prop=
"acs"
required
v-if=
"tabIndex > 0"
>
<global-picker
pickAlign=
"right"
v-model=
"formData.acs"
:options=
"deviceNumList"
clearable
filter
></global-picker>
</up-form-item>
<up-form-item
:label=
"tabIndex == 0 ? '巡场人员' : '操作人'"
:borderBottom=
"true"
>
<custom-admin-picker
pickAlign=
"right"
clearable
v-model=
"formData.operateUid"
:search-value=
"get
Details.patrolBasicVo?
.operateName"
:search-value=
"get
BasicVo
.operateName"
></custom-admin-picker>
</up-form-item>
</up-form>
...
...
@@ -35,9 +38,13 @@ import { computed, reactive, ref } from 'vue'
import
{
savePwdCommonTaskApi
}
from
'mocp/api/windDamageManagement'
import
{
storeToRefs
}
from
'pinia'
import
useWindDamageManagementStore
from
'mocp/store/windDamageManagement'
import
useBaseStore
from
'mocp/store/base'
const
{
selectList
:
{
deviceNumList
}
}
=
useBaseStore
()
const
windDamageManagementStore
=
useWindDamageManagementStore
()
const
{
details
,
get
Details
,
tabIndex
}
=
storeToRefs
(
windDamageManagementStore
)
const
{
details
,
get
BasicVo
,
tabIndex
}
=
storeToRefs
(
windDamageManagementStore
)
const
rules
=
reactive
({
windSpeed
:
[
{
...
...
@@ -45,6 +52,13 @@ const rules = reactive({
message
:
'请输入预报风速'
,
trigger
:
[
'blur'
,
'change'
]
}
],
acs
:
[
{
required
:
true
,
message
:
'请选择机号'
,
trigger
:
[
'blur'
,
'change'
]
}
]
})
const
getTitle
=
computed
(()
=>
{
...
...
@@ -76,9 +90,9 @@ onLoad(async () => {
formData
.
terminal
=
details
.
value
?.
terminal
formData
.
weatherId
=
details
.
value
?.
weatherId
formData
.
weatherSource
=
details
.
value
?.
weatherSource
formData
.
dutyUid
=
get
Details
.
value
?.
patrolBasicVo
.
dutyUid
formData
.
operateUid
=
get
Details
.
value
?.
patrolBasicVo
.
operateUid
formData
.
windSpeed
=
get
Details
.
value
?.
patrolBasicVo
.
windSpeed
formData
.
dutyUid
=
get
BasicVo
.
value
.
dutyUid
formData
.
operateUid
=
get
BasicVo
.
value
.
operateUid
formData
.
windSpeed
=
get
BasicVo
.
value
.
windSpeed
})
//提交表单
const
formRef
=
ref
()
...
...
src/pages/modules/mocp/panel/windDamageManagement/editBasic.vue
View file @
cdf74bc6
...
...
@@ -16,18 +16,21 @@
pickAlign=
"right"
clearable
v-model=
"formData.dutyUid"
:searchValue=
"get
Details.patrol
BasicVo.dutyName"
:searchValue=
"getBasicVo.dutyName"
></custom-admin-picker>
</up-form-item>
<up-form-item
label=
"航站"
:borderBottom=
"true"
prop=
"terminal"
required
>
<up-input
border=
"none"
inputAlign=
"right"
clearable
v-model=
"formData.terminal"
disabled
disabledColor=
"#fff"
></up-input>
</up-form-item>
<up-form-item
label=
"巡场人员"
:borderBottom=
"true"
>
<up-form-item
label=
"机号"
:borderBottom=
"true"
prop=
"ac"
required
>
<up-input
border=
"none"
inputAlign=
"right"
clearable
v-model=
"formData.ac"
disabled
disabledColor=
"#fff"
></up-input>
</up-form-item>
<up-form-item
:label=
"tabIndex == 0 ? '巡场人员' : '操作人'"
:borderBottom=
"true"
>
<custom-admin-picker
pickAlign=
"right"
clearable
v-model=
"formData.operateUid"
:searchValue=
"get
Details.patrol
BasicVo.operateName"
:searchValue=
"getBasicVo.operateName"
></custom-admin-picker>
</up-form-item>
</up-form>
...
...
@@ -43,11 +46,12 @@ import { storeToRefs } from 'pinia'
import
useWindDamageManagementStore
from
'mocp/store/windDamageManagement'
const
windDamageManagementStore
=
useWindDamageManagementStore
()
const
{
get
Details
,
tabIndex
,
details
}
=
storeToRefs
(
windDamageManagementStore
)
const
{
get
BasicVo
,
tabIndex
,
details
}
=
storeToRefs
(
windDamageManagementStore
)
// 表单数据
const
formData
=
reactive
({
generateTime
:
''
,
terminal
:
''
,
ac
:
''
,
startTime
:
''
,
dutyUid
:
''
,
id
:
''
,
...
...
@@ -59,12 +63,13 @@ const formData = reactive({
onLoad
(()
=>
{
formData
.
generateTime
=
details
.
value
.
generateTime
formData
.
terminal
=
details
.
value
.
terminal
formData
.
ac
=
getBasicVo
.
value
.
ac
formData
.
startTime
=
details
.
value
.
startTime
formData
.
dutyUid
=
get
Details
.
value
.
patrolBasicVo
.
dutyUid
formData
.
id
=
get
Details
.
value
.
patrolBasicVo
.
id
formData
.
operateUid
=
get
Details
.
value
.
patrolBasicVo
.
operateUid
formData
.
dutyUid
=
get
BasicVo
.
value
.
dutyUid
formData
.
id
=
get
BasicVo
.
value
.
id
formData
.
operateUid
=
get
BasicVo
.
value
.
operateUid
formData
.
type
=
tabIndex
.
value
+
1
formData
.
windSpeed
=
get
Details
.
value
.
patrolBasicVo
.
windSpeed
formData
.
windSpeed
=
get
BasicVo
.
value
.
windSpeed
})
//提交表单
const
handleSubmit
=
async
()
=>
{
...
...
src/pages/modules/mocp/panel/windDamageManagement/editConclusion.vue
View file @
cdf74bc6
...
...
@@ -17,7 +17,7 @@
<up-cell
title=
"附件"
>
<
template
#
label
>
<view
style=
"margin-top: 16rpx"
>
<global-upload
v-model=
"formData.files"
:file-list=
"get
Details.patrolConclusionVo?
.files"
></global-upload>
<global-upload
v-model=
"formData.files"
:file-list=
"get
ConclusionVo
.files"
></global-upload>
</view>
</
template
>
</up-cell>
...
...
@@ -34,7 +34,7 @@ import { storeToRefs } from 'pinia'
import
useWindDamageManagementStore
from
'mocp/store/windDamageManagement'
const
windDamageManagementStore
=
useWindDamageManagementStore
()
const
{
get
Details
}
=
storeToRefs
(
windDamageManagementStore
)
const
{
get
ConclusionVo
}
=
storeToRefs
(
windDamageManagementStore
)
// 表单数据
const
formData
=
reactive
({
basicId
:
''
,
...
...
@@ -46,7 +46,7 @@ const formData = reactive({
})
// 页面初始化
onLoad
(()
=>
{
Object
.
assign
(
formData
,
get
Details
.
value
?.
patrolConclusionVo
)
Object
.
assign
(
formData
,
get
ConclusionVo
.
value
)
})
//提交表单
const
handleSubmit
=
async
()
=>
{
...
...
src/pages/modules/mocp/panel/windDamageManagement/list.vue
View file @
cdf74bc6
...
...
@@ -29,15 +29,15 @@
<custom-state
:value=
"useGetDictByValue('wdm_isOpen', item.isOpen)"
></custom-state>
</view>
<view
class=
"right"
>
<text
class=
"txt u-line-1"
v-if=
"item.ac"
>
{{
item
.
ac
}}
</text>
<text
class=
"txt u-line-1"
v-if=
"item.terminal"
>
{{
item
.
terminal
}}
</text>
<global-tag
:type=
"useGetDictByValue('wdm_rxStatusType', option.rxStatus)"
style=
"margin-left: 12rpx"
>
{{
useGetDictByValue
(
'wdm_rxStatus'
,
option
.
rxStatus
)
}}
</global-tag>
</view>
</view>
<view
class=
"item-content u-line-3"
>
{{
option
.
windSpeed
||
'无'
}}
<view
class=
"item-content"
>
<view
class=
"row"
v-if=
"option.ac"
>
机号:
{{
option
.
ac
}}
</view>
<view
class=
"row"
v-if=
"item.terminal"
>
航站:
{{
baseStore
.
getTerminalObject
[
item
.
terminal
]
}}
</view>
<view
class=
"u-line-3"
>
{{
option
.
windSpeed
||
'无'
}}
</view>
</view>
<view
class=
"item-footer"
>
<view
class=
"label"
>
...
...
@@ -77,39 +77,41 @@ import { onUnload } from '@dcloudio/uni-app'
import
{
timeStampFormat
}
from
'mocp/utils/tool'
import
{
useGetDictByValue
}
from
'mocp/hooks/use-dict/useDict'
import
{
navigateTo
}
from
'mocp/utils/jump'
import
useBaseStore
from
'mocp/store/base'
const
baseStore
=
useBaseStore
()
const
windDamageManagementStore
=
useWindDamageManagementStore
()
const
{
getSearchData
,
tabIndex
}
=
storeToRefs
(
windDamageManagementStore
)
const
tabList
=
[
{
name
:
'巡场检查单'
,
api
:
getPwdPatrolListApi
api
:
getPwdPatrolListApi
,
url
:
'/panel/windDamageManagement/patrolDetails'
},
{
name
:
'操作单'
,
api
:
getPwdOperateListApi
api
:
getPwdOperateListApi
,
url
:
'/panel/windDamageManagement/operateDetails'
},
{
name
:
'系留单'
,
api
:
getPwdMooringListApi
api
:
getPwdMooringListApi
,
url
:
'/panel/windDamageManagement/patrolDetails'
},
{
name
:
'防沙尘暴签署单'
,
api
:
getPwdSandstormListApi
api
:
getPwdSandstormListApi
,
url
:
'/panel/windDamageManagement/patrolDetails'
}
]
const
handleTabsChange
=
(
value
)
=>
{
windDamageManagementStore
.
setState
(
'tabIndex'
,
value
)
}
const
goDetails
=
(
data
,
basicId
)
=>
{
let
url
=
''
if
(
tabIndex
.
value
==
0
)
{
url
=
'/panel/windDamageManagement/patrolDetails'
}
windDamageManagementStore
.
setState
(
'basicId'
,
basicId
)
windDamageManagementStore
.
setState
(
'weatherId'
,
data
.
id
)
windDamageManagementStore
.
setState
(
'weatherSource'
,
data
.
weatherSource
)
uni
.
$mocpJump
.
navigateTo
(
url
)
uni
.
$mocpJump
.
navigateTo
(
tabList
[
tabIndex
.
value
].
url
)
}
//追击
const
goAppend
=
(
data
,
basicId
)
=>
{
...
...
src/pages/modules/mocp/panel/windDamageManagement/operateDetails.vue
0 → 100644
View file @
cdf74bc6
<
template
>
<global-page
:padding=
"24"
title=
"防风害巡场检查单"
:showFooterBtn=
"getBasicVo.rxStatus == 0"
footerBtnText=
"接收"
@
handleFooterClick=
"handleFooterClick"
showNavRight
navRightType=
"button"
navRightText=
"保存"
:navRightDisabled=
"getBasicVo.rxStatus == 0"
@
handleRightClick=
"handleRightClick"
>
<template
v-if=
"details"
>
<view
class=
"mocp-cell"
>
<up-collapse
:value=
"['1', '2', '3']"
>
<up-collapse-item
name=
"1"
>
<template
#
title
>
<view
class=
"mocp-title"
>
<text
class=
"txt"
>
基础信息
</text>
<view>
<global-tag
:type=
"useGetDictByValue('wdm_rxStatusType', getBasicVo.rxStatus)"
>
{{
useGetDictByValue
(
'wdm_rxStatus'
,
getBasicVo
.
rxStatus
)
}}
</global-tag>
</view>
</view>
</
template
>
<
template
#
value
>
<view
style=
"margin-right: 24rpx"
>
<global-button
type=
"text"
:disabled=
"getBasicVo.rxStatus == 0"
@
tap
.
stop=
"navigateTo('/panel/windDamageManagement/editBasic')"
>
编辑
</global-button>
</view>
</
template
>
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell
title=
"报文生成时间"
:value=
"details.generateTime || '-'"
/>
<up-cell
title=
"预报风速"
:value=
"getBasicVo.windSpeed || '-'"
/>
<up-cell
title=
"预计开始时间"
:value=
"details.startTime || '-'"
/>
<up-cell
title=
"基地值班"
:value=
"getBasicVo.dutyName || '-'"
/>
<up-cell
title=
"航站"
:value=
"baseStore.getTerminalObject[details.terminal] || '-'"
v-if=
"details.weatherSource == '1'"
/>
<up-cell
isLink
v-else
>
<
template
#
title
>
<global-field
label=
"航站"
></global-field>
<global-field
:value=
"baseStore.getTerminalObject[details.terminal] || '-'"
></global-field>
</
template
>
<
template
#
value
>
<text
@
tap=
"goWeather"
>
气象信息
</text>
</
template
>
</up-cell>
<up-cell
title=
"机号"
:value=
"getBasicVo.ac || '-'"
/>
<up-cell
title=
"操作人"
:value=
"getBasicVo.operateName || '-'"
/>
<up-cell
title=
"发起人"
:value=
"getBasicVo.proposedName || '-'"
/>
<up-cell
title=
"发起时间"
:value=
"timeStampFormat(getBasicVo.proposedTime) || '-'"
/>
<up-cell
isLink
>
<
template
#
title
>
<global-field
label=
"填报人:"
:value=
"getBasicVo.fillingName || '-'"
></global-field>
<global-field
label=
"填报时间:"
:value=
"timeStampFormat(getBasicVo.fillingTime) || '-'"
></global-field>
</
template
>
<
template
#
value
>
<text
@
tap=
"openReceiveHistory"
>
接收历史
</text>
</
template
>
</up-cell>
</up-cell-group>
</view>
</up-collapse-item>
<up-collapse-item
title=
"工作内容"
name=
"2"
>
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell
title=
"开始时间"
>
<
template
#
value
>
<view>
<global-date
mode=
"datetime"
pickAlign=
"right"
v-model=
"formData.startTime"
format=
"YYYY-MM-DD HH:mm:ss"
clearable
></global-date>
</view>
</
template
>
</up-cell>
</up-cell-group>
</view>
<view
class=
"mocp-cell"
>
<up-cell-group>
<!-- 1 -->
<up-cell>
<
template
#
title
>
<view>
1、同步执行防风害巡场检查单
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.syncComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.syncMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.syncFiles"
:file-list=
"getWorkVo.syncFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 2 -->
<up-cell>
<
template
#
title
>
<view>
2、通报执行防风操作检查
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.reportComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.reportMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.reportFiles"
:file-list=
"getWorkVo.reportFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 3 -->
<up-cell>
<
template
#
title
>
<view>
3、根据地面结冰条件,飞机状态,预报风速,核实场内飞机是否满足手册系留标准,如满足,组织安排系留;如不满足系留条件,安排替代方式防风
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.stayComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.stayMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.stayFiles"
:file-list=
"getWorkVo.stayFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 4 -->
<up-cell>
<
template
#
title
>
<view>
4、轮档摆放按照HNAR369飞机停放与系留程序执行
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.hnarComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.hnarMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.hnarFiles"
:file-list=
"getWorkVo.hnarFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 5 -->
<up-cell>
<
template
#
title
>
<view>
5、对可满足液压系统工作条件的飞机立即通电并重新打压
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.pressureComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.pressureMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.pressureFiles"
:file-list=
"getWorkVo.pressureFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 6 -->
<up-cell>
<
template
#
title
>
<view>
6、检查刹车蓄压器满足各机型手册要求,设置停留刹车
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.brakeComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.brakeMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.brakeFiles"
:file-list=
"getWorkVo.brakeFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 7 -->
<up-cell>
<
template
#
title
>
<view>
7、关闭飞机所有舱门及盖板
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.shutComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.shutMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.shutFiles"
:file-list=
"getWorkVo.shutFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 8 -->
<up-cell>
<
template
#
title
>
<view>
8、撤登机梯/廊桥
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.bridgeComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.bridgeMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.bridgeFiles"
:file-list=
"getWorkVo.bridgeFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 9 -->
<up-cell>
<
template
#
title
>
<view>
9、撤离接近飞机的一切勤务车辆
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.serviceComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.serviceMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.serviceFiles"
:file-list=
"getWorkVo.serviceFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 10 -->
<up-cell>
<
template
#
title
>
<view>
10、将梯架和其他可移动的地面设备撤离到安全区域并固定
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.fixComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.fixMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.fixFiles"
:file-list=
"getWorkVo.fixFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 11 -->
<up-cell>
<
template
#
title
>
<view>
11、对于处于过站状态飞机提醒地面维修人员通知机组设置停留刹车,对于后续过站飞机提醒机组保持停留刹车
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.crossComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.crossMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.crossFiles"
:file-list=
"getWorkVo.crossFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 12 -->
<up-cell>
<
template
#
title
>
<view>
12、大风过境通知防风处置预案解除,并进行信息通报
</view>
</
template
>
</up-cell>
<up-cell
title=
"是否完成"
>
<
template
#
value
>
<view>
<global-radio
radioAlign=
"right"
v-model=
"formData.relieveComplete"
clearable
dictkey=
"wdm_complete"
></global-radio>
</view>
</
template
>
</up-cell>
<up-cell
title=
"发现问题及处理措施"
:border=
"false"
>
<
template
#
label
>
<up-textarea
placeholder=
"请输入"
v-model=
"formData.relieveMeasure"
:height=
"40"
border=
"none"
></up-textarea>
</
template
>
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.relieveFiles"
:file-list=
"getWorkVo.relieveFiles"
></global-upload>
</
template
>
</up-cell>
</up-cell-group>
</view>
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell>
<
template
#
title
>
填报人:
{{
getWorkVo
.
fillingName
||
'-'
}}
</
template
>
<
template
#
value
>
填报时间:
{{
timeStampFormat
(
getWorkVo
.
fillingTime
)
||
'-'
}}
</
template
>
</up-cell>
<up-cell
title=
"结束时间"
>
<
template
#
value
>
<view>
<global-date
mode=
"datetime"
pickAlign=
"right"
format=
"YYYY-MM-DD HH:mm:ss"
v-model=
"formData.endTime"
clearable
></global-date>
</view>
</
template
>
</up-cell>
</up-cell-group>
</view>
</up-collapse-item>
<up-collapse-item
title=
"结论"
name=
"3"
>
<
template
#
value
>
<view
style=
"margin-right: 24rpx"
>
<global-button
type=
"text"
:disabled=
"getBasicVo.rxStatus == 0"
@
tap
.
stop=
"navigateTo('/panel/windDamageManagement/editConclusion')"
>
编辑
</global-button>
</view>
</
template
>
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell
title=
"是否有异常"
:value=
"useGetDictByValue('wdm_isAbnormal', getConclusionVo.isAbnormal) || '-'"
/>
<up-cell>
<
template
#
label
>
{{
getConclusionVo
.
content
||
'无'
}}
</
template
>
</up-cell>
<up-cell
title=
"附件"
>
<
template
#
label
>
<view
style=
"margin-top: 16rpx"
>
<global-upload
:file-list=
"getConclusionVo.files"
:show-upload=
"false"
></global-upload>
</view>
</
template
>
</up-cell>
<up-cell>
<
template
#
title
>
填报人:
{{
getConclusionVo
.
fillingName
||
'-'
}}
</
template
>
<
template
#
value
>
填报时间:
{{
timeStampFormat
(
getConclusionVo
.
fillingTime
)
||
'-'
}}
</
template
>
</up-cell>
</up-cell-group>
</view>
</up-collapse-item>
</up-collapse>
</view>
</template>
</global-page>
<ReceiveHistoryList
ref=
"receiveHistoryListRef"
></ReceiveHistoryList>
<up-modal
:width=
"250"
title=
"提示"
content=
"填写完成后请及时保存!"
confirmText=
"知道了"
:show=
"show"
closeOnClickOverlay
@
confirm=
"saveReceiveInfo"
@
cancel=
"show = false"
@
close=
"show = false"
></up-modal>
</template>
<
script
setup
>
import
{
storeToRefs
}
from
'pinia'
import
useBaseStore
from
'mocp/store/base'
import
{
timeStampFormat
}
from
'mocp/utils/tool'
import
{
useGetDictByValue
}
from
'mocp/hooks/use-dict/useDict'
import
{
onLoad
}
from
'@dcloudio/uni-app'
import
{
reactive
,
ref
}
from
'vue'
import
{
navigateTo
}
from
'mocp/utils/jump'
import
useWindDamageManagementStore
from
'mocp/store/windDamageManagement'
import
ReceiveHistoryList
from
'./components/ReceiveHistoryList.vue'
import
useUserStore
from
'mocp/store/user'
import
{
saveOperateWorkApi
,
saveReceiveInfoApi
}
from
'mocp/api/windDamageManagement'
const
baseStore
=
useBaseStore
()
const
windDamageManagementStore
=
useWindDamageManagementStore
()
const
{
details
,
getBasicVo
,
getConclusionVo
,
getWorkVo
,
basicId
,
tabIndex
}
=
storeToRefs
(
windDamageManagementStore
)
onLoad
(
async
()
=>
{
await
windDamageManagementStore
.
getAllTaskInfoByWeather
()
Object
.
assign
(
formData
,
getWorkVo
.
value
)
})
//接收历史
const
receiveHistoryListRef
=
ref
()
const
openReceiveHistory
=
()
=>
{
receiveHistoryListRef
.
value
?.
open
({
basicId
:
basicId
.
value
,
taskType
:
tabIndex
.
value
+
1
})
}
//接收
const
userStore
=
useUserStore
()
const
show
=
ref
(
false
)
const
handleFooterClick
=
()
=>
{
show
.
value
=
true
}
const
saveReceiveInfo
=
async
()
=>
{
const
res
=
await
saveReceiveInfoApi
(
{
basicId
:
basicId
.
value
,
taskType
:
tabIndex
.
value
+
1
,
receiveUid
:
userStore
.
userInfo
?.
id
},
{
loading
:
true
}
)
if
(
res
.
code
==
200
)
{
show
.
value
=
false
uni
.
$mocpMessage
.
success
(
res
.
message
)
windDamageManagementStore
.
getAllTaskInfoByWeather
()
uni
.
$emit
(
'windDamageManagementReload'
)
}
else
{
uni
.
$mocpMessage
.
error
(
res
.
message
)
}
}
//气象信息
const
goWeather
=
()
=>
{
if
(
details
.
value
?.
patrolIsOpen
==
'0'
)
{
return
uni
.
$mocpMessage
.
warning
(
'气象信息已失效'
)
}
navigateTo
(
'/panel/windDamageManagement/weather'
)
}
//保存
const
formData
=
reactive
({
basicId
:
''
,
brakeComplete
:
undefined
,
brakeFiles
:
''
,
brakeMeasure
:
''
,
bridgeComplete
:
undefined
,
bridgeFiles
:
''
,
bridgeMeasure
:
''
,
crossComplete
:
undefined
,
crossFiles
:
''
,
crossMeasure
:
''
,
endTime
:
undefined
,
fixComplete
:
undefined
,
fixFiles
:
''
,
fixMeasure
:
''
,
hnarComplete
:
undefined
,
hnarFiles
:
''
,
hnarMeasure
:
''
,
id
:
''
,
pressureComplete
:
undefined
,
pressureFiles
:
''
,
pressureMeasure
:
''
,
relieveComplete
:
undefined
,
relieveFiles
:
''
,
relieveMeasure
:
''
,
reportComplete
:
undefined
,
reportFiles
:
''
,
reportMeasure
:
''
,
serviceComplete
:
undefined
,
serviceFiles
:
''
,
serviceMeasure
:
''
,
shutComplete
:
undefined
,
shutFiles
:
''
,
shutMeasure
:
''
,
startTime
:
undefined
,
stayComplete
:
undefined
,
stayFiles
:
''
,
stayMeasure
:
''
,
syncComplete
:
undefined
,
syncFiles
:
''
,
syncMeasure
:
''
})
const
handleRightClick
=
async
()
=>
{
const
res
=
await
saveOperateWorkApi
(
formData
,
{
loading
:
true
})
if
(
res
.
code
==
200
)
{
uni
.
$mocpMessage
.
success
(
res
.
message
)
windDamageManagementStore
.
getAllTaskInfoByWeather
()
uni
.
$emit
(
'windDamageManagementReload'
)
}
else
{
uni
.
$mocpMessage
.
error
(
res
.
message
)
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.mocp-cell
{
background
:
#fff
;
border-bottom
:
16
rpx
#f7f8fa
solid
;
}
.mocp-title
{
display
:
flex
;
align-items
:
center
;
.txt
{
font-weight
:
500
;
font-size
:
34
rpx
;
color
:
$
mocp-text-5
;
margin-right
:
8
rpx
;
}
}
:deep
(
.u-collapse-item
)
{
.u-cell
{
background
:
#f7f8fa
;
}
.u-collapse-item__content
{
.u-cell
{
background
:
#fff
;
}
}
.u-collapse-item__content__text
{
padding
:
0
;
}
.u-cell__title
{
color
:
$
mocp-text-5
;
}
}
</
style
>
src/pages/modules/mocp/panel/windDamageManagement/patrolDetails.vue
View file @
cdf74bc6
...
...
@@ -2,13 +2,13 @@
<global-page
:padding=
"24"
title=
"防风害巡场检查单"
:showFooterBtn=
"get
Details?.patrolBasicVo?
.rxStatus == 0"
:showFooterBtn=
"get
BasicVo
.rxStatus == 0"
footerBtnText=
"接收"
@
handleFooterClick=
"handleFooterClick"
showNavRight
navRightType=
"button"
navRightText=
"保存"
:navRightDisabled=
"get
Details?.patrolBasicVo?
.rxStatus == 0"
:navRightDisabled=
"get
BasicVo
.rxStatus == 0"
@
handleRightClick=
"handleRightClick"
>
<template
v-if=
"details"
>
...
...
@@ -19,8 +19,8 @@
<view
class=
"mocp-title"
>
<text
class=
"txt"
>
基础信息
</text>
<view>
<global-tag
:type=
"useGetDictByValue('wdm_rxStatusType', get
Details.patrolBasicVo?
.rxStatus)"
>
{{
useGetDictByValue
(
'wdm_rxStatus'
,
get
Details
.
patrolBasicVo
?
.
rxStatus
)
}}
<global-tag
:type=
"useGetDictByValue('wdm_rxStatusType', get
BasicVo
.rxStatus)"
>
{{
useGetDictByValue
(
'wdm_rxStatus'
,
get
BasicVo
.
rxStatus
)
}}
</global-tag>
</view>
</view>
...
...
@@ -29,7 +29,7 @@
<view
style=
"margin-right: 24rpx"
>
<global-button
type=
"text"
:disabled=
"get
Details.patrolBasicVo?
.rxStatus == 0"
:disabled=
"get
BasicVo
.rxStatus == 0"
@
tap
.
stop=
"navigateTo('/panel/windDamageManagement/editBasic')"
>
编辑
...
...
@@ -39,9 +39,9 @@
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell
title=
"报文生成时间"
:value=
"details.generateTime || '-'"
/>
<up-cell
title=
"预报风速"
:value=
"get
Details.patrolBasicVo?
.windSpeed || '-'"
/>
<up-cell
title=
"预报风速"
:value=
"get
BasicVo
.windSpeed || '-'"
/>
<up-cell
title=
"预计开始时间"
:value=
"details.startTime || '-'"
/>
<up-cell
title=
"基地值班"
:value=
"get
Details.patrolBasicVo?
.dutyName || '-'"
/>
<up-cell
title=
"基地值班"
:value=
"get
BasicVo
.dutyName || '-'"
/>
<up-cell
title=
"航站"
:value=
"baseStore.getTerminalObject[details.terminal] || '-'"
...
...
@@ -56,16 +56,13 @@
<text
@
tap=
"goWeather"
>
气象信息
</text>
</
template
>
</up-cell>
<up-cell
title=
"巡场人员"
:value=
"get
Details.patrolBasicVo?
.operateName || '-'"
/>
<up-cell
title=
"发起人"
:value=
"get
Details.patrolBasicVo?
.proposedName || '-'"
/>
<up-cell
title=
"发起时间"
:value=
"timeStampFormat(get
Details.patrolBasicVo?
.proposedTime) || '-'"
/>
<up-cell
title=
"巡场人员"
:value=
"get
BasicVo
.operateName || '-'"
/>
<up-cell
title=
"发起人"
:value=
"get
BasicVo
.proposedName || '-'"
/>
<up-cell
title=
"发起时间"
:value=
"timeStampFormat(get
BasicVo
.proposedTime) || '-'"
/>
<up-cell
isLink
>
<
template
#
title
>
<global-field
label=
"填报人:"
:value=
"getDetails.patrolBasicVo?.fillingName || '-'"
></global-field>
<global-field
label=
"填报时间:"
:value=
"timeStampFormat(getDetails.patrolBasicVo?.fillingTime) || '-'"
></global-field>
<global-field
label=
"填报人:"
:value=
"getBasicVo.fillingName || '-'"
></global-field>
<global-field
label=
"填报时间:"
:value=
"timeStampFormat(getBasicVo.fillingTime) || '-'"
></global-field>
</
template
>
<
template
#
value
>
<text
@
tap=
"openReceiveHistory"
>
接收历史
</text>
...
...
@@ -119,7 +116,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.startFiles"
:file-list=
"get
Details.patrolWorkVo?
.startFiles"
></global-upload>
<global-upload
v-model=
"formData.startFiles"
:file-list=
"get
WorkVo
.startFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 2 -->
...
...
@@ -152,7 +149,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.wheelFiles"
:file-list=
"get
Details.patrolWorkVo?
.wheelFiles"
></global-upload>
<global-upload
v-model=
"formData.wheelFiles"
:file-list=
"get
WorkVo
.wheelFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 3 -->
...
...
@@ -185,10 +182,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.parkingFiles"
:file-list=
"getDetails.patrolWorkVo?.parkingFiles"
></global-upload>
<global-upload
v-model=
"formData.parkingFiles"
:file-list=
"getWorkVo.parkingFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 4 -->
...
...
@@ -223,10 +217,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.monitoringFiles"
:file-list=
"getDetails.patrolWorkVo?.monitoringFiles"
></global-upload>
<global-upload
v-model=
"formData.monitoringFiles"
:file-list=
"getWorkVo.monitoringFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 5 -->
...
...
@@ -254,10 +245,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.hazardFiles"
:file-list=
"getDetails.patrolWorkVo?.hazardFiles"
></global-upload>
<global-upload
v-model=
"formData.hazardFiles"
:file-list=
"getWorkVo.hazardFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 6 -->
...
...
@@ -285,7 +273,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.taFiles"
:file-list=
"get
Details.patrolWorkVo?
.taFiles"
></global-upload>
<global-upload
v-model=
"formData.taFiles"
:file-list=
"get
WorkVo
.taFiles"
></global-upload>
</
template
>
</up-cell>
<!-- 7 -->
...
...
@@ -313,7 +301,7 @@
</up-cell>
<up-cell>
<
template
#
label
>
<global-upload
v-model=
"formData.endFiles"
:file-list=
"get
Details.patrolWorkVo?
.endFiles"
></global-upload>
<global-upload
v-model=
"formData.endFiles"
:file-list=
"get
WorkVo
.endFiles"
></global-upload>
</
template
>
</up-cell>
</up-cell-group>
...
...
@@ -321,8 +309,8 @@
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell>
<
template
#
title
>
填报人:
{{
get
Details
.
patrolWorkVo
?
.
fillingName
||
'-'
}}
</
template
>
<
template
#
value
>
填报时间:
{{
timeStampFormat
(
get
Details
.
patrolWorkVo
?
.
fillingTime
)
||
'-'
}}
</
template
>
<
template
#
title
>
填报人:
{{
get
WorkVo
.
fillingName
||
'-'
}}
</
template
>
<
template
#
value
>
填报时间:
{{
timeStampFormat
(
get
WorkVo
.
fillingTime
)
||
'-'
}}
</
template
>
</up-cell>
<up-cell
title=
"巡场结束时间"
>
<
template
#
value
>
...
...
@@ -345,7 +333,7 @@
<view
style=
"margin-right: 24rpx"
>
<global-button
type=
"text"
:disabled=
"get
Details.patrolBasicVo?
.rxStatus == 0"
:disabled=
"get
BasicVo
.rxStatus == 0"
@
tap
.
stop=
"navigateTo('/panel/windDamageManagement/editConclusion')"
>
编辑
...
...
@@ -354,25 +342,22 @@
</
template
>
<view
class=
"mocp-cell"
>
<up-cell-group>
<up-cell
title=
"是否有异常"
:value=
"useGetDictByValue('wdm_isAbnormal', getDetails.patrolConclusionVo?.isAbnormal) || '-'"
/>
<up-cell
title=
"是否有异常"
:value=
"useGetDictByValue('wdm_isAbnormal', getConclusionVo.isAbnormal) || '-'"
/>
<up-cell>
<
template
#
label
>
{{
get
Details
.
patrolConclusionVo
?
.
content
||
'无'
}}
{{
get
ConclusionVo
.
content
||
'无'
}}
</
template
>
</up-cell>
<up-cell
title=
"附件"
>
<
template
#
label
>
<view
style=
"margin-top: 16rpx"
>
<global-upload
:file-list=
"get
Details.patrolConclusionVo?
.files"
:show-upload=
"false"
></global-upload>
<global-upload
:file-list=
"get
ConclusionVo
.files"
:show-upload=
"false"
></global-upload>
</view>
</
template
>
</up-cell>
<up-cell>
<
template
#
title
>
填报人:
{{
get
Details
.
patrolConclusionVo
?
.
fillingName
||
'-'
}}
</
template
>
<
template
#
value
>
填报时间:
{{
timeStampFormat
(
get
Details
.
patrolConclusionVo
?
.
fillingTime
)
||
'-'
}}
</
template
>
<
template
#
title
>
填报人:
{{
get
ConclusionVo
.
fillingName
||
'-'
}}
</
template
>
<
template
#
value
>
填报时间:
{{
timeStampFormat
(
get
ConclusionVo
.
fillingTime
)
||
'-'
}}
</
template
>
</up-cell>
</up-cell-group>
</view>
...
...
@@ -410,10 +395,10 @@ import { savePatrolWorkApi, saveReceiveInfoApi } from 'mocp/api/windDamageManage
const
baseStore
=
useBaseStore
()
const
windDamageManagementStore
=
useWindDamageManagementStore
()
const
{
details
,
get
Details
,
basicId
,
tabIndex
}
=
storeToRefs
(
windDamageManagementStore
)
const
{
details
,
get
BasicVo
,
getConclusionVo
,
getWorkVo
,
basicId
,
tabIndex
}
=
storeToRefs
(
windDamageManagementStore
)
onLoad
(
async
()
=>
{
await
windDamageManagementStore
.
getAllTaskInfoByWeather
()
Object
.
assign
(
formData
,
get
Details
.
value
?.
patrolWorkVo
)
Object
.
assign
(
formData
,
get
WorkVo
.
value
)
})
//接收历史
...
...
src/static/mocp/css/list.scss
View file @
cdf74bc6
...
...
@@ -65,6 +65,9 @@
margin-left
:
0
;
}
}
.row
{
margin-bottom
:
16rpx
;
}
}
&
-footer
{
display
:
flex
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment