Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
Project
Project
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
Yulun Yao
multiSystem
Commits
c0d0c684
Commit
c0d0c684
authored
Jan 25, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除打印
parent
6d1503c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
getMicRouters.js
src/router/getMicRouters.js
+1
-1
IndustrySupervision.vue
src/views/home/IndustrySupervision.vue
+1
-0
No files found.
src/router/getMicRouters.js
View file @
c0d0c684
...
@@ -6,7 +6,7 @@ import yangpu from '@/router/yangpuRoutes.json'
...
@@ -6,7 +6,7 @@ import yangpu from '@/router/yangpuRoutes.json'
async
function
GetRoutes
(
router
)
{
async
function
GetRoutes
(
router
)
{
let
env
=
process
.
env
.
NODE_ENV
let
env
=
process
.
env
.
NODE_ENV
console
.
log
(
env
)
//
console.log(env)
let
MicRouters
let
MicRouters
switch
(
env
)
{
switch
(
env
)
{
// case env.indexOf('pudong') > -1: // 根据当前打包的项目调用该项目对应的路由
// case env.indexOf('pudong') > -1: // 根据当前打包的项目调用该项目对应的路由
...
...
src/views/home/IndustrySupervision.vue
View file @
c0d0c684
...
@@ -48,6 +48,7 @@ export default {
...
@@ -48,6 +48,7 @@ export default {
created
(){
created
(){
this
.
getIndustrySupervision
().
then
(
res
=>
{
this
.
getIndustrySupervision
().
then
(
res
=>
{
console
.
log
(
res
)
let
obj
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
let
obj
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
taskList
[
0
].
value
=
obj
.
processingCount
||
0
this
.
taskList
[
0
].
value
=
obj
.
processingCount
||
0
this
.
taskList
[
1
].
value
=
obj
.
completedCount
||
0
this
.
taskList
[
1
].
value
=
obj
.
completedCount
||
0
...
...
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