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
bdfc7d2b
Commit
bdfc7d2b
authored
Aug 12, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
合并代码
parents
58819207
994ab4ed
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
813 additions
and
372 deletions
+813
-372
HotelWorkList.vue
src/components/Hotel/HotelWorkList.vue
+160
-125
leaderPerformance.vue
src/components/LeaderManagement/leaderPerformance.vue
+57
-11
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+450
-236
commonHotelWork.vue
src/components/commonPage/commonHotelWork.vue
+146
-0
No files found.
src/components/Hotel/HotelWorkList.vue
View file @
bdfc7d2b
This diff is collapsed.
Click to expand it.
src/components/LeaderManagement/leaderPerformance.vue
View file @
bdfc7d2b
...
...
@@ -62,7 +62,7 @@
}
.guidPerformance
.leftTop
{
width
:
8
10px
;
width
:
10
10px
;
height
:
360px
;
border
:
1px
solid
#E6E6E6
;
background-color
:
#fff
;
...
...
@@ -83,7 +83,7 @@
.guidPerformance
.bottomList
{
float
:
left
;
width
:
399
px
;
width
:
495
px
;
height
:
230px
;
border
:
1px
solid
#E6E6E6
;
border-radius
:
4px
;
...
...
@@ -329,6 +329,14 @@
<el-option
label=
"回佣人均"
:value=
'5'
></el-option>
<el-option
label=
"人均低于1W"
:value=
'7'
></el-option>
</el-option>
<el-option
label=
"带团次数"
:value=
'8'
></el-option>
</el-option>
<el-option
label=
"自费总金额"
:value=
'9'
></el-option>
</el-option>
<el-option
label=
"自费人均"
:value=
'10'
></el-option>
</el-option>
<el-option
label=
"自费次数"
:value=
'11'
></el-option>
</el-option>
</el-select>
</span>
</li>
...
...
@@ -374,9 +382,25 @@
人均低于1W
<i></i>
</li>
<li
:class=
"msg.Type==8?'Day_active':''"
@
click=
"msg.Type=8,getStatis()"
title=
"带团次数"
>
带团次数
<i></i>
</li>
<li
:class=
"msg.Type==9?'Day_active':''"
@
click=
"msg.Type=9,getStatis()"
title=
"自费总金额"
>
自费总金额
<i></i>
</li>
<li
:class=
"msg.Type==10?'Day_active':''"
@
click=
"msg.Type=10,getStatis()"
title=
"自费人均"
>
自费人均
<i></i>
</li>
<li
:class=
"msg.Type==11?'Day_active':''"
@
click=
"msg.Type=11,getStatis()"
title=
"自费次数"
>
自费次数
<i></i>
</li>
</ul>
<div
class=
"ChampionsLeague clearfix"
>
<template
v-if=
"msg.Type
!=
7"
>
<template
v-if=
"msg.Type
<
7
"
>
<div
class=
"championList"
v-for=
"item in yajun"
:key=
"item.subCode"
>
<div
class=
"runnderUp"
>
<img
v-if=
"!item.EmPhoto"
src=
"../../assets/img/default_head_img.jpg"
>
...
...
@@ -411,26 +435,48 @@
<
template
v-else
>
<table
class=
"singeRowTable"
style=
"margin-top:5px;"
>
<tr>
<th
width=
"100"
>
编号
</th>
<th
width=
"100"
>
姓名
</th>
<th
width=
"200"
>
人均回佣金额
</th>
<th
width=
"100"
>
编号
</th>
<th
width=
"100"
>
姓名
</th>
<th
width=
"200"
>
<template
v-if=
"msg.Type==7"
>
人均回佣金额
</
template
>
<
template
v-if=
"msg.Type==8"
>
带团次数
</
template
>
<
template
v-if=
"msg.Type==9"
>
自费总金额
</
template
>
<
template
v-if=
"msg.Type==10"
>
自费人均
</
template
>
<
template
v-if=
"msg.Type==11"
>
自费次数
</
template
>
</th>
</tr>
<tr
v-for=
"(item,index) in DataList"
>
<td>
{{
index
+
1
}}
{{index+1}}
</td>
<td>
{{item.Name}}
</td>
<td>
¥
{{
item
.
LeaderExtract
}}
<
template
v-if=
"msg.Type==7"
>
¥
</
template
>
{{item.LeaderExtract}}
<
template
v-if=
"msg.Type==8"
>
次
</
template
>
</td>
</tr>
</table>
</template>
</div>
</div>
<
template
v-if=
"msg.Type
!=
7"
>
<
template
v-if=
"msg.Type
<
7"
>
<div
class=
"leftBottom clearfix"
>
<div
class=
"bottomList"
>
<div
class=
"btLittle"
v-for=
"(item,index) in fourToSeven"
:key=
"item.subCode"
>
...
...
@@ -461,7 +507,7 @@
</div>
</
template
>
</div>
<
template
v-if=
"msg.Type
!=
7"
>
<
template
v-if=
"msg.Type
<
7"
>
<div
class=
"rightDiv"
>
<div
class=
"_btTitle"
v-for=
"(item,index) in twelveToTwenty"
:key=
"item.subCode"
>
<div
class=
"tweleindex"
>
{{
12
+
index
}}
</div>
...
...
@@ -539,7 +585,7 @@
this
.
apipost
(
"LeaderSchedule_get_GetLeaderList"
,
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
.
data
));
this
.
DataList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
.
data
));
var
nArray
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
.
data
));
if
(
nArray
&&
nArray
.
length
>
0
)
{
this
.
Champion
=
nArray
.
splice
(
0
,
1
);
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
bdfc7d2b
This diff is collapsed.
Click to expand it.
src/components/commonPage/commonHotelWork.vue
0 → 100644
View file @
bdfc7d2b
<
template
>
<div
class=
"commonPriceHotelInfo"
>
<table
v-loading=
"changeLoading"
>
<tr>
<th
width=
"60"
style=
"text-align:center;"
>
选择
</th>
<th
width=
"145"
style=
"text-align:center;"
>
团号
</th>
<th
width=
"140"
style=
"text-align:center;"
>
地接团号
</th>
<th
width=
"120"
style=
"text-align:center;"
>
酒店
</th>
<th
width=
"120"
style=
"text-align:center;"
>
更换酒店
</th>
<th
width=
"100"
style=
"text-align:center;"
>
OP状态
</th>
<th
width=
"100"
style=
"text-align:center;"
>
地接状态
</th>
</tr>
<tr
v-for=
"(hItem,hIndex) in MyDataList"
>
<td
style=
"text-align:center;"
>
<el-checkbox
:checked=
"hItem.IsChecked"
@
change=
"ChangeStatus(hItem)"
></el-checkbox>
</td>
<td
style=
"text-align:center;"
>
{{
hItem
.
TCNUM
}}
<br
/>
(
{{
hItem
.
TCID
}}
)
</td>
<td
style=
"text-align:center;"
>
{{
hItem
.
DMCNum
}}
</td>
<td
style=
"text-align:left;"
>
{{
hItem
.
OldHotelName
}}
</td>
<td
style=
"text-align:left;"
>
{{
hItem
.
NewHotelName
}}
</td>
<td
style=
"text-align:center;"
>
<template
v-if=
"hItem.OPState==1"
>
<a
style=
"color:green"
>
OP-指定
</a>
</
template
>
<
template
v-else-if=
"hItem.OPState==2"
>
<a
style=
"color:red"
>
OP-暂定
</a>
</
template
>
</td>
<td
style=
"text-align:center;"
>
<
template
v-if=
"hItem.DMCState==1"
>
<a
style=
"color:green"
>
地接-OK
</a>
</
template
>
<
template
v-else-if=
"hItem.DMCState==2"
>
<a
style=
"color:red"
>
地接-暂定
</a>
</
template
>
<
template
v-else-if=
"hItem.DMCState==0"
>
<a
style=
"color:red"
>
地接-未操作
</a>
</
template
>
</td>
</tr>
<tfoot>
<tr>
<td
colspan=
"6"
style=
"text-align:center;"
>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"SaveHotelOrder()"
/>
</td>
</tr>
</tfoot>
</table>
</div>
</template>
<
script
>
export
default
{
props
:
[
"TCID"
,
"HotelId"
,
"DateStr"
],
data
()
{
return
{
changeLoading
:
false
,
MyDataList
:
[],
};
},
methods
:
{
ChangeStatus
(
item
)
{
item
.
IsChecked
=
!
item
.
IsChecked
;
},
//获取可以改变的酒店列表
GetChangeHotelList
()
{
this
.
changeLoading
=
true
;
this
.
MyDataList
=
[];
var
that
=
this
;
this
.
apipost
(
"journeyorder_post_GetCanChangeHotelListService"
,
{
UseTime
:
this
.
DateStr
},
res
=>
{
that
.
changeLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
MyDataList
=
res
.
data
.
data
;
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
//保存酒店订单
SaveHotelOrder
()
{
var
that
=
this
;
this
.
Confirm
(
"是否要替换选中的酒店?"
,
function
()
{
var
newList
=
[];
if
(
that
.
ChangeHotelList
&&
that
.
ChangeHotelList
.
length
>
0
)
{
that
.
ChangeHotelList
.
forEach
(
item
=>
{
if
(
item
.
IsChecked
)
{
var
Nitem
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
Nitem
.
NewHotelID
=
this
.
HotelId
;
newList
.
push
(
Nitem
);
}
});
}
if
(
newList
&&
newList
.
length
>
0
)
{
that
.
apipost
(
"journeyorder_post_SaveWorkHotelOrderService"
,
newList
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
//that.getList();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
else
{
that
.
Info
(
"请选择团期!"
);
}
});
}
},
mounted
()
{
},
created
()
{
}
};
</
script
>
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