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
b96be27d
Commit
b96be27d
authored
May 10, 2024
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
f4f79e93
96f415ab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
20 deletions
+150
-20
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+81
-13
busHandBook.vue
src/components/busManagement/busHandBook.vue
+6
-2
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+63
-5
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
b96be27d
...
@@ -1050,27 +1050,44 @@
...
@@ -1050,27 +1050,44 @@
<el-button
v-if=
"item.IsPush==0"
@
click
.
native=
'PushMessage(item)'
type=
"primary"
<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-button>
<el-tooltip
v-else-if=
"item.IsPush==1"
class=
"item"
effect=
"dark"
content=
"点击取消推送"
placement=
"top"
>
<el-tooltip
v-else-if=
"item.IsPush==1"
class=
"item"
effect=
"dark"
placement=
"top"
>
<div
slot=
"content"
>
<div
v-html=
"TipsContent(item,1)"
></div>
</div>
<el-button
@
click
.
native=
'PushMessage(item)'
type=
"primary"
style=
"background:red !important;"
>
已推送
<el-button
@
click
.
native=
'PushMessage(item)'
type=
"primary"
style=
"background:red !important;"
>
已推送
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
<el-button
v-if=
"item.IsPush==2"
@
click
.
native=
'PushMessage(item)'
type=
"primary"
<el-tooltip
v-else-if=
"item.IsPush==2"
class=
"item"
effect=
"dark"
:content=
"item.HotelPushDate"
placement=
"top"
>
<div
slot=
"content"
>
<div
v-html=
"TipsContent(item,1)"
></div>
</div>
<el-button
@
click
.
native=
'PushMessage(item)'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF;"
>
重新推送
style=
"background:#00C6FF; border-color:#00C6FF;"
>
重新推送
</el-button>
</el-button>
</el-tooltip>
</
template
>
</
template
>
<
template
v-if=
"item.LineID==14||item.LineID==118"
>
<
template
v-if=
"item.LineID==14||item.LineID==118"
>
<el-button
v-if=
"item.IsPush==0"
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
<el-button
v-if=
"item.
Car
IsPush==0"
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF;"
>
订车推送
style=
"background:#00C6FF; border-color:#00C6FF;"
>
订车推送
</el-button>
</el-button>
<el-tooltip
v-else-if=
"item.IsPush==1"
class=
"item"
effect=
"dark"
content=
"点击取消推送"
placement=
"top"
>
<!-- content="点击取消推送" -->
<el-tooltip
v-else-if=
"item.CarIsPush==1"
class=
"item"
effect=
"dark"
:content=
"item.CarPushDate"
placement=
"top"
>
<div
slot=
"content"
>
<div
v-html=
"TipsContent(item,2)"
></div>
</div>
<el-button
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:red !important;"
>
<el-button
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:red !important;"
>
已推送
已推送
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
<el-button
v-if=
"item.IsPush==2"
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
<el-tooltip
v-else-if=
"item.CarIsPush==2"
class=
"item"
effect=
"dark"
placement=
"top"
>
<div
slot=
"content"
>
<div
v-html=
"TipsContent(item,1)"
></div>
</div>
<el-button
@
click
.
native=
'PushBusMessage(item)'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF;"
>
重新推送
style=
"background:#00C6FF; border-color:#00C6FF;"
>
重新推送
</el-button>
</el-button>
</el-tooltip>
</
template
>
</
template
>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
{{$t('Operation.Op_remark')}}
{{$t('Operation.Op_remark')}}
...
@@ -1679,10 +1696,40 @@
...
@@ -1679,10 +1696,40 @@
}
}
});
});
},
},
TipsContent
(
item
,
type
){
let
resultStr
=
''
;
let
dateStr
=
''
;
if
(
type
==
2
){
if
(
item
.
CarIsPush
==
1
){
resultStr
+=
'点击取消推送'
+
"<br/>"
+
''
dateStr
=
'推送时间:'
;
}
else
if
(
item
.
CarIsPush
==
2
){
resultStr
+=
'点击重新推送'
+
"<br/>"
dateStr
=
'取消时间:'
;
}
if
(
item
.
CarPushDate
){
resultStr
+=
dateStr
+
item
.
CarPushDate
+
"<br/>"
}
}
else
if
(
type
==
1
){
if
(
item
.
IsPush
==
1
){
dateStr
=
'推送时间:'
;
resultStr
+=
'点击取消推送'
+
"<br/>"
}
else
if
(
item
.
IsPush
==
2
){
dateStr
=
'取消时间:'
;
resultStr
+=
'点击重新推送'
+
"<br/>"
}
if
(
item
.
HotelPushDate
){
resultStr
+=
dateStr
+
item
.
HotelPushDate
+
"<br/>"
}
}
return
resultStr
;
},
//推送消息
//推送消息
PushMessage
(
item
)
{
PushMessage
(
item
)
{
this
.
queryCommonData
.
loading
=
true
;
var
pMsg
=
{
var
pMsg
=
{
TCID
:
item
.
TCID
TCID
:
item
.
TCID
};
};
...
@@ -1691,7 +1738,13 @@
...
@@ -1691,7 +1738,13 @@
if
(
item
.
IsPush
==
1
)
{
if
(
item
.
IsPush
==
1
)
{
cmdStr
=
"travel_post_CancelPushTravelPriceToQYWork"
;
//取消推送
cmdStr
=
"travel_post_CancelPushTravelPriceToQYWork"
;
//取消推送
tipMessage
=
"【取消】推送"
;
tipMessage
=
"【取消】推送"
;
}
}
let
that
=
this
;
that
.
$confirm
(
'是否确认操作酒店推送'
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
'warning'
}).
then
(()
=>
{
this
.
queryCommonData
.
loading
=
true
;
this
.
apipost
(
cmdStr
,
pMsg
,
res
=>
{
this
.
apipost
(
cmdStr
,
pMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
tipMessage
+
'成功!'
);
this
.
Success
(
tipMessage
+
'成功!'
);
...
@@ -1700,19 +1753,30 @@
...
@@ -1700,19 +1753,30 @@
this
.
Error
(
tipMessage
+
'失败!'
);
this
.
Error
(
tipMessage
+
'失败!'
);
}
}
});
});
}).
catch
(()
=>
{
});
},
},
//订车推送
//订车推送
PushBusMessage
(
item
)
{
PushBusMessage
(
item
)
{
this
.
queryCommonData
.
loading
=
true
;
var
pMsg
=
{
var
pMsg
=
{
TCID
:
item
.
TCID
TCID
:
item
.
TCID
};
};
var
tipMessage
=
"订车推送消息"
;
var
tipMessage
=
"订车推送消息"
;
var
cmdStr
=
"travel_post_PushTravelBusToQYWork"
;
//推送消息
var
cmdStr
=
"travel_post_PushTravelBusToQYWork"
;
//推送消息
if
(
item
.
IsPush
==
1
)
{
if
(
item
.
Car
IsPush
==
1
)
{
cmdStr
=
"travel_post_CancelPushTravelBusToQYWork"
;
//取消推送
cmdStr
=
"travel_post_CancelPushTravelBusToQYWork"
;
//取消推送
tipMessage
=
"订车【取消】推送"
;
tipMessage
=
"订车【取消】推送"
;
}
}
let
that
=
this
;
that
.
$confirm
(
'是否确认操作订车推送'
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
'warning'
}).
then
(()
=>
{
this
.
queryCommonData
.
loading
=
true
;
this
.
apipost
(
cmdStr
,
pMsg
,
res
=>
{
this
.
apipost
(
cmdStr
,
pMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
tipMessage
+
'成功!'
);
this
.
Success
(
tipMessage
+
'成功!'
);
...
@@ -1721,6 +1785,10 @@
...
@@ -1721,6 +1785,10 @@
this
.
Error
(
tipMessage
+
'失败!'
);
this
.
Error
(
tipMessage
+
'失败!'
);
}
}
});
});
}).
catch
(()
=>
{
});
},
},
showDialog
(
ConfigId
,
OfferId
)
{
showDialog
(
ConfigId
,
OfferId
)
{
this
.
dialog
=
{
this
.
dialog
=
{
...
...
src/components/busManagement/busHandBook.vue
View file @
b96be27d
...
@@ -98,6 +98,7 @@
...
@@ -98,6 +98,7 @@
<td
class=
"commonBackColor"
width=
"200"
>
餐
</td>
<td
class=
"commonBackColor"
width=
"200"
>
餐
</td>
<td
class=
"commonBackColor"
width=
"200"
>
司机宿泊
</td>
<td
class=
"commonBackColor"
width=
"200"
>
司机宿泊
</td>
<td
class=
"commonBackColor"
width=
"100"
>
确认状态
</td>
</tr>
</tr>
<tr
v-for=
"(subItem, index) in DataObj.Details_Extends"
:key=
"index"
>
<tr
v-for=
"(subItem, index) in DataObj.Details_Extends"
:key=
"index"
>
<td>
<td>
...
@@ -143,15 +144,18 @@
...
@@ -143,15 +144,18 @@
<td>
<td>
<el-input
type=
"textarea"
resize=
"none"
style=
"padding:5px 0;"
v-model=
"subItem.DriverStay"
/>
<el-input
type=
"textarea"
resize=
"none"
style=
"padding:5px 0;"
v-model=
"subItem.DriverStay"
/>
</td>
</td>
<td>
{{subItem.IsSure==0?'暂定':subItem.IsSure==1?'OK':''}}
</td>
</tr>
</tr>
<tr>
<tr>
<td>
備考欄:
</td>
<td>
備考欄:
</td>
<td
colspan=
"
7
"
class=
"comTextAlign"
>
<td
colspan=
"
8
"
class=
"comTextAlign"
>
<el-input
type=
"text"
v-model=
"DataObj.Remarks"
/>
<el-input
type=
"text"
v-model=
"DataObj.Remarks"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"
8
"
class=
"comTextAlign"
>
<td
colspan=
"
9
"
class=
"comTextAlign"
>
*迎えや送りは必要・不要となることは、必ず標記してください。
*迎えや送りは必要・不要となることは、必ず標記してください。
</td>
</td>
</tr>
</tr>
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
b96be27d
...
@@ -378,18 +378,24 @@
...
@@ -378,18 +378,24 @@
<span
@
click=
"GoShoupei(outItem)"
<span
@
click=
"GoShoupei(outItem)"
style=
"cursor:pointer;text-decoration:underline;display:block;color:#666;font-size:12px;"
>
{{
$t
(
'ground.cheliangxinxi'
)
}}
</span>
style=
"cursor:pointer;text-decoration:underline;display:block;color:#666;font-size:12px;"
>
{{
$t
(
'ground.cheliangxinxi'
)
}}
</span>
<template
v-if=
"(item.LineId==14||item.LineId==118) &&(item.
JapanBusOrder==0||item.JapanBusOrder
==2)"
>
<template
v-if=
"(item.LineId==14||item.LineId==118) &&(item.
CarIsPush==0||item.CarIsPush
==2)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同步车信息到印象车行"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同步车信息到印象车行"
placement=
"top-start"
>
<div
slot=
"content"
>
<div
v-html=
"TipsContent(item)"
></div>
</div>
<span
<span
style=
"cursor:pointer;text-decoration:underline;display:block;color:blue;font-size:12px;padding-top:2px;"
style=
"cursor:pointer;text-decoration:underline;display:block;color:blue;font-size:12px;padding-top:2px;"
@
click=
"
SetBusOrder
(outItem,item)"
>
同步
</span>
@
click=
"
PushMessage
(outItem,item)"
>
同步
</span>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
v-else-if=
"(item.LineId==14||item.LineId==118) &&item.JapanBusOrder==1"
>
<
template
v-else-if=
"(item.LineId==14||item.LineId==118) &&item.CarIsPush==1"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"取消印象车行订单"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"top-start"
>
<div
slot=
"content"
>
<div
v-html=
"TipsContent(item)"
></div>
</div>
<span
<span
style=
"cursor:pointer;text-decoration:underline;display:block;color:red;font-size:12px;padding-top:2px;"
style=
"cursor:pointer;text-decoration:underline;display:block;color:red;font-size:12px;padding-top:2px;"
@
click=
"
CancelBusOrder
(outItem,item)"
>
取消同步
</span>
@
click=
"
PushMessage
(outItem,item)"
>
取消同步
</span>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
</div>
</div>
...
@@ -771,6 +777,58 @@
...
@@ -771,6 +777,58 @@
priceDialog
priceDialog
},
},
methods
:
{
methods
:
{
//推送消息
PushMessage
(
obj
,
item
)
{
var
pMsg
=
{
TCID
:
item
.
TCID
};
var
tipMessage
=
"同步车信息到印象车行"
;
var
cmdStr
=
"travel_post_PushTravelBusToQYWork"
;
//推送消息
if
(
item
.
CarIsPush
==
1
)
{
cmdStr
=
"travel_post_CancelPushTravelBusToQYWork"
;
//取消推送
tipMessage
=
"取消印象车行订单"
;
}
let
that
=
this
;
that
.
$confirm
(
'是否确认'
+
tipMessage
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
'warning'
}).
then
(()
=>
{
this
.
queryCommonData
.
loading
=
true
;
this
.
apipost
(
cmdStr
,
pMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
tipMessage
+
'成功!'
);
this
.
getControlList
();
}
else
{
this
.
Error
(
tipMessage
+
'失败!'
);
}
});
}).
catch
(()
=>
{
});
},
TipsContent
(
item
){
let
resultStr
=
''
;
let
dateStr
=
''
;
if
(
item
.
CarIsPush
==
1
){
resultStr
+=
'点击取消印象车行订单'
+
"<br/>"
+
''
dateStr
=
'推送时间:'
;
}
else
if
(
item
.
CarIsPush
==
2
||
item
.
CarIsPush
==
0
){
resultStr
+=
'同步车信息到印象车行'
+
"<br/>"
if
(
item
.
CarIsPush
==
2
){
dateStr
=
'取消时间:'
;
}
}
if
(
item
.
CarPushDateStr
){
resultStr
+=
dateStr
+
item
.
CarPushDateStr
+
"<br/>"
}
return
resultStr
;
},
//同步用车到车行订单
//同步用车到车行订单
SetBusOrder
(
rootItem
,
item
)
{
SetBusOrder
(
rootItem
,
item
)
{
this
.
loading
=
true
;
this
.
loading
=
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