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
0b602a88
Commit
0b602a88
authored
Mar 14, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
a200e46f
b6b80610
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
382 additions
and
310 deletions
+382
-310
package-lock.json
package-lock.json
+129
-124
package.json
package.json
+1
-0
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+1
-0
GroupAdvertising.vue
src/components/TravelManager/TravelList/GroupAdvertising.vue
+179
-172
LuckyDraw.vue
src/components/activity/LuckyDraw.vue
+2
-2
confirmationOrderDownLoad - 副本.vue
src/components/confirmationOrderDownLoad - 副本.vue
+0
-0
leaderPay2.vue
src/components/leaderPay2.vue
+70
-12
No files found.
package-lock.json
View file @
0b602a88
This diff is collapsed.
Click to expand it.
package.json
View file @
0b602a88
...
...
@@ -27,6 +27,7 @@
"
js-md5
"
:
"^0.7.3"
,
"
jspdf
"
:
"^1.4.1"
,
"
lrz
"
:
"^4.9.40"
,
"
moment
"
:
"^2.24.0"
,
"
node-sass
"
:
"^4.11.0"
,
"
pdfjs-dist
"
:
"^2.0.489"
,
"
pinyin
"
:
"^2.8.3"
,
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
0b602a88
...
...
@@ -1514,6 +1514,7 @@
</el-upload>
</td>
<td
class=
"groupTourOrderIcon"
>
<p
v-if=
"item.isOrder!='1'"
><span
style=
"font-size:6px"
>
已关订单操作、需修改请联系OP.
</span></p>
<el-button-group
v-if=
"item.commissionSharePeople !== userId"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
>
<el-button
v-if=
"item.isOrder=='1'&&item.isHaveFinance!='1'&&item.orderState!='1'&&item.orderState!='4'"
...
...
src/components/TravelManager/TravelList/GroupAdvertising.vue
View file @
0b602a88
...
...
@@ -19,16 +19,16 @@
</li>
<li>
<span>
<input
type=
"button"
class=
"normalBtn"
@
click=
"getaddatas"
value=
"查询"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"getaddatas"
value=
"查询"
/>
</span>
<span>
<el-upload
class=
"upload-demo"
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<input
type=
"button"
class=
"normalBtn"
value=
"上传图片"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"上传图片"
/>
</el-upload>
</span>
<span>
<input
type=
"button"
class=
"normalBtn"
@
click=
'goUrl("advert",LineID,msg.TCID,"制作广告")'
value=
"制作广告"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
'goUrl("advert",LineID,msg.TCID,"制作广告")'
value=
"制作广告"
/>
</span>
</li>
</ul>
...
...
@@ -41,7 +41,8 @@
<span
class=
"free"
v-if=
"item.AdType==1"
>
广告
</span>
<span
class=
"free"
v-if=
"item.AdType==2"
>
本地
</span>
<div
class=
"zezhao"
>
<a
v-if=
"item.AdType==1"
:href=
'`/#/advert?id=$
{item.AdvertId}
&
TCID=${item.TCID}`'>
<i
class=
"el-icon-edit"
title=
"修改"
></i></a>
<a
v-if=
"item.AdType==1"
:href=
'`/#/advert?id=$
{item.AdvertId}
&
TCID=${item.TCID}`'>
<i
class=
"el-icon-edit"
title=
"修改"
></i></a>
<a
:href=
'item.AdvertisingPicUrl'
download=
"广告图.png"
><i
class=
"el-icon-download"
title=
"下载"
></i></a>
<i
class=
"el-icon-delete"
title=
"删除"
@
click
.
stop=
"deleteItem(item.ID)"
></i>
</div>
...
...
@@ -49,7 +50,7 @@
</li>
</ul>
<div
v-if=
'dataList.length==0'
style=
'width:100%;margin-top:50px;text-align:center;color: #ccc;'
>
<i
class=
"iconfont icon-kong"
style=
"font-size: 120px;"
></i><br
/>
<i
class=
"iconfont icon-kong"
style=
"font-size: 120px;"
></i><br
/>
还没有广告哦
</div>
</div>
...
...
@@ -65,48 +66,48 @@
</
template
>
<
script
>
import
vueWaterfallEasy
from
'vue-waterfall-easy'
export
default
{
data
(){
return
{
dataList
:
[],
pageIndex
:
0
,
pageSize
:
15
,
picObj
:
[],
picIsShow
:
false
,
initialIndex
:
0
,
total
:
0
,
LineID
:
0
,
msg
:
{
TCID
:
0
,
AdType
:
0
import
vueWaterfallEasy
from
'vue-waterfall-easy'
export
default
{
data
()
{
return
{
dataList
:
[],
pageIndex
:
0
,
pageSize
:
15
,
picObj
:
[],
picIsShow
:
false
,
initialIndex
:
0
,
total
:
0
,
LineID
:
0
,
msg
:
{
TCID
:
0
,
AdType
:
0
},
SelectDefaultValue
:
0
,
AdTypeList
:
[{
Id
:
1
,
name
:
'广告制作'
},
{
Id
:
2
,
name
:
'本地上传'
SelectDefaultValue
:
0
,
AdTypeList
:
[{
Id
:
1
,
name
:
'广告制作'
},
{
Id
:
2
,
name
:
'本地上传'
}],
}
},
components
:
{
vueWaterfallEasy
},
mounted
(){
mounted
()
{
this
.
msg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
LineID
=
this
.
$route
.
query
.
LineID
this
.
user
=
JSON
.
parse
(
window
.
localStorage
.
userInfo
)
this
.
user
=
JSON
.
parse
(
window
.
localStorage
.
userInfo
)
this
.
getaddatas
()
},
methods
:{
methods
:
{
//删除广告
deleteItem
(
ID
)
{
deleteItem
(
ID
)
{
var
that
=
this
;
var
Ids
=
[];
Ids
.
push
(
ID
);
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
Confirm
(
"是否删除?"
,
function
()
{
var
msg
=
{
Ids
:
Ids
};
...
...
@@ -128,22 +129,21 @@ export default {
this
.
pageIndex
++
this
.
getaddatas
()
},
getaddatas
()
{
getaddatas
()
{
this
.
apipost
(
"travel_post_GetPriceAdvert"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
console
.
log
(
this
.
dataList
,
'dataListtttt'
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
},
//获取轮播路径
getPicList
(
index
)
{
this
.
picIsShow
=
true
;
this
.
picObj
=
[];
getPicList
(
index
)
{
this
.
picIsShow
=
true
;
this
.
picObj
=
[];
this
.
initialIndex
=
index
;
this
.
dataList
.
forEach
((
x
,
index
)
=>
{
this
.
dataList
.
forEach
((
x
,
index
)
=>
{
this
.
picObj
.
push
(
x
.
AdvertisingPicUrl
);
})
},
...
...
@@ -160,29 +160,36 @@ export default {
var
imgUrl
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
obj
.
Path
=
x
.
data
.
FilePath
;
obj
.
ShowPath
=
imgUrl
;
imgArr
.
push
(
obj
.
Show
Path
);
imgArr
.
push
(
obj
.
Path
);
let
msg
=
{
TCID
:
this
.
msg
.
TCID
,
AdvertisingPicUrlList
:
imgArr
TCID
:
this
.
msg
.
TCID
,
AdvertisingPicUrlList
:
imgArr
}
this
.
apipost
(
"travel_post_AddPriceLocalAdvert"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getaddatas
();
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
});
},
//跳转
goUrl
(
path
,
LineID
,
TCID
,
name
)
{
goUrl
(
path
,
LineID
,
TCID
,
name
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
LineID
:
LineID
,
TCID
:
TCID
,
blank
:
'y'
,
tab
:
name
}
query
:
{
LineID
:
LineID
,
TCID
:
TCID
,
blank
:
'y'
,
tab
:
name
}
});
},
}
}
}
</
script
>
src/components/activity/LuckyDraw.vue
View file @
0b602a88
...
...
@@ -548,9 +548,9 @@ export default {
newArr
.
push
(
file
.
file
)
let
path
=
"/Upload/activity/"
this
.
$message
.
info
(
'上传中...'
)
this
.
upload
File
(
path
,
newArr
,
x
=>
{
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
this
.
addMsg
.
image
=
x
.
res
.
requestUrls
[
0
].
split
(
'?'
)[
0
]
this
.
addMsg
.
image
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
this
.
$message
.
success
(
'上传成功'
);
this
.
$forceUpdate
();
});
...
...
src/components/confirmationOrderDownLoad - 副本.vue
deleted
100644 → 0
View file @
a200e46f
This diff is collapsed.
Click to expand it.
src/components/leaderPay2.vue
View file @
0b602a88
...
...
@@ -115,15 +115,16 @@
</td>
</tr>
</template>
<tr
v-if=
"dataList.ScenicList.length>0"
>
<
!-- <
tr v-if="dataList.ScenicList.length>0">
<td class="comTotal" colspan="4">合计:{{totalScenicPrice}}</td>
</tr>
</tr>
-->
<tr
v-for=
"(item,index) in dataList.BusList"
>
<td
v-if=
"index==0"
:rowspan=
"dataList.BusList.length"
>
交通
</td>
<td>
<span
v-if=
'index==0'
>
接机
</span>
{{item.ParkExplain}}
<!-- <span v-if='index==0'>接机</span>
<span v-if='index!=0&&index!=dataList.BusList.length-1'>{{item.AirportPickUpStr}}</span>
<span
v-if=
'index==dataList.BusList.length-1'
>
送机
</span>
<span v-if='index==dataList.BusList.length-1'>送机</span>
-->
</td>
<td>
{{item.TotalPrice}} {{item.CurrencyStr}}
...
...
@@ -132,9 +133,9 @@
{{item.Remarks}}
</td>
</tr>
<tr
v-if=
"dataList.BusList.length>0"
>
<
!-- <
tr v-if="dataList.BusList.length>0">
<td class="comTotal" colspan="4">合计:{{totalTrafficPrice}}</td>
</tr>
</tr>
-->
<
template
v-for=
'(item,index) in dataList.DiningList'
>
<tr
class=
"splitP ScenicTr"
>
<td
v-if=
"index==0"
:rowspan=
"dataList.DiningList.length"
>
餐饮
</td>
...
...
@@ -155,9 +156,9 @@
</td>
</tr>
</template>
<tr
v-if=
"dataList.DiningList.length>0"
>
<
!-- <
tr v-if="dataList.DiningList.length>0">
<td class="comTotal" colspan="4">合计:{{totalDinnerPrice}}</td>
</tr>
</tr>
-->
<
template
v-for=
'(item,index) in dataList.HotelList'
>
<tr>
<td
v-if=
"index==0"
:rowspan=
"dataList.HotelList.length"
>
酒店
</td>
...
...
@@ -168,14 +169,56 @@
<td>
{{
item
.
Remarks
}}
</td>
</tr>
</
template
>
<tr
v-if=
"dataList.HotelList.length>0"
>
<
!-- <
tr v-if="dataList.HotelList.length>0">
<td class="comTotal" colspan="4">合计:{{totalHotelPrice}}</td>
</tr>
<tr>
<td colspan="4">总计:{{allTotal}}</td>
</tr>
</tr>
-->
</tbody>
</table>
<table
border=
"0"
cellspacing=
'1'
class=
"leaderPayTable"
>
<tr>
<th>
类型
</th>
<th>
金额
</th>
</tr>
<tr
v-show=
"totalList.PlanTotalPrice>0"
>
<td>
领取团款
</td>
<td>
{{totalList.PlanTotalPrice}}
</td>
</tr>
<tr
v-show=
"totalList.SelfPayingExpendTotalPrice>0"
>
<td>
自费支出
</td>
<td>
{{totalList.SelfPayingExpendTotalPrice}}
</td>
</tr>
<tr
v-show=
"totalList.SelfPayingIncomeTotalPrice>0"
>
<td>
自费收入
</td>
<td>
{{totalList.SelfPayingIncomeTotalPrice}}
</td>
</tr>
<tr
v-show=
"totalList.IncomeTotalPrice>0"
>
<td>
消费收入
</td>
<td>
{{totalList.IncomeTotalPrice}}
</td>
</tr>
<tr
v-show=
"(totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice)>0"
>
<td>
其他费用
</td>
<td>
{{totalList.ExpendTotalPrice-totalScenicPrice-totalTrafficPrice-totalDinnerPrice-totalHotelPrice}}
</td>
</tr>
<tr
v-show=
"totalScenicPrice>0"
>
<td>
景点门票
</td>
<td>
{{totalScenicPrice}}
</td>
</tr>
<tr
v-show=
"totalTrafficPrice>0"
>
<td>
交通
</td>
<td>
{{totalTrafficPrice}}
</td>
</tr>
<tr
v-show=
"totalDinnerPrice>0"
>
<td>
餐饮
</td>
<td>
{{totalDinnerPrice}}
</td>
</tr>
<tr
v-show=
"totalHotelPrice>0"
>
<td>
酒店
</td>
<td>
{{totalHotelPrice}}
</td>
</tr>
</table>
<input
type=
"button"
class=
"printBtn"
value=
"打印"
@
click=
"printTable()"
>
</div>
</div>
...
...
@@ -200,8 +243,9 @@ export default {
totalHotelPrice
:
0
,
//合计交通
totalTrafficPrice
:
0
,
allTotal
:
0
,
totalList
:[],
}
},
methods
:
{
...
...
@@ -253,7 +297,20 @@ export default {
//打印
printTable
(){
window
.
print
();
},
//获取总额
getTotalMoney
(){
this
.
apipost
(
'dmcstatistics_post_GetTotalPrice'
,
{
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
totalList
=
res
.
data
.
data
;
console
.
log
(
this
.
totalList
,
'totallist'
);
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{})
},
},
created
()
{
...
...
@@ -263,6 +320,7 @@ export default {
this
.
msg
.
TCIDs
=
this
.
$route
.
query
.
id
;
this
.
getNav
();
this
.
getList
();
this
.
getTotalMoney
();
},
}
</
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