diff --git a/colorui/unit.css b/colorui/unit.css index e1562b0..4239566 100644 --- a/colorui/unit.css +++ b/colorui/unit.css @@ -1458,3 +1458,37 @@ .tasks-warp .tasks-item .flex .tasks-time { color: #808080; } + +.is-required{ + position: relative; +} +.is-required::before{ + content: '*'; + position: absolute; + left: -20upx; + top: 10upx; + color: #f00; + font-size: 36upx; +} +.is-required-cu{ + position: relative; +} +.is-required-cu::before{ + content: '*'; + position: absolute; + left: -20upx; + top: 30upx; + color: #f00; + font-size: 36upx; +} +.is-required-pic{ + position: relative; +} +.is-required-pic::before{ + content: '*'; + position: absolute; + left: -10upx; + top: 20upx; + color: #f00; + font-size: 36upx; +} diff --git a/common/tool.js b/common/tool.js index 3a6f338..8279cce 100644 --- a/common/tool.js +++ b/common/tool.js @@ -1,5 +1,5 @@ // export var basePath = "http://192.168.0.42:8099/"; -export var basePath = "http://192.168.0.69:7072/"; +export var basePath = "http://192.168.0.55:8093/"; // export var basePath = "https://gateway.qhdsafety.com/"; export const baseImgPath = "https://file.zcloudchina.com/YTHFile"; export const adminPath = "http://192.168.0.18:8085"; diff --git a/pages/application/onlinexxks/face/index.nvue b/pages/application/onlinexxks/face/index.nvue index 562dc4f..ad055f4 100644 --- a/pages/application/onlinexxks/face/index.nvue +++ b/pages/application/onlinexxks/face/index.nvue @@ -224,8 +224,8 @@ } .livePusher { - width: 350px; - height: 350px; + width: 700upx; + height: 700upx; } .livefater { @@ -236,7 +236,7 @@ flex-direction: column; align-items: center; margin-bottom: 50rpx; - height: 350px; + height: 700upx; position: relative; } .fat{ diff --git a/pages/application/onlinexxks/my_learning.vue b/pages/application/onlinexxks/my_learning.vue index 7b1b13a..fd12b1a 100644 --- a/pages/application/onlinexxks/my_learning.vue +++ b/pages/application/onlinexxks/my_learning.vue @@ -21,7 +21,7 @@ - 行业类型:{{ item.INDUSTRY_ALL_NAME }} + 行业类型:{{ item.CORP_TYPE_NAME }} 岗位类型:{{ item.POSTTYPE_NAME }} 培训时间:{{ item.START_TIME }} 至 {{ item.END_TIME }} diff --git a/pages/basics/basic-info/components/account.vue b/pages/basics/basic-info/components/account.vue index 60bfbd2..bad7df6 100644 --- a/pages/basics/basic-info/components/account.vue +++ b/pages/basics/basic-info/components/account.vue @@ -7,16 +7,16 @@ - 身份证号 + 身份证号 - 姓名 + 姓名 - 手机 - + 手机 + 服务单位 @@ -24,8 +24,8 @@ - - + + diff --git a/pages/basics/basic-info/components/apply.vue b/pages/basics/basic-info/components/apply.vue index f58fe09..19d82c5 100644 --- a/pages/basics/basic-info/components/apply.vue +++ b/pages/basics/basic-info/components/apply.vue @@ -16,7 +16,7 @@ 手机 - + 人员类型 @@ -53,7 +53,7 @@ - + @@ -147,6 +147,9 @@ export default { } this.$forceUpdate();//强制刷新 }, + goEdit(){ + this.$emit("goEdit", false); + }, goback(){ var pages = getCurrentPages(); // 获取当前页面栈 var prePage = pages[pages.length - 2]; // 上二级页面 diff --git a/pages/basics/basic-info/components/baseInfo.vue b/pages/basics/basic-info/components/baseInfo.vue index aaa2f53..3fcdb75 100644 --- a/pages/basics/basic-info/components/baseInfo.vue +++ b/pages/basics/basic-info/components/baseInfo.vue @@ -7,19 +7,19 @@ - 姓名 + 姓名 - 身份证号 + 身份证号 - 手机 - + 手机 + - 人员类型 + 人员类型 {{formData.PERSONNEL_TYPE_NAME}} @@ -28,7 +28,7 @@ - 文化程度 + 文化程度 {{formData.DEGREE_OF_EDUCATION_NAME}} @@ -37,7 +37,7 @@ - 政治面貌 + 政治面貌 {{formData.POLITICAL_OUTLOOK_NAME}} @@ -46,7 +46,7 @@ - 参加工作日期 + 参加工作日期 {{formData.WORKING_DATE}} @@ -55,26 +55,43 @@ - 健康状况 + 健康状况 + + 毕业院校及专业 + + + + 户籍所在地 + + + + 之前从事本岗位时间 + {{formData.PREVIOUS_POST_DATE}} + + + {{formData.PREVIOUS_POST_DATE?formData.PREVIOUS_POST_DATE:'请选择'}} + + + - 主要工作经历 + 主要工作经历 - 入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况 + 入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况 - 入职前受过何种有关安全生产的处罚以及是否受到刑事处罚 + 入职前受过何种有关安全生产的处罚以及是否受到刑事处罚 - + @@ -115,6 +132,7 @@ import { limitData: { // 参加工作日期 WORKING_DATE:{ start: '', end: '' }, + PREVIOUS_POST_DATE:{ start: '', end: '' }, }, dictData:{ // 人员类型 @@ -138,6 +156,7 @@ import { mounted() { this.getDictList() this.limitData.WORKING_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 参加工作日期截止时间 + this.limitData.PREVIOUS_POST_DATE.end = formatDate(new Date(), 'yyyy-MM-dd'); // 之前从事本岗位时间 }, methods: { async getDictList(){ @@ -200,6 +219,54 @@ import { }); return false; } + if (!this.formData.HEALTH) { + uni.showToast({ + icon: 'none', + title: '健康状况不能为空', + duration: 2000 + }); + return false; + } + if (!this.formData.UNIVERSITY) { + uni.showToast({ + icon: 'none', + title: '毕业院校及专业不能为空', + duration: 2000 + }); + return false; + } + if (!this.formData.RESIDENCE) { + uni.showToast({ + icon: 'none', + title: '户籍所在地不能为空', + duration: 2000 + }); + return false; + } + if (!this.formData.WORK_EXPERIENCE) { + uni.showToast({ + icon: 'none', + title: '主要工作经历不能为空', + duration: 2000 + }); + return false; + } + if (!this.formData.CERTIFICATES) { + uni.showToast({ + icon: 'none', + title: '入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况不能为空', + duration: 2000 + }); + return false; + } + if (!this.formData.PUNISH) { + uni.showToast({ + icon: 'none', + title: '入职前受过何种有关安全生产的处罚以及是否受到刑事处罚不能为空', + duration: 2000 + }); + return false; + } return true; }, diff --git a/pages/basics/basic-info/components/certificate.vue b/pages/basics/basic-info/components/certificate.vue index e1faf2c..a614866 100644 --- a/pages/basics/basic-info/components/certificate.vue +++ b/pages/basics/basic-info/components/certificate.vue @@ -7,19 +7,19 @@ - 姓名 + 姓名 - 身份证号 + 身份证号 - 手机 - + 手机 + - 人员类型 + 人员类型 {{formData.PERSONNEL_TYPE_NAME}} @@ -31,7 +31,7 @@ - + 身份证(正面) @@ -44,7 +44,7 @@ - + 身份证(正面) @@ -65,7 +65,7 @@ - + 身份证(背面) @@ -78,7 +78,7 @@ - + 身份证(背面) @@ -99,7 +99,7 @@ - 生日 + 生日 {{formData.DATE_OF_BIRTH}} @@ -108,7 +108,7 @@ - 民族 + 民族 {{formData.NATION_NAME}} @@ -117,7 +117,7 @@ - 性别 + 性别 {{formData.SEX_NAME}} @@ -126,16 +126,16 @@ - 有效期(起始) + 有效期(起始) {{formData.ID_CARD_VALIDITY_START}} - + {{formData.ID_CARD_VALIDITY_START?formData.ID_CARD_VALIDITY_START:'请选择'}} - 有效期(截止) + 有效期(截止) {{formData.ID_CARD_VALIDITY_END}} @@ -144,11 +144,11 @@ - 住址 + 住址 - 签发机关 + 签发机关 @@ -156,7 +156,7 @@ - + 驾驶证 @@ -169,7 +169,7 @@ - + 驾驶证 @@ -190,11 +190,11 @@ - 驾驶证号 + 驾驶证号 - 准驾车型 + 准驾车型 - 国籍 + 国籍 - 初次领证日期 + 初次领证日期 {{formData.DRIVER_LICENSE_ISSUE_DATE}} - + {{formData.DRIVER_LICENSE_ISSUE_DATE?formData.DRIVER_LICENSE_ISSUE_DATE:'请选择'}} - 有效期(起始) + 有效期(起始) {{formData.DRIVER_LICENSE_VALIDITY_START}} - + {{formData.DRIVER_LICENSE_VALIDITY_START?formData.DRIVER_LICENSE_VALIDITY_START:'请选择'}} - 有效期(截止) + 有效期(截止) {{formData.DRIVER_LICENSE_VALIDITY_END}} @@ -252,7 +253,7 @@ - 签发机关 + 签发机关 @@ -260,7 +261,7 @@ - + 从业资格证 @@ -273,7 +274,7 @@ - + 从业资格证 @@ -294,11 +295,11 @@ - 从业资格证号 + 从业资格证号 - 从业资格类别 + 从业资格类别 - 国籍 + 国籍 - 初次领证日期 + 初次领证日期 {{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE}} - + {{formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE?formData.QUALIFICATION_CERTIFICATE_ISSUE_DATE:'请选择'}} - 有效期(起始) + 有效期(起始) {{formData.QUALIFICATION_CERTIFICATE_VALIDITY_START}} - + {{formData.QUALIFICATION_CERTIFICATE_VALIDITY_START?formData.QUALIFICATION_CERTIFICATE_VALIDITY_START:'请选择'}} - 有效期(截止) + 有效期(截止) {{formData.QUALIFICATION_CERTIFICATE_VALIDITY_END}} @@ -356,7 +358,7 @@ - 签发机关 + 签发机关 @@ -366,7 +368,7 @@ - + @@ -376,7 +378,7 @@