Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
b6948ff0
Commit
b6948ff0
authored
May 09, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
bd258d55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
10 deletions
+41
-10
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+41
-10
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
b6948ff0
...
...
@@ -431,7 +431,6 @@
<div
class=
"TCL_Content"
style=
"width:90%"
>
{{
item
.
Title
}}
</div>
</div>
</div>
<div>
...
...
@@ -944,7 +943,8 @@
</tr>
<tr>
<td
colspan=
"2"
style=
"text-align:center;"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.saveBtn')"
@
click=
"openAirticket()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.saveBtn')"
@
click=
"openAirticket()"
/>
</td>
</tr>
</table>
...
...
@@ -1033,15 +1033,9 @@
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
class=
"TC-dropdown"
>
<!-- <el-dropdown-item @click.native="goToOpenTravel('TravelManager2',item.ID,0,item)">
{{$t('Operation.Op_xilieModyfi')}}
</el-dropdown-item> -->
<el-dropdown-item
@
click
.
native=
"goToOpenTravel('TravelManager',item.ID,0,item)"
>
系列团新版面
</el-dropdown-item>
<!-- <el-dropdown-item @click.native="goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM,item)">
{{$t('Operation.Op_dangtuanModify')}}
</el-dropdown-item> -->
<el-dropdown-item
@
click
.
native=
"goTonowTeam('TravelManager',item.ID,item.TCID,item.TCNUM,item)"
>
当团新版面
</el-dropdown-item>
...
...
@@ -1054,7 +1048,7 @@
</el-button>
<
template
v-if=
"item.LineID==14||item.LineID==118"
>
<el-button
v-if=
"item.IsPush==0"
@
click
.
native=
'PushMessage(item)'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF;"
>
推送消息
style=
"background:#00C6FF; border-color:#00C6FF;"
>
订房推送
</el-button>
<el-tooltip
v-else-if=
"item.IsPush==1"
class=
"item"
effect=
"dark"
content=
"点击取消推送"
placement=
"top"
>
<el-button
@
click
.
native=
'PushMessage(item)'
type=
"primary"
style=
"background:red !important;"
>
已推送
...
...
@@ -1064,6 +1058,20 @@
style=
"background:#00C6FF; border-color:#00C6FF;"
>
重新推送
</el-button>
</
template
>
<
template
v-if=
"item.LineID==14||item.LineID==118"
>
<el-button
v-if=
"item.IsPush==0"
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF;"
>
订车推送
</el-button>
<el-tooltip
v-else-if=
"item.IsPush==1"
class=
"item"
effect=
"dark"
content=
"点击取消推送"
placement=
"top"
>
<el-button
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:red !important;"
>
已推送
</el-button>
</el-tooltip>
<el-button
v-if=
"item.IsPush==2"
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF;"
>
重新推送
</el-button>
</
template
>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
{{$t('Operation.Op_remark')}}
</el-button>
...
...
@@ -1105,7 +1113,8 @@
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2,item.TravelEndAudit)"
>
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.IsEditOutBranch==1"
@
click
.
native=
"GroupTypeObj=item,GroupTypeVisible=true"
>
<el-dropdown-item
v-if=
"item.IsEditOutBranch==1"
@
click
.
native=
"GroupTypeObj=item,GroupTypeVisible=true"
>
<div>
修改出团公司
</div>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1,item.TravelEndAudit)"
>
...
...
@@ -1664,6 +1673,7 @@
},
//推送消息
PushMessage
(
item
)
{
this
.
queryCommonData
.
loading
=
true
;
var
pMsg
=
{
TCID
:
item
.
TCID
...
...
@@ -1683,6 +1693,27 @@
}
});
},
//订车推送
PushBusMessage
(
item
)
{
this
.
queryCommonData
.
loading
=
true
;
var
pMsg
=
{
TCID
:
item
.
TCID
};
var
tipMessage
=
"订车推送消息"
;
var
cmdStr
=
"travel_post_PushTravelBusToQYWork"
;
//推送消息
if
(
item
.
IsPush
==
1
)
{
cmdStr
=
"travel_post_CancelPushTravelBusToQYWork"
;
//取消推送
tipMessage
=
"订车【取消】推送"
;
}
this
.
apipost
(
cmdStr
,
pMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
tipMessage
+
'成功!'
);
this
.
getControlList
();
}
else
{
this
.
Error
(
tipMessage
+
'失败!'
);
}
});
},
showDialog
(
ConfigId
,
OfferId
)
{
this
.
dialog
=
{
show
:
true
,
...
...
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