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
ee594c98
Commit
ee594c98
authored
Aug 06, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
fcae7b99
57bd7aab
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
977 additions
and
974 deletions
+977
-974
App.vue
src/App.vue
+41
-2
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+2
-2
HotelSupplier.vue
src/components/Hotel/HotelSupplier.vue
+435
-431
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+37
-11
leaderPerformance.vue
src/components/LeaderManagement/leaderPerformance.vue
+9
-7
PersonnelManagement.vue
src/components/activity/PersonnelManagement.vue
+450
-515
leaderPay2.vue
src/components/leaderPay2.vue
+3
-6
No files found.
src/App.vue
View file @
ee594c98
...
...
@@ -30,6 +30,7 @@ var sUserAgent = navigator.userAgent;
}
import
chosenOpenMode
from
'./components/commonPage/chosenOpenMode'
import
mycareer
from
'./components/champion/mycareer'
import
{
clearInterval
}
from
'timers'
;
export
default
{
name
:
'App'
,
components
:
{
...
...
@@ -62,18 +63,52 @@ export default {
dataShow
:
false
,
haveOpenMode
:
false
,
settingSys
:
false
,
timer
:
null
,
useTime
:
0
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
}
},
methods
:
{
inited
(
viewer
){
this
.
$viewer
=
viewer
},
show
(
data
)
{
this
.
$set
(
this
.
images
,
data
)
this
.
$viewer
.
show
()
},
listeneruser
(){
let
that
=
this
window
.
onblur
=
function
()
{
that
.
plaus
()
if
(
that
.
useTime
)
{
let
params
=
{
CreateBy
:
that
.
getLocalStorage
().
EmployeeId
,
UsedTime
:
that
.
useTime
}
that
.
apipost
(
"user_set_user_usederplog"
,
params
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
this
.
UsedTime
=
0
}
})
}
}
window
.
onfocus
=
function
()
{
that
.
timekeeper
()
}
},
timekeeper
(){
if
(
!
this
.
timer
){
this
.
timer
=
window
.
setInterval
(()
=>
{
this
.
useTime
+=
0.1
},
1000
*
6
);
}
},
plaus
()
{
if
(
this
.
timer
){
window
.
clearInterval
(
this
.
timer
);
this
.
timer
=
null
}
}
},
mounted
()
{
...
...
@@ -81,6 +116,9 @@ export default {
this
.
$router
.
push
({
path
:
'/login'
})
}
else
{
this
.
timekeeper
()
this
.
listeneruser
()
}
this
.
haveOpenMode
=!
localStorage
.
openMode
this
.
MsgBus
.
$on
(
'imgpreviewoverflow'
,
content
=>
{
...
...
@@ -113,6 +151,7 @@ export default {
this
.
MsgBus
.
$on
(
'imgprevclear'
,
content
=>
{
this
.
images
=
[]
})
}
}
</
script
>
...
...
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
ee594c98
...
...
@@ -19,8 +19,8 @@
._bg__
._bg_green
:hover
{
color
:
rgb
(
66
,
182
,
132
);
}
._bg_red
{
color
:
#E95252
;}
._bg_green
{
color
:
#2BB87C
}
.
page_CompanyAccDetail
.
_bg_red
{
color
:
#E95252
;}
.
page_CompanyAccDetail
.
_bg_green
{
color
:
#2BB87C
}
._addChuNa_tit
{
color
:
gray
;
margin-bottom
:
10px
;}
._addChuNa_tit
span
{
color
:
#333333
}
</
style
>
...
...
src/components/Hotel/HotelSupplier.vue
View file @
ee594c98
This diff is collapsed.
Click to expand it.
src/components/Hotel/roomReservationsDetails.vue
View file @
ee594c98
...
...
@@ -22,7 +22,8 @@
<ul>
<li>
<input
v-if=
"IsOperation!=1"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
v-if=
"IsOperation==1&&CurrentUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
v-if=
"IsOperation==1&&CurrentUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<span
v-if=
"IsOperation==1"
style=
"color:red;font-size:14px;"
>
已制单,不能再修改!
</span>
</li>
</ul>
...
...
@@ -143,7 +144,8 @@
供应商
</td>
<td>
<el-select
class=
'w120 sel'
v-model=
'subItem.SupplierId'
@
change=
"getSupplierShoupei(subItem)"
filterable
placeholder=
"请选择供应商"
>
<el-select
class=
'w120 sel'
v-model=
'subItem.SupplierId'
@
change=
"getSupplierShoupei(subItem)"
filterable
placeholder=
"请选择供应商"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(SupplierItem,Supplierindex) in SupplierList"
:key=
"Supplierindex"
:label=
"SupplierItem.Name"
:value=
"SupplierItem.ID"
>
...
...
@@ -281,6 +283,20 @@
<!-- 付款方式 -->
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<table
class=
"hotelTable"
>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
币种:
</td>
<td>
<el-select
v-model=
"subItem.CurrencyId"
placeholder=
"请选择"
class=
'w135 sel'
style=
"display:none;"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(item,index) in allCurrencyList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td
colspan=
"2"
style=
"height:5px;"
></td>
</tr>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
订房状态:
</td>
<td>
...
...
@@ -406,10 +422,10 @@
<tr
v-if=
"CurrentUserInfo.EmployeeId == 615"
>
<td
width=
"70"
style=
"text-align:right;"
>
是否同步更新房间数:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.IsSyncHotelCount'
>
<el-select
class=
'w135 sel'
v-model=
'subItem.IsSyncHotelCount'
>
<el-option
label=
'同步更新'
:value=
'0'
></el-option>
<el-option
label=
'不更新'
:value=
'1'
></el-option>
</el-select>
</el-select>
</td>
</tr>
</table>
...
...
@@ -495,6 +511,7 @@
GuideName
:
""
,
//导游名称
IsEditHotelPeople
:
0
,
//是否有修改人数权限[0-不能修改,1-可以修改]
IsCombine
:
false
,
//是否是合团,true-是合团,false-不是合团
allCurrencyList
:
[],
//币种列表
}
},
components
:
{
...
...
@@ -718,8 +735,8 @@
subItem
.
isShowPop
=
false
;
subItem
.
ckedHotelName
=
""
;
//遍历手配
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
subItem
.
SupplierId
)
{
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
subItem
.
SupplierId
)
{
subItem
.
IsHaveShouPeiFee
=
x
.
IsHaveShouPeiFee
;
subItem
.
ShouPeiMoney
=
x
.
ShouPeiMoney
;
}
...
...
@@ -913,16 +930,25 @@
},
err
=>
{});
},
//改变id获取手配价格
getSupplierShoupei
(
SubItem
){
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
SubItem
.
SupplierId
)
{
SubItem
.
IsHaveShouPeiFee
=
x
.
IsHaveShouPeiFee
;
SubItem
.
ShouPeiMoney
=
x
.
ShouPeiMoney
;
getSupplierShoupei
(
SubItem
)
{
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
SubItem
.
SupplierId
)
{
SubItem
.
IsHaveShouPeiFee
=
x
.
IsHaveShouPeiFee
;
SubItem
.
ShouPeiMoney
=
x
.
ShouPeiMoney
;
}
})
},
//获取所有币种
getAllCurrency
()
{
this
.
apipost
(
"financeinfo_post_GetList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
allCurrencyList
=
res
.
data
.
data
;
}
},
err
=>
{});
}
},
mounted
()
{
this
.
getAllCurrency
();
let
userInfo
=
this
.
getLocalStorage
()
this
.
CurrentUserInfo
=
userInfo
;
this
.
LeaderName
=
this
.
$route
.
query
.
LeaderName
;
...
...
src/components/LeaderManagement/leaderPerformance.vue
View file @
ee594c98
...
...
@@ -296,14 +296,14 @@
</span>
</li>
<li>
<span
v-if=
"msg.Type==3||msg.Type==
1
"
>
<span
v-if=
"msg.Type==3||msg.Type==
6
"
>
<em>
年份:
</em>
<el-date-picker
v-model=
"msg.MonthStr"
type=
"year"
placeholder=
"选择年"
>
<el-date-picker
v-model=
"msg.MonthStr"
type=
"year"
value-format=
"yyyy"
placeholder=
"选择年"
>
</el-date-picker>
</span>
<span
v-else-if=
"msg.Type==2"
>
<em>
月份:
</em>
<el-date-picker
v-model=
"msg.MonthStr"
type=
"month"
placeholder=
"选择月"
>
<el-date-picker
v-model=
"msg.MonthStr"
type=
"month"
value-format=
"yyyy-MM"
placeholder=
"选择月"
>
</el-date-picker>
</span>
<span
v-else
>
...
...
@@ -324,7 +324,7 @@
<el-select
v-model=
"msg.Type"
:placeholder=
"$t('system.ph_choice')"
>
<el-option
label=
"月榜"
:value=
'2'
></el-option>
<el-option
label=
"年榜"
:value=
'3'
></el-option>
<el-option
label=
"总榜"
:value=
'
1
'
></el-option>
<el-option
label=
"总榜"
:value=
'
6
'
></el-option>
<el-option
label=
"人均"
:value=
'4'
></el-option>
<el-option
label=
"回佣人均"
:value=
'5'
></el-option>
</el-option>
...
...
@@ -357,7 +357,7 @@
{{
$t
(
'leader.leader_Year'
)
}}
<i></i>
</li>
<li
:class=
"msg.Type==
1?'Day_active':''"
@
click=
"msg.Type=1
,getStatis()"
>
<li
:class=
"msg.Type==
6?'Day_active':''"
@
click=
"msg.Type=6
,getStatis()"
>
{{
$t
(
'leader.leader_All'
)
}}
<i></i>
</li>
...
...
@@ -459,8 +459,8 @@
MonthStr
:
""
,
//领队类型
QLeaderType
:
0
,
Year
:
new
Date
().
getFullYear
()
,
Month
:
new
Date
().
getMonth
()
+
1
,
Year
:
0
,
Month
:
0
,
ShoppingID
:
0
,
//购物店编号
},
//工作类型
...
...
@@ -550,6 +550,8 @@
},
mounted
()
{
var
Year
=
new
Date
().
getFullYear
();
this
.
msg
.
Year
=
new
Date
().
getFullYear
();
this
.
msg
.
Month
=
new
Date
().
getMonth
()
+
1
;
let
count
=
Year
-
(
Year
-
8
);
for
(
let
i
=
0
;
i
<=
count
;
i
++
)
{
this
.
yearList
.
push
(
Year
-
i
);
...
...
src/components/activity/PersonnelManagement.vue
View file @
ee594c98
This diff is collapsed.
Click to expand it.
src/components/leaderPay2.vue
View file @
ee594c98
...
...
@@ -224,7 +224,7 @@ input[type="number"] {
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.TicketPriceList.length"
>
{{
scenicTotalPrice
(
subItem
,
subItem
.
TicketPriceList
)
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.TicketPriceList.length"
>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.TicketPriceList.length"
>
{{
subItem
.
TradingTotalPrice
}}
</td>
...
...
@@ -1206,14 +1206,11 @@ export default {
date
=
obj
?
obj
.
UseTimeStr
:
'all'
}
else
if
(
name
===
'bus'
)
{
path
=
"CarDetails"
TCIDs
=
obj
.
TCIDs
;
date
=
obj
.
UseTime
;
date
=
obj
?
obj
.
UseTime
:
'all'
;
}
else
if
(
name
===
'dining'
)
{
path
=
"DinningDetails"
TCIDs
=
obj
.
TCIDs
;
date
=
obj
.
UseTimeStr
;
date
=
obj
?
obj
.
UseTimeStr
:
'all'
;
}
else
if
(
name
===
'hotel'
)
{
path
=
'leaderPayHotelDetail'
date
=
obj
?
obj
.
CheckInDateStr
:
'all'
...
...
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