Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
viitto
million
Commits
595a8ec3
Commit
595a8ec3
authored
Jul 17, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6ee74389
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
27 deletions
+5
-27
tripList.vue
src/components/trip/tripList.vue
+0
-1
HomeLayout.vue
src/layouts/HomeLayout.vue
+2
-23
Search.vue
src/pages/Search.vue
+3
-3
No files found.
src/components/trip/tripList.vue
View file @
595a8ec3
...
@@ -117,7 +117,6 @@
...
@@ -117,7 +117,6 @@
</q-item>
</q-item>
<q-item>
<q-item>
<q-item-section>
<q-item-section>
<q-item-label
class=
"text-grey"
>
報名
</q-item-label>
<q-btn
type=
"a"
:label=
"props.row.seat>0||props.row.isSubstitution?'報名GO!':'無法預訂'"
<q-btn
type=
"a"
:label=
"props.row.seat>0||props.row.isSubstitution?'報名GO!':'無法預訂'"
:color=
"props.row.seat>0||props.row.isSubstitution?'indigo':'grey'"
rounded
unelevated
:color=
"props.row.seat>0||props.row.isSubstitution?'indigo':'grey'"
rounded
unelevated
:disable=
"props.row.seat==0&&props.row.isSubstitution"
@
click=
"goSignUp(props.row.seat)"
/>
:disable=
"props.row.seat==0&&props.row.isSubstitution"
@
click=
"goSignUp(props.row.seat)"
/>
...
...
src/layouts/HomeLayout.vue
View file @
595a8ec3
...
@@ -86,12 +86,10 @@
...
@@ -86,12 +86,10 @@
if
(
localStorage
.
ToDay
)
{
if
(
localStorage
.
ToDay
)
{
if
(
localStorage
.
ToDay
!=
this
.
ToDay
)
{
if
(
localStorage
.
ToDay
!=
this
.
ToDay
)
{
localStorage
.
removeItem
(
"groupinfo"
);
localStorage
.
removeItem
(
"groupinfo"
);
localStorage
.
removeItem
(
"site"
);
localStorage
.
ToDay
=
this
.
ToDay
;
localStorage
.
ToDay
=
this
.
ToDay
;
}
}
}
else
{
}
else
{
localStorage
.
removeItem
(
"groupinfo"
);
localStorage
.
removeItem
(
"groupinfo"
);
localStorage
.
removeItem
(
"site"
);
localStorage
.
ToDay
=
this
.
ToDay
;
localStorage
.
ToDay
=
this
.
ToDay
;
}
}
...
@@ -101,12 +99,8 @@
...
@@ -101,12 +99,8 @@
if
(
localStorage
.
groupinfo
)
{
if
(
localStorage
.
groupinfo
)
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
RB_Group_Id
=
jObj
.
GroupId
;
if
(
localStorage
.
site
)
{}
else
{
this
.
getSite
();
}
this
.
getConfigData
();
this
.
getConfigData
();
}
else
{
}
else
{
this
.
getSite
();
this
.
getGroupData
();
this
.
getGroupData
();
//获取网站基础配置
//获取网站基础配置
if
(
localStorage
.
baseifo
)
{
if
(
localStorage
.
baseifo
)
{
...
@@ -139,31 +133,16 @@
...
@@ -139,31 +133,16 @@
this
.
isShowTop
=
false
;
this
.
isShowTop
=
false
;
}
}
},
},
changeHeadHandler
(
t
)
{
changeHeadHandler
(
t
)
{
this
.
headType
=
t
;
this
.
headType
=
t
;
},
},
getSite
()
{
if
(
this
.
RB_Group_Id
>
0
)
{
this
.
apipost
(
"b2b_get_site"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
jsonData
=
JSON
.
stringify
(
res
.
data
.
data
);
window
.
localStorage
.
setItem
(
"site"
,
jsonData
);
}
},
err
=>
{}
);
}
},
//获取集团数据
//获取集团数据
getGroupData
()
{
getGroupData
()
{
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
var
msg
=
{
var
msg
=
{
GroupId
:
0
,
GroupId
:
0
,
B2BDomain
:
locationName
B2BDomain
:
locationName
,
IsGetConfigSite
:
1
,
};
};
this
.
apipost
(
this
.
apipost
(
"admin_get_GetGroupDomain"
,
msg
,
"admin_get_GetGroupDomain"
,
msg
,
...
...
src/pages/Search.vue
View file @
595a8ec3
...
@@ -1331,9 +1331,9 @@
...
@@ -1331,9 +1331,9 @@
}
}
}
}
var
companyId
=
-
1
;
var
companyId
=
-
1
;
if
(
localStorage
.
site
)
{
if
(
localStorage
.
groupinfo
)
{
var
siteArray
=
JSON
.
parse
(
localStorage
.
site
);
var
groupinfo
=
JSON
.
parse
(
localStorage
.
groupinfo
);
companyId
=
siteArray
[
0
].
companyId
;
companyId
=
groupinfo
.
siteList
[
0
].
companyId
;
}
}
this
.
SearchResult
=
this
.
qMsg
.
startDate
+
'-'
+
this
.
qMsg
.
endDate
+
' '
+
this
.
qMsg
.
searchKey
;
this
.
SearchResult
=
this
.
qMsg
.
startDate
+
'-'
+
this
.
qMsg
.
endDate
+
' '
+
this
.
qMsg
.
searchKey
;
let
msg
=
{
let
msg
=
{
...
...
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