Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shareConfig
Overview
Overview
Details
Activity
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
gic-web
shareConfig
Commits
613dabbf
Commit
613dabbf
authored
Sep 22, 2021
by
chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
63439086
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
27 deletions
+1
-27
index.vue
src/view/shareIndex/index.vue
+1
-27
No files found.
src/view/shareIndex/index.vue
View file @
613dabbf
...
@@ -71,6 +71,7 @@ export default {
...
@@ -71,6 +71,7 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
let
resData
=
res
.
data
;
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
result
===
null
)
that
.
$router
.
push
(
'/leaflets'
);
that
.
dueData
=
Object
.
assign
({},
that
.
dueData
,
resData
.
result
)
that
.
dueData
=
Object
.
assign
({},
that
.
dueData
,
resData
.
result
)
return
false
;
return
false
;
}
}
...
@@ -104,37 +105,10 @@ export default {
...
@@ -104,37 +105,10 @@ export default {
message
:
error
.
message
message
:
error
.
message
});
});
});
});
},
/**
* 是否可以创建活动
*/
judgePay
()
{
const
that
=
this
;
let
para
=
{};
getRequest
(
'/sharing-core-web/get-open-enterprise'
,
para
)
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
result
)
{
return
false
;
}
else
{
that
.
$router
.
push
(
'/leaflets'
);
}
return
false
;
}
errMsg
.
errorMsg
(
resData
);
})
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
error
.
message
});
});
}
}
},
},
beforeMount
()
{
beforeMount
()
{
const
that
=
this
;
const
that
=
this
;
that
.
judgePay
();
that
.
judgeDue
();
that
.
judgeDue
();
},
},
mounted
()
{
mounted
()
{
...
...
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