必填校验bug修复
parent
4654caed27
commit
ef044f1ef7
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name" : "秦港相关方",
|
"name" : "秦港相关方测试",
|
||||||
"appid" : "__UNI__97E1400",
|
"appid" : "__UNI__2AFFD9C",
|
||||||
"description" : "秦港相关方",
|
"description" : "秦港相关方测试",
|
||||||
"versionName" : "1.0.42",
|
"versionName" : "1.0.42",
|
||||||
"versionCode" : 42,
|
"versionCode" : 42,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
|
@ -34,29 +34,22 @@
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"android" : {
|
"android" : {
|
||||||
"permissions" : [
|
"permissions" : [
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<uses-permission android:name=\"android.permission.INTERNET\" />",
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
"<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
|
"<uses-permission android:name=\"com.asus.msa.SupplementaryDID.ACCESS\" />",
|
||||||
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
|
"<uses-permission android:name=\"com.huawei.android.launcher.permission.CHANGE_BADGE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\" />",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\" />",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />",
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />",
|
||||||
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\" />",
|
||||||
"<uses-permission android:name=\"android.permission.READ_SMS\"/>",
|
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\" />",
|
||||||
"<uses-permission android:name=\"android.permission.READ_VOICEMAIL\"/>",
|
"<uses-permission android:name=\"android.permission.READ_LOGS\" />",
|
||||||
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
"<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
|
|
||||||
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
|
@ -130,5 +123,10 @@
|
||||||
"uniStatistics" : {
|
"uniStatistics" : {
|
||||||
"enable" : false
|
"enable" : false
|
||||||
},
|
},
|
||||||
"vueVersion" : "2"
|
"vueVersion" : "2",
|
||||||
|
"h5" : {
|
||||||
|
"sdkConfigs" : {
|
||||||
|
"maps" : {}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,8 +175,8 @@ export default {
|
||||||
BOARD_INSTALL_TIME: '',
|
BOARD_INSTALL_TIME: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_USER: '',
|
WORK_USER: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
MEDIUM: '',
|
MEDIUM: '',
|
||||||
TEMPERATURE: '',
|
TEMPERATURE: '',
|
||||||
PRESSURE: '',
|
PRESSURE: '',
|
||||||
|
|
|
@ -128,8 +128,8 @@ export default {
|
||||||
CORP_NAME: '',
|
CORP_NAME: '',
|
||||||
WORK_START_DATE: '',
|
WORK_START_DATE: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
WORK_PLACE: '',
|
WORK_PLACE: '',
|
||||||
JOB_CONTENT: '',
|
JOB_CONTENT: '',
|
||||||
WORK_CONTENT: '',
|
WORK_CONTENT: '',
|
||||||
|
|
|
@ -119,8 +119,8 @@ export default {
|
||||||
WORK_CONTENT: '',
|
WORK_CONTENT: '',
|
||||||
WORK_START_DATE: '',
|
WORK_START_DATE: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
WORK_USER: '',
|
WORK_USER: '',
|
||||||
SPECIAL_WORK: '',
|
SPECIAL_WORK: '',
|
||||||
RISK_IDENTIFICATION: '',
|
RISK_IDENTIFICATION: '',
|
||||||
|
|
|
@ -128,8 +128,8 @@ export default {
|
||||||
CORP_NAME: '',
|
CORP_NAME: '',
|
||||||
WORK_START_DATE: '',
|
WORK_START_DATE: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
OTHER_DEPT: '',
|
OTHER_DEPT: '',
|
||||||
WORK_REASON: '',
|
WORK_REASON: '',
|
||||||
WORK_CONTENT: '',
|
WORK_CONTENT: '',
|
||||||
|
|
|
@ -132,8 +132,8 @@ export default {
|
||||||
CORP_NAME: '',
|
CORP_NAME: '',
|
||||||
WORK_START_DATE: '',
|
WORK_START_DATE: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
WORK_PLACE: '',
|
WORK_PLACE: '',
|
||||||
WORK_CONTENT: '',
|
WORK_CONTENT: '',
|
||||||
WORK_USER: '',
|
WORK_USER: '',
|
||||||
|
|
|
@ -121,8 +121,8 @@ export default {
|
||||||
WORK_CONTENT: '',
|
WORK_CONTENT: '',
|
||||||
WORK_START_DATE: '',
|
WORK_START_DATE: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
SPECIAL_WORK: '',
|
SPECIAL_WORK: '',
|
||||||
RISK_IDENTIFICATION: '',
|
RISK_IDENTIFICATION: '',
|
||||||
},
|
},
|
||||||
|
|
|
@ -136,8 +136,8 @@ export default {
|
||||||
WORK_CONTENT: '',
|
WORK_CONTENT: '',
|
||||||
WORK_START_DATE: '',
|
WORK_START_DATE: '',
|
||||||
WORK_END_DATE: '',
|
WORK_END_DATE: '',
|
||||||
WORK_LONGITUDE: '',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '',
|
WORK_LATITUDE: '1',
|
||||||
SPECIAL_WORK: '',
|
SPECIAL_WORK: '',
|
||||||
RISK_IDENTIFICATION: '',
|
RISK_IDENTIFICATION: '',
|
||||||
},
|
},
|
||||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
],
|
],
|
||||||
form: {
|
form: {
|
||||||
WORK_LONGITUDE: '1',
|
WORK_LONGITUDE: '1',
|
||||||
WORK_LATITUDE: '2'
|
WORK_LATITUDE: '1'
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
WORK_LONGITUDE: [{type: 'string', required: true, message: '请输入经度', trigger: ['blur', 'change']}],
|
WORK_LONGITUDE: [{type: 'string', required: true, message: '请输入经度', trigger: ['blur', 'change']}],
|
||||||
|
|
|
@ -994,33 +994,33 @@ export default {
|
||||||
fnInjuriesPayTiemAttachmentsDelete(event) {
|
fnInjuriesPayTiemAttachmentsDelete(event) {
|
||||||
this.form.injuriesPayTiemFile.splice(event.index, 1)
|
this.form.injuriesPayTiemFile.splice(event.index, 1)
|
||||||
},
|
},
|
||||||
// fnAdaptToTheJobPositionConfirm(e) {
|
fnAdaptToTheJobPositionConfirm(e) {
|
||||||
// this.form.IS_BODY_ADAPT = e.value[0].id
|
this.form.IS_BODY_ADAPT = e.value[0].id
|
||||||
// this.form.IS_BODY_ADAPT_NAME = e.value[0].name
|
this.form.IS_BODY_ADAPT_NAME = e.value[0].name
|
||||||
// this.fnShowAdaptToTheJobPosition()
|
this.fnShowAdaptToTheJobPosition()
|
||||||
// },
|
},
|
||||||
fnShowSpecialTypeOfWork() {
|
fnShowSpecialTypeOfWork() {
|
||||||
this.showSpecialTypeOfWork = !this.showSpecialTypeOfWork
|
this.showSpecialTypeOfWork = !this.showSpecialTypeOfWork
|
||||||
},
|
},
|
||||||
// fnSpecialTypeOfWorkConfirm(e) {
|
fnSpecialTypeOfWorkConfirm(e) {
|
||||||
// this.form.IS_SPECIAL_JOB = e.value[0].id
|
this.form.IS_SPECIAL_JOB = e.value[0].id
|
||||||
// this.form.IS_SPECIAL_JOB_NAME = e.value[0].name
|
this.form.IS_SPECIAL_JOB_NAME = e.value[0].name
|
||||||
// this.fnShowSpecialTypeOfWork()
|
this.fnShowSpecialTypeOfWork()
|
||||||
// if (e.value[0].id === '1' && this.certificateInformationLength === 0) {
|
if (e.value[0].id === '1' && this.certificateInformationLength === 0) {
|
||||||
// uni.showModal({
|
uni.showModal({
|
||||||
// title: '提示',
|
title: '提示',
|
||||||
// content: '当前没有证书信息,请完善证书信息',
|
content: '当前没有证书信息,请完善证书信息',
|
||||||
// showCancel: false,
|
showCancel: false,
|
||||||
// success: (res) => {
|
success: (res) => {
|
||||||
// if (res.confirm) {
|
if (res.confirm) {
|
||||||
// uni.$u.route({
|
uni.$u.route({
|
||||||
// url: '/pages/certificate_information/index',
|
url: '/pages/certificate_information/index',
|
||||||
// })
|
})
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
fnShowFloatingPersonnel() {
|
fnShowFloatingPersonnel() {
|
||||||
this.showFloatingPersonnel = !this.showFloatingPersonnel
|
this.showFloatingPersonnel = !this.showFloatingPersonnel
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
let requestPath = 'http://192.168.0.127:8199/'; // 后台请求地址
|
let requestPath = 'https://qggf.qhdsafety.com/xgfApi/'; // 后台请求地址
|
||||||
// let requestPath = 'https://skqhdg.porthebei.com:9006/qa-prevention-xgf/'; // 后台请求地址
|
// let requestPath = 'https://skqhdg.porthebei.com:9006/qa-prevention-xgf/'; // 后台请求地址
|
||||||
// let requestPath = 'https://qgxgf.qhdsafety.com/qa-prevention-xgf/'; // 外网地址
|
// let requestPath = 'https://qgxgf.qhdsafety.com/qa-prevention-xgf/'; // 外网地址
|
||||||
import store from '../store/index'
|
import store from '../store/index'
|
||||||
|
|
|
@ -22,9 +22,9 @@ export function formatDate(date, fmt) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const filePath = 'http://192.168.192.201:8991/file/'
|
//export const filePath = 'http://192.168.192.201:8991/file/'
|
||||||
//export const filePath = 'https://qgqy.qhdsafety.com/file/'
|
//export const filePath = 'https://qgqy.qhdsafety.com/file/'
|
||||||
//export const filePath = 'https://wwag.qhdsafety.com/file/'
|
export const filePath = 'https://wwag.qhdsafety.com/file/'
|
||||||
|
|
||||||
function padLeftZero(str) {
|
function padLeftZero(str) {
|
||||||
return ('00' + str).substr(str.length)
|
return ('00' + str).substr(str.length)
|
||||||
|
|
Loading…
Reference in New Issue