diff --git a/src/api/ecology/road_sound.js b/src/api/ecology/road_sound.js new file mode 100644 index 0000000..0fc8325 --- /dev/null +++ b/src/api/ecology/road_sound.js @@ -0,0 +1,7 @@ +// import axios from 'axios'; +const pageBillUrl = '/ecology/sound/road/bill/page'; + +export { + pageBillUrl, + +} diff --git a/src/config/axios-config.js b/src/config/axios-config.js index ef2178a..7f36115 100644 --- a/src/config/axios-config.js +++ b/src/config/axios-config.js @@ -46,6 +46,9 @@ axios.interceptors.response.use((res) => { if (access_token) { setting.cacheToken(access_token); } + if(res.data.code != 0){ + return Promise.reject(res.data.msg); + } return res; }, (error) => { return Promise.reject(error); diff --git a/src/views/collect/sound/function/index.vue b/src/views/collect/sound/function/index.vue new file mode 100644 index 0000000..895153b --- /dev/null +++ b/src/views/collect/sound/function/index.vue @@ -0,0 +1,164 @@ + + + + + \ No newline at end of file diff --git a/src/views/collect/sound/road/index.vue b/src/views/collect/sound/road/index.vue new file mode 100644 index 0000000..c35699d --- /dev/null +++ b/src/views/collect/sound/road/index.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/src/views/collect/sound/zone/index.vue b/src/views/collect/sound/zone/index.vue new file mode 100644 index 0000000..37d3e2a --- /dev/null +++ b/src/views/collect/sound/zone/index.vue @@ -0,0 +1,158 @@ + + + + + diff --git a/src/views/statistic/sound/road/index.vue b/src/views/statistic/sound/road/index.vue new file mode 100644 index 0000000..eb09c9d --- /dev/null +++ b/src/views/statistic/sound/road/index.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file