必填校验bug修复
parent
cbe2ac7d3a
commit
8228b34f99
2
main.js
2
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,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name" : "秦港双控-监管端",
|
||||
"appid" : "__UNI__DB65C6B",
|
||||
"appid" : "__UNI__2AFFD9C",
|
||||
"description" : "秦港双控-监管端",
|
||||
"versionName" : "01.00.44",
|
||||
"versionCode" : 42,
|
||||
|
|
|
@ -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: '',
|
||||
|
|
|
@ -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: '',
|
||||
|
|
|
@ -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: '',
|
||||
|
|
|
@ -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: '',
|
||||
|
|
|
@ -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: '',
|
||||
|
|
|
@ -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: '',
|
||||
},
|
||||
|
|
|
@ -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: '',
|
||||
},
|
||||
|
|
|
@ -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']}],
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue