| | |
| | | */ |
| | | queryExceptionType(){ |
| | | return $http.get('/dust/exceptiontype') |
| | | } |
| | | , |
| | | }, |
| | | |
| | | } |
| | |
| | | baseURL: url_py, |
| | | timeout: 10000 |
| | | }); |
| | | |
| | | //æ·»å æ¦æªå¨ |
| | | setInterceptors($http,$http_py); |
| | | |
| | | export { $http,$http_py}; |
| | | export { $http,$http_py,url}; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | |
| | | import {$http} from '@/api/index.js' |
| | | export default { |
| | | |
| | | /** |
| | | * æ ¹æ®è®¾å¤ç¼ç æ¥è¯¢è¯¥ç«ç¹ä¿¡æ¯ |
| | | */ |
| | | queryHistoryData(){ |
| | | return $http.get('/dust/history1',{ params: params }) |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | import {$http} from '@/api/index.js' |
| | | export default { |
| | | |
| | | /** |
| | | * æ ¹æ®è®¾å¤ç¼ç æ¥è¯¢è¯¥ç«ç¹ä¿¡æ¯ |
| | | */ |
| | |
| | | params.mnCode = mnCode |
| | | return $http.get('/dust/siteInfo/info',{params:params}) |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææçè¿ç»´å |
| | | */ |
| | | queryDutyCompany() { |
| | | return $http.get('/dust/siteInfo/dutyCompany') |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®å°åæ¥è¯¢è¡é |
| | | */ |
| | | queryStreet(street) { |
| | | return $http.get('/dust/siteInfo/street',{params:{street:street}}) |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * è·åä¸åçå¼å¸¸ç±»å |
| | | */ |
| | | queryScenarioTypeName(){ |
| | | return $http.get('/dust/scenario') |
| | | } |
| | | |
| | | } |
| | |
| | | import 'element-plus/theme-chalk/src/index.scss' |
| | | import { createPinia } from 'pinia' |
| | | |
| | | import {url} from '@/api/index.js' |
| | | |
| | | const app = createApp(App) |
| | | const pinia = createPinia() |
| | | |
| | |
| | | }) |
| | | |
| | | |
| | | |
| | | // é¨ç½² |
| | | axios.defaults.baseURL = url |
| | | |
| | | |
| | | |
| | | // æ¬å° |
| | | // axios.defaults.baseURL = 'http://localhost:8081' |
| | | // é¨ç½² |
| | | axios.defaults.baseURL = 'http://114.215.109.124:8803' |
| | | |
| | | // axios.defaults.baseURL = 'http://192.168.1.8:8081' |
| | | app.config.globalProperties.$http = axios |
| | |
| | | component: () => import('@/views/exception/components/SubSiteAudit.vue') |
| | | }, |
| | | |
| | | |
| | | |
| | | // å¼å¸¸è¯¦æ
åµå
¥è¿æ¸¡é¡µé¢ |
| | | { |
| | | path: '/exceptionDetail/:siteName/:month/', |
| | |
| | | component: () => import('@/views/risk_assessment/components/SiteDetail.vue') |
| | | }, |
| | | |
| | | |
| | | // å¼å¸¸è¯¦æ
åµå
¥ |
| | | { |
| | | path: '/SubFlightInspection', |
| | | name: 'SubFlightInspection', |
| | | path: '/CompFlightInspection', |
| | | name: 'CompFlightInspection', |
| | | meta: { title: 'å¼å¸¸è¯¦æ
åµå
¥' }, |
| | | component: () => import('@/views/exception/components/SubFlightInspection.vue') |
| | | component: () => import('@/views/exception/components/CompFlightInspection.vue') |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | <ScenarioType @submitScenarioType="(val) => (scenarioType = val)"> </ScenarioType> |
| | | --> |
| | | <script> |
| | | import siteInfo from '@/api/site/siteInfo.js' |
| | | export default { |
| | | emits:['submitScenarioType'], |
| | | data() { |
| | |
| | | methods: { |
| | | //è·åä¸åçå¼å¸¸ç±»å |
| | | getScenarioTypeName() { |
| | | this.$http.get('/dust/scenario').then(result => { |
| | | siteInfo.queryScenarioTypeName().then(result => { |
| | | this.scenarioType = result.data.data |
| | | |
| | | }); |
| | | } |
| | | //æ ¹æ®å¼å¸¸ä¸ªæ°æ¸²æcheckbox |