Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
broadcast_cloud
/
web-live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
722fdda8
authored
Sep 02, 2020
by
xiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yh
parent
8b281c3b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
24 deletions
+9
-24
components/modules-pc/headerBox/index.vue
+1
-2
components/modules/sendBox/index.vue
+1
-2
components/modules/sendBox/more.vue
+2
-2
components/state/index.vue
+4
-4
store/getters.js
+0
-3
store/mutations.js
+0
-3
store/state.js
+0
-1
views/_id.vue
+1
-7
No files found.
components/modules-pc/headerBox/index.vue
View file @
722fdda8
...
...
@@ -22,7 +22,6 @@ export default {
name
:
'pc-header-box'
,
computed
:
{
...
mapGetters
({
corpId
:
'corpId'
,
channelInfo
:
'channelInfo'
,
userInfo
:
'userInfo'
,
jumpUrls
:
'jumpUrls'
...
...
@@ -32,7 +31,7 @@ export default {
_goMyCenter
()
{
if
(
!
this
.
userInfo
.
id
)
{
this
.
$Bus
.
$emit
(
'bus-showLogin'
,
true
);
}
else
if
(
this
.
corpId
===
1421
)
{
}
else
if
(
Number
(
this
.
$route
.
query
.
corpId
)
===
1421
)
{
return
false
;
}
else
{
window
.
location
.
href
=
this
.
jumpUrls
.
center
;
...
...
components/modules/sendBox/index.vue
View file @
722fdda8
...
...
@@ -65,7 +65,6 @@ export default {
computed
:
{
...
mapGetters
({
type
:
'type'
,
corpId
:
'corpId'
,
channelInfo
:
'channelInfo'
,
userInfo
:
'userInfo'
,
jumpUrls
:
'jumpUrls'
...
...
@@ -86,7 +85,7 @@ export default {
_goMyCenter
()
{
if
(
!
this
.
userInfo
.
id
)
{
this
.
$Bus
.
$emit
(
'bus-showLogin'
,
true
);
}
else
if
(
this
.
corpId
===
1421
)
{
}
else
if
(
Number
(
this
.
$route
.
query
.
corpId
)
===
1421
)
{
return
false
;
}
else
{
window
.
location
.
href
=
this
.
jumpUrls
.
center
;
...
...
components/modules/sendBox/more.vue
View file @
722fdda8
...
...
@@ -43,13 +43,13 @@ export default {
name
:
'send-more'
,
data
()
{
return
{
swiper
:
null
swiper
:
null
,
corpId
:
this
.
$route
.
query
.
corpId
};
},
computed
:
{
...
mapGetters
({
type
:
'type'
,
corpId
:
'corpId'
,
channelInfo
:
'channelInfo'
,
channelConfig
:
'channelConfig'
,
userInfo
:
'userInfo'
,
...
...
components/state/index.vue
View file @
722fdda8
...
...
@@ -13,10 +13,10 @@
<
script
>
import
{
mapGetters
}
from
'vuex'
;
const
status401
=
resolve
=>
require
([
'./401'
],
resolve
)
;
const
status404
=
resolve
=>
require
([
'./404'
],
resolve
)
;
const
status408
=
resolve
=>
require
([
'./408'
],
resolve
)
;
const
statusLoading
=
resolve
=>
require
([
'./loading'
],
resolve
)
;
import
status401
from
'./401'
;
import
status404
from
'./404'
;
import
status408
from
'./408'
;
import
statusLoading
from
'./loading'
;
export
default
{
name
:
'state-box'
,
components
:
{
...
...
store/getters.js
View file @
722fdda8
...
...
@@ -11,9 +11,6 @@ const getters = {
type
(
state
)
{
return
state
.
type
;
},
corpId
(
state
)
{
return
state
.
corpId
;
},
welcomeInfo
(
state
)
{
return
state
.
welcomeInfo
;
},
...
...
store/mutations.js
View file @
722fdda8
...
...
@@ -5,9 +5,6 @@ const mutations = {
set_status
(
state
,
status
)
{
state
.
status
=
status
;
},
set_corpId
(
state
,
id
)
{
state
.
corpId
=
id
;
},
set_welcomeInfo
(
state
,
info
)
{
state
.
welcomeInfo
=
info
;
},
...
...
store/state.js
View file @
722fdda8
...
...
@@ -2,7 +2,6 @@ const state = () => ({
nowDate
:
Date
.
now
(),
status
:
200
,
// 200 404 408
type
:
'live'
,
corpId
:
0
,
welcomeInfo
:
{},
channelInfo
:
{},
channelConfig
:
{},
...
...
views/_id.vue
View file @
722fdda8
...
...
@@ -3,7 +3,7 @@
<state
v-else
/>
</
template
>
<
script
>
import
{
mapGetters
,
mapMutations
}
from
'vuex'
;
import
{
mapGetters
}
from
'vuex'
;
import
REPORT
from
'@/plugins/report'
;
import
DMS
from
'@/plugins/Mixin/dms'
;
import
questionnaire
from
'@/components/questionnaire/index.js'
;
...
...
@@ -63,12 +63,6 @@ export default {
async
mounted
()
{
const
mobile
=
Number
(
this
.
$route
.
query
.
mobile
);
this
.
isMobile
=
mobile
||
UserAgent
.
isMobile
();
this
.
set_corpId
(
Number
(
this
.
$route
.
query
.
corpId
));
},
methods
:
{
...
mapMutations
({
set_corpId
:
'set_corpId'
})
}
};
</
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