diff --git a/main.js b/main.js index 3c0b44b..629e5d1 100644 --- a/main.js +++ b/main.js @@ -10,6 +10,7 @@ import uniThead from '@/components/uni-table/uni-thead/uni-thead.vue' import uniTr from '@/components/uni-table/uni-tr/uni-tr.vue' import uniTh from '@/components/uni-table/uni-th/uni-th.vue' import uniTd from '@/components/uni-table/uni-td/uni-td.vue' +import {filePath} from '@/utils/tools.js' Vue.component('empty',empty) Vue.component('uni-table',uniTable) @@ -20,6 +21,7 @@ Vue.component('uni-th',uniTh) Vue.component('uni-td',uniTd) Vue.use(uView) Vue.config.productionTip = false +Vue.prototype.$filePath = filePath App.mpType = 'app' const app = new Vue({ ...App, diff --git a/manifest.json b/manifest.json index 0b94227..2e526d6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "秦港双控-监管端", - "appid" : "__UNI__DB65C6B", + "appid" : "__UNI__2AFFD9C", "description" : "秦港双控-监管端", "versionName" : "01.00.44", "versionCode" : 42, diff --git a/pages/eight_assignments/blind_board/apply.vue b/pages/eight_assignments/blind_board/apply.vue index 14bbba1..331ac23 100644 --- a/pages/eight_assignments/blind_board/apply.vue +++ b/pages/eight_assignments/blind_board/apply.vue @@ -175,8 +175,8 @@ export default { BOARD_INSTALL_TIME: '', WORK_END_DATE: '', WORK_USER: '', - WORK_LONGITUDE: '', - WORK_LATITUDE: '', + WORK_LONGITUDE: '1', + WORK_LATITUDE: '1', MEDIUM: '', TEMPERATURE: '', PRESSURE: '', diff --git a/pages/eight_assignments/break_ground/apply.vue b/pages/eight_assignments/break_ground/apply.vue index d5e3aee..46c83cd 100644 --- a/pages/eight_assignments/break_ground/apply.vue +++ b/pages/eight_assignments/break_ground/apply.vue @@ -128,8 +128,8 @@ export default { CORP_NAME: '', WORK_START_DATE: '', WORK_END_DATE: '', - WORK_LONGITUDE: '', - WORK_LATITUDE: '', + WORK_LONGITUDE: '1', + WORK_LATITUDE: '1', WORK_PLACE: '', JOB_CONTENT: '', WORK_CONTENT: '', diff --git a/pages/eight_assignments/confined_space/apply.vue b/pages/eight_assignments/confined_space/apply.vue index d4b37dc..b75af3b 100644 --- a/pages/eight_assignments/confined_space/apply.vue +++ b/pages/eight_assignments/confined_space/apply.vue @@ -120,7 +120,7 @@ export default { WORK_START_DATE: '', WORK_END_DATE: '', WORK_LONGITUDE: '1', - WORK_LATITUDE: '2', + WORK_LATITUDE: '1', WORK_USER: '', SPECIAL_WORK: '', RISK_IDENTIFICATION: '', diff --git a/pages/eight_assignments/cut_road/apply.vue b/pages/eight_assignments/cut_road/apply.vue index bb3d4d3..9c82fe3 100644 --- a/pages/eight_assignments/cut_road/apply.vue +++ b/pages/eight_assignments/cut_road/apply.vue @@ -128,8 +128,8 @@ export default { CORP_NAME: '', WORK_START_DATE: '', WORK_END_DATE: '', - WORK_LONGITUDE: '', - WORK_LATITUDE: '', + WORK_LONGITUDE: '1', + WORK_LATITUDE: '1', OTHER_DEPT: '', WORK_REASON: '', WORK_CONTENT: '', diff --git a/pages/eight_assignments/electricity/apply.vue b/pages/eight_assignments/electricity/apply.vue index 8acb5b0..1292a2d 100644 --- a/pages/eight_assignments/electricity/apply.vue +++ b/pages/eight_assignments/electricity/apply.vue @@ -132,8 +132,8 @@ export default { CORP_NAME: '', WORK_START_DATE: '', WORK_END_DATE: '', - WORK_LONGITUDE: '', - WORK_LATITUDE: '', + WORK_LONGITUDE: '1', + WORK_LATITUDE: '1', WORK_PLACE: '', WORK_CONTENT: '', WORK_USER: '', diff --git a/pages/eight_assignments/high_work/apply.vue b/pages/eight_assignments/high_work/apply.vue index edc6d29..8422cce 100644 --- a/pages/eight_assignments/high_work/apply.vue +++ b/pages/eight_assignments/high_work/apply.vue @@ -121,8 +121,8 @@ export default { WORK_CONTENT: '', WORK_START_DATE: '', WORK_END_DATE: '', - WORK_LONGITUDE: '', - WORK_LATITUDE: '', + WORK_LONGITUDE: '1', + WORK_LATITUDE: '1', SPECIAL_WORK: '', RISK_IDENTIFICATION: '', }, diff --git a/pages/eight_assignments/hoisting/apply.vue b/pages/eight_assignments/hoisting/apply.vue index 983c723..52322a7 100644 --- a/pages/eight_assignments/hoisting/apply.vue +++ b/pages/eight_assignments/hoisting/apply.vue @@ -136,8 +136,8 @@ export default { WORK_CONTENT: '', WORK_START_DATE: '', WORK_END_DATE: '', - WORK_LONGITUDE: '', - WORK_LATITUDE: '', + WORK_LONGITUDE: '1', + WORK_LATITUDE: '1', SPECIAL_WORK: '', RISK_IDENTIFICATION: '', }, diff --git a/pages/eight_assignments/hot_work/select_position.vue b/pages/eight_assignments/hot_work/select_position.vue index 113915e..8b6396a 100644 --- a/pages/eight_assignments/hot_work/select_position.vue +++ b/pages/eight_assignments/hot_work/select_position.vue @@ -42,7 +42,7 @@ export default { ], form: { WORK_LONGITUDE: '1', - WORK_LATITUDE: '2' + WORK_LATITUDE: '1' }, rules: { WORK_LONGITUDE: [{type: 'string', required: true, message: '请输入经度', trigger: ['blur', 'change']}], diff --git a/store/index.js b/store/index.js index cb1fd35..35d8f88 100644 --- a/store/index.js +++ b/store/index.js @@ -31,7 +31,8 @@ const store = new Vuex.Store({ state.userInfo = userInfo } , setfilePath(state, filePath) { - state.filePath = 'https://skqhdg.porthebei.com:9004/file/' + // state.filePath = 'https://skqhdg.porthebei.com:9004/file/' + state.filePath = 'https://wwag.qhdsafety.com/file/' } }, actions: {