Commit a25dbc6b authored by 郭铭瑶's avatar 郭铭瑶 🤘

修改网格天数入参

parent 64c847f9
<!DOCTYPE html> <!DOCTYPE html>
<html id="html"> <html id="html">
<head>
<meta charset="utf-8"> <head>
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>新江湾城街道城市运行平台</title> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<style> <title>新江湾城街道城市运行平台</title>
html { <style>
font-size: 16vh; html {
} font-size: 16vh;
</style> }
</head> </style>
<body> </head>
<div id="app"></div>
<!-- built files will be auto injected --> <body>
</body> <div id="app"></div>
<script src="./static/hls.js"></script> <!-- built files will be auto injected -->
<script src="./static/SMap.min.js"></script> </body>
<!-- <script src="./static/esm/SMap.min.js"></script> --> <script src="./static/hls.js"></script>
<script src="./static/Plugins.min.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> </html>
...@@ -2,8 +2,8 @@ let BASE_URL = '' ...@@ -2,8 +2,8 @@ let BASE_URL = ''
let DATA_URL = '' let DATA_URL = ''
switch (process.env.NODE_ENV) { switch (process.env.NODE_ENV) {
case 'production': case 'production':
// BASE_URL = 'http://10.89.4.164:18080/api' BASE_URL = 'http://10.89.4.164:18080/api'
BASE_URL = 'http://yangpu.hm.omniview.pro/api' // BASE_URL = 'http://yangpu.hm.omniview.pro/api'
DATA_URL = 'http://10.89.1.208:10005' DATA_URL = 'http://10.89.1.208:10005'
break break
default: default:
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
GET_HANDLE_LIST: '/service-special-ddd/public/alarm/index', // 联勤联动列表 GET_HANDLE_LIST: '/service-special-ddd/public/alarm/index', // 联勤联动列表
GET_GRID1: '/dc/countDiscoveredCaseByStreet', // 网格-发现 GET_GRID1: '/dc/countDiscoveredCaseByStreet', // 网格-发现
GET_GRID2: '/dc/countRegisterCaseByStreet', // 网格-立案 GET_GRID2: '/dc/countRegisterCaseByStreet', // 网格-立案
GET_GRID3: 'dc/countDispatchCaseByStreet', // 网格-派遣 GET_GRID3: '/dc/countDispatchCaseByStreet', // 网格-派遣
GET_GRID4: '/dc/countSolvingCaseByStreet', // 网格-处置 GET_GRID4: '/dc/countSolvingCaseByStreet', // 网格-处置
GET_GRID5: '/dc/countCheckingCaseByStreet', // 网格-核实 GET_GRID5: '/dc/countCheckingCaseByStreet', // 网格-核实
GET_GRID6: '/dc/countClosedCaseByStreet', // 网格-结案 GET_GRID6: '/dc/countClosedCaseByStreet', // 网格-结案
......
...@@ -76,8 +76,8 @@ export default { ...@@ -76,8 +76,8 @@ export default {
}) })
}, },
async getGridSum({commit}) { async getGridSum({commit}) {
const start = moment().add(-10, 'days').format('YYYY-MM-DD') const start = moment().format('YYYY-MM-DD')
const end = 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 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 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}}) const grid3 = await ajax.get({url: api.DATA_URL + api.GET_GRID3, params: {street: curStreet, start, end}})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment