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
d9ebd7cd
Commit
d9ebd7cd
authored
Oct 23, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
45abbd48
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
38 deletions
+43
-38
index.vue
src/components/index.vue
+23
-24
TravelManagerThree.vue
...ewTravelmanager/TravelGroupControl/TravelManagerThree.vue
+2
-0
TravelPrice2.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice2.vue
+7
-6
tripmap.vue
...omponents/newTravelmanager/TravelGroupControl/tripmap.vue
+11
-8
No files found.
src/components/index.vue
View file @
d9ebd7cd
...
...
@@ -214,8 +214,7 @@
CRM系统
<i
class=
"iconfont icon-right1"
></i>
</el-dropdown-item>
<el-dropdown-item
class=
"clearfix _dropdown_other"
@
click
.
native=
"unbundlingVisible=true"
v-if=
"userInfo&&userInfo.DepartName&&userInfo.DepartName.indexOf('操作部')!=-1 ||(userInfo.RB_Branch_id == 1245
<el-dropdown-item
class=
"clearfix _dropdown_other"
@
click
.
native=
"unbundlingVisible=true"
v-if=
"userInfo&&userInfo.DepartName&&userInfo.DepartName.indexOf('操作部')!=-1 ||(userInfo.RB_Branch_id == 1245
&& userInfo.DepartName.indexOf('引流')==-1
&& userInfo.DepartName.indexOf('市场')==-1)"
>
<i
class=
"iconfont icon-Newspaper"
style=
"color:#f39c12"
></i>
...
...
@@ -1196,8 +1195,8 @@
<!-- 投票 -->
<Voting
v-show=
"VotingShow"
:NowVoteData=
"NowVoteData"
:NowVoteType=
"NowVoteType"
></Voting>
<!-- 机票未绑团提示 -->
<unbundlingMessage
v-if=
"unbundlingVisible"
:UnboundDate=
"UnboundDate"
@
unbundlingVisible=
"unbundlingVisible=false"
>
</unbundlingMessage>
<unbundlingMessage
v-if=
"unbundlingVisible"
:UnboundDate=
"UnboundDate"
@
unbundlingVisible=
"unbundlingVisible=false"
>
</unbundlingMessage>
</div>
</template>
...
...
@@ -1236,7 +1235,7 @@
data
()
{
return
{
UnboundDate
:
{},
unbundlingVisible
:
false
,
//未绑团提醒
unbundlingVisible
:
false
,
//未绑团提醒
b2bDomain
:
""
,
useRed
:
false
,
//提成账单弹窗
...
...
@@ -1841,17 +1840,17 @@
this
.
GetSupperOrderEditAuth
();
// 获取未绑定团的数据
if
(
!
localStorage
.
getItem
(
"UnboundDateTime"
)
||
(
localStorage
.
getItem
(
"UnboundDateTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))))
{
if
(
!
localStorage
.
getItem
(
"UnboundDateTime"
)
||
(
localStorage
.
getItem
(
"UnboundDateTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))))
{
this
.
GetTravelAirNotBind
()
}
else
{
if
(
localStorage
.
getItem
(
"UnboundDate"
))
{
if
(
this
.
userInfo
.
DepartName
.
indexOf
(
"操作部"
)
!=
-
1
||
(
this
.
userInfo
.
RB_Branch_id
==
1245
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"引流"
)
==-
1
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"市场"
)
==-
1
))
{
}
else
{
if
(
localStorage
.
getItem
(
"UnboundDate"
))
{
if
(
this
.
userInfo
.
DepartName
.
indexOf
(
"操作部"
)
!=
-
1
||
(
this
.
userInfo
.
RB_Branch_id
==
1245
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"引流"
)
==
-
1
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"市场"
)
==
-
1
))
{
this
.
UnboundDate
=
JSON
.
parse
(
localStorage
.
getItem
(
"UnboundDate"
))
}
else
{
}
else
{
localStorage
.
removeItem
(
"UnboundDate"
);
localStorage
.
removeItem
(
"UnboundDateTime"
);
}
...
...
@@ -1894,18 +1893,18 @@
},
methods
:
{
// 获取未绑定团的数据
GetTravelAirNotBind
(){
GetTravelAirNotBind
()
{
this
.
UnboundDate
=
{}
if
(
this
.
userInfo
.
DepartName
.
indexOf
(
"操作部"
)
!=
-
1
||
(
this
.
userInfo
.
RB_Branch_id
==
1245
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"引流"
)
==-
1
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"市场"
)
==-
1
))
{
if
(
this
.
userInfo
.
DepartName
.
indexOf
(
"操作部"
)
!=
-
1
||
(
this
.
userInfo
.
RB_Branch_id
==
1245
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"引流"
)
==
-
1
&&
this
.
userInfo
.
DepartName
.
indexOf
(
"市场"
)
==
-
1
))
{
this
.
apipost
(
"opcommission_GetTravelAirNotBind"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
((
res
.
data
.
data
.
TravelList
&&
res
.
data
.
data
.
TravelList
.
length
>
0
)
||
(
res
.
data
.
data
.
AirList
&&
res
.
data
.
data
.
AirList
.
length
>
0
))
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
((
res
.
data
.
data
.
TravelList
&&
res
.
data
.
data
.
TravelList
.
length
>
0
)
||
(
res
.
data
.
data
.
AirList
&&
res
.
data
.
data
.
AirList
.
length
>
0
))
{
localStorage
.
setItem
(
"UnboundDate"
,
JSON
.
stringify
(
res
.
data
.
data
));
localStorage
.
setItem
(
"UnboundDateTime"
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)));
this
.
UnboundDate
=
res
.
data
.
data
...
...
@@ -1917,7 +1916,7 @@
}
},
testApi
()
{
var
postMsg
=
{};
var
postMsg
=
{};
var
cmd
=
""
;
cmd
=
"AirTicket_get_GetTicketProduct"
;
postMsg
=
{
...
...
@@ -1938,7 +1937,7 @@
//测试方法
testEmp
()
{
var
postMsg
=
{
EmPassword
:
"
jj+n0yVvDg2xM3nxu2v1o
A=="
EmPassword
:
"
ae0ZVCcnM88kZ349OxsCA
A=="
};
this
.
apipost
(
"admin_get_AnalysisPassword"
,
postMsg
,
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManagerThree.vue
View file @
d9ebd7cd
...
...
@@ -220,6 +220,7 @@
TripCountryList
:
[],
//行程国家
TripCityList
:
[],
//行程城市
TripMapList
:
[],
NotQueryCityList
:[],
//使用系统中的经纬度城市
},
//行程
FeatureData
:
{
...
...
@@ -878,6 +879,7 @@
this
.
PostConfig
.
TripCountryList
=
tempData
.
TripCountryList
;
this
.
PostConfig
.
TripCityList
=
tempData
.
TripCityList
;
this
.
PostConfig
.
TripMapList
=
tempData
.
TripMapList
;
this
.
PostConfig
.
NotQueryCityList
=
tempData
.
NotQueryCityList
;
this
.
PostConfig
.
MapUrl
=
tempData
.
MapUrl
;
let
arrList
=
function
(
list
)
{
list
.
forEach
(
x
=>
{
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice2.vue
View file @
d9ebd7cd
...
...
@@ -399,11 +399,11 @@
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.noChecked"
class=
"other-month"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<!---->
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.checked"
class=
"checked1"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.checked"
class=
"checked1"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<!---->
<span
v-else-if=
"dayobject.checkState==$calendarUtils.checkState.hasValue"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-else-if=
"dayobject.checkState==$calendarUtils.checkState.hasValue"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
</li>
</ul>
</div>
...
...
@@ -1491,7 +1491,8 @@
QFlightDateEnd
:
this
.
QFlightDateEnd
,
CreateBy
:
createBy
,
AirTicketId
:
this
.
priceData
.
AirTicketId
,
TCID
:
this
.
priceData
.
TCID
TCID
:
this
.
priceData
.
TCID
,
LineId
:
this
.
PostConfig
.
LineId
};
let
that
=
this
;
...
...
@@ -1994,7 +1995,7 @@
this
.
apipost
(
"travel_get_GetTravelPriceTeamTypeList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TeamListArr
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/newTravelmanager/TravelGroupControl/tripmap.vue
View file @
d9ebd7cd
...
...
@@ -98,7 +98,6 @@
deviceMarkers
:
[],
//城市Markers
allMapCityList
:
[],
//地图显示所有城市
countriesMarkers
:
[],
//国家的Markers
chooseCountry
:
[],
//选中的国家
chooseCity
:
[],
//选中的城市
};
...
...
@@ -481,7 +480,6 @@
filter
:
[
"=="
,
"NAME_ZH"
,
x
.
name
]
});
}
if
(
x
.
MId
!=
651
&&
x
.
MId
!=
891
)
{
that
.
ClearSource
(
"mapLayer-"
+
x
.
MId
,
1
)
that
.
ClearSource
(
"mapLayerId-"
+
x
.
MId
,
1
)
...
...
@@ -570,12 +568,17 @@
async
calcCitiesGeoInfoHandler
()
{
await
Promise
.
all
(
this
.
citiesData
.
map
(
async
cityItem
=>
{
var
cityPosition
=
await
this
.
getCityCoordinates
(
cityItem
);
if
(
cityPosition
&&
cityPosition
.
length
==
2
)
{
cityItem
.
longitude
=
cityPosition
[
0
];
cityItem
.
Lng
=
cityPosition
[
0
];
cityItem
.
Lat
=
cityPosition
[
1
];
cityItem
.
latitude
=
cityPosition
[
1
];
var
isNotQueryCity
=
this
.
PostConfig
.
NotQueryCityList
.
find
(
cItem
=>
{
return
cItem
===
cityItem
.
MId
;
});
if
(
!
isNotQueryCity
)
{
var
cityPosition
=
await
this
.
getCityCoordinates
(
cityItem
);
if
(
cityPosition
&&
cityPosition
.
length
==
2
)
{
cityItem
.
longitude
=
cityPosition
[
0
];
cityItem
.
Lng
=
cityPosition
[
0
];
cityItem
.
Lat
=
cityPosition
[
1
];
cityItem
.
latitude
=
cityPosition
[
1
];
}
}
})
);
...
...
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