必填校验bug修复

pet
liujun 2024-11-29 16:06:46 +08:00
parent 4654caed27
commit ef044f1ef7
12 changed files with 67 additions and 69 deletions

View File

@ -1,7 +1,7 @@
{
"name" : "秦港相关方",
"appid" : "__UNI__97E1400",
"description" : "秦港相关方",
"name" : "秦港相关方测试",
"appid" : "__UNI__2AFFD9C",
"description" : "秦港相关方测试",
"versionName" : "1.0.42",
"versionCode" : 42,
"transformPx" : false,
@ -34,29 +34,22 @@
/* android */
"android" : {
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.INTERNET\" />",
"<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
"<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_WIFI_STATE\" />",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"com.asus.msa.SupplementaryDID.ACCESS\" />",
"<uses-permission android:name=\"com.huawei.android.launcher.permission.CHANGE_BADGE\" />",
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\" />",
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\" />",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\" />",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" />",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\" />",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
"<uses-permission android:name=\"android.permission.READ_SMS\"/>",
"<uses-permission android:name=\"android.permission.READ_VOICEMAIL\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<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\"/>"
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\" />",
"<uses-permission android:name=\"android.permission.READ_LOGS\" />",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios */
@ -130,5 +123,10 @@
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "2"
"vueVersion" : "2",
"h5" : {
"sdkConfigs" : {
"maps" : {}
}
}
}

View File

@ -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: '',

View File

@ -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: '',

View File

@ -119,8 +119,8 @@ export default {
WORK_CONTENT: '',
WORK_START_DATE: '',
WORK_END_DATE: '',
WORK_LONGITUDE: '',
WORK_LATITUDE: '',
WORK_LONGITUDE: '1',
WORK_LATITUDE: '1',
WORK_USER: '',
SPECIAL_WORK: '',
RISK_IDENTIFICATION: '',

View File

@ -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: '',

View File

@ -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: '',

View File

@ -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: '',
},

View File

@ -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: '',
},

View File

@ -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']}],

View File

@ -994,33 +994,33 @@ export default {
fnInjuriesPayTiemAttachmentsDelete(event) {
this.form.injuriesPayTiemFile.splice(event.index, 1)
},
// fnAdaptToTheJobPositionConfirm(e) {
// this.form.IS_BODY_ADAPT = e.value[0].id
// this.form.IS_BODY_ADAPT_NAME = e.value[0].name
// this.fnShowAdaptToTheJobPosition()
// },
fnAdaptToTheJobPositionConfirm(e) {
this.form.IS_BODY_ADAPT = e.value[0].id
this.form.IS_BODY_ADAPT_NAME = e.value[0].name
this.fnShowAdaptToTheJobPosition()
},
fnShowSpecialTypeOfWork() {
this.showSpecialTypeOfWork = !this.showSpecialTypeOfWork
},
// fnSpecialTypeOfWorkConfirm(e) {
// this.form.IS_SPECIAL_JOB = e.value[0].id
// this.form.IS_SPECIAL_JOB_NAME = e.value[0].name
// this.fnShowSpecialTypeOfWork()
// if (e.value[0].id === '1' && this.certificateInformationLength === 0) {
// uni.showModal({
// title: '',
// content: '',
// showCancel: false,
// success: (res) => {
// if (res.confirm) {
// uni.$u.route({
// url: '/pages/certificate_information/index',
// })
// }
// }
// })
// }
// },
fnSpecialTypeOfWorkConfirm(e) {
this.form.IS_SPECIAL_JOB = e.value[0].id
this.form.IS_SPECIAL_JOB_NAME = e.value[0].name
this.fnShowSpecialTypeOfWork()
if (e.value[0].id === '1' && this.certificateInformationLength === 0) {
uni.showModal({
title: '提示',
content: '当前没有证书信息,请完善证书信息',
showCancel: false,
success: (res) => {
if (res.confirm) {
uni.$u.route({
url: '/pages/certificate_information/index',
})
}
}
})
}
},
fnShowFloatingPersonnel() {
this.showFloatingPersonnel = !this.showFloatingPersonnel
},

View File

@ -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://qgxgf.qhdsafety.com/qa-prevention-xgf/'; // 外网地址
import store from '../store/index'

View File

@ -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://wwag.qhdsafety.com/file/'
export const filePath = 'https://wwag.qhdsafety.com/file/'
function padLeftZero(str) {
return ('00' + str).substr(str.length)