Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
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
郭铭瑶
yangpu
Commits
a25dbc6b
Commit
a25dbc6b
authored
Dec 08, 2020
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改网格天数入参
parent
64c847f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
24 deletions
+27
-24
index.html
index.html
+22
-19
api.js
src/server/api.js
+3
-3
actions.js
src/store/actions.js
+2
-2
No files found.
index.html
View file @
a25dbc6b
<!DOCTYPE html>
<html
id=
"html"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge, chrome=1"
>
<title>
新江湾城街道城市运行平台
</title>
<style>
html
{
font-size
:
16vh
;
}
</style>
</head>
<body>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
</body>
<script
src=
"./static/hls.js"
></script>
<script
src=
"./static/SMap.min.js"
></script>
<!-- <script src="./static/esm/SMap.min.js"></script> -->
<script
src=
"./static/Plugins.min.js"
></script>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge, chrome=1"
>
<title>
新江湾城街道城市运行平台
</title>
<style>
html
{
font-size
:
16vh
;
}
</style>
</head>
<body>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
</body>
<script
src=
"./static/hls.js"
></script>
<!-- <script src="./static/SMap.min.js"></script> -->
<script
src=
"./static/esm/SMap.min.js"
></script>
<script
src=
"./static/Plugins.min.js"
></script>
</html>
src/server/api.js
View file @
a25dbc6b
...
...
@@ -2,8 +2,8 @@ let BASE_URL = ''
let
DATA_URL
=
''
switch
(
process
.
env
.
NODE_ENV
)
{
case
'production'
:
//
BASE_URL = 'http://10.89.4.164:18080/api'
BASE_URL
=
'http://yangpu.hm.omniview.pro/api'
BASE_URL
=
'http://10.89.4.164:18080/api'
//
BASE_URL = 'http://yangpu.hm.omniview.pro/api'
DATA_URL
=
'http://10.89.1.208:10005'
break
default
:
...
...
@@ -23,7 +23,7 @@ export default {
GET_HANDLE_LIST
:
'/service-special-ddd/public/alarm/index'
,
// 联勤联动列表
GET_GRID1
:
'/dc/countDiscoveredCaseByStreet'
,
// 网格-发现
GET_GRID2
:
'/dc/countRegisterCaseByStreet'
,
// 网格-立案
GET_GRID3
:
'dc/countDispatchCaseByStreet'
,
// 网格-派遣
GET_GRID3
:
'
/
dc/countDispatchCaseByStreet'
,
// 网格-派遣
GET_GRID4
:
'/dc/countSolvingCaseByStreet'
,
// 网格-处置
GET_GRID5
:
'/dc/countCheckingCaseByStreet'
,
// 网格-核实
GET_GRID6
:
'/dc/countClosedCaseByStreet'
,
// 网格-结案
...
...
src/store/actions.js
View file @
a25dbc6b
...
...
@@ -76,8 +76,8 @@ export default {
})
},
async
getGridSum
({
commit
})
{
const
start
=
moment
().
add
(
-
10
,
'days'
).
format
(
'YYYY-MM-DD'
)
const
end
=
moment
().
format
(
'YYYY-MM-DD'
)
const
start
=
moment
().
format
(
'YYYY-MM-DD'
)
const
end
=
moment
().
add
(
1
,
'days'
).
format
(
'YYYY-MM-DD'
)
const
grid1
=
await
ajax
.
get
({
url
:
api
.
DATA_URL
+
api
.
GET_GRID1
,
params
:
{
street
:
curStreet
,
start
,
end
}})
const
grid2
=
await
ajax
.
get
({
url
:
api
.
DATA_URL
+
api
.
GET_GRID2
,
params
:
{
street
:
curStreet
,
start
,
end
}})
const
grid3
=
await
ajax
.
get
({
url
:
api
.
DATA_URL
+
api
.
GET_GRID3
,
params
:
{
street
:
curStreet
,
start
,
end
}})
...
...
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