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
db84b174
Commit
db84b174
authored
Jul 31, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 122.112.146.86:pangchong/mocp-uniapp
parents
6be2a122
5bdd0589
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
src/pages/modules/mocp/panel/flight-support/components/TableRow.vue
+2
-3
src/pages/modules/mocp/panel/flight-support/list.vue
+12
-3
No files found.
src/pages/modules/mocp/panel/flight-support/components/TableRow.vue
View file @
db84b174
...
...
@@ -42,8 +42,7 @@ import { fightListPlanTime } from 'mocp/utils/getFlightList'
import
{
storeToRefs
}
from
'pinia'
const
flightSupportStore
=
useFlightSupportStore
()
const
{
details
}
=
storeToRefs
(
flightSupportStore
)
const
listTab
=
flightSupportStore
.
listTab
const
{
details
,
getSelectedList
}
=
storeToRefs
(
flightSupportStore
)
const
ps
=
defineProps
({
itemMsg
:
{
...
...
@@ -56,7 +55,7 @@ const ps = defineProps({
const
msg
=
computed
(()
=>
{
if
(
!
ps
.
itemMsg
)
return
{}
const
isCurrentIn
=
currentInBoundModeForFlightTablePage
.
value
==
allInBoundMode
.
In
const
filterListTab
=
listTab
.
filter
(
item
=>
!!
item
.
selected
)
const
filterListTab
=
getSelectedList
.
value
.
filter
(
item
=>
!!
item
.
selected
)
return
filterListTab
.
map
(
item
=>
{
const
defaultObj
=
{
...
...
src/pages/modules/mocp/panel/flight-support/list.vue
View file @
db84b174
...
...
@@ -24,15 +24,21 @@
<
template
v-slot:top
>
<view
class=
"flex listTopTab text-center"
>
<view
v-for=
"item of getSelectedList"
:key=
"item.id"
class=
"topTabItem"
:style=
"
{ flex: item.flex }">
<view
v-for=
"item of getSelectedList"
:key=
"item.id"
class=
"topTabItem"
:style=
"
{ flex: item.flex }"
>
{{
item
.
label
}}
<up-icon
<
!--
<
up-icon
v-if=
"item.keyValue == 'time' || item.keyValue == 'staChn'"
@
click=
"sortClick(item)"
class=
"sortIcon"
name=
"arrow-down"
color=
"#4e5969"
size=
"10"
/>
/>
-->
<!--arrow-down-->
</view>
</view>
...
...
@@ -103,6 +109,9 @@ const transformData = (data) => {
return
listMsg
}
const
sortClick
=
(
e
)
=>
{
console
.
log
(
e
)
}
const
toCustom
=
()
=>
{
uni
.
$mocpJump
.
navigateTo
(
'/panel/flight-support/components/Custom'
)
}
...
...
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