Compare commits
No commits in common. "e76bb4df087ba6146caccdbc4f275db14ec887f9" and "2cc9780c9f70dc6562356f2a4a2d77aa60fd86b0" have entirely different histories.
e76bb4df08
...
2cc9780c9f
|
|
@ -2,8 +2,8 @@ import {post, upload, uploads} from "../utils/request";
|
||||||
import {setSecurityMeasures} from "@/utils/submitHomeworkProcess";
|
import {setSecurityMeasures} from "@/utils/submitHomeworkProcess";
|
||||||
|
|
||||||
export const submitLogin = (params) => post("/app/admin/check", params) // 登录
|
export const submitLogin = (params) => post("/app/admin/check", params) // 登录
|
||||||
export const getIDCardDeduplication = (params) => post("/app/user/goCheck", params) // 身份证去重
|
export const getIDCardDeduplication = (params) => post("/app/user/hasCardIdForApp", params) // 身份证去重
|
||||||
export const getUserDeduplication = (params) => post("/app/user/goCheck", params) // 用户名去重
|
export const getUserDeduplication = (params) => post("/app/user/hasUserNameForApp", params) // 用户名去重
|
||||||
export const getPhoneNumberDeduplication = (params) => post("/app/user/hasPhoneForApp", params) // 手机号去重
|
export const getPhoneNumberDeduplication = (params) => post("/app/user/hasPhoneForApp", params) // 手机号去重
|
||||||
export const setRegister = (params) => post("/app/admin/register", params) // 注册
|
export const setRegister = (params) => post("/app/admin/register", params) // 注册
|
||||||
export const setForgotPassword = (params) => post("/app/admin/forgetPassword", params) // 忘记密码
|
export const setForgotPassword = (params) => post("/app/admin/forgetPassword", params) // 忘记密码
|
||||||
|
|
@ -28,8 +28,8 @@ export const getUserInfo = (params) => post("/app/user/getDetailByUserIdAndCorpI
|
||||||
export const setUserInfo = (params) => post("/app/user/edit", params) //修改用户信息
|
export const setUserInfo = (params) => post("/app/user/edit", params) //修改用户信息
|
||||||
export const getCertificateInformationList = (params) => post("/app/specialUser/list", params) //证书信息列表
|
export const getCertificateInformationList = (params) => post("/app/specialUser/list", params) //证书信息列表
|
||||||
export const getCertificateInformationView = (params) => post("/app/specialUser/goEdit", params) //证书信息查看
|
export const getCertificateInformationView = (params) => post("/app/specialUser/goEdit", params) //证书信息查看
|
||||||
export const setCertificateInformationAdd = (params) => uploads("/app/specialUser/add", params) //证书信息添加
|
export const setCertificateInformationAdd = (params) => upload("/app/specialUser/add", params) //证书信息添加
|
||||||
export const setCertificateInformationEdit = (params) => uploads("/app/specialUser/edit", params) //证书信息修改
|
export const setCertificateInformationEdit = (params) => upload("/app/specialUser/edit", params) //证书信息修改
|
||||||
export const setCertificateInformationEditPost = (params) => post("/app/specialUser/edit", params) //证书信息修改
|
export const setCertificateInformationEditPost = (params) => post("/app/specialUser/edit", params) //证书信息修改
|
||||||
export const getDeptTree = (params) => post("/api/department/listzTree", params) //用户信息
|
export const getDeptTree = (params) => post("/api/department/listzTree", params) //用户信息
|
||||||
export const getEMPLOYMENTAPPLYMANAGEMENTID = (params) => post("/app/user/getEMPLOYMENTAPPLYMANAGEMENTID",
|
export const getEMPLOYMENTAPPLYMANAGEMENTID = (params) => post("/app/user/getEMPLOYMENTAPPLYMANAGEMENTID",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="empty">
|
<view class="empty">
|
||||||
<u--image :showLoading="true" src="/static/svg/empty.svg" width="750rpx" height="500rpx"></u--image>
|
<u--image :showLoading="true" src="/static/svg/empty.svg" width="750upx" height="500upx"></u--image>
|
||||||
<view class="empty-text">{{ message }}</view>
|
<view class="empty-text">{{ message }}</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -24,10 +24,10 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
.empty-text{
|
.empty-text{
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
color: $uni-text-color-placeholder;
|
color: $uni-text-color-placeholder;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 400rpx;
|
top: 400upx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
<template>
|
|
||||||
<view class="fab_button" @click="$emit('click')">
|
|
||||||
<block v-if="type === 'plus'">
|
|
||||||
<u-icon name="plus" color="#fff" size="28rpx"></u-icon>
|
|
||||||
</block>
|
|
||||||
<block v-if="type === 'search'">
|
|
||||||
<u-icon name="search" color="#fff" size="28rpx"></u-icon>
|
|
||||||
</block>
|
|
||||||
<block v-if="type === 'edit'">
|
|
||||||
<u-icon name="edit-pen" color="#fff" size="28rpx"></u-icon>
|
|
||||||
</block>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
props: {
|
|
||||||
type: {
|
|
||||||
type: String,
|
|
||||||
default: "plus",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped lang="scss">
|
|
||||||
.fab_button {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 100rpx;
|
|
||||||
right: 30rpx;
|
|
||||||
background-color: #3377ff;
|
|
||||||
border-radius: 50%;
|
|
||||||
width: 80rpx;
|
|
||||||
height: 80rpx;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
@ -53,7 +53,7 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.handCenter {
|
.handCenter {
|
||||||
border: 4rpx dashed #e9e9e9;
|
border: 4upx dashed #e9e9e9;
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
||||||
|
|
@ -105,18 +105,11 @@
|
||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin" : {
|
||||||
"appid" : "wx06c53a01ae0afd2c",
|
"appid" : "",
|
||||||
"setting" : {
|
"setting" : {
|
||||||
"urlCheck" : false,
|
"urlCheck" : false
|
||||||
"minified" : true,
|
|
||||||
"es6" : true
|
|
||||||
},
|
},
|
||||||
"usingComponents" : true,
|
"usingComponents" : true
|
||||||
"permission" : {
|
|
||||||
"scope.userLocation" : {
|
|
||||||
"desc" : "展示当前位置信息"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"mp-alipay" : {
|
"mp-alipay" : {
|
||||||
"usingComponents" : true
|
"usingComponents" : true
|
||||||
|
|
|
||||||
24
pages.json
24
pages.json
|
|
@ -72,7 +72,17 @@
|
||||||
{
|
{
|
||||||
"path": "pages/certificate_information/index",
|
"path": "pages/certificate_information/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "证书信息"
|
"navigationBarTitleText": "证书信息",
|
||||||
|
"app-plus": {
|
||||||
|
"titleNView": {
|
||||||
|
"buttons": [{
|
||||||
|
"text": "新建",
|
||||||
|
"fontSize": "15",
|
||||||
|
"float": "right",
|
||||||
|
"width": "40px"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -109,7 +119,17 @@
|
||||||
{
|
{
|
||||||
"path": "pages/mine/information/index",
|
"path": "pages/mine/information/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的信息"
|
"navigationBarTitleText": "我的信息",
|
||||||
|
"app-plus": {
|
||||||
|
"titleNView": {
|
||||||
|
"buttons": [{
|
||||||
|
"text": "修改",
|
||||||
|
"fontSize": "15",
|
||||||
|
"float": "right",
|
||||||
|
"width": "40px"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="card">
|
<view class="card">
|
||||||
<u--form labelPosition="left" :model="form" :rules="rules" ref="form" labelWidth="100px">
|
<u--form labelPosition="left" :model="form" :rules="rules" ref="form" labelWidth="100px">
|
||||||
<u-form-item label="证书正面图片" prop="fileList" borderBottom required>
|
<u-form-item label="证书图片" prop="fileList" borderBottom required>
|
||||||
<u-upload
|
<u-upload
|
||||||
:fileList="form.fileList"
|
:fileList="form.fileList"
|
||||||
@afterRead="fnAfterRead"
|
@afterRead="fnAfterRead"
|
||||||
|
|
@ -11,15 +11,6 @@
|
||||||
previewFullImage
|
previewFullImage
|
||||||
></u-upload>
|
></u-upload>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="证书反面图片" prop="fileListBack" borderBottom required>
|
|
||||||
<u-upload
|
|
||||||
:fileList="form.fileListBack"
|
|
||||||
@afterRead="fnAfterRead1"
|
|
||||||
@delete="fnDeletePic1"
|
|
||||||
:maxCount="1"
|
|
||||||
previewFullImage
|
|
||||||
></u-upload>
|
|
||||||
</u-form-item>
|
|
||||||
<u-form-item label="姓名" prop="NAME" borderBottom required>
|
<u-form-item label="姓名" prop="NAME" borderBottom required>
|
||||||
<u--input v-model="form.NAME" border="none" disabled disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.NAME" border="none" disabled disabledColor="#ffffff"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
@ -30,8 +21,7 @@
|
||||||
<u--input v-model="form.PHONE" border="none" disabled disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.PHONE" border="none" disabled disabledColor="#ffffff"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="身份证号码" prop="CARD_ID" borderBottom required>
|
<u-form-item label="身份证号码" prop="CARD_ID" borderBottom required>
|
||||||
<u--input v-model="form.CARD_ID" border="none" @blur="fnCardIdDisassembly" disabled
|
<u--input v-model="form.CARD_ID" border="none" @blur="fnCardIdDisassembly" disabled disabledColor="#ffffff"></u--input>
|
||||||
disabledColor="#ffffff"></u--input>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="证书类型" prop="CER_TYPE_NAME" borderBottom required @click="fnShowCertificateType">
|
<u-form-item label="证书类型" prop="CER_TYPE_NAME" borderBottom required @click="fnShowCertificateType">
|
||||||
<u--input v-model="form.CER_TYPE_NAME" border="none" disabled disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.CER_TYPE_NAME" border="none" disabled disabledColor="#ffffff"></u--input>
|
||||||
|
|
@ -49,12 +39,10 @@
|
||||||
<u-form-item label="工种" prop="JOBS_TYPE" borderBottom required>
|
<u-form-item label="工种" prop="JOBS_TYPE" borderBottom required>
|
||||||
<u--input v-model="form.JOBS_TYPE" border="none" disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.JOBS_TYPE" border="none" disabledColor="#ffffff"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item v-if="form.CER_TYPE_NAME === '特种作业'" label="作业类别" prop="specialName" borderBottom required
|
<u-form-item v-if="form.CER_TYPE_NAME === '特种作业'" label="作业类别" prop="specialName" borderBottom required @click="fnShowCertificateTypeSpe">
|
||||||
@click="fnShowCertificateTypeSpe">
|
|
||||||
<u--input v-model="form.specialName" border="none" disabled disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.specialName" border="none" disabled disabledColor="#ffffff"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item v-if="form.CER_TYPE_NAME === '特种作业'" label="操作项目" prop="operationName" borderBottom
|
<u-form-item v-if="form.CER_TYPE_NAME === '特种作业'" label="操作项目" prop="operationName" borderBottom required @click="fnShowCertificateTypeOpe">
|
||||||
required @click="fnShowCertificateTypeOpe">
|
|
||||||
<u--input v-model="form.operationName" border="none" disabled disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.operationName" border="none" disabled disabledColor="#ffffff"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="有效期开始" prop="VALIDITY_TIME_START" borderBottom required
|
<u-form-item label="有效期开始" prop="VALIDITY_TIME_START" borderBottom required
|
||||||
|
|
@ -83,9 +71,7 @@
|
||||||
@confirm="fnTermOfValidityEndConfirm" @cancel="fnShowTermOfValidityEnd"></u-datetime-picker>
|
@confirm="fnTermOfValidityEndConfirm" @cancel="fnShowTermOfValidityEnd"></u-datetime-picker>
|
||||||
<u-datetime-picker :show="showReviewTime" v-model="reviewTimeValue" mode="date"
|
<u-datetime-picker :show="showReviewTime" v-model="reviewTimeValue" mode="date"
|
||||||
@confirm="fnReviewTimeConfirm" @cancel="fnShowReviewTime"></u-datetime-picker>
|
@confirm="fnReviewTimeConfirm" @cancel="fnShowReviewTime"></u-datetime-picker>
|
||||||
<view class="mt-10">
|
<u-button type="primary" text="保 存" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
<u-button type="primary" text="保 存" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -119,7 +105,6 @@ export default {
|
||||||
reviewTimeValue: new Date().toString(),
|
reviewTimeValue: new Date().toString(),
|
||||||
form: {
|
form: {
|
||||||
fileList: [],
|
fileList: [],
|
||||||
fileListBack: [],
|
|
||||||
NAME: '',
|
NAME: '',
|
||||||
SEX_NAME: '',
|
SEX_NAME: '',
|
||||||
PHONE: '',
|
PHONE: '',
|
||||||
|
|
@ -137,63 +122,95 @@ export default {
|
||||||
REVIEW_TIME: ''
|
REVIEW_TIME: ''
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
fileList: {
|
// fileList: {
|
||||||
type: 'array',
|
// type: 'array',
|
||||||
required: true,
|
// required: true,
|
||||||
message: '请上传证书图片',
|
// message: '请上传证书图片',
|
||||||
trigger: ['change']
|
// trigger: ['change']
|
||||||
},
|
// },
|
||||||
fileListBack: {
|
// NAME: {
|
||||||
type: 'array',
|
// required: true,
|
||||||
required: true,
|
// message: '请填写姓名',
|
||||||
message: '请上传证书图片',
|
// trigger: ['blur']
|
||||||
trigger: ['change']
|
// },
|
||||||
},
|
// SEX_NAME: {
|
||||||
CER_TYPE_NAME: {
|
// required: true,
|
||||||
required: true,
|
// message: '请选择性别',
|
||||||
message: '请选择证书类型',
|
// trigger: ['change']
|
||||||
trigger: ['change']
|
// },
|
||||||
},
|
// PHONE: [
|
||||||
CERTIFICATE: {
|
// {
|
||||||
required: true,
|
// required: true,
|
||||||
message: '请填写证书名称',
|
// message: '请填写手机号',
|
||||||
trigger: ['change']
|
// trigger: ['blur']
|
||||||
},
|
// },
|
||||||
SPECIAL_NUMBER: {
|
// {
|
||||||
required: true,
|
// validator: (rule, value, callback) => {
|
||||||
message: '请填写证书编号',
|
// return uni.$u.test.mobile(value);
|
||||||
trigger: ['blur']
|
// },
|
||||||
},
|
// message: '手机号格式不正确',
|
||||||
JOBS_TYPE: {
|
// trigger: ['blur'],
|
||||||
required: true,
|
// },
|
||||||
message: '请填写工种',
|
// ],
|
||||||
trigger: ['change']
|
// CARD_ID: [
|
||||||
},
|
// {
|
||||||
specialName: {
|
// required: true,
|
||||||
required: true,
|
// message: '请填写身份证号',
|
||||||
message: '请选择作业类别',
|
// trigger: ['blur']
|
||||||
trigger: ['change']
|
// },
|
||||||
},
|
// {
|
||||||
operationName: {
|
// validator: (rule, value, callback) => {
|
||||||
required: true,
|
// return uni.$u.test.idCard(value);
|
||||||
message: '请选择操作项目',
|
// },
|
||||||
trigger: ['change']
|
// message: '身份证号格式不正确',
|
||||||
},
|
// trigger: ['blur'],
|
||||||
ISSUING_AUTHORITY: {
|
// },
|
||||||
required: true,
|
// ],
|
||||||
message: '请填写发证机关',
|
// CER_TYPE_NAME: {
|
||||||
trigger: ['blur']
|
// required: true,
|
||||||
},
|
// message: '请选择证书类型',
|
||||||
VALIDITY_TIME_START: {
|
// trigger: ['change']
|
||||||
required: true,
|
// },
|
||||||
message: '请选择有效期开始时间',
|
// CERTIFICATE: {
|
||||||
trigger: ['change']
|
// required: true,
|
||||||
},
|
// message: '请填写证书名称',
|
||||||
VALIDITY_TIME_END: {
|
// trigger: ['change']
|
||||||
required: true,
|
// },
|
||||||
message: '请选择有效期结束时间',
|
// SPECIAL_NUMBER: {
|
||||||
trigger: ['change']
|
// required: true,
|
||||||
},
|
// message: '请填写证书编号',
|
||||||
|
// trigger: ['blur']
|
||||||
|
// },
|
||||||
|
// JOBS_TYPE: {
|
||||||
|
// required: true,
|
||||||
|
// message: '请填写工种',
|
||||||
|
// trigger: ['change']
|
||||||
|
// },
|
||||||
|
// specialName: {
|
||||||
|
// required: true,
|
||||||
|
// message: '请选择作业类别',
|
||||||
|
// trigger: ['change']
|
||||||
|
// },
|
||||||
|
// operationName: {
|
||||||
|
// required: true,
|
||||||
|
// message: '请选择操作项目',
|
||||||
|
// trigger: ['change']
|
||||||
|
// },
|
||||||
|
// ISSUING_AUTHORITY: {
|
||||||
|
// required: true,
|
||||||
|
// message: '请填写发证机关',
|
||||||
|
// trigger: ['blur']
|
||||||
|
// },
|
||||||
|
// VALIDITY_TIME_START: {
|
||||||
|
// required: true,
|
||||||
|
// message: '请选择有效期开始时间',
|
||||||
|
// trigger: ['change']
|
||||||
|
// },
|
||||||
|
// VALIDITY_TIME_END: {
|
||||||
|
// required: true,
|
||||||
|
// message: '请选择有效期结束时间',
|
||||||
|
// trigger: ['change']
|
||||||
|
// },
|
||||||
REVIEW_TIME: {
|
REVIEW_TIME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择复审时间',
|
message: '请选择复审时间',
|
||||||
|
|
@ -231,14 +248,7 @@ export default {
|
||||||
SPECIAL_USER_ID:this.SPECIAL_USER_ID
|
SPECIAL_USER_ID:this.SPECIAL_USER_ID
|
||||||
})
|
})
|
||||||
this.form = {...this.form, ...resData.pd,CER_TYPE_NAME:resData.pd.typeName}
|
this.form = {...this.form, ...resData.pd,CER_TYPE_NAME:resData.pd.typeName}
|
||||||
this.$set(this.form, 'fileList', [{
|
this.$set(this.form,'fileList',[{url:this.$filePath + resData.pd.FILEPATH,FILEPATH:this.$filePath + resData.pd.FILEPATH}])
|
||||||
url: this.$filePath + resData.pd.FILEPATH,
|
|
||||||
FILEPATH: this.$filePath + resData.pd.FILEPATH
|
|
||||||
}])
|
|
||||||
this.$set(this.form, 'fileListBack', [{
|
|
||||||
url: this.$filePath + resData.pd.FILEPATH_BACK,
|
|
||||||
FILEPATH: this.$filePath + resData.pd.FILEPATH_BACK
|
|
||||||
}])
|
|
||||||
let resDatares = await getDataDictionary({DICTIONARIES_ID:this.form.SPECIAL_TYPE})
|
let resDatares = await getDataDictionary({DICTIONARIES_ID:this.form.SPECIAL_TYPE})
|
||||||
this.certificateTypeColumnsOpe = [resDatares.list]
|
this.certificateTypeColumnsOpe = [resDatares.list]
|
||||||
}else {
|
}else {
|
||||||
|
|
@ -249,9 +259,9 @@ export default {
|
||||||
this.fnCardIdDisassembly(this.form.CARD_ID)
|
this.fnCardIdDisassembly(this.form.CARD_ID)
|
||||||
this.fnCardIdDisassembly(this.form.CARD_ID)
|
this.fnCardIdDisassembly(this.form.CARD_ID)
|
||||||
}
|
}
|
||||||
if (this.form.SEX_NAME === '0') {
|
if (this.form.SEX_NAME == '0') {
|
||||||
this.form.SEX_NAME = '男'
|
this.form.SEX_NAME = '男'
|
||||||
} else if (this.form.SEX_NAME === '1') {
|
} else if (this.form.SEX_NAME == '1') {
|
||||||
this.form.SEX_NAME = '女'
|
this.form.SEX_NAME = '女'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -344,73 +354,27 @@ export default {
|
||||||
this.form.fileList=[]
|
this.form.fileList=[]
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
|
||||||
fnAfterRead1(event) {
|
|
||||||
var houzhui = event.file.url.replace(/.+\./, "");
|
|
||||||
console.log(houzhui);
|
|
||||||
if (houzhui == "jpg" || houzhui == "png") {
|
|
||||||
this.form.fileListBack.push(event.file)
|
|
||||||
} else {
|
|
||||||
uni.$u.toast('图片格式不正确,请上传jpg格式图片或者png格式图片')
|
|
||||||
this.form.fileListBack = []
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
fnDeletePic(event) {
|
fnDeletePic(event) {
|
||||||
this.form.fileList.splice(event.index, 1)
|
this.form.fileList.splice(event.index, 1)
|
||||||
},
|
},
|
||||||
fnDeletePic1(event) {
|
|
||||||
this.form.fileListBack.splice(event.index, 1)
|
|
||||||
},
|
|
||||||
async fnSubmit() {
|
async fnSubmit() {
|
||||||
console.info(this.$refs)
|
console.info(this.$refs)
|
||||||
this.$refs.form.validate().then(async () => {
|
this.$refs.form.validate().then(async () => {
|
||||||
if(!this.SPECIAL_USER_ID){
|
if(!this.SPECIAL_USER_ID){
|
||||||
let files = []
|
|
||||||
files.push({
|
|
||||||
name: 'FILEPATH',
|
|
||||||
file: this.form.fileList[0],
|
|
||||||
uri: this.form.fileList[0].url,
|
|
||||||
})
|
|
||||||
|
|
||||||
files.push({
|
|
||||||
name: 'FILEPATH_BACK',
|
|
||||||
file: this.form.fileListBack[0],
|
|
||||||
uri: this.form.fileListBack[0].url,
|
|
||||||
})
|
|
||||||
|
|
||||||
if (files.length !== 2) {
|
|
||||||
uni.$u.toast('请上传证书正反面')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
await setCertificateInformationAdd({
|
await setCertificateInformationAdd({
|
||||||
files: files,
|
filePath: this.form.fileList[0].url,
|
||||||
|
name: 'file',
|
||||||
formData: {
|
formData: {
|
||||||
...this.form
|
...this.form
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
if (!this.form.fileList[0].FILEPATH || !this.form.fileListBack[0].FILEPATH) {
|
|
||||||
uni.$u.toast('1')
|
|
||||||
let files = []
|
|
||||||
if (!this.form.fileList[0].FILEPATH) {
|
if (!this.form.fileList[0].FILEPATH) {
|
||||||
files.push({
|
|
||||||
name: 'FILEPATH',
|
|
||||||
file: this.form.fileList[0],
|
|
||||||
uri: this.form.fileList[0].url,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!this.form.fileListBack[0].FILEPATH) {
|
|
||||||
files.push({
|
|
||||||
name: 'FILEPATH_BACK',
|
|
||||||
file: this.form.fileListBack[0],
|
|
||||||
uri: this.form.fileListBack[0].url,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
await setCertificateInformationEdit({
|
await setCertificateInformationEdit({
|
||||||
files: files,
|
filePath: this.form.fileList[0].url,
|
||||||
|
name: 'file',
|
||||||
formData: {
|
formData: {
|
||||||
...this.form
|
...this.form
|
||||||
}
|
}
|
||||||
|
|
@ -423,14 +387,13 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// uni.$u.toast('保存成功')
|
uni.$u.toast('保存成功')
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
},2000)
|
},2000)
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
console.info(e)
|
console.info(e)
|
||||||
// uni.$u.toast('请补全必填项')
|
uni.$u.toast('请补全必填项')
|
||||||
uni.$u.toast(e)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<u-list-item v-for="(item, index) in list" :key="index">
|
<u-list-item v-for="(item, index) in list" :key="index">
|
||||||
<view style="display: flex;align-items: center;justify-content: space-between;">
|
<view style="display: flex;align-items: center;justify-content: space-between;">
|
||||||
<view>
|
<view>
|
||||||
<u-image width="200rpx" height="200rpx" :src="$filePath + item.FILEPATH"></u-image>
|
<u-image width="200upx" height="200upx" :src="$filePath + item.FILEPATH"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<view class="ml-10" style="flex: 1;">
|
<view class="ml-10" style="flex: 1;">
|
||||||
<view class="flex-between main-title">
|
<view class="flex-between main-title">
|
||||||
|
|
@ -19,12 +19,8 @@
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<view></view>
|
<view></view>
|
||||||
<view class="flex-between">
|
<view class="flex-between">
|
||||||
<u-button type="primary" text="编辑" size="mini"
|
<u-button type="primary" text="编辑" size="mini" class="bth-mini" @click="fnEdit(item.SPECIAL_USER_ID)"></u-button>
|
||||||
@click="fnEdit(item.SPECIAL_USER_ID)"></u-button>
|
<u-button type="primary" text="查看" size="mini" class="bth-mini ml-10" @click="fnView(item.SPECIAL_USER_ID)"></u-button>
|
||||||
<view class="ml-10">
|
|
||||||
<u-button type="primary" text="查看" size="mini"
|
|
||||||
@click="fnView(item.SPECIAL_USER_ID)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -32,18 +28,13 @@
|
||||||
</u-list-item>
|
</u-list-item>
|
||||||
</u-list>
|
</u-list>
|
||||||
<empty v-else></empty>
|
<empty v-else></empty>
|
||||||
<fab-button @click="fnEdit"/>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getCertificateInformationList, getCertificateInformationView} from "../../api";
|
import {getCertificateInformationList, getCertificateInformationView} from "../../api";
|
||||||
import FabButton from '@/components/fab_button/index.vue'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
|
||||||
FabButton,
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
SPECIAL_USER_ID:'',
|
SPECIAL_USER_ID:'',
|
||||||
|
|
@ -61,6 +52,11 @@ export default {
|
||||||
onShow() {
|
onShow() {
|
||||||
this.resetList()
|
this.resetList()
|
||||||
},
|
},
|
||||||
|
onNavigationBarButtonTap(e) {
|
||||||
|
if (e.index === 0) {
|
||||||
|
this.fnEdit()
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getData() {
|
async getData() {
|
||||||
let resData = await getCertificateInformationList({
|
let resData = await getCertificateInformationList({
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,7 @@
|
||||||
<u-cell-group>
|
<u-cell-group>
|
||||||
<u-cell title="证书图片">
|
<u-cell title="证书图片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<u--image :src="info.FILEPATH" width="100rpx" height="100rpx" radius="10rpx" @click="fnPreview"></u--image>
|
<u--image :src="info.FILEPATH" width="100upx" height="100upx" radius="10upx" @click="fnPreview"></u--image>
|
||||||
<u--image v-if="info.FILEPATH_BACK" :src="info.FILEPATH_BACK" width="100rpx" height="100rpx" radius="10rpx"
|
|
||||||
@click="fnPreview"></u--image>
|
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
||||||
|
|
@ -48,9 +46,6 @@ export default {
|
||||||
})
|
})
|
||||||
this.info = resData.pd
|
this.info = resData.pd
|
||||||
this.$set(this.info,'FILEPATH',this.$filePath + resData.pd.FILEPATH)
|
this.$set(this.info,'FILEPATH',this.$filePath + resData.pd.FILEPATH)
|
||||||
if (resData.pd.FILEPATH_BACK) {
|
|
||||||
this.$set(this.info, 'FILEPATH_BACK', this.$filePath + resData.pd.FILEPATH_BACK)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
fnPreview() {
|
fnPreview() {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<u-cell-group>
|
<u-cell-group>
|
||||||
<u-cell title="照片">
|
<u-cell title="照片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<u--image :src="info.PHOTO" shape="circle" width="100rpx" height="100rpx"
|
<u--image :src="info.PHOTO" shape="circle" width="100upx" height="100upx"
|
||||||
@click="fnPreview(info.PHOTO)"></u--image>
|
@click="fnPreview(info.PHOTO)"></u--image>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
|
|
@ -19,10 +19,9 @@
|
||||||
<u-cell title="联系电话" :value="info.PHONE"></u-cell>
|
<u-cell title="联系电话" :value="info.PHONE"></u-cell>
|
||||||
<u-cell title="人员类型" :value="info.ISFLOW === '1' ? '流动人员' : '固定人员'">
|
<u-cell title="人员类型" :value="info.ISFLOW === '1' ? '流动人员' : '固定人员'">
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="二维码"
|
<u-cell title="二维码" v-show="!CODE_TYPE && info.STATUS === '2' && info.CORPINFO_ID">
|
||||||
v-if="info.CORPINFO_ID && cleanCode && (info.DEPART_STATE == '0' || info.DEPART_STATE == '-1')">
|
|
||||||
<template #value>
|
<template #value>
|
||||||
<u--image :src="info.code" width="100rpx" height="100rpx" @click="fnPreview(info.code)">
|
<u--image :src="info.code" width="100upx" height="100upx" @click="fnPreview(info.code)">
|
||||||
</u--image>
|
</u--image>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
|
|
@ -42,8 +41,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
USER_ID: '',
|
USER_ID: '',
|
||||||
CODE_TYPE: '',
|
CODE_TYPE: ''
|
||||||
cleanCode: ''
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -67,7 +65,6 @@ export default {
|
||||||
console.log(this.$filePath + resData.pd.PHOTO)
|
console.log(this.$filePath + resData.pd.PHOTO)
|
||||||
this.info.PHOTO = this.$filePath + resData.pd.PHOTO
|
this.info.PHOTO = this.$filePath + resData.pd.PHOTO
|
||||||
this.info.code = 'data:image/jpg;base64,' + code
|
this.info.code = 'data:image/jpg;base64,' + code
|
||||||
this.cleanCode = code
|
|
||||||
},
|
},
|
||||||
fnPreview(urls) {
|
fnPreview(urls) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
|
|
|
||||||
|
|
@ -40,17 +40,15 @@
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<view></view>
|
<view></view>
|
||||||
<view class="flex-between">
|
<view class="flex-between">
|
||||||
<u-button type="primary" text="查看" size="mini"
|
<u-button type="primary" text="查看" size="mini" class="bth-mini ml-10"
|
||||||
@click="fnView(item.EMPLOYMENT_APPLY_MANAGEMENT_ID, item.CORPINFO_ID, item.DEPART_STATE)"></u-button>
|
@click="fnView(item.EMPLOYMENT_APPLY_MANAGEMENT_ID, item.CORPINFO_ID, item.DEPART_STATE)"></u-button>
|
||||||
<view class="ml-10">
|
<u-button type="primary" text="离职申请" size="mini" class="bth-mini ml-10"
|
||||||
<u-button type="primary" text="离职申请" size="mini"
|
|
||||||
v-if="item.DEPART_STATE === '0'"
|
v-if="item.DEPART_STATE === '0'"
|
||||||
@click="fnResignationApplication(item.EMPLOYMENT_APPLY_MANAGEMENT_ID,item.RELEVANT_UNIT_NAME)">
|
@click="fnResignationApplication(item.EMPLOYMENT_APPLY_MANAGEMENT_ID,item.RELEVANT_UNIT_NAME)">
|
||||||
</u-button>
|
</u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
</u-list-item>
|
</u-list-item>
|
||||||
</u-list>
|
</u-list>
|
||||||
<empty v-else></empty>
|
<empty v-else></empty>
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,7 @@
|
||||||
<u-cell title="申请时间" :value="form.APPLY_TIME"></u-cell>
|
<u-cell title="申请时间" :value="form.APPLY_TIME"></u-cell>
|
||||||
<u-cell title="申请人" :value="userInfo.NAME"></u-cell>
|
<u-cell title="申请人" :value="userInfo.NAME"></u-cell>
|
||||||
</u-cell-group>
|
</u-cell-group>
|
||||||
<view class="mt-10">
|
<u-button type="primary" text="提交" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
<u-button type="primary" text="提交" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="page">
|
<view class="page">
|
||||||
|
<!-- #ifdef APP-PLUS -->
|
||||||
<view class="status_bar">
|
<view class="status_bar">
|
||||||
<view class="top_view"></view>
|
<view class="top_view"></view>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- #endif -->
|
||||||
<view class="wui_banner">
|
<view class="wui_banner">
|
||||||
|
<view class="wui-bar">
|
||||||
|
<view class="icon-ui">
|
||||||
|
<u-icon name="scan" color="#fff" size="28" @click="fnScan"></u-icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="banner_img">
|
<view class="banner_img">
|
||||||
<image src="../../static/home-bg.png" mode=""></image>
|
<image src="../../static/home-bg.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -27,8 +34,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
||||||
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText"
|
||||||
:cancelText="updateVersion.cancelText"
|
|
||||||
@cancel="modalCancel" @confirm="modalConfirm">
|
@cancel="modalCancel" @confirm="modalConfirm">
|
||||||
<view style="text-align: center;color:#606266">
|
<view style="text-align: center;color:#606266">
|
||||||
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<view class="content1">
|
<view class="content1">
|
||||||
<view class="change-password">
|
<view class="change-password">
|
||||||
<u--form labelPosition="top" :model="form" :rules="rules" ref="form" labelWidth="100%"
|
<u--form labelPosition="top" :model="form" :rules="rules" ref="form" labelWidth="100%"
|
||||||
:labelStyle="{color:'#333', fontSize:'34rpx', fontWeight:'bold'}">
|
:labelStyle="{color:'#333', fontSize:'34upx', fontWeight:'bold'}">
|
||||||
<u-form-item label="用户名" prop="USERNAME" borderBottom>
|
<u-form-item label="用户名" prop="USERNAME" borderBottom>
|
||||||
<u--input v-model="form.USERNAME" border="none"></u--input>
|
<u--input v-model="form.USERNAME" border="none"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
@ -95,7 +95,7 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.change-password {
|
.change-password {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20upx;
|
||||||
padding: 40rpx;
|
padding: 40upx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="wui_login">
|
<view class="wui_login">
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<u--form labelPosition="top" :model="form" labelWidth="140rpx">
|
<u--form labelPosition="top" :model="form" labelWidth="140upx" >
|
||||||
<u-form-item label="账号" borderBottom>
|
<u-form-item label="账号" borderBottom>
|
||||||
<u--input v-model="form.userName" border="none" placeholder="请输入账号..." ></u--input>
|
<u--input v-model="form.userName" border="none" placeholder="请输入账号..." ></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
@ -9,16 +9,14 @@
|
||||||
<u--input v-model="form.userPwd" type="password" border="none" placeholder="请输入密码..." ></u--input>
|
<u--input v-model="form.userPwd" type="password" border="none" placeholder="请输入密码..." ></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u--form>
|
</u--form>
|
||||||
<u-button type="primary" text="登 录" custom-style="margin:40rpx 0 20rpx 0"
|
<u-button type="primary" text="登 录" @click="$u.debounce(fnLogin, 1000,true)"></u-button>
|
||||||
@click="$u.debounce(fnLogin, 1000,true)"></u-button>
|
|
||||||
<view class="tip">
|
<view class="tip">
|
||||||
<view @click="fnForgotPassword">忘记密码</view>
|
<view @click="fnForgotPassword">忘记密码</view>
|
||||||
<view @click="fnRegister">新用户注册</view>
|
<view @click="fnRegister">新用户注册</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
||||||
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText"
|
||||||
:cancelText="updateVersion.cancelText"
|
|
||||||
@cancel="modalCancel" @confirm="modalConfirm">
|
@cancel="modalCancel" @confirm="modalConfirm">
|
||||||
<view style="text-align: center;color:#606266">
|
<view style="text-align: center;color:#606266">
|
||||||
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
||||||
|
|
@ -96,36 +94,47 @@ export default {
|
||||||
height:100vh;
|
height:100vh;
|
||||||
background-color: #058cf5;
|
background-color: #058cf5;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.title{
|
.title{
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 44rpx;
|
font-size: 44upx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-top: 106rpx;
|
padding-top: 106upx;
|
||||||
padding-left: 46rpx;
|
padding-left: 46upx;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form{
|
.form{
|
||||||
width: 70%;
|
width: 70%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 49%;
|
top: 49%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20upx;
|
||||||
padding: 30rpx 9%;
|
padding: 30upx 9%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
|
||||||
.tip{
|
.tip{
|
||||||
font-size: 24rpx;
|
font-size: 20upx;
|
||||||
margin-bottom: 40rpx;
|
margin-bottom: 40upx;
|
||||||
color: #0b80e7;
|
color: #0b80e7;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
button{
|
||||||
|
margin-top: 40upx;
|
||||||
|
background-color: #0b80e7;
|
||||||
|
color: #fff;
|
||||||
|
font-weight: bold;
|
||||||
|
border: none;
|
||||||
|
border-radius: 10upx;
|
||||||
|
margin-bottom: 20upx;
|
||||||
|
}
|
||||||
|
::v-deep{
|
||||||
|
.u-button__text{
|
||||||
|
font-size: 32upx !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,7 @@
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<view class="tip">密码长度8~32位,须包含数字、字母、符号至少2种或以上元素</view>
|
<view class="tip">密码长度8~32位,须包含数字、字母、符号至少2种或以上元素</view>
|
||||||
</u--form>
|
</u--form>
|
||||||
<view class="mt-10">
|
<u-button type="primary" text="注 册" class="mt-10" @click="$u.debounce(fnRegister, 1000,true)"></u-button>
|
||||||
<u-button type="primary" text="注 册" @click="$u.debounce(fnRegister, 1000,true)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -143,8 +141,8 @@ export default {
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.tip{
|
.tip{
|
||||||
padding-top: 20rpx;
|
padding-top: 20upx;
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20upx;
|
||||||
font-size: 20rpx;
|
font-size: 20upx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {}
|
export default {
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
@ -24,7 +25,6 @@ export default {}
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {}
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<view class="content1">
|
<view class="content1">
|
||||||
<view class="change-password">
|
<view class="change-password">
|
||||||
<u--form labelPosition="top" :model="form" :rules="rules" ref="form" labelWidth="100%"
|
<u--form labelPosition="top" :model="form" :rules="rules" ref="form" labelWidth="100%"
|
||||||
:labelStyle="{color:'#333', fontSize:'34rpx', fontWeight:'bold'}">
|
:labelStyle="{color:'#333', fontSize:'34upx', fontWeight:'bold'}">
|
||||||
<u-form-item label="原密码" prop="oldPwd" borderBottom>
|
<u-form-item label="原密码" prop="oldPwd" borderBottom>
|
||||||
<u--input v-model="form.oldPwd" type="password" border="none"></u--input>
|
<u--input v-model="form.oldPwd" type="password" border="none"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
@ -104,7 +104,7 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.change-password {
|
.change-password {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20upx;
|
||||||
padding: 40rpx;
|
padding: 40upx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,9 @@
|
||||||
<view class="feedback-type">
|
<view class="feedback-type">
|
||||||
<view class="item" v-for="(item, index) in feedbackType" :key="index"
|
<view class="item" v-for="(item, index) in feedbackType" :key="index"
|
||||||
:class="{active:item.value === form.FEEDBACK_TYPE}" @click="form.FEEDBACK_TYPE = item.value">
|
:class="{active:item.value === form.FEEDBACK_TYPE}" @click="form.FEEDBACK_TYPE = item.value">
|
||||||
<view style="margin-left: 70rpx; margin-top: 20rpx;">
|
<u--image :src="item.img" width="40upx" height="38upx"
|
||||||
<u--image :src="item.img" width="40rpx" height="38rpx"></u--image>
|
style="margin-left: 70upx; margin-top: 20upx;"></u--image>
|
||||||
</view>
|
<view style="margin-top: -40upx;">{{item.label}}</view>
|
||||||
<view style="margin-top: -40rpx;">{{ item.label }}</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="title">我要反馈</view>
|
<view class="title">我要反馈</view>
|
||||||
|
|
@ -129,17 +128,17 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.feedback {
|
.feedback {
|
||||||
padding: 40rpx;
|
padding: 40upx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 20rpx;
|
margin-top: 20upx;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20upx;
|
||||||
color: $uni-text-color-placeholder;
|
color: $uni-text-color-placeholder;
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
|
|
||||||
&:first-child {
|
&:irst-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -147,24 +146,24 @@ export default {
|
||||||
.feedback-type {
|
.feedback-type {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20upx;
|
||||||
margin-top: 20rpx;
|
margin-top: 20upx;
|
||||||
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding: 10rpx;
|
padding: 10upx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10upx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10upx;
|
||||||
margin-right: 10rpx;
|
margin-right: 10upx;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10upx;
|
||||||
background-color: #f6f7fb;
|
background-color: #f6f7fb;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
color: #9fa7bc;
|
color: #9fa7bc;
|
||||||
width: 207rpx;
|
width: 207upx;
|
||||||
height: 143rpx;
|
height: 143upx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 143rpx;
|
line-height: 143upx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
|
@ -176,14 +175,14 @@ export default {
|
||||||
|
|
||||||
::v-deep {
|
::v-deep {
|
||||||
.u-upload__wrap__preview__image {
|
.u-upload__wrap__preview__image {
|
||||||
width: 146rpx !important;
|
width: 146upx !important;
|
||||||
height: 146rpx !important;
|
height: 146upx !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 32rpx;
|
font-size: 32upx;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,9 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="my_main">
|
<view class="my_main">
|
||||||
<view class="my_main_info">
|
<view class="my_main_info">
|
||||||
<view class="my_main_info_wrap" v-for="(item,index) in list" :key="item.name"
|
<view class="my_main_info_wrap" v-for="(item,index) in list" :key="item.name" @click="clickItem(item.name,index)">
|
||||||
@click="clickItem(item.name,index)">
|
|
||||||
<view class="my_main_info_wrap_img">
|
<view class="my_main_info_wrap_img">
|
||||||
<u--image :src="item.img" width="40rpx" height="40rpx"></u--image>
|
<u--image :src="item.img" width="40upx" height="40upx"></u--image>
|
||||||
</view>
|
</view>
|
||||||
<view class="my_main_info_wrap_info">
|
<view class="my_main_info_wrap_info">
|
||||||
<view class="my_main_info_wrap_info_lable">
|
<view class="my_main_info_wrap_info_lable">
|
||||||
|
|
@ -41,8 +40,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
|
||||||
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText"
|
||||||
:cancelText="updateVersion.cancelText"
|
|
||||||
@cancel="modalCancel" @confirm="modalConfirm">
|
@cancel="modalCancel" @confirm="modalConfirm">
|
||||||
<view style="text-align: center;color:#606266">
|
<view style="text-align: center;color:#606266">
|
||||||
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
<rich-text :nodes="updateVersion.modalContent"></rich-text>
|
||||||
|
|
@ -74,12 +72,10 @@ export default {
|
||||||
name:'修改密码',
|
name:'修改密码',
|
||||||
url:'/pages/mine/change_password/change_password'
|
url:'/pages/mine/change_password/change_password'
|
||||||
},
|
},
|
||||||
// #ifdef APP-PLUS
|
|
||||||
{
|
{
|
||||||
img: require('../../../static/images/my_ico5.png'),
|
img: require('../../../static/images/my_ico5.png'),
|
||||||
name:'版本更新',
|
name:'版本更新',
|
||||||
},
|
},
|
||||||
// #endif
|
|
||||||
{
|
{
|
||||||
img: require('../../../static/images/my_ico6.png'),
|
img: require('../../../static/images/my_ico6.png'),
|
||||||
name:'关于我们',
|
name:'关于我们',
|
||||||
|
|
@ -133,50 +129,50 @@ export default {
|
||||||
.mytop {
|
.mytop {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: url(/static/images/mybannerbg.png);
|
background: url(/static/images/mybannerbg.png);
|
||||||
height: 400rpx;
|
height: 400upx;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
padding: 20rpx;
|
padding: 20upx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.mytop_main_info {
|
.mytop_main_info {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: 150rpx;
|
margin-top: 150upx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.mytop_main_info_tx {
|
.mytop_main_info_tx {
|
||||||
margin-right: 20rpx;
|
margin-right: 20upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mytop_main_test_name {
|
.mytop_main_test_name {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 36rpx;
|
font-size: 36upx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mytop_main_test_p {
|
.mytop_main_test_p {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 26rpx;
|
font-size: 26upx;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
margin-top: 5rpx;
|
margin-top: 5upx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.my_main {
|
.my_main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 40rpx;
|
padding: 40upx;
|
||||||
margin-top: -120rpx;
|
margin-top: -120upx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.my_main_info {
|
.my_main_info {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 20rpx 40rpx;
|
padding: 20upx 40upx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 10rpx;
|
border-radius: 10upx;
|
||||||
box-shadow: 0 0 20rpx #eee;
|
box-shadow: 0 0 20upx #eee;
|
||||||
|
|
||||||
.my_main_info_wrap {
|
.my_main_info_wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -184,19 +180,19 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.my_main_info_wrap_img {
|
.my_main_info_wrap_img {
|
||||||
width: 50rpx;
|
width: 50upx;
|
||||||
height: 50rpx;
|
height: 50upx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my_main_info_wrap_info {
|
.my_main_info_wrap_info {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1upx solid #eee;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 30rpx 0rpx;
|
padding: 30upx 0upx;
|
||||||
padding-left: 10rpx;
|
padding-left: 10upx;
|
||||||
|
|
||||||
.my_main_info_wrap_info_lable {
|
.my_main_info_wrap_info_lable {
|
||||||
|
|
||||||
|
|
@ -214,19 +210,19 @@ export default {
|
||||||
.layout_btner {
|
.layout_btner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0rpx 40rpx;
|
padding: 0upx 40upx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
|
||||||
.layout_btn {
|
.layout_btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20rpx;
|
padding: 20upx;
|
||||||
background: #e72f2f;
|
background: #e72f2f;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
box-shadow: 0 0 20rpx #eee;
|
box-shadow: 0 0 20upx #eee;
|
||||||
border-radius: 10rpx;
|
border-radius: 10upx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<u-cell-group>
|
<u-cell-group>
|
||||||
<u-cell title="照片">
|
<u-cell title="照片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<u--image :src="info.userPhoto" shape="circle" width="100rpx" height="100rpx"></u--image>
|
<u--image :src="info.userPhoto" shape="circle" width="100upx" height="100upx"></u--image>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
||||||
|
|
@ -16,12 +16,12 @@
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell>
|
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell>
|
||||||
<u-cell title="年龄" :value="info.AGE"></u-cell>
|
<u-cell title="年龄" :value="info.AGE"></u-cell>
|
||||||
<u-cell title="身份证" :value="info.CARD_ID" @blur="fnIDCardDeduplication"></u-cell>
|
<u-cell title="身份证" :value="info.CARD_ID"></u-cell>
|
||||||
<u-cell title="身份证照片">
|
<u-cell title="身份证照片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in userCardIDPhotoFile" :key="index"
|
<view v-for="(item,index) in userCardIDPhotoFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -40,91 +40,58 @@
|
||||||
<u-cell title="联系电话" :value="info.PHONE"></u-cell>
|
<u-cell title="联系电话" :value="info.PHONE"></u-cell>
|
||||||
<u-cell title="婚姻状况" :value="info.MARITALSTATUS == 0 ? '未婚':'已婚'"></u-cell>
|
<u-cell title="婚姻状况" :value="info.MARITALSTATUS == 0 ? '未婚':'已婚'"></u-cell>
|
||||||
<u-cell title="政治面貌" :value="info.zzName"></u-cell>
|
<u-cell title="政治面貌" :value="info.zzName"></u-cell>
|
||||||
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间"
|
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间" :value="info.POLITICAL_TIME"></u-cell>
|
||||||
:value="info.POLITICAL_TIME"></u-cell>
|
|
||||||
<u-cell title="是否缴纳社保" :value="info.IS_SOCIAL_NAME"></u-cell>
|
<u-cell title="是否缴纳社保" :value="info.IS_SOCIAL_NAME"></u-cell>
|
||||||
<!-- 用v-if会出现渲染问题导致出现两行相同的数据 所以改成v-show modify by water_xu 2024.7.19 -->
|
<u-cell title="社会保障号" v-if="info.IS_SOCIAL==='1'" :value="info.SOCIAL_NUMBER"></u-cell>
|
||||||
<u-cell title="社会保障号" v-show="info.IS_SOCIAL==='1'" :value="info.SOCIAL_NUMBER"></u-cell>
|
<u-cell title="社会保障卡照片" v-if="info.IS_SOCIAL==='1'" >
|
||||||
<u-cell title="社会保障卡照片" v-show="info.IS_SOCIAL==='1'">
|
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in socialPhotoFile" :key="index"
|
<view v-for="(item,index) in socialPhotoFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(socialPhotoFile)"></u--image>
|
@click="fnPreview(socialPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="是否签订劳动合同" :value="info.IS_SIGN_LABOR_NAME"></u-cell>
|
|
||||||
<u-cell title="合同图片" v-show="info.IS_SIGN_LABOR==='1'">
|
|
||||||
<template #value>
|
|
||||||
<view v-for="(item,index) in contractFile" :key="index"
|
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
|
||||||
@click="fnPreview(contractFile)"></u--image>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</u-cell>
|
|
||||||
<u-cell title="是否缴纳商业保险" :value="info.ISPAY_NAME"></u-cell>
|
|
||||||
<u-cell title="商业保险单号" v-show="info.ISPAY==='1'" :value="info.ISPAY_NUMBER"></u-cell>
|
|
||||||
<u-cell title="保险图片" v-show="info.ISPAY==='1'">
|
|
||||||
<template #value>
|
|
||||||
<view v-for="(item,index) in insuranceFile" :key="index"
|
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
|
||||||
@click="fnPreview(insuranceFile)"></u--image>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</u-cell>
|
|
||||||
<u-cell title="是否按期缴纳工伤保险" :value="info.IS_INJURIES_PAY_NAME"></u-cell>
|
<u-cell title="是否按期缴纳工伤保险" :value="info.IS_INJURIES_PAY_NAME"></u-cell>
|
||||||
<u-cell title="工伤保险有效期" v-show="info.IS_INJURIES_PAY==='1'" :value="info.IS_INJURIES_PAY_TIME"></u-cell>
|
<u-cell title="工伤保险有效期" v-if="info.IS_INJURIES_PAY==='1'" :value="info.IS_INJURIES_PAY_TIME"></u-cell>
|
||||||
<u-cell title="工伤保险凭证" v-show="info.IS_INJURIES_PAY==='1'">
|
<u-cell title="工伤保险凭证" v-if="info.IS_INJURIES_PAY==='1'">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in injuriesPayTiemFile" :key="index"
|
<view v-for="(item,index) in injuriesPayTiemFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(injuriesPayTiemFile)"></u--image>
|
@click="fnPreview(injuriesPayTiemFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="岗位名称(工种)" :value="info.POST_ID"></u-cell>
|
|
||||||
<u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE_NAME"></u-cell>
|
|
||||||
<u-cell title="三级安全培训照片" v-show="info.IS_LEVEL_THREE==='1'">
|
|
||||||
<template #value>
|
|
||||||
<view v-for="(item,index) in photosOfLevel" :key="index"
|
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
|
||||||
@click="fnPreview(photosOfLevel)"></u--image>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</u-cell>
|
|
||||||
<u-cell title="是否流动人员" :value="info.ISFLOW_NAME"></u-cell>
|
<u-cell title="是否流动人员" :value="info.ISFLOW_NAME"></u-cell>
|
||||||
</u-cell-group>
|
</u-cell-group>
|
||||||
</view>
|
</view>
|
||||||
<fab-button type="edit" @click="$u.route({url: '/pages/mine/information/update'})"/>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getUserInfo,
|
getUserInfo,
|
||||||
getEmployedBy, getIDCardDeduplication
|
getEmployedBy
|
||||||
} from "../../../api";
|
} from "../../../api";
|
||||||
import FabButton from "@/components/fab_button/index.vue";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {FabButton},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
userCardIDPhotoFile: [],
|
userCardIDPhotoFile: [],
|
||||||
socialPhotoFile: [],
|
socialPhotoFile: [],
|
||||||
injuriesPayTiemFile:[],
|
injuriesPayTiemFile:[],
|
||||||
photosOfLevel: [],
|
|
||||||
contractFile: [],
|
|
||||||
insuranceFile: [],
|
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID:'',
|
EMPLOYMENT_APPLY_MANAGEMENT_ID:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onNavigationBarButtonTap(e) {
|
||||||
|
if (e.index === 0) {
|
||||||
|
uni.$u.route({
|
||||||
|
url: '/pages/mine/information/update'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.fnGetData()
|
this.fnGetData()
|
||||||
},
|
},
|
||||||
|
|
@ -134,14 +101,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async fnIDCardDeduplication(CARD_ID = this.form.CARD_ID) {
|
|
||||||
let resData = await getIDCardDeduplication({CARD_ID})
|
|
||||||
if (resData.pd) {
|
|
||||||
uni.$u.toast('身份证号重复')
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
},
|
|
||||||
fnPreview(urls) {
|
fnPreview(urls) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls
|
urls
|
||||||
|
|
@ -151,9 +110,6 @@ export default {
|
||||||
this.userCardIDPhotoFile = []
|
this.userCardIDPhotoFile = []
|
||||||
this.socialPhotoFile = []
|
this.socialPhotoFile = []
|
||||||
this.injuriesPayTiemFile = []
|
this.injuriesPayTiemFile = []
|
||||||
this.contractFile = []
|
|
||||||
this.photosOfLevel = []
|
|
||||||
this.insuranceFile = []
|
|
||||||
let Employed = await getEmployedBy({
|
let Employed = await getEmployedBy({
|
||||||
showCount: 10,
|
showCount: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
|
|
@ -180,19 +136,6 @@ export default {
|
||||||
for (let i = 0; i < resData.workInsurancePhotoFile.length; i++) {
|
for (let i = 0; i < resData.workInsurancePhotoFile.length; i++) {
|
||||||
this.injuriesPayTiemFile.push(this.$filePath + resData.workInsurancePhotoFile[i].FILEPATH)
|
this.injuriesPayTiemFile.push(this.$filePath + resData.workInsurancePhotoFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < resData.contractFile.length; i++) {
|
|
||||||
this.contractFile.push(this.$filePath + resData.contractFile[i].FILEPATH)
|
|
||||||
}
|
|
||||||
|
|
||||||
for (let i = 0; i < resData.photosOfLevel.length; i++) {
|
|
||||||
this.photosOfLevel.push(this.$filePath + resData.photosOfLevel[i].FILEPATH)
|
|
||||||
}
|
|
||||||
|
|
||||||
for (let i = 0; i < resData.insuranceFile.length; i++) {
|
|
||||||
this.insuranceFile.push(this.$filePath + resData.insuranceFile[i].FILEPATH)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.info.ISFLOW === '0') {
|
if (this.info.ISFLOW === '0') {
|
||||||
this.info.ISFLOW_NAME = '否'
|
this.info.ISFLOW_NAME = '否'
|
||||||
} else if (this.info.ISFLOW === '1') {
|
} else if (this.info.ISFLOW === '1') {
|
||||||
|
|
@ -208,21 +151,6 @@ export default {
|
||||||
} else if (this.info.IS_INJURIES_PAY === '1') {
|
} else if (this.info.IS_INJURIES_PAY === '1') {
|
||||||
this.info.IS_INJURIES_PAY_NAME = '是'
|
this.info.IS_INJURIES_PAY_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.info.IS_SIGN_LABOR === '0') {
|
|
||||||
this.info.IS_SIGN_LABOR_NAME = '否'
|
|
||||||
} else if (this.info.IS_SIGN_LABOR === '1') {
|
|
||||||
this.info.IS_SIGN_LABOR_NAME = '是'
|
|
||||||
}
|
|
||||||
if (this.info.IS_LEVEL_THREE === '0') {
|
|
||||||
this.info.IS_LEVEL_THREE_NAME = '否'
|
|
||||||
} else if (this.info.IS_LEVEL_THREE === '1') {
|
|
||||||
this.info.IS_LEVEL_THREE_NAME = '是'
|
|
||||||
}
|
|
||||||
if (this.info.ISPAY === '1') {
|
|
||||||
this.info.ISPAY_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.info.ISPAY_NAME = '否'
|
|
||||||
}
|
|
||||||
if (resData.userPhotoFile.length > 0) {
|
if (resData.userPhotoFile.length > 0) {
|
||||||
this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
|
this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,16 +21,11 @@
|
||||||
<u-form-item label="身份证" prop="CARD_ID" borderBottom required>
|
<u-form-item label="身份证" prop="CARD_ID" borderBottom required>
|
||||||
<u--input border="none" v-model="form.CARD_ID" @blur="fnCardIdDisassembly"></u--input>
|
<u--input border="none" v-model="form.CARD_ID" @blur="fnCardIdDisassembly"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="身份证照片(正反面)" prop="userCardIDPhotoFile" borderBottom required labelPosition="top"
|
<u-form-item label="身份证照片(正反面)" prop="userCardIDPhotoFile" borderBottom required
|
||||||
labelWidth="auto">
|
class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"
|
||||||
<u-upload :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"
|
|
||||||
@delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>
|
@delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>
|
||||||
</u-upload>
|
</u-upload>
|
||||||
<view class="tip">
|
|
||||||
温馨提示:用户需上传身份证正反面(身份证照片数量需≥2张),才能进行人员培训
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="民族" prop="NATIONALITY" borderBottom required
|
<u-form-item label="民族" prop="NATIONALITY" borderBottom required
|
||||||
@click="singleChoiceClick('NATIONALITY')">
|
@click="singleChoiceClick('NATIONALITY')">
|
||||||
|
|
@ -51,141 +46,53 @@
|
||||||
<u--input v-model="form.DEGREE_OF_EDUCATION_NAME" border="none" disabled disabledColor="#ffffff">
|
<u--input v-model="form.DEGREE_OF_EDUCATION_NAME" border="none" disabled disabledColor="#ffffff">
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<view>
|
|
||||||
<u-form-item label="婚姻状况" prop="MARITALSTATUS" borderBottom required
|
<u-form-item label="婚姻状况" prop="MARITALSTATUS" borderBottom required
|
||||||
@click="singleChoiceClick('MARITALSTATUS')">
|
@click="singleChoiceClick('MARITALSTATUS')">
|
||||||
<u--input v-model="form.MARITALSTATUS_NAME" border="none" disabled disabledColor="#ffffff">
|
<u--input v-model="form.MARITALSTATUS_NAME" border="none" disabled disabledColor="#ffffff">
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="政治面貌" prop="POLITICAL_STATUS" borderBottom required
|
<u-form-item label="政治面貌" prop="POLITICAL_STATUS" borderBottom required
|
||||||
@click="singleChoiceClick('POLITICAL_STATUS')">
|
@click="singleChoiceClick('POLITICAL_STATUS')">
|
||||||
<u--input v-model="form.POLITICAL_STATUS_NAME" border="none" disabled disabledColor="#ffffff">
|
<u--input v-model="form.POLITICAL_STATUS_NAME" border="none" disabled disabledColor="#ffffff">
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
<u-form-item v-if="form.POLITICAL_STATUS == 'zhonggongdangyuan'" label="入党时间" prop="POLITICAL_STATUS" borderBottom required
|
||||||
<view>
|
|
||||||
<u-form-item v-if="form.POLITICAL_STATUS == 'zhonggongdangyuan'" label="入党时间" prop="POLITICAL_STATUS"
|
|
||||||
borderBottom required
|
|
||||||
@click="fnShowDatePicke('POLITICAL_TIME')">
|
@click="fnShowDatePicke('POLITICAL_TIME')">
|
||||||
<u--input v-model="form.POLITICAL_TIME" border="none" disabled disabledColor="#ffffff">
|
<u--input v-model="form.POLITICAL_TIME" border="none" disabled disabledColor="#ffffff">
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="是否缴纳社保" prop="IS_SOCIAL_NAME" borderBottom required
|
<u-form-item label="是否缴纳社保" prop="IS_SOCIAL_NAME" borderBottom required
|
||||||
@click="fnShowIsSocial">
|
@click="fnShowIsSocial">
|
||||||
<u--input v-model="form.IS_SOCIAL_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.IS_SOCIAL_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
<u-form-item v-if="form.IS_SOCIAL=='1'" label="社会保障号" prop="SOCIAL_NUMBER" borderBottom required>
|
||||||
<view>
|
|
||||||
<u-form-item v-if="form.IS_SOCIAL==='1'" label="社会保障号码" prop="SOCIAL_NUMBER" borderBottom required>
|
|
||||||
<u--input border="none" v-model="form.SOCIAL_NUMBER"></u--input>
|
<u--input border="none" v-model="form.SOCIAL_NUMBER"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
<u-form-item v-if="form.IS_SOCIAL=='1'" label="社会保障卡(正反面)" prop="socialPhotoFile" borderBottom required class="form-item-block">
|
||||||
<view>
|
<u-upload class="mt-10" :fileList="form.socialPhotoFile" @afterRead="fnAttSocialAdd"
|
||||||
<u-form-item v-if="form.IS_SOCIAL==='1'" label="社会保障卡" prop="socialPhotoFile" borderBottom required
|
@delete="fnAttSocialDelete" multiple :maxCount="2" previewFullImage>
|
||||||
labelPosition="top" labelWidth="auto">
|
</u-upload>
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.socialPhotoFile" @afterRead="fnAttSocialAdd"
|
|
||||||
@delete="fnAttSocialDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="是否缴纳保险" prop="IS_BF_NAME" borderBottom required @click="fnShowBf">
|
|
||||||
<u--input v-model="form.IS_BF_NAME" border="none" disabled disabledColor="#ffffff"
|
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="是否签订劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
|
|
||||||
@click="fnShowIsSignLabor">
|
|
||||||
<u--input v-model="form.IS_SIGN_LABOR_NAME" border="none" disabled disabledColor="#ffffff"
|
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item v-if="form.IS_SIGN_LABOR==='1'" label="合同图片" prop="contractFile" borderBottom required
|
|
||||||
labelPosition="top" labelWidth="auto">
|
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.contractFile" @afterRead="fnIsSignLaborAdd"
|
|
||||||
@delete="fnIsSignLaborDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="是否缴纳商业保险" prop="ISPAY_NAME" borderBottom required @click="fnShowIsPay">
|
|
||||||
<u--input v-model="form.ISPAY_NAME" border="none" disabled disabledColor="#ffffff"
|
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item v-if="form.ISPAY==='1'" label="商业保险单号" prop="ISPAY_NUMBER" borderBottom required>
|
|
||||||
<u--input border="none" v-model="form.ISPAY_NUMBER"></u--input>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item v-if="form.ISPAY==='1'" label="保险图片" prop="insuranceFile" borderBottom required
|
|
||||||
labelPosition="top" labelWidth="auto">
|
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.insuranceFile" @afterRead="fnIsPayAdd" @delete="fnIsPayDelete"
|
|
||||||
multiple :maxCount="4" previewFullImage></u-upload>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="是否按期缴纳工伤保险" prop="IS_INJURIES_PAY_NAME" borderBottom required
|
<u-form-item label="是否按期缴纳工伤保险" prop="IS_INJURIES_PAY_NAME" borderBottom required
|
||||||
@click="fnShowEmploymentInjuryInsurance">
|
@click="fnShowEmploymentInjuryInsurance">
|
||||||
<u--input v-model="form.IS_INJURIES_PAY_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.IS_INJURIES_PAY_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
<u-form-item label="工伤保险有效期" v-if="form.IS_INJURIES_PAY==='1'" prop="<strong>IS_INJURIES_PAY_TIME</strong>" borderBottom
|
||||||
<view>
|
|
||||||
<u-form-item label="工伤保险有效期" v-if="form.IS_INJURIES_PAY==='1'" prop="IS_INJURIES_PAY_TIME" borderBottom
|
|
||||||
required @click="fnShowInjuriesPayTiemEducation">
|
required @click="fnShowInjuriesPayTiemEducation">
|
||||||
<u--input v-model="form.IS_INJURIES_PAY_TIME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.IS_INJURIES_PAY_TIME" border="none" disabled disabledColor="#ffffff"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="上传工伤保险凭证" prop="injuriesPayTiemFile" borderBottom required
|
<u-form-item label="上传工伤保险凭证" prop="injuriesPayTiemFile" borderBottom required
|
||||||
v-if="form.IS_INJURIES_PAY==='1'" labelPosition="top" labelWidth="auto">
|
v-if="form.IS_INJURIES_PAY==='1'" class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.injuriesPayTiemFile"
|
||||||
<u-upload :fileList="form.injuriesPayTiemFile"
|
|
||||||
@afterRead="fnInjuriesPayTiemAttachmentsAfterRead" @delete="fnInjuriesPayTiemAttachmentsDelete"
|
@afterRead="fnInjuriesPayTiemAttachmentsAfterRead" @delete="fnInjuriesPayTiemAttachmentsDelete"
|
||||||
multiple :maxCount="4" previewFullImage></u-upload>
|
multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="岗位名称(工种)" prop="POST_ID" borderBottom required>
|
|
||||||
<u--textarea border="none" v-model="form.POST_ID" autoHeight></u--textarea>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item label="是否参加三级安全培训" prop="IS_LEVEL_THREE_NAME" borderBottom required
|
|
||||||
@click="fnShowPhotosOfLevel">
|
|
||||||
<u--input v-model="form.IS_LEVEL_THREE_NAME" border="none" disabled disabledColor="#ffffff"
|
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<u-form-item v-if="form.IS_LEVEL_THREE === '1'" label="三级安全培训照片" prop="photosOfLevel" borderBottom
|
|
||||||
required labelPosition="top" labelWidth="auto">
|
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.photosOfLevel" @afterRead="fnPhotosOfLevelAdd"
|
|
||||||
@delete="fnPhotosOfLevelDelete" multiple :maxCount="4" previewFullImage>
|
|
||||||
</u-upload>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
|
||||||
</view>
|
|
||||||
<u-form-item label="是否流动人员" prop="ISFLOW_NAME" borderBottom required
|
<u-form-item label="是否流动人员" prop="ISFLOW_NAME" borderBottom required
|
||||||
@click="fnShowFloatingPersonnel">
|
@click="fnShowFloatingPersonnel">
|
||||||
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff" inputAlign="right"></u--input>
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u--form>
|
</u--form>
|
||||||
<u-picker ref="uPicker" :show="singleChoice" :columns="singleChoiceColumns" keyName="NAME"
|
<u-picker ref="uPicker" :show="singleChoice" :columns="singleChoiceColumns" keyName="NAME"
|
||||||
|
|
@ -199,21 +106,9 @@
|
||||||
</u-picker>
|
</u-picker>
|
||||||
<u-picker :show="showFloatingPersonnel" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
<u-picker :show="showFloatingPersonnel" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
||||||
@confirm="fnFloatingPersonnelConfirm" @cancel="fnShowFloatingPersonnel"></u-picker>
|
@confirm="fnFloatingPersonnelConfirm" @cancel="fnShowFloatingPersonnel"></u-picker>
|
||||||
<u-picker :show="showBf" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
|
||||||
@confirm="fnBFConfirm" @cancel="fnShowBf"></u-picker>
|
|
||||||
<u-picker :show="showIsSignLabor" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
|
||||||
@confirm="fnIsSignLaborConfirm" @cancel="fnShowIsSignLabor"></u-picker>
|
|
||||||
<u-picker :show="showPhotosOfLevel" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
|
||||||
@confirm="fnShowPhotosOfLevelConfirm" @cancel="fnShowPhotosOfLevel"></u-picker>
|
|
||||||
<u-picker :show="showIsPay" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
|
||||||
@confirm="fnShowIsPayConfirm" @cancel="fnShowIsPay"></u-picker>
|
|
||||||
|
|
||||||
<u-datetime-picker :show="showInjuriesPayTiem" v-model="IS_INJURIES_PAY_TIME" mode="date"
|
<u-datetime-picker :show="showInjuriesPayTiem" v-model="IS_INJURIES_PAY_TIME" mode="date"
|
||||||
@confirm="fnShowInjuriesPayTiemConfirm"
|
@confirm="fnShowInjuriesPayTiemConfirm" @cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
||||||
@cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
<u-button type="primary" text="保 存" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
<view class="mt-10">
|
|
||||||
<u-button type="primary" text="保 存" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -249,20 +144,13 @@ export default {
|
||||||
degreeOfEducationColumns: [],
|
degreeOfEducationColumns: [],
|
||||||
showPersonWorkType: false,
|
showPersonWorkType: false,
|
||||||
showFloatingPersonnel: false,
|
showFloatingPersonnel: false,
|
||||||
showBf: false,
|
|
||||||
showIsSignLabor: false,
|
|
||||||
showPhotosOfLevel: false,
|
|
||||||
showIsPay: false,
|
|
||||||
personWorkTypeColumns: [],
|
personWorkTypeColumns: [],
|
||||||
prePhotoId: [],
|
prePhotoId: [],
|
||||||
form: {
|
form: {
|
||||||
userPhoto: [],
|
userPhoto: [],
|
||||||
userCardIDPhotoFile: [],
|
userCardIDPhotoFile: [],
|
||||||
socialPhotoFile: [],
|
socialPhotoFile: [],
|
||||||
contractFile: [],
|
injuriesPayTiemFile: [], //工伤保险有效凭证
|
||||||
injuriesPayTiemFile: [],
|
|
||||||
photosOfLevel: [],
|
|
||||||
insuranceFile: [],
|
|
||||||
IS_INJURIES_PAY_TIME:'',
|
IS_INJURIES_PAY_TIME:'',
|
||||||
NAME: '',
|
NAME: '',
|
||||||
USERNAME: '',
|
USERNAME: '',
|
||||||
|
|
@ -281,15 +169,6 @@ export default {
|
||||||
ISFLOW_NAME: '',
|
ISFLOW_NAME: '',
|
||||||
IS_SOCIAL:'',
|
IS_SOCIAL:'',
|
||||||
IS_SOCIAL_NAME:'',
|
IS_SOCIAL_NAME:'',
|
||||||
IS_BF_NAME: '',
|
|
||||||
IS_BF: '',
|
|
||||||
IS_SIGN_LABOR: '',
|
|
||||||
IS_SIGN_LABOR_NAME: '',
|
|
||||||
POST_ID: '',
|
|
||||||
IS_LEVEL_THREE: '',
|
|
||||||
IS_LEVEL_THREE_NAME: '',
|
|
||||||
ISPAY: '',
|
|
||||||
ISPAY_NAME: ''
|
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
userPhoto: {
|
userPhoto: {
|
||||||
|
|
@ -318,7 +197,7 @@ export default {
|
||||||
socialPhotoFile: {
|
socialPhotoFile: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
required: true,
|
required: true,
|
||||||
message: '请上传社保卡正反照',
|
message: '请上传设保卡正反照',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
CARD_ID: [{
|
CARD_ID: [{
|
||||||
|
|
@ -388,54 +267,14 @@ export default {
|
||||||
message: '请选择工伤保险有效期',
|
message: '请选择工伤保险有效期',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
IS_BF_NAME: {
|
|
||||||
required: true,
|
|
||||||
message: '请选择是否是否缴纳保险',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
IS_SIGN_LABOR_NAME: {
|
|
||||||
required: true,
|
|
||||||
message: '请选择是否签订劳动合同',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
contractFile: {
|
|
||||||
type: 'array',
|
|
||||||
required: true,
|
|
||||||
message: '请上传劳动合同',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
insuranceFile: {
|
|
||||||
type: 'array',
|
|
||||||
required: true,
|
|
||||||
message: '请上传保险图片',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
POST_ID: {
|
|
||||||
required: true,
|
|
||||||
message: '请填写岗位',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
photosOfLevel: {
|
|
||||||
type: 'array',
|
|
||||||
required: true,
|
|
||||||
message: '请上传三级安全培训照片',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
IS_LEVEL_THREE_NAME: {
|
|
||||||
required: true,
|
|
||||||
message: '请选择是否为三级人员',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
ISPAY_NUMBER: {
|
|
||||||
required: true,
|
|
||||||
message: '请填写商业保单号',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.fnGetData()
|
this.fnGetData()
|
||||||
|
// this.fnGetDataDictionary('d7d80f08d73a4accbccf4fd3d8d1d867', 'degreeOfEducationColumns')
|
||||||
|
// this.fnGetDataDictionary('55484e491a5e442d839c4595380713ec', 'personWorkTypeColumns')
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
userInfo() {
|
userInfo() {
|
||||||
|
|
@ -449,10 +288,7 @@ export default {
|
||||||
this.changeFrom = changeFrom
|
this.changeFrom = changeFrom
|
||||||
if (changeFrom == 'NATIONALITY') this.fnGetDataDictionary('0a0e406f27f74ee698fe9979d25f62dd')
|
if (changeFrom == 'NATIONALITY') this.fnGetDataDictionary('0a0e406f27f74ee698fe9979d25f62dd')
|
||||||
if (changeFrom == 'DEGREE_OF_EDUCATION') this.fnGetDataDictionary('d7d80f08d73a4accbccf4fd3d8d1d867')
|
if (changeFrom == 'DEGREE_OF_EDUCATION') this.fnGetDataDictionary('d7d80f08d73a4accbccf4fd3d8d1d867')
|
||||||
if (changeFrom == 'MARITALSTATUS') this.singleChoiceColumns = [[{NAME: '已婚', BIANMA: '1'}, {
|
if (changeFrom == 'MARITALSTATUS') this.singleChoiceColumns = [[{NAME: '已婚', BIANMA: '1'}, {NAME: '未婚', BIANMA: '0'}]]
|
||||||
NAME: '未婚',
|
|
||||||
BIANMA: '0'
|
|
||||||
}]]
|
|
||||||
if (changeFrom == 'POLITICAL_STATUS') this.fnGetDataDictionary('6351efdd12dc4730952e5d195718e252')
|
if (changeFrom == 'POLITICAL_STATUS') this.fnGetDataDictionary('6351efdd12dc4730952e5d195718e252')
|
||||||
|
|
||||||
this.singleChoice = true
|
this.singleChoice = true
|
||||||
|
|
@ -494,13 +330,20 @@ export default {
|
||||||
if (event.file.id) {
|
if (event.file.id) {
|
||||||
// 准备删除的数据
|
// 准备删除的数据
|
||||||
this.prePhotoId.push(event.file.id)
|
this.prePhotoId.push(event.file.id)
|
||||||
|
// await removeUploadAttachments({
|
||||||
|
// IMGFILES_ID: event.file.id
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '操作成功',
|
title: '操作成功',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
|
// var pages = getCurrentPages(); // 获取当前页面栈
|
||||||
|
// var prePage = pages[pages.length - 2]; // 上级页面
|
||||||
|
// prePage.$vm.reloadx();
|
||||||
this.form.userCardIDPhotoFile.splice(event.index, 1)
|
this.form.userCardIDPhotoFile.splice(event.index, 1)
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
|
// console.log('用户点击取消');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -520,11 +363,17 @@ export default {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
if (event.file.id) {
|
if (event.file.id) {
|
||||||
this.prePhotoId.push(event.file.id)
|
this.prePhotoId.push(event.file.id)
|
||||||
|
// await removeUploadAttachments({
|
||||||
|
// IMGFILES_ID: event.file.id
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '操作成功',
|
title: '操作成功',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
|
// var pages = getCurrentPages(); // 获取当前页面栈
|
||||||
|
// var prePage = pages[pages.length - 2]; // 上级页面
|
||||||
|
// prePage.$vm.reloadx();
|
||||||
this.form.socialPhotoFile.splice(event.index, 1)
|
this.form.socialPhotoFile.splice(event.index, 1)
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
// console.log('用户点击取消');
|
// console.log('用户点击取消');
|
||||||
|
|
@ -532,87 +381,6 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 合同图片
|
|
||||||
fnIsSignLaborAdd(event) {
|
|
||||||
for (let i = 0; i < event.file.length; i++) {
|
|
||||||
this.form.contractFile.push(event.file[i])
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 合同图片删除
|
|
||||||
fnIsSignLaborDelete(event) {
|
|
||||||
uni.showModal({
|
|
||||||
title: '提示',
|
|
||||||
content: '确定删除吗',
|
|
||||||
success: async (res) => {
|
|
||||||
if (res.confirm) {
|
|
||||||
if (event.file.id) {
|
|
||||||
this.prePhotoId.push(event.file.id)
|
|
||||||
}
|
|
||||||
uni.showToast({
|
|
||||||
title: '操作成功',
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
this.form.contractFile.splice(event.index, 1)
|
|
||||||
} else if (res.cancel) {
|
|
||||||
// console.log('用户点击取消');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
// 合同图片
|
|
||||||
fnIsPayAdd(event) {
|
|
||||||
for (let i = 0; i < event.file.length; i++) {
|
|
||||||
this.form.insuranceFile.push(event.file[i])
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 合同图片删除
|
|
||||||
fnIsPayDelete(event) {
|
|
||||||
uni.showModal({
|
|
||||||
title: '提示',
|
|
||||||
content: '确定删除吗',
|
|
||||||
success: async (res) => {
|
|
||||||
if (res.confirm) {
|
|
||||||
if (event.file.id) {
|
|
||||||
this.prePhotoId.push(event.file.id)
|
|
||||||
}
|
|
||||||
uni.showToast({
|
|
||||||
title: '操作成功',
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
this.form.insuranceFile.splice(event.index, 1)
|
|
||||||
} else if (res.cancel) {
|
|
||||||
// console.log('用户点击取消');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
// 三级教育培训新增
|
|
||||||
fnPhotosOfLevelAdd(event) {
|
|
||||||
for (let i = 0; i < event.file.length; i++) {
|
|
||||||
this.form.photosOfLevel.push(event.file[i])
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 三级教育培训删除
|
|
||||||
fnPhotosOfLevelDelete(event) {
|
|
||||||
uni.showModal({
|
|
||||||
title: '提示',
|
|
||||||
content: '确定删除吗',
|
|
||||||
success: async (res) => {
|
|
||||||
if (res.confirm) {
|
|
||||||
if (event.file.id) {
|
|
||||||
this.prePhotoId.push(event.file.id)
|
|
||||||
}
|
|
||||||
uni.showToast({
|
|
||||||
title: '操作成功',
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
this.form.photosOfLevel.splice(event.index, 1)
|
|
||||||
} else if (res.cancel) {
|
|
||||||
// console.log('用户点击取消');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
async fnGetDataDictionary(DICTIONARIES_ID) {
|
async fnGetDataDictionary(DICTIONARIES_ID) {
|
||||||
let resData = await getDataDictionary({
|
let resData = await getDataDictionary({
|
||||||
|
|
@ -631,46 +399,22 @@ export default {
|
||||||
fnShowPersonWorkType() {
|
fnShowPersonWorkType() {
|
||||||
this.showPersonWorkType = !this.showPersonWorkType
|
this.showPersonWorkType = !this.showPersonWorkType
|
||||||
},
|
},
|
||||||
|
// fnPersonWorkTypeConfirm(e) {
|
||||||
|
// this.form.PERSON_WORK_TYPE = e.value[0].BIANMA
|
||||||
|
// this.form.PERSON_WORK_TYPE_NAME = e.value[0].NAME
|
||||||
|
// this.fnShowPersonWorkType()
|
||||||
|
// },
|
||||||
fnShowFloatingPersonnel() {
|
fnShowFloatingPersonnel() {
|
||||||
this.showFloatingPersonnel = !this.showFloatingPersonnel
|
this.showFloatingPersonnel = !this.showFloatingPersonnel
|
||||||
},
|
},
|
||||||
fnShowBf() {
|
|
||||||
this.showBf = !this.showBf
|
|
||||||
},
|
|
||||||
fnShowIsSignLabor() {
|
|
||||||
this.showIsSignLabor = !this.showIsSignLabor
|
|
||||||
},
|
|
||||||
fnShowIsPay() {
|
|
||||||
this.showIsPay = !this.showIsPay
|
|
||||||
},
|
|
||||||
fnShowIsPayConfirm(e) {
|
|
||||||
this.form.ISPAY = e.value[0].id
|
|
||||||
this.form.ISPAY_NAME = e.value[0].name
|
|
||||||
this.fnShowIsPay()
|
|
||||||
},
|
|
||||||
fnShowPhotosOfLevel() {
|
|
||||||
this.showPhotosOfLevel = !this.showPhotosOfLevel
|
|
||||||
},
|
|
||||||
fnShowPhotosOfLevelConfirm(e) {
|
|
||||||
this.form.IS_LEVEL_THREE = e.value[0].id
|
|
||||||
this.form.IS_LEVEL_THREE_NAME = e.value[0].name
|
|
||||||
this.fnShowPhotosOfLevel()
|
|
||||||
},
|
|
||||||
fnFloatingPersonnelConfirm(e) {
|
fnFloatingPersonnelConfirm(e) {
|
||||||
this.form.ISFLOW = e.value[0].id
|
this.form.ISFLOW = e.value[0].id
|
||||||
this.form.ISFLOW_NAME = e.value[0].name
|
this.form.ISFLOW_NAME = e.value[0].name
|
||||||
this.fnShowFloatingPersonnel()
|
this.fnShowFloatingPersonnel()
|
||||||
},
|
},
|
||||||
fnBFConfirm(e) {
|
|
||||||
this.form.IS_BF = e.value[0].id
|
|
||||||
this.form.IS_BF_NAME = e.value[0].name
|
|
||||||
this.fnShowBf()
|
|
||||||
},
|
|
||||||
fnIsSignLaborConfirm(e) {
|
|
||||||
this.form.IS_SIGN_LABOR = e.value[0].id
|
|
||||||
this.form.IS_SIGN_LABOR_NAME = e.value[0].name
|
|
||||||
this.fnShowIsSignLabor()
|
|
||||||
},
|
|
||||||
fnShowIsSocial() {
|
fnShowIsSocial() {
|
||||||
this.showIsSocial = !this.showIsSocial
|
this.showIsSocial = !this.showIsSocial
|
||||||
},
|
},
|
||||||
|
|
@ -703,11 +447,17 @@ export default {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
if (event.file.id) {
|
if (event.file.id) {
|
||||||
this.prePhotoId.push(event.file.id)
|
this.prePhotoId.push(event.file.id)
|
||||||
|
// await removeUploadAttachments({
|
||||||
|
// IMGFILES_ID: event.file.id
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '操作成功',
|
title: '操作成功',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
|
// var pages = getCurrentPages(); // 获取当前页面栈
|
||||||
|
// var prePage = pages[pages.length - 2]; // 上级页面
|
||||||
|
// prePage.$vm.reloadx();
|
||||||
this.form.injuriesPayTiemFile.splice(event.index, 1)
|
this.form.injuriesPayTiemFile.splice(event.index, 1)
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
// console.log('用户点击取消');
|
// console.log('用户点击取消');
|
||||||
|
|
@ -797,50 +547,26 @@ export default {
|
||||||
}
|
}
|
||||||
this.form.PHONE = this.form.USERNAME
|
this.form.PHONE = this.form.USERNAME
|
||||||
this.fnCardIdDisassembly(this.form.CARD_ID)
|
this.fnCardIdDisassembly(this.form.CARD_ID)
|
||||||
if (this.form.IS_SOCIAL === '1') {
|
if (this.form.IS_SOCIAL === '0') {
|
||||||
this.form.IS_SOCIAL_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.IS_SOCIAL_NAME = '否'
|
this.form.IS_SOCIAL_NAME = '否'
|
||||||
|
} else if (this.form.IS_SOCIAL === '1') {
|
||||||
|
this.form.IS_SOCIAL_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.form.IS_INJURIES_PAY === '1') {
|
if (this.form.IS_INJURIES_PAY === '0') {
|
||||||
this.form.IS_INJURIES_PAY_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.IS_INJURIES_PAY_NAME = '否'
|
this.form.IS_INJURIES_PAY_NAME = '否'
|
||||||
|
} else if (this.form.IS_INJURIES_PAY === '1') {
|
||||||
|
this.form.IS_INJURIES_PAY_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.form.SEX_NAME === '0') {
|
if (this.form.SEX_NAME == '0') {
|
||||||
this.form.SEX_NAME = '男'
|
this.form.SEX_NAME = '男'
|
||||||
} else if (this.form.SEX_NAME === '1') {
|
} else if (this.form.SEX_NAME == '1') {
|
||||||
this.form.SEX_NAME = '女'
|
this.form.SEX_NAME = '女'
|
||||||
}
|
}
|
||||||
if (this.form.ISFLOW === '1') {
|
if (this.form.ISFLOW == '0') {
|
||||||
this.form.ISFLOW_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.ISFLOW_NAME = '否'
|
this.form.ISFLOW_NAME = '否'
|
||||||
|
} else if (this.form.ISFLOW == '1') {
|
||||||
|
this.form.ISFLOW_NAME = '是'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form.ISPAY === '1') {
|
|
||||||
this.form.ISPAY_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.ISPAY_NAME = '否'
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.form.IS_LEVEL_THREE === '1') {
|
|
||||||
this.form.IS_LEVEL_THREE_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.IS_LEVEL_THREE_NAME = '否'
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.form.IS_BF === '1') {
|
|
||||||
this.form.IS_BF_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.IS_BF_NAME = '否'
|
|
||||||
}
|
|
||||||
if (this.form.IS_SIGN_LABOR === '1') {
|
|
||||||
this.form.IS_SIGN_LABOR_NAME = '是'
|
|
||||||
} else {
|
|
||||||
this.form.IS_SIGN_LABOR_NAME = '否'
|
|
||||||
}
|
|
||||||
|
|
||||||
if (resData.userPhotoFile.length > 0) {
|
if (resData.userPhotoFile.length > 0) {
|
||||||
this.$set(this.form, 'userPhoto', [{
|
this.$set(this.form, 'userPhoto', [{
|
||||||
url: this.$filePath + resData.userPhotoFile[0].FILEPATH,
|
url: this.$filePath + resData.userPhotoFile[0].FILEPATH,
|
||||||
|
|
@ -874,33 +600,7 @@ export default {
|
||||||
this.form.injuriesPayTiemFile.push(obj)
|
this.form.injuriesPayTiemFile.push(obj)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (resData.photosOfLevel.length > 0) {
|
|
||||||
resData.photosOfLevel.forEach(item => {
|
|
||||||
const obj = {
|
|
||||||
id: item.IMGFILES_ID,
|
|
||||||
url: this.$filePath + item.FILEPATH
|
|
||||||
}
|
|
||||||
this.form.photosOfLevel.push(obj)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
if (resData.contractFile.length > 0) {
|
|
||||||
resData.contractFile.forEach(item => {
|
|
||||||
const obj = {
|
|
||||||
id: item.IMGFILES_ID,
|
|
||||||
url: this.$filePath + item.FILEPATH
|
|
||||||
}
|
|
||||||
this.form.contractFile.push(obj)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
if (resData.insuranceFile.length > 0) {
|
|
||||||
resData.insuranceFile.forEach(item => {
|
|
||||||
const obj = {
|
|
||||||
id: item.IMGFILES_ID,
|
|
||||||
url: this.$filePath + item.FILEPATH
|
|
||||||
}
|
|
||||||
this.form.insuranceFile.push(obj)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
fnAfterRead(event) {
|
fnAfterRead(event) {
|
||||||
this.form.userPhoto.push(event.file)
|
this.form.userPhoto.push(event.file)
|
||||||
|
|
@ -917,16 +617,17 @@ export default {
|
||||||
}
|
}
|
||||||
if (await this.fnIDCardDeduplication()) return
|
if (await this.fnIDCardDeduplication()) return
|
||||||
if (await this.fnPhoneNumberDeduplication()) return
|
if (await this.fnPhoneNumberDeduplication()) return
|
||||||
if (this.form.userCardIDPhotoFile.length !== 2) {
|
if (this.form.userCardIDPhotoFile.length != 2) {
|
||||||
uni.$u.toast('身份证照片需要两张')
|
uni.$u.toast('身份证照片需要两张')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(this.form.IS_SOCIAL==='1'){
|
if(this.form.IS_SOCIAL==='1'){
|
||||||
if (this.form.socialPhotoFile.length !== 2) {
|
if (this.form.socialPhotoFile.length != 2) {
|
||||||
uni.$u.toast('社保卡照片需要两张')
|
uni.$u.toast('社保卡照片需要两张')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let fileUrl = ''
|
let fileUrl = ''
|
||||||
// 删除点击删除的图片
|
// 删除点击删除的图片
|
||||||
for (let i = 0; i < this.prePhotoId.length; i++) {
|
for (let i = 0; i < this.prePhotoId.length; i++) {
|
||||||
|
|
@ -934,7 +635,6 @@ export default {
|
||||||
IMGFILES_ID: this.prePhotoId[i]
|
IMGFILES_ID: this.prePhotoId[i]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 保存图片
|
|
||||||
for (let i = 0; i < this.form.userPhoto.length; i++) {
|
for (let i = 0; i < this.form.userPhoto.length; i++) {
|
||||||
if (!this.form.userPhoto[i].FILEPATH) {
|
if (!this.form.userPhoto[i].FILEPATH) {
|
||||||
let resData = await setUploadAttachments({
|
let resData = await setUploadAttachments({
|
||||||
|
|
@ -960,6 +660,7 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < this.form.socialPhotoFile.length; i++) {
|
for (let i = 0; i < this.form.socialPhotoFile.length; i++) {
|
||||||
await setUploadAttachments({
|
await setUploadAttachments({
|
||||||
filePath: this.form.socialPhotoFile[i].url,
|
filePath: this.form.socialPhotoFile[i].url,
|
||||||
|
|
@ -971,51 +672,17 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
for (let i = 0; i < this.form.injuriesPayTiemFile.length; i++) {
|
for (let i = 0; i < this.form.injuriesPayTiemFile.length; i++) { // 16上传工伤保险凭证
|
||||||
await setUploadAttachments({
|
await setUploadAttachments({
|
||||||
filePath: this.form.injuriesPayTiemFile[i].url,
|
filePath: this.form.injuriesPayTiemFile[i].url,
|
||||||
name: 'files',
|
name: 'files',
|
||||||
formData: {
|
formData: {
|
||||||
TYPE: '16',
|
TYPE: '16',
|
||||||
FOREIGN_KEY: this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
FOREIGN_KEY: this.userInfo.USER_ID,
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
CORPINFO_ID: this.CORPINFO_ID,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
for (let i = 0; i < this.form.photosOfLevel.length; i++) {
|
|
||||||
await setUploadAttachments({
|
|
||||||
filePath: this.form.photosOfLevel[i].url,
|
|
||||||
name: 'files',
|
|
||||||
formData: {
|
|
||||||
TYPE: '19',
|
|
||||||
FOREIGN_KEY: this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
for (let i = 0; i < this.form.contractFile.length; i++) {
|
|
||||||
await setUploadAttachments({
|
|
||||||
filePath: this.form.contractFile[i].url,
|
|
||||||
name: 'files',
|
|
||||||
formData: {
|
|
||||||
TYPE: '10',
|
|
||||||
FOREIGN_KEY: this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
for (let i = 0; i < this.form.insuranceFile.length; i++) {
|
|
||||||
await setUploadAttachments({
|
|
||||||
filePath: this.form.insuranceFile[i].url,
|
|
||||||
name: 'files',
|
|
||||||
formData: {
|
|
||||||
TYPE: '11',
|
|
||||||
FOREIGN_KEY: this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 保存人员信息
|
|
||||||
await setUserInfo({
|
await setUserInfo({
|
||||||
...this.form,
|
...this.form,
|
||||||
PHOTO: fileUrl
|
PHOTO: fileUrl
|
||||||
|
|
@ -1056,9 +723,5 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.tip {
|
|
||||||
color: red;
|
|
||||||
font-size: 12px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {}
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,12 @@
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="card">
|
<view class="card">
|
||||||
<u--form labelPosition="left" :model="form" :rules="rules" ref="form" labelWidth="auto">
|
<u--form labelPosition="left" :model="form" :rules="rules" ref="form" labelWidth="auto">
|
||||||
<u-form-item label="照片" prop="userPhoto" borderBottom required labelPosition="top" labelWidth="auto">
|
<u-form-item label="照片" prop="userPhoto" borderBottom required class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.userPhoto" :maxCount="1" @afterRead="fnUserPhotoRead"
|
||||||
<u-upload :fileList="form.userPhoto" :maxCount="1" @afterRead="fnUserPhotoRead"
|
|
||||||
@delete="fnUserPhotoDelete" multiple previewFullImage></u-upload>
|
@delete="fnUserPhotoDelete" multiple previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
|
|
||||||
<u-form-item label="单位名称" prop="NAME" borderBottom required>
|
<u-form-item label="单位名称" prop="NAME" borderBottom required>
|
||||||
<u--input v-model="RELEVANT_UNIT_NAME" :disabled="true" border="none" inputAlign="right"></u--input>
|
<u--input v-model="RELEVANT_UNIT_NAME" :disabled="true" border="none" inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
@ -34,14 +34,9 @@
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="身份证照片(录入身份证正、反彩色照片)" prop="userCardIDFileList" borderBottom required
|
<u-form-item label="身份证照片(录入身份证正、反彩色照片)" prop="userCardIDFileList" borderBottom required
|
||||||
labelPosition="top" labelWidth="auto">
|
class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"
|
||||||
<u-upload :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"
|
@delete="fnInsuranceAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
||||||
@delete="fnUserCardIDAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
|
||||||
<view class="tip">
|
|
||||||
温馨提示:用户需上传身份证正反面(身份证照片数量需≥2张),才能进行人员培训
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<u-form-item label="民族" prop="NATIONALITY_NAME" borderBottom required @click="fnShowMizuOfEducation">
|
<u-form-item label="民族" prop="NATIONALITY_NAME" borderBottom required @click="fnShowMizuOfEducation">
|
||||||
|
|
@ -64,10 +59,10 @@
|
||||||
<u--input v-model="form.POLITICAL_TIME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.POLITICAL_TIME" border="none" disabled disabledColor="#ffffff"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="户口所在地" prop="HKLOCAL" borderBottom labelPosition="top" labelWidth="auto">
|
<u-form-item label="户口所在地" prop="HKLOCAL" borderBottom required class="form-item-block">
|
||||||
<u--textarea v-model="form.HKLOCAL" border="none" autoHeight></u--textarea>
|
<u--textarea v-model="form.HKLOCAL" border="none" autoHeight></u--textarea>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="现住址" prop="ADDRESS" borderBottom labelPosition="top" labelWidth="auto">
|
<u-form-item label="现住址" prop="ADDRESS" borderBottom required class="form-item-block">
|
||||||
<u--textarea v-model="form.ADDRESS" border="none" autoHeight></u--textarea>
|
<u--textarea v-model="form.ADDRESS" border="none" autoHeight></u--textarea>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="联系电话" prop="PHONE" borderBottom required>
|
<u-form-item label="联系电话" prop="PHONE" borderBottom required>
|
||||||
|
|
@ -83,22 +78,22 @@
|
||||||
<!-- <!– 20230612改成输入框 –>-->
|
<!-- <!– 20230612改成输入框 –>-->
|
||||||
<!-- <u--input v-model="form.PERSON_WORK_TYPE" border="none" disabledColor="#ffffff" inputAlign="right"></u--input>-->
|
<!-- <u--input v-model="form.PERSON_WORK_TYPE" border="none" disabledColor="#ffffff" inputAlign="right"></u--input>-->
|
||||||
<!-- </u-form-item>-->
|
<!-- </u-form-item>-->
|
||||||
<!-- <u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required-->
|
<u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required
|
||||||
<!-- @click="fnShowEnterpriseStartingDateOfEmployment">-->
|
@click="fnShowEnterpriseStartingDateOfEmployment">
|
||||||
<!-- <u--input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"-->
|
<u--input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"
|
||||||
<!-- inputAlign="right"></u--input>-->
|
inputAlign="right"></u--input>
|
||||||
<!-- </u-form-item>-->
|
</u-form-item>
|
||||||
<!-- @click="fnShowPost" -->
|
<!-- @click="fnShowPost" -->
|
||||||
<u-form-item label="岗位名称" prop="POST_ID" borderBottom required>
|
<u-form-item label="岗位名称" prop="POST_ID" borderBottom required>
|
||||||
<!-- 20230612改成输入框 -->
|
<!-- 20230612改成输入框 -->
|
||||||
<u--input v-model="form.POST_ID" border="none" disabledColor="#ffffff" inputAlign="right">
|
<u--input v-model="form.POST_ID" border="none" disabledColor="#ffffff" inputAlign="right">
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<!-- <u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required-->
|
<u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required
|
||||||
<!-- @click="fnShowPostStartingDateOfEmployment">-->
|
@click="fnShowPostStartingDateOfEmployment">
|
||||||
<!-- <u--input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"-->
|
<u--input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"
|
||||||
<!-- inputAlign="right"></u--input>-->
|
inputAlign="right"></u--input>
|
||||||
<!-- </u-form-item>-->
|
</u-form-item>
|
||||||
<u-form-item label="是否缴纳社保" prop="IS_SOCIAL_NAME" borderBottom required
|
<u-form-item label="是否缴纳社保" prop="IS_SOCIAL_NAME" borderBottom required
|
||||||
@click="fnShowIsSocial">
|
@click="fnShowIsSocial">
|
||||||
<u--input v-model="form.IS_SOCIAL_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.IS_SOCIAL_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
|
|
@ -107,17 +102,9 @@
|
||||||
<u-form-item label="社会保障号码" prop="SOCIAL_NUMBER" borderBottom required v-if="form.IS_SOCIAL==='1'" >
|
<u-form-item label="社会保障号码" prop="SOCIAL_NUMBER" borderBottom required v-if="form.IS_SOCIAL==='1'" >
|
||||||
<u--input v-model="form.SOCIAL_NUMBER" border="none" inputAlign="right"></u--input>
|
<u--input v-model="form.SOCIAL_NUMBER" border="none" inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="社保卡照片" prop="socialFileList" borderBottom required labelPosition="top"
|
<u-form-item label="社保卡照片" prop="socialFileList" borderBottom required class="form-item-block" v-if="form.IS_SOCIAL==='1'" >
|
||||||
labelWidth="auto" v-if="form.IS_SOCIAL==='1'">
|
<u-upload class="mt-10" :fileList="form.socialFileList" @afterRead="fnSocialAttachmentsRead"
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.socialFileList" @afterRead="fnSocialAttachmentsRead"
|
|
||||||
@delete="fnSocialAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
@delete="fnSocialAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
|
||||||
<u-form-item label="是否缴纳保险" prop="IS_BF_NAME" borderBottom required
|
|
||||||
@click="fnShowInjuryInsurance">
|
|
||||||
<u--input v-model="form.IS_BF_NAME" border="none" disabled disabledColor="#ffffff"
|
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="是否签署劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
|
<u-form-item label="是否签署劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
|
||||||
@click="fnShowLaborContract">
|
@click="fnShowLaborContract">
|
||||||
|
|
@ -125,12 +112,10 @@
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="劳动合同附件" prop="contractFile" borderBottom required v-if="form.IS_SIGN_LABOR==='1'"
|
<u-form-item label="劳动合同附件" prop="contractFile" borderBottom required v-if="form.IS_SIGN_LABOR==='1'"
|
||||||
labelPosition="top" labelWidth="auto">
|
class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.contractFile"
|
||||||
<u-upload :fileList="form.contractFile"
|
|
||||||
@afterRead="fnAttachmentToLaborContractAfterRead" @delete="fnAttachmentToLaborContractDelete"
|
@afterRead="fnAttachmentToLaborContractAfterRead" @delete="fnAttachmentToLaborContractDelete"
|
||||||
multiple :maxCount="4" previewFullImage></u-upload>
|
multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="是否按期缴纳工伤保险" prop="IS_INJURIES_PAY_NAME" borderBottom required
|
<u-form-item label="是否按期缴纳工伤保险" prop="IS_INJURIES_PAY_NAME" borderBottom required
|
||||||
@click="fnShowEmploymentInjuryInsurance">
|
@click="fnShowEmploymentInjuryInsurance">
|
||||||
|
|
@ -143,12 +128,10 @@
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="上传工伤保险凭证" prop="injuriesPayTiemFile" borderBottom required
|
<u-form-item label="上传工伤保险凭证" prop="injuriesPayTiemFile" borderBottom required
|
||||||
v-if="form.IS_INJURIES_PAY==='1'" labelPosition="top" labelWidth="auto">
|
v-if="form.IS_INJURIES_PAY==='1'" class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.injuriesPayTiemFile"
|
||||||
<u-upload :fileList="form.injuriesPayTiemFile"
|
|
||||||
@afterRead="fnInjuriesPayTiemAttachmentsAfterRead" @delete="fnInjuriesPayTiemAttachmentsDelete"
|
@afterRead="fnInjuriesPayTiemAttachmentsAfterRead" @delete="fnInjuriesPayTiemAttachmentsDelete"
|
||||||
multiple :maxCount="4" previewFullImage></u-upload>
|
multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -161,25 +144,15 @@
|
||||||
<u--input v-model="form.ISPAY_NUMBER" border="none" inputAlign="right"></u--input>
|
<u--input v-model="form.ISPAY_NUMBER" border="none" inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="保险附件" prop="insuranceFile" borderBottom required v-if="form.ISPAY==='1'"
|
<u-form-item label="保险附件" prop="insuranceFile" borderBottom required v-if="form.ISPAY==='1'"
|
||||||
labelPosition="top" labelWidth="auto">
|
class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.insuranceFile" @afterRead="fnInsuranceAttachmentsAfterRead2"
|
||||||
<u-upload :fileList="form.insuranceFile" @afterRead="fnInsuranceAttachmentsAfterRead2"
|
|
||||||
@delete="fnInsuranceAttachmentsDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
@delete="fnInsuranceAttachmentsDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="是否参加三级安全培训" prop="IS_LEVEL_THREE_NAME" borderBottom required
|
<u-form-item label="是否参加三级安全培训" prop="IS_LEVEL_THREE_NAME" borderBottom required
|
||||||
@click="fnShowSafetyTraining">
|
@click="fnShowSafetyTraining">
|
||||||
<u--input v-model="form.IS_LEVEL_THREE_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.IS_LEVEL_THREE_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="三级安全培训图片" prop="safetytraining" borderBottom required
|
|
||||||
v-if="form.IS_LEVEL_THREE==='1'"
|
|
||||||
labelPosition="top" labelWidth="auto">
|
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.safetytraining" @afterRead="fnSafetyTrainingAfterRead2"
|
|
||||||
@delete="fnSafetyTrainingAttachmentsDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
|
||||||
</view>
|
|
||||||
</u-form-item>
|
|
||||||
<!-- <u-form-item label="安全告知培训是否合格" prop="IS_SAFETY_TELL_NAME" borderBottom required
|
<!-- <u-form-item label="安全告知培训是否合格" prop="IS_SAFETY_TELL_NAME" borderBottom required
|
||||||
@click="fnShowAdmissionSafetyNotification">
|
@click="fnShowAdmissionSafetyNotification">
|
||||||
<u--input v-model="form.IS_SAFETY_TELL_NAME" border="none" disabled
|
<u--input v-model="form.IS_SAFETY_TELL_NAME" border="none" disabled
|
||||||
|
|
@ -190,20 +163,19 @@
|
||||||
@click="fnShowSafetyTimeTraining">
|
@click="fnShowSafetyTimeTraining">
|
||||||
<u--input v-model="form.IS_SAFETY_TIME" border="none" disabled disabledColor="#ffffff" inputAlign="right"></u--input>
|
<u--input v-model="form.IS_SAFETY_TIME" border="none" disabled disabledColor="#ffffff" inputAlign="right"></u--input>
|
||||||
</u-form-item> -->
|
</u-form-item> -->
|
||||||
<!-- <u-form-item label="身体状况是否适应本岗位工作" prop="IS_BODY_ADAPT_NAME" borderBottom required-->
|
<u-form-item label="身体状况是否适应本岗位工作" prop="IS_BODY_ADAPT_NAME" borderBottom required
|
||||||
<!-- @click="fnShowAdaptToTheJobPosition">-->
|
@click="fnShowAdaptToTheJobPosition">
|
||||||
<!-- <u--input v-model="form.IS_BODY_ADAPT_NAME" border="none" disabled disabledColor="#ffffff"-->
|
<u--input v-model="form.IS_BODY_ADAPT_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
<!-- inputAlign="right"></u--input>-->
|
inputAlign="right"></u--input>
|
||||||
<!-- </u-form-item>-->
|
</u-form-item>
|
||||||
<!-- <u-form-item label="是否特殊工种" prop="IS_SPECIAL_JOB_NAME" borderBottom required-->
|
<u-form-item label="是否特殊工种" prop="IS_SPECIAL_JOB_NAME" borderBottom required
|
||||||
<!-- @click="fnShowSpecialTypeOfWork">-->
|
@click="fnShowSpecialTypeOfWork">
|
||||||
<!-- <u--input v-model="form.IS_SPECIAL_JOB_NAME" border="none" disabled disabledColor="#ffffff"-->
|
<u--input v-model="form.IS_SPECIAL_JOB_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
<!-- inputAlign="right"></u--input>-->
|
inputAlign="right"></u--input>
|
||||||
<!-- </u-form-item>-->
|
</u-form-item>
|
||||||
<u-form-item label="是否流动人员" prop="ISFLOW_NAME" borderBottom required
|
<u-form-item label="是否流动人员" prop="ISFLOW_NAME" borderBottom required
|
||||||
@click="fnShowFloatingPersonnel">
|
@click="fnShowFloatingPersonnel">
|
||||||
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff" inputAlign="right"></u--input>
|
||||||
inputAlign="right"></u--input>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u--form>
|
</u--form>
|
||||||
<u-picker :show="showDegreeOfEducation" :columns="degreeOfEducationColumns" keyName="NAME"
|
<u-picker :show="showDegreeOfEducation" :columns="degreeOfEducationColumns" keyName="NAME"
|
||||||
|
|
@ -222,9 +194,6 @@
|
||||||
|
|
||||||
<u-picker :show="showLaborContract" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
<u-picker :show="showLaborContract" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]" keyName="name"
|
||||||
@confirm="fnLaborContractConfirm" @cancel="fnShowLaborContract"></u-picker>
|
@confirm="fnLaborContractConfirm" @cancel="fnShowLaborContract"></u-picker>
|
||||||
<u-picker :show="showInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
|
|
||||||
keyName="name" @confirm="fnEInsuranceConfirm" @cancel="fnShowEmploymentInjuryInsurance">
|
|
||||||
</u-picker>
|
|
||||||
<u-picker :show="showEmploymentInjuryInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
|
<u-picker :show="showEmploymentInjuryInsurance" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
|
||||||
keyName="name" @confirm="fnEmploymentInjuryInsuranceConfirm" @cancel="fnShowEmploymentInjuryInsurance">
|
keyName="name" @confirm="fnEmploymentInjuryInsuranceConfirm" @cancel="fnShowEmploymentInjuryInsurance">
|
||||||
</u-picker>
|
</u-picker>
|
||||||
|
|
@ -258,15 +227,12 @@
|
||||||
@confirm="fnShowPoliticalStatusConfirm" @cancel="fnShowPoliticalStatusEducation"></u-picker>
|
@confirm="fnShowPoliticalStatusConfirm" @cancel="fnShowPoliticalStatusEducation"></u-picker>
|
||||||
<!-- 入党时间 -->
|
<!-- 入党时间 -->
|
||||||
<u-datetime-picker :show="showPoliticalTime" v-model="POLITICAL_TIME" mode="date"
|
<u-datetime-picker :show="showPoliticalTime" v-model="POLITICAL_TIME" mode="date"
|
||||||
@confirm="fnShowPoliticalTimeConfirm"
|
@confirm="fnShowPoliticalTimeConfirm" @cancel="fnShowPoliticalTimeEducation"></u-datetime-picker>
|
||||||
@cancel="fnShowPoliticalTimeEducation"></u-datetime-picker>
|
|
||||||
<!--工伤报销有效时间 -->
|
<!--工伤报销有效时间 -->
|
||||||
<u-datetime-picker :show="showInjuriesPayTiem" v-model="IS_INJURIES_PAY_TIME" mode="date"
|
<u-datetime-picker :show="showInjuriesPayTiem" v-model="IS_INJURIES_PAY_TIME" mode="date"
|
||||||
@confirm="fnShowInjuriesPayTiemConfirm"
|
@confirm="fnShowInjuriesPayTiemConfirm" @cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
||||||
@cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
<u-button type="primary" text="保 存" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
<view class="mt-10">
|
|
||||||
<u-button type="primary" text="保 存" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -282,8 +248,7 @@ import {
|
||||||
setRelatedPartyRegistration,
|
setRelatedPartyRegistration,
|
||||||
setUploadAttachments,
|
setUploadAttachments,
|
||||||
getEMPLOYMENTAPPLYMANAGEMENTID,
|
getEMPLOYMENTAPPLYMANAGEMENTID,
|
||||||
getEmployedBy,
|
getEmployedBy
|
||||||
removeUploadAttachments
|
|
||||||
} from "../../api";
|
} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
@ -317,7 +282,6 @@ export default {
|
||||||
showIsSocial: false,
|
showIsSocial: false,
|
||||||
showLaborContract: false,
|
showLaborContract: false,
|
||||||
showEmploymentInjuryInsurance: false,
|
showEmploymentInjuryInsurance: false,
|
||||||
showInsurance: false,
|
|
||||||
showEmploymentPayInsurance: false,
|
showEmploymentPayInsurance: false,
|
||||||
showSafetyTraining: false,
|
showSafetyTraining: false,
|
||||||
showAdmissionSafetyNotification: false,
|
showAdmissionSafetyNotification: false,
|
||||||
|
|
@ -360,19 +324,15 @@ export default {
|
||||||
contractFile: [],
|
contractFile: [],
|
||||||
ISPAY: '',
|
ISPAY: '',
|
||||||
ISPAY_NAME: '',
|
ISPAY_NAME: '',
|
||||||
imgDelKey: '',
|
|
||||||
IS_BF: '',
|
|
||||||
IS_BF_NAME: '',
|
|
||||||
IS_INJURIES_PAY: '',
|
IS_INJURIES_PAY: '',
|
||||||
IS_INJURIES_PAY_NAME: '',
|
IS_INJURIES_PAY_NAME: '',
|
||||||
safetytraining: [],
|
|
||||||
insuranceFile: [],
|
insuranceFile: [],
|
||||||
IS_LEVEL_THREE: '',
|
IS_LEVEL_THREE: '',
|
||||||
IS_LEVEL_THREE_NAME: '',
|
IS_LEVEL_THREE_NAME: '',
|
||||||
IS_SAFETY_TELL: '',
|
IS_SAFETY_TELL: '',
|
||||||
IS_SAFETY_TELL_NAME: '',
|
IS_SAFETY_TELL_NAME: '',
|
||||||
IS_BODY_ADAPT: '',
|
IS_BODY_ADAPT: '',
|
||||||
// IS_BODY_ADAPT_NAME: '',
|
IS_BODY_ADAPT_NAME: '',
|
||||||
IS_SPECIAL_JOB: '',
|
IS_SPECIAL_JOB: '',
|
||||||
IS_SPECIAL_JOB_NAME: '',
|
IS_SPECIAL_JOB_NAME: '',
|
||||||
ISFLOW: '',
|
ISFLOW: '',
|
||||||
|
|
@ -429,16 +389,16 @@ export default {
|
||||||
message: '请上传身份证照片',
|
message: '请上传身份证照片',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
// HKLOCAL: {
|
HKLOCAL: {
|
||||||
// required: true,
|
required: true,
|
||||||
// message: '请填写户口所在地',
|
message: '请填写户口所在地',
|
||||||
// trigger: ['blur']
|
trigger: ['blur']
|
||||||
// },
|
},
|
||||||
// ADDRESS: {
|
ADDRESS: {
|
||||||
// required: true,
|
required: true,
|
||||||
// message: '请填写现住址',
|
message: '请填写现住址',
|
||||||
// trigger: ['blur']
|
trigger: ['blur']
|
||||||
// },
|
},
|
||||||
PHONE: [{
|
PHONE: [{
|
||||||
required: true,
|
required: true,
|
||||||
message: '请填写联系电话',
|
message: '请填写联系电话',
|
||||||
|
|
@ -482,21 +442,21 @@ export default {
|
||||||
// message: '请输入工种',
|
// message: '请输入工种',
|
||||||
// trigger: ['change']
|
// trigger: ['change']
|
||||||
// },
|
// },
|
||||||
// CORP_START_DATE: {
|
CORP_START_DATE: {
|
||||||
// required: true,
|
required: true,
|
||||||
// message: '请选择本企业从业开始日期',
|
message: '请选择本企业从业开始日期',
|
||||||
// trigger: ['change']
|
trigger: ['change']
|
||||||
// },
|
},
|
||||||
POST_ID: {
|
POST_ID: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择岗位名称',
|
message: '请选择岗位名称',
|
||||||
trigger: ['blur']
|
trigger: ['blur']
|
||||||
},
|
},
|
||||||
// ENTRY_DATE: {
|
ENTRY_DATE: {
|
||||||
// required: true,
|
required: true,
|
||||||
// message: '请选择本岗位从业开始日期',
|
message: '请选择本岗位从业开始日期',
|
||||||
// trigger: ['change']
|
trigger: ['change']
|
||||||
// },
|
},
|
||||||
SOCIAL_NUMBER: {
|
SOCIAL_NUMBER: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请填写社会保障号码',
|
message: '请填写社会保障号码',
|
||||||
|
|
@ -524,11 +484,7 @@ export default {
|
||||||
message: '请上传劳动合同附件',
|
message: '请上传劳动合同附件',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
IS_BF_NAME: {
|
IS_INJURIES_PAY_NAME: {
|
||||||
required: true,
|
|
||||||
message: '请选择是否缴纳保险',
|
|
||||||
trigger: ['change']
|
|
||||||
}, IS_INJURIES_PAY_NAME: {
|
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否按期缴纳工伤保险',
|
message: '请选择是否按期缴纳工伤保险',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
|
|
@ -555,12 +511,6 @@ export default {
|
||||||
message: '请上传保险附件',
|
message: '请上传保险附件',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
safetytraining: {
|
|
||||||
type: 'array',
|
|
||||||
required: true,
|
|
||||||
message: '请上传三方安全培训图片',
|
|
||||||
trigger: ['change']
|
|
||||||
},
|
|
||||||
IS_LEVEL_THREE_NAME: {
|
IS_LEVEL_THREE_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否参加三级安全培训',
|
message: '请选择是否参加三级安全培训',
|
||||||
|
|
@ -576,16 +526,16 @@ export default {
|
||||||
message: '请选择安全告知培训合格日期',
|
message: '请选择安全告知培训合格日期',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
// IS_BODY_ADAPT_NAME: {
|
IS_BODY_ADAPT_NAME: {
|
||||||
// required: true,
|
required: true,
|
||||||
// message: '请选择身体状况是否适应本岗位工作',
|
message: '请选择身体状况是否适应本岗位工作',
|
||||||
// trigger: ['change']
|
trigger: ['change']
|
||||||
// },
|
},
|
||||||
// IS_SPECIAL_JOB_NAME: {
|
IS_SPECIAL_JOB_NAME: {
|
||||||
// required: true,
|
required: true,
|
||||||
// message: '请选择是否特殊工种',
|
message: '请选择是否特殊工种',
|
||||||
// trigger: ['change']
|
trigger: ['change']
|
||||||
// },
|
},
|
||||||
ISFLOW_NAME: {
|
ISFLOW_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否流动人员',
|
message: '请选择是否流动人员',
|
||||||
|
|
@ -638,21 +588,11 @@ export default {
|
||||||
} else if (this.form.IS_SOCIAL === '1') {
|
} else if (this.form.IS_SOCIAL === '1') {
|
||||||
this.form.IS_SOCIAL_NAME = '是'
|
this.form.IS_SOCIAL_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.form.MARITALSTATUS === '0') {
|
|
||||||
this.form.MARITALSTATUS_NAME = '未婚'
|
|
||||||
} else if (this.form.MARITALSTATUS === '1') {
|
|
||||||
this.form.MARITALSTATUS_NAME = '已婚'
|
|
||||||
}
|
|
||||||
if (this.form.IS_SIGN_LABOR === '0') {
|
if (this.form.IS_SIGN_LABOR === '0') {
|
||||||
this.form.IS_SIGN_LABOR_NAME = '否'
|
this.form.IS_SIGN_LABOR_NAME = '否'
|
||||||
} else if (this.form.IS_SIGN_LABOR === '1') {
|
} else if (this.form.IS_SIGN_LABOR === '1') {
|
||||||
this.form.IS_SIGN_LABOR_NAME = '是'
|
this.form.IS_SIGN_LABOR_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.form.IS_BF === '0') {
|
|
||||||
this.form.IS_BF_NAME = '否'
|
|
||||||
} else if (this.form.IS_BF === '1') {
|
|
||||||
this.form.IS_BF_NAME = '是'
|
|
||||||
}
|
|
||||||
if (this.form.IS_INJURIES_PAY === '0') {
|
if (this.form.IS_INJURIES_PAY === '0') {
|
||||||
this.form.IS_INJURIES_PAY_NAME = '否'
|
this.form.IS_INJURIES_PAY_NAME = '否'
|
||||||
} else if (this.form.IS_INJURIES_PAY === '1') {
|
} else if (this.form.IS_INJURIES_PAY === '1') {
|
||||||
|
|
@ -668,35 +608,32 @@ export default {
|
||||||
} else if (this.form.IS_SAFETY_TELL === '1') {
|
} else if (this.form.IS_SAFETY_TELL === '1') {
|
||||||
this.form.IS_SAFETY_TELL_NAME = '是'
|
this.form.IS_SAFETY_TELL_NAME = '是'
|
||||||
}
|
}
|
||||||
// if (this.form.IS_BODY_ADAPT === '0') {
|
if (this.form.IS_BODY_ADAPT === '0') {
|
||||||
// this.form.IS_BODY_ADAPT_NAME = '否'
|
this.form.IS_BODY_ADAPT_NAME = '否'
|
||||||
// } else if (this.form.IS_BODY_ADAPT === '1') {
|
} else if (this.form.IS_BODY_ADAPT === '1') {
|
||||||
// this.form.IS_BODY_ADAPT_NAME = '是'
|
this.form.IS_BODY_ADAPT_NAME = '是'
|
||||||
// }
|
}
|
||||||
// if (this.form.IS_SPECIAL_JOB === '0') {
|
if (this.form.IS_SPECIAL_JOB === '0') {
|
||||||
// this.form.IS_SPECIAL_JOB_NAME = '否'
|
this.form.IS_SPECIAL_JOB_NAME = '否'
|
||||||
// } else if (this.form.IS_SPECIAL_JOB === '1') {
|
} else if (this.form.IS_SPECIAL_JOB === '1') {
|
||||||
// this.form.IS_SPECIAL_JOB_NAME = '是'
|
this.form.IS_SPECIAL_JOB_NAME = '是'
|
||||||
// }
|
}
|
||||||
if (this.form.ISFLOW === '0') {
|
if (this.form.ISFLOW === '0') {
|
||||||
this.form.ISFLOW_NAME = '否'
|
this.form.ISFLOW_NAME = '否'
|
||||||
} else if (this.form.ISFLOW === '1') {
|
} else if (this.form.ISFLOW === '1') {
|
||||||
this.form.ISFLOW_NAME = '是'
|
this.form.ISFLOW_NAME = '是'
|
||||||
}
|
}
|
||||||
this.$set(this.form, 'userPhoto', [{
|
this.$set(this.form, 'userPhoto', [{
|
||||||
url: this.$filePath + resData.userPhotoFile[0].FILEPATH,
|
url: this.$filePath + resData.userPhotoFile[0].FILEPATH
|
||||||
id: resData.userPhotoFile[0].IMGFILES_ID
|
|
||||||
}])
|
}])
|
||||||
for (let i = 0; i < resData.userCardIDPhotoFile.length; i++) {
|
for (let i = 0; i < resData.userCardIDPhotoFile.length; i++) {
|
||||||
let ogj = {}
|
let ogj = {}
|
||||||
ogj.url = this.$filePath + resData.userCardIDPhotoFile[i].FILEPATH
|
ogj.url = this.$filePath + resData.userCardIDPhotoFile[i].FILEPATH
|
||||||
ogj.id = resData.userCardIDPhotoFile[i].IMGFILES_ID
|
|
||||||
this.form.userCardIDFileList.push(ogj)
|
this.form.userCardIDFileList.push(ogj)
|
||||||
}
|
}
|
||||||
for (let i = 0; i < resData.socialPhotoFile.length; i++) {
|
for (let i = 0; i < resData.socialPhotoFile.length; i++) {
|
||||||
let ogj = {}
|
let ogj = {}
|
||||||
ogj.url = this.$filePath + resData.socialPhotoFile[i].FILEPATH
|
ogj.url = this.$filePath + resData.socialPhotoFile[i].FILEPATH
|
||||||
ogj.id = resData.socialPhotoFile[i].IMGFILES_ID
|
|
||||||
this.form.socialFileList.push(ogj)
|
this.form.socialFileList.push(ogj)
|
||||||
}
|
}
|
||||||
this.getDataCertificateInformation()
|
this.getDataCertificateInformation()
|
||||||
|
|
@ -706,14 +643,14 @@ export default {
|
||||||
showCount: 9999,
|
showCount: 9999,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
});
|
});
|
||||||
// this.certificateInformationLength = resData.varList.length
|
this.certificateInformationLength = resData.varList.length
|
||||||
// if (resData.varList.length > 0) {
|
if (resData.varList.length > 0) {
|
||||||
// this.form.IS_SPECIAL_JOB = '1'
|
this.form.IS_SPECIAL_JOB = '1'
|
||||||
// this.form.IS_SPECIAL_JOB_NAME = '是'
|
this.form.IS_SPECIAL_JOB_NAME = '是'
|
||||||
// } else {
|
} else {
|
||||||
// this.form.IS_SPECIAL_JOB = '0'
|
this.form.IS_SPECIAL_JOB = '0'
|
||||||
// this.form.IS_SPECIAL_JOB_NAME = '否'
|
this.form.IS_SPECIAL_JOB_NAME = '否'
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
async fnIDCardDeduplication(CARD_ID = this.form.CARD_ID) {
|
async fnIDCardDeduplication(CARD_ID = this.form.CARD_ID) {
|
||||||
let resData = await getIDCardDeduplication({
|
let resData = await getIDCardDeduplication({
|
||||||
|
|
@ -845,17 +782,9 @@ export default {
|
||||||
fnShowEmploymentInjuryInsurance() {
|
fnShowEmploymentInjuryInsurance() {
|
||||||
this.showEmploymentInjuryInsurance = !this.showEmploymentInjuryInsurance
|
this.showEmploymentInjuryInsurance = !this.showEmploymentInjuryInsurance
|
||||||
},
|
},
|
||||||
fnShowInjuryInsurance() {
|
|
||||||
this.showInsurance = !this.showInsurance
|
|
||||||
},
|
|
||||||
fnShowEmploymentPayInsurance() {
|
fnShowEmploymentPayInsurance() {
|
||||||
this.showEmploymentPayInsurance = !this.showEmploymentPayInsurance
|
this.showEmploymentPayInsurance = !this.showEmploymentPayInsurance
|
||||||
},
|
},
|
||||||
fnEInsuranceConfirm(e) {
|
|
||||||
this.form.IS_BF = e.value[0].id
|
|
||||||
this.form.IS_BF_NAME = e.value[0].name
|
|
||||||
this.fnShowInjuryInsurance()
|
|
||||||
},
|
|
||||||
fnEmploymentInjuryInsuranceConfirm(e) {
|
fnEmploymentInjuryInsuranceConfirm(e) {
|
||||||
this.form.IS_INJURIES_PAY = e.value[0].id
|
this.form.IS_INJURIES_PAY = e.value[0].id
|
||||||
this.form.IS_INJURIES_PAY_NAME = e.value[0].name
|
this.form.IS_INJURIES_PAY_NAME = e.value[0].name
|
||||||
|
|
@ -873,8 +802,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fnUserPhotoDelete(event) {
|
fnUserPhotoDelete(event) {
|
||||||
var id = this.form.userPhoto[event.index].id
|
|
||||||
this.form.imgDelKey = this.form.imgDelKey + id + ','
|
|
||||||
this.form.userPhoto.splice(event.index, 1)
|
this.form.userPhoto.splice(event.index, 1)
|
||||||
},
|
},
|
||||||
fnAttachmentToLaborContractAfterRead(event) {
|
fnAttachmentToLaborContractAfterRead(event) {
|
||||||
|
|
@ -885,14 +812,6 @@ export default {
|
||||||
fnAttachmentToLaborContractDelete(event) {
|
fnAttachmentToLaborContractDelete(event) {
|
||||||
this.form.contractFile.splice(event.index, 1)
|
this.form.contractFile.splice(event.index, 1)
|
||||||
},
|
},
|
||||||
fnSafetyTrainingAfterRead2(event) {
|
|
||||||
for (let i = 0; i < event.file.length; i++) {
|
|
||||||
this.form.safetytraining.push(event.file[i])
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fnSafetyTrainingAttachmentsDelete(event) {
|
|
||||||
this.form.safetytraining.splice(event.index, 1)
|
|
||||||
},
|
|
||||||
fnInsuranceAttachmentsAfterRead2(event) {
|
fnInsuranceAttachmentsAfterRead2(event) {
|
||||||
for (let i = 0; i < event.file.length; i++) {
|
for (let i = 0; i < event.file.length; i++) {
|
||||||
this.form.insuranceFile.push(event.file[i])
|
this.form.insuranceFile.push(event.file[i])
|
||||||
|
|
@ -942,8 +861,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fnUserCardIDAttachmentsDelete(event) {
|
fnUserCardIDAttachmentsDelete(event) {
|
||||||
var id = this.form.userCardIDFileList[event.index].id
|
|
||||||
this.form.imgDelKey = this.form.imgDelKey + id + ','
|
|
||||||
this.form.userCardIDFileList.splice(event.index, 1)
|
this.form.userCardIDFileList.splice(event.index, 1)
|
||||||
},
|
},
|
||||||
//政治面貌 POLITICAL_STATUS
|
//政治面貌 POLITICAL_STATUS
|
||||||
|
|
@ -971,8 +888,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fnSocialAttachmentsDelete(event) {
|
fnSocialAttachmentsDelete(event) {
|
||||||
var id = this.form.socialFileList[event.index].id
|
|
||||||
this.form.imgDelKey = this.form.imgDelKey + id + ','
|
|
||||||
this.form.socialFileList.splice(event.index, 1)
|
this.form.socialFileList.splice(event.index, 1)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -994,33 +909,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
|
||||||
},
|
},
|
||||||
|
|
@ -1031,10 +946,6 @@ export default {
|
||||||
},
|
},
|
||||||
fnSubmit() {
|
fnSubmit() {
|
||||||
let fileUrl = ''
|
let fileUrl = ''
|
||||||
let imgDelKey = String(this.form.imgDelKey)
|
|
||||||
if (imgDelKey.length > 0) {
|
|
||||||
this.form.imgDelKey = imgDelKey.replace(/undefined,/g, '').slice(0, -1)
|
|
||||||
}
|
|
||||||
this.$refs.form.validate().then(async () => {
|
this.$refs.form.validate().then(async () => {
|
||||||
if (await this.fnIDCardDeduplication()) return
|
if (await this.fnIDCardDeduplication()) return
|
||||||
if (await this.fnPhoneNumberDeduplication()) return
|
if (await this.fnPhoneNumberDeduplication()) return
|
||||||
|
|
@ -1063,8 +974,6 @@ export default {
|
||||||
uni.$u.toast('工商或社保全无人员,不可进入本系统相关方人员管理!');
|
uni.$u.toast('工商或社保全无人员,不可进入本系统相关方人员管理!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 开始上传图片
|
|
||||||
// 头像
|
|
||||||
for (let i = 0; i < this.form.userPhoto.length; i++) {
|
for (let i = 0; i < this.form.userPhoto.length; i++) {
|
||||||
let resData = await setUploadAttachments({
|
let resData = await setUploadAttachments({
|
||||||
filePath: this.form.userPhoto[i].url,
|
filePath: this.form.userPhoto[i].url,
|
||||||
|
|
@ -1088,17 +997,6 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
for (let i = 0; i < this.form.safetytraining.length; i++) {
|
|
||||||
await setUploadAttachments({
|
|
||||||
filePath: this.form.safetytraining[i].url,
|
|
||||||
name: 'files',
|
|
||||||
formData: {
|
|
||||||
TYPE: '19',
|
|
||||||
FOREIGN_KEY: this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
|
||||||
CORPINFO_ID: this.CORPINFO_ID,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
for (let i = 0; i < this.form.insuranceFile.length; i++) {
|
for (let i = 0; i < this.form.insuranceFile.length; i++) {
|
||||||
await setUploadAttachments({
|
await setUploadAttachments({
|
||||||
filePath: this.form.insuranceFile[i].url,
|
filePath: this.form.insuranceFile[i].url,
|
||||||
|
|
@ -1110,7 +1008,6 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 身份证
|
|
||||||
for (let i = 0; i < this.form.userCardIDFileList
|
for (let i = 0; i < this.form.userCardIDFileList
|
||||||
.length; i++) { // 14 身份证照片 15 社保卡照片 16上传工伤保险凭证
|
.length; i++) { // 14 身份证照片 15 社保卡照片 16上传工伤保险凭证
|
||||||
await setUploadAttachments({
|
await setUploadAttachments({
|
||||||
|
|
@ -1151,7 +1048,6 @@ export default {
|
||||||
CORPINFO_ID: this.CORPINFO_ID,
|
CORPINFO_ID: this.CORPINFO_ID,
|
||||||
RELEVANT_UNIT_NAME: this.RELEVANT_UNIT_NAME,
|
RELEVANT_UNIT_NAME: this.RELEVANT_UNIT_NAME,
|
||||||
PHOTO: fileUrl,
|
PHOTO: fileUrl,
|
||||||
WORK_SIGN: this.form.IS_SIGN_LABOR,
|
|
||||||
})
|
})
|
||||||
uni.$u.toast('保存成功,请等待相关方审核')
|
uni.$u.toast('保存成功,请等待相关方审核')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
@ -1167,9 +1063,5 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.tip {
|
|
||||||
color: red;
|
|
||||||
font-size: 12px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -6,30 +6,27 @@
|
||||||
<u--input v-model="form.POST_ID" border="none" disabledColor="#ffffff" inputAlign="right">
|
<u--input v-model="form.POST_ID" border="none" disabledColor="#ffffff" inputAlign="right">
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<!-- <u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required-->
|
<u-form-item label="本企业从业开始日期" prop="CORP_START_DATE" borderBottom required
|
||||||
<!-- @click="fnShowDatePicke('CORP_START_DATE')">-->
|
@click="fnShowDatePicke('CORP_START_DATE')">
|
||||||
<!-- <u--input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"-->
|
<u--input v-model="form.CORP_START_DATE" border="none" disabled disabledColor="#ffffff"
|
||||||
<!-- inputAlign="right"></u--input>-->
|
inputAlign="right"></u--input>
|
||||||
<!-- </u-form-item>-->
|
</u-form-item>
|
||||||
<!-- <u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required-->
|
<u-form-item label="本岗位从业开始日期" prop="ENTRY_DATE" borderBottom required
|
||||||
<!-- @click="fnShowDatePicke('ENTRY_DATE')">-->
|
@click="fnShowDatePicke('ENTRY_DATE')">
|
||||||
<!-- <u--input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"-->
|
<u--input v-model="form.ENTRY_DATE" border="none" disabled disabledColor="#ffffff"
|
||||||
<!-- inputAlign="right"></u--input>-->
|
inputAlign="right"></u--input>
|
||||||
<!-- </u-form-item>-->
|
</u-form-item>
|
||||||
<u-form-item label="是否签署劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
|
<u-form-item label="是否签署劳动合同" prop="IS_SIGN_LABOR_NAME" borderBottom required
|
||||||
@click="fnShowLaborContract">
|
@click="fnShowLaborContract">
|
||||||
<u--input v-model="form.IS_SIGN_LABOR_NAME" border="none" disabled disabledColor="#ffffff"
|
<u--input v-model="form.IS_SIGN_LABOR_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<view v-if="form.IS_SIGN_LABOR==='1'">
|
<view v-if="form.IS_SIGN_LABOR==='1'">
|
||||||
<u-form-item label="劳动合同附件" prop="contractFile" borderBottom required labelPosition="top"
|
<u-form-item label="劳动合同附件" prop="contractFile" borderBottom required class="form-item-block">
|
||||||
labelWidth="auto">
|
<u-upload class="mt-10" :fileList="form.contractFile"
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.contractFile"
|
|
||||||
@afterRead="fnAttachmentToLaborContractAfterRead"
|
@afterRead="fnAttachmentToLaborContractAfterRead"
|
||||||
@delete="fnAttachmentToLaborContractDelete" multiple :maxCount="4" previewFullImage>
|
@delete="fnAttachmentToLaborContractDelete" multiple :maxCount="4" previewFullImage>
|
||||||
</u-upload>
|
</u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
<u-form-item label="是否缴纳工伤保险" prop="IS_INJURIES_PAY_NAME" borderBottom required
|
<u-form-item label="是否缴纳工伤保险" prop="IS_INJURIES_PAY_NAME" borderBottom required
|
||||||
|
|
@ -46,13 +43,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view v-if="form.IS_INJURIES_PAY==='1'">
|
<view v-if="form.IS_INJURIES_PAY==='1'">
|
||||||
<u-form-item label="工伤保险凭证" prop="workInsurancePhotoFile" borderBottom required
|
<u-form-item label="工伤保险凭证" prop="workInsurancePhotoFile" borderBottom required
|
||||||
labelPosition="top" labelWidth="auto">
|
class="form-item-block">
|
||||||
<view class="mt-10 w100">
|
<u-upload class="mt-10" :fileList="form.workInsurancePhotoFile"
|
||||||
<u-upload :fileList="form.workInsurancePhotoFile"
|
|
||||||
@afterRead="fnWorkInsuranceRead" @delete="fnWorkInsuranceDelete" multiple
|
@afterRead="fnWorkInsuranceRead" @delete="fnWorkInsuranceDelete" multiple
|
||||||
:maxCount="4" previewFullImage>
|
:maxCount="4" previewFullImage>
|
||||||
</u-upload>
|
</u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
<u-form-item label="是否缴纳商业保险" prop="ISPAY_NAME" borderBottom required
|
<u-form-item label="是否缴纳商业保险" prop="ISPAY_NAME" borderBottom required
|
||||||
|
|
@ -65,13 +60,10 @@
|
||||||
</u--input>
|
</u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<view v-if="form.ISPAY==='1'">
|
<view v-if="form.ISPAY==='1'">
|
||||||
<u-form-item label="保险附件" prop="insuranceFile" borderBottom required labelPosition="top"
|
<u-form-item label="保险附件" prop="insuranceFile" borderBottom required class="form-item-block">
|
||||||
labelWidth="auto">
|
<u-upload class="mt-10" :fileList="form.insuranceFile"
|
||||||
<view class="mt-10 w100">
|
|
||||||
<u-upload :fileList="form.insuranceFile"
|
|
||||||
@afterRead="fnInsuranceAttachmentsAfterRead" @delete="fnInsuranceDelete" multiple
|
@afterRead="fnInsuranceAttachmentsAfterRead" @delete="fnInsuranceDelete" multiple
|
||||||
:maxCount="4" previewFullImage></u-upload>
|
:maxCount="4" previewFullImage></u-upload>
|
||||||
</view>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
<u-form-item label="是否参加三级安全培训" prop="IS_LEVEL_THREE_NAME" borderBottom required
|
<u-form-item label="是否参加三级安全培训" prop="IS_LEVEL_THREE_NAME" borderBottom required
|
||||||
|
|
@ -126,9 +118,7 @@
|
||||||
keyName="name" @confirm="fnSpecialTypeOfWorkConfirm" @cancel="fnShowSpecialTypeOfWork"></u-picker>
|
keyName="name" @confirm="fnSpecialTypeOfWorkConfirm" @cancel="fnShowSpecialTypeOfWork"></u-picker>
|
||||||
<u-picker :show="showFloatingPersonnel" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
|
<u-picker :show="showFloatingPersonnel" :columns="[[{name: '是', id: '1'}, {name: '否', id: '0'}]]"
|
||||||
keyName="name" @confirm="fnFloatingPersonnelConfirm" @cancel="fnShowFloatingPersonnel"></u-picker>
|
keyName="name" @confirm="fnFloatingPersonnelConfirm" @cancel="fnShowFloatingPersonnel"></u-picker>
|
||||||
<view class="mt-10">
|
<u-button type="primary" text="修 改" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
<u-button type="primary" text="修 改" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -413,11 +403,6 @@ export default {
|
||||||
} else if (this.form.IS_SIGN_LABOR === '1') {
|
} else if (this.form.IS_SIGN_LABOR === '1') {
|
||||||
this.form.IS_SIGN_LABOR_NAME = '是'
|
this.form.IS_SIGN_LABOR_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.form.MARITALSTATUS === '0') {
|
|
||||||
this.form.MARITALSTATUS_NAME = '未婚'
|
|
||||||
} else if (this.form.MARITALSTATUS === '1') {
|
|
||||||
this.form.MARITALSTATUS_NAME = '已婚'
|
|
||||||
}
|
|
||||||
if (this.form.IS_INJURIES_PAY === '0') {
|
if (this.form.IS_INJURIES_PAY === '0') {
|
||||||
this.form.IS_INJURIES_PAY_NAME = '否'
|
this.form.IS_INJURIES_PAY_NAME = '否'
|
||||||
} else if (this.form.IS_INJURIES_PAY === '1') {
|
} else if (this.form.IS_INJURIES_PAY === '1') {
|
||||||
|
|
@ -641,8 +626,7 @@ export default {
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
this.form.contractFile.splice(event.index, 1)
|
this.form.contractFile.splice(event.index, 1)
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@
|
||||||
<view class="card">
|
<view class="card">
|
||||||
<view class="text_content">
|
<view class="text_content">
|
||||||
<view class="title title_left">基础信息</view>
|
<view class="title title_left">基础信息</view>
|
||||||
<!-- <view class="title_right" @click="fnGoEditUserInfo">修改</view>-->
|
<view class="title_right" @click="fnGoEditUserInfo">修改</view>
|
||||||
</view>
|
</view>
|
||||||
<u-cell-group>
|
<u-cell-group>
|
||||||
<u-cell title="照片">
|
<u-cell title="照片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<u--image :src="info.userPhoto" shape="circle" width="100rpx" height="100rpx"></u--image>
|
<u--image :src="info.userPhoto" shape="circle" width="100upx" height="100upx"></u--image>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
||||||
|
|
@ -25,8 +25,8 @@
|
||||||
<u-cell title="身份证照片">
|
<u-cell title="身份证照片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in userCardIDPhotoFile" :key="index"
|
<view v-for="(item,index) in userCardIDPhotoFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -45,16 +45,15 @@
|
||||||
<u-cell title="联系电话" :value="info.PHONE"></u-cell>
|
<u-cell title="联系电话" :value="info.PHONE"></u-cell>
|
||||||
<u-cell title="婚姻状况" :value="info.MARITALSTATUS_NAME"></u-cell>
|
<u-cell title="婚姻状况" :value="info.MARITALSTATUS_NAME"></u-cell>
|
||||||
<u-cell title="政治面貌" :value="info.POLITICAL_STATUS_NAME"></u-cell>
|
<u-cell title="政治面貌" :value="info.POLITICAL_STATUS_NAME"></u-cell>
|
||||||
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间"
|
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间" :value="info.POLITICAL_TIME"></u-cell>
|
||||||
:value="info.POLITICAL_TIME"></u-cell>
|
|
||||||
|
|
||||||
|
|
||||||
<u-cell title="社会保障号" :value="info.SOCIAL_NUMBER"></u-cell>
|
<u-cell title="社会保障号" :value="info.SOCIAL_NUMBER"></u-cell>
|
||||||
<u-cell title="社会保障卡照片">
|
<u-cell title="社会保障卡照片">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in socialPhotoFile" :key="index"
|
<view v-for="(item,index) in socialPhotoFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(socialPhotoFile)"></u--image>
|
@click="fnPreview(socialPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -67,20 +66,19 @@
|
||||||
<view class="card">
|
<view class="card">
|
||||||
<view class="text_content">
|
<view class="text_content">
|
||||||
<view class="title title_left">企业就职信息</view>
|
<view class="title title_left">企业就职信息</view>
|
||||||
<!-- <view v-if = "info.DEPART_STATE == '0'" class="title_right" @click="goEdit">修改</view>-->
|
<view v-if = "info.DEPART_STATE == '0'" class="title_right" @click="goEdit">修改</view>
|
||||||
<!-- <view v-else class="title_right_red">已离职</view>-->
|
<view v-else class="title_right_red">已离职</view>
|
||||||
<view class="title_right_red" v-if="info.DEPART_STATE != '0'">已离职</view>
|
|
||||||
</view>
|
</view>
|
||||||
<u-cell-group>
|
<u-cell-group>
|
||||||
<u-cell title="岗位名称" :value="info.POST_ID"></u-cell>
|
<u-cell title="岗位名称" :value="info.POST_ID"></u-cell>
|
||||||
<!-- <u-cell title="本企业从业开始日期" :value="info.CORP_START_DATE"></u-cell>-->
|
<u-cell title="本企业从业开始日期" :value="info.CORP_START_DATE"></u-cell>
|
||||||
<!-- <u-cell title="本岗位从业开始日期" :value="info.ENTRY_DATE"></u-cell>-->
|
<u-cell title="本岗位从业开始日期" :value="info.ENTRY_DATE"></u-cell>
|
||||||
<u-cell title="是否签署劳动合同" :value="info.IS_SIGN_LABOR == '0' ? '否' : '是'"></u-cell>
|
<u-cell title="是否签署劳动合同" :value="info.IS_SIGN_LABOR == '0' ? '否' : '是'"></u-cell>
|
||||||
<u-cell title="劳动合同附件" v-show="info.IS_SIGN_LABOR === '1'">
|
<u-cell title="劳动合同附件" v-show="info.IS_SIGN_LABOR === '1'">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in contractFile" :key="index"
|
<view v-for="(item,index) in contractFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(contractFile)"></u--image>
|
@click="fnPreview(contractFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -91,8 +89,8 @@
|
||||||
<u-cell title="工伤保险凭证" v-show="info.IS_INJURIES_PAY === '1'">
|
<u-cell title="工伤保险凭证" v-show="info.IS_INJURIES_PAY === '1'">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in workInsurancePhotoFile" :key="index"
|
<view v-for="(item,index) in workInsurancePhotoFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(workInsurancePhotoFile)"></u--image>
|
@click="fnPreview(workInsurancePhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -102,14 +100,18 @@
|
||||||
<u-cell title="保险附件" v-show="info.ISPAY === '1'">
|
<u-cell title="保险附件" v-show="info.ISPAY === '1'">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in insuranceFile" :key="index"
|
<view v-for="(item,index) in insuranceFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
style="display: flex;justify-content: space-between">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx"
|
<u--image :src="item" width="100upx" height="100upx" style="margin-left: 10upx;"
|
||||||
@click="fnPreview(insuranceFile)"></u--image>
|
@click="fnPreview(insuranceFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE == '0' ? '否' : '是'"></u-cell>
|
<u-cell title="是否参加三级安全培训" :value="info.IS_LEVEL_THREE == '0' ? '否' : '是'"></u-cell>
|
||||||
|
<!-- <u-cell title="是否开展入场安全告知" :value="info.IS_SAFETY_TELL == '0' ? '否' : '是'"></u-cell> -->
|
||||||
|
<u-cell title="身体状况是否适应本岗位工作" :value="info.IS_BODY_ADAPT == '0' ? '否' : '是'"></u-cell>
|
||||||
<u-cell title="是否特殊工种" :value="info.IS_SPECIAL_JOB == '0' ? '否' : '是'"></u-cell>
|
<u-cell title="是否特殊工种" :value="info.IS_SPECIAL_JOB == '0' ? '否' : '是'"></u-cell>
|
||||||
|
<!-- <u-cell title="是否流动人员" :value="info.ISFLOW == '0' ? '否' : '是'"></u-cell> -->
|
||||||
|
<!-- <u-cell title="审核意见" v-show="info.AUDIT_REMARKS != ''" :value="info.AUDIT_REMARKS"></u-cell>-->
|
||||||
</u-cell-group>
|
</u-cell-group>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -146,9 +148,9 @@ export default {
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = query.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = query.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
this.CORPINFO_ID = query.CORPINFO_ID
|
this.CORPINFO_ID = query.CORPINFO_ID
|
||||||
// if (query.DEPART_STATE != '0') {
|
if (query.DEPART_STATE != '0') {
|
||||||
// this.DEPART_STATE = query.DEPART_STATE
|
this.DEPART_STATE = query.DEPART_STATE
|
||||||
// }
|
}
|
||||||
this.fnGetData()
|
this.fnGetData()
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -162,16 +164,16 @@ export default {
|
||||||
url: '/pages/mine/information/update'
|
url: '/pages/mine/information/update'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// goEdit() {
|
goEdit() {
|
||||||
// uni.$u.route({
|
uni.$u.route({
|
||||||
// url: '/pages/related_party_units/edit',
|
url: '/pages/related_party_units/edit',
|
||||||
// params: {
|
params: {
|
||||||
// EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID,
|
||||||
// CORPINFO_ID: this.CORPINFO_ID,
|
CORPINFO_ID: this.CORPINFO_ID,
|
||||||
// DEPART_STATE: this.DEPART_STATE
|
DEPART_STATE: this.DEPART_STATE
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// },
|
},
|
||||||
reloadx() {
|
reloadx() {
|
||||||
this.contractFile = []
|
this.contractFile = []
|
||||||
this.insuranceFile = []
|
this.insuranceFile = []
|
||||||
|
|
@ -215,7 +217,6 @@ export default {
|
||||||
}
|
}
|
||||||
if(resData.userPhotoFile && resData.userPhotoFile.length>0){
|
if(resData.userPhotoFile && resData.userPhotoFile.length>0){
|
||||||
this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
|
this.$set(this.info, 'userPhoto', this.$filePath + resData.userPhotoFile[0].FILEPATH)
|
||||||
console.log(this.info.userPhoto)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
@ -246,7 +247,6 @@ export default {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title_right_red {
|
.title_right_red {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
color: red;
|
color: red;
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<view></view>
|
<view></view>
|
||||||
<u-button type="primary" text="查看" size="mini"
|
<u-button type="primary" text="查看" size="mini" class="bth-mini" @click="fnView(item.SERVICE_COMPANY_USER_MAP_ID)"></u-button>
|
||||||
@click="fnView(item.SERVICE_COMPANY_USER_MAP_ID)"></u-button>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-list-item>
|
</u-list-item>
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 8.1 KiB |
|
|
@ -12,9 +12,53 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.wui_banner{
|
.wui_banner{
|
||||||
height: 507rpx;
|
height: 507upx;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
.wui-bar{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 100upx;
|
||||||
|
justify-content: flex-end;
|
||||||
|
z-index: 9999;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
.search-form{
|
||||||
|
background: rgba(255,255,255,0.2);
|
||||||
|
border-radius: 100upx;
|
||||||
|
flex: 1;
|
||||||
|
height: 60upx;
|
||||||
|
line-height: 60upx;
|
||||||
|
font-size: 24upx;
|
||||||
|
color: #333333;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin: 0 30upx;
|
||||||
|
padding: 0 30upx;
|
||||||
|
.cuIcon-search{
|
||||||
|
color: rgba(255,255,255,0.5);
|
||||||
|
margin-right: 16upx;
|
||||||
|
font-size: 28upx;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
color: rgba(255,255,255,0.5);
|
||||||
|
flex: 1;
|
||||||
|
padding-right: 30upx;
|
||||||
|
height: 64upx;
|
||||||
|
line-height: 64upx;
|
||||||
|
font-size: 26upx;
|
||||||
|
background-color: transparent;
|
||||||
|
.phcolor{
|
||||||
|
color: rgba(255,255,255,0.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.icon-ui {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 42upx;
|
||||||
|
margin-right: 22upx;
|
||||||
|
}
|
||||||
|
}
|
||||||
.banner_img{
|
.banner_img{
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -30,11 +74,11 @@
|
||||||
|
|
||||||
.home-apps {
|
.home-apps {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -180rpx;
|
top: -180upx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 30rpx 20rpx;
|
padding: 30upx 20upx;
|
||||||
border-radius: 40rpx;
|
border-radius: 40upx;
|
||||||
margin: 0 30rpx;
|
margin: 0 30upx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap:wrap;
|
flex-wrap:wrap;
|
||||||
.home-apps-item {
|
.home-apps-item {
|
||||||
|
|
@ -44,14 +88,14 @@
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
.text {
|
.text {
|
||||||
margin: 10rpx 0;
|
margin: 10upx 0;
|
||||||
font-size: 28rpx;
|
font-size: 28upx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 140rpx;
|
width: 140upx;
|
||||||
}
|
}
|
||||||
.home-apps-item-img {
|
.home-apps-item-img {
|
||||||
width: 136rpx;
|
width: 136upx;
|
||||||
height: 136rpx;
|
height: 136upx;
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
@ -61,39 +105,39 @@
|
||||||
}
|
}
|
||||||
.home-message{
|
.home-message{
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -160rpx;
|
top: -160upx;
|
||||||
height: 120rpx;
|
height: 120upx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 40rpx;
|
border-radius: 40upx;
|
||||||
margin: 0 30rpx;
|
margin: 0 30upx;
|
||||||
padding: 0 30rpx;
|
padding: 0 30upx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.home-title{
|
.home-title{
|
||||||
width: 54px;
|
width: 54px;
|
||||||
height: 54px;
|
height: 54px;
|
||||||
margin-right: 10rpx;
|
margin-right: 10upx;
|
||||||
image{
|
image{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.home-content{
|
.home-content{
|
||||||
font-size: 28rpx;
|
font-size: 28upx;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.home-more{
|
.home-more{
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
font-size: 26rpx;
|
font-size: 26upx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.home-letters{
|
.home-letters{
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -140rpx;
|
top: -140upx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 40rpx;
|
border-radius: 40upx;
|
||||||
margin: 0 30rpx;
|
margin: 0 30upx;
|
||||||
padding: 30rpx;
|
padding: 30upx;
|
||||||
|
|
||||||
.letters-title{
|
.letters-title{
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
|
@ -105,17 +149,17 @@
|
||||||
}
|
}
|
||||||
.letters-content{
|
.letters-content{
|
||||||
.letters-item{
|
.letters-item{
|
||||||
border-bottom: 1rpx solid #e5e5e5;
|
border-bottom: 1upx solid #e5e5e5;
|
||||||
padding: 20rpx 0;
|
padding: 20upx 0;
|
||||||
&:last-child{
|
&:last-child{
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
.lable{
|
.lable{
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.font{
|
.font{
|
||||||
font-size: 28rpx;
|
font-size: 28upx;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
.letters-title{
|
.letters-title{
|
||||||
|
|
@ -141,14 +185,14 @@
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
margin: 10rpx 0;
|
margin: 10upx 0;
|
||||||
}
|
}
|
||||||
.letters-date{
|
.letters-date{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -156,7 +200,7 @@
|
||||||
}
|
}
|
||||||
.home-line{
|
.home-line{
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -70rpx;
|
top: -70upx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
@ -169,19 +213,19 @@
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
.grid_item{
|
.grid_item{
|
||||||
width: calc(47% - 4rpx);
|
width: calc(47% - 4upx);
|
||||||
display: block;
|
display: block;
|
||||||
padding: 30rpx 0;
|
padding: 30upx 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin-left: 2%;
|
margin-left: 2%;
|
||||||
margin-top: 2%;
|
margin-top: 2%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-image: linear-gradient(to bottom right, rgba(0,138,255,1), rgba(91,74,255,1));
|
background-image: linear-gradient(to bottom right, rgba(0,138,255,1), rgba(91,74,255,1));
|
||||||
border: 1rpx solid #2084d9;
|
border: 1upx solid #2084d9;
|
||||||
position: relative;
|
position: relative;
|
||||||
.grid_text{
|
.grid_text{
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-left: 30rpx;
|
padding-left: 30upx;
|
||||||
.grid_tut{
|
.grid_tut{
|
||||||
width: 85%;
|
width: 85%;
|
||||||
}
|
}
|
||||||
|
|
@ -191,28 +235,28 @@
|
||||||
|
|
||||||
|
|
||||||
.message_list{
|
.message_list{
|
||||||
padding: 30rpx;
|
padding: 30upx;
|
||||||
.message_item{
|
.message_item{
|
||||||
position: relative;
|
position: relative;
|
||||||
.message_flex{
|
.message_flex{
|
||||||
width: calc(100% - 30rpx);
|
width: calc(100% - 30upx);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.fontstyle{
|
.fontstyle{
|
||||||
font-size: 32rpx;
|
font-size: 32upx;
|
||||||
line-height: 60rpx;
|
line-height: 60upx;
|
||||||
}
|
}
|
||||||
.font0{
|
.font0{
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
color: #666;
|
color: #666;
|
||||||
flex-basis: 72rpx;
|
flex-basis: 72upx;
|
||||||
}
|
}
|
||||||
.message_time{
|
.message_time{
|
||||||
font-size: 26rpx;
|
font-size: 26upx;
|
||||||
color: #666;
|
color: #666;
|
||||||
line-height: 60rpx;
|
line-height: 60upx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -225,12 +269,12 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
display: block;
|
display: block;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 30rpx;
|
width: 30upx;
|
||||||
height: 30rpx;
|
height: 30upx;
|
||||||
color: #b4b4b4;
|
color: #b4b4b4;
|
||||||
content: "\e6a3";
|
content: "\e6a3";
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 34rpx;
|
font-size: 34upx;
|
||||||
font-family: cuIcon;
|
font-family: cuIcon;
|
||||||
line-height: 30rpx
|
line-height: 30upx
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,130 +1,154 @@
|
||||||
.ml-10{
|
.ml-10{
|
||||||
margin-left: 20rpx !important;
|
margin-left: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mt-10{
|
.mt-10{
|
||||||
margin-top: 20rpx !important;
|
margin-top: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mb-10{
|
.mb-10{
|
||||||
margin-bottom: 20rpx !important;
|
margin-bottom: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mr-10{
|
.mr-10{
|
||||||
margin-right: 20rpx !important;
|
margin-right: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.m-10{
|
.m-10{
|
||||||
margin: 20rpx !important;
|
margin: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-10{
|
.p-10{
|
||||||
padding: 20rpx !important;
|
padding: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pl-10{
|
.pl-10{
|
||||||
padding-left: 20rpx !important;
|
padding-left: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pr-10{
|
.pr-10{
|
||||||
padding-right: 20rpx !important;
|
padding-right: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pt-10{
|
.pt-10{
|
||||||
padding-top: 20rpx !important;
|
padding-top: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pb-10{
|
.pb-10{
|
||||||
padding-bottom: 20rpx !important;
|
padding-bottom: 20upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.w100{
|
.w100{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex1{
|
.flex1{
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pr{
|
.pr{
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border{
|
.border{
|
||||||
border: 1px solid #e5e5e5;
|
border: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background-color: $uni-bg-color-grey;
|
background-color: $uni-bg-color-grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card{
|
.card{
|
||||||
padding: 20rpx;
|
padding: 20upx;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search{
|
.search{
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
.u-text{
|
.u-text{
|
||||||
width: 100rpx !important;
|
width: 100upx !important;
|
||||||
flex: none !important;
|
flex: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-button {
|
.u-button {
|
||||||
height: 68rpx !important;
|
height: 68upx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-input__content__field-wrapper__field{
|
.u-input__content__field-wrapper__field{
|
||||||
height: 42rpx !important;
|
height: 42upx !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.bth-mini{
|
||||||
|
width: auto !important;
|
||||||
|
border-radius: 15upx !important;
|
||||||
|
margin-left: unset;
|
||||||
|
margin-right: unset;
|
||||||
|
}
|
||||||
|
.bth{
|
||||||
|
flex: 1;
|
||||||
|
border-radius: 15upx !important;
|
||||||
|
margin-left: unset;
|
||||||
|
margin-right: unset;
|
||||||
|
}
|
||||||
.flex-between{
|
.flex-between{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-end{
|
.flex-end{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-warp{
|
.flex-warp{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-title{
|
.main-title{
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 30rpx;
|
font-size: 30upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subtitle{
|
.subtitle{
|
||||||
color: #888888;
|
color: #888888;
|
||||||
font-size: 26rpx;
|
font-size: 26upx;
|
||||||
|
}
|
||||||
|
.view-title{
|
||||||
|
border-left: 8upx solid #1d82fe;
|
||||||
|
.u-text{
|
||||||
|
padding-left: 10upx;
|
||||||
|
color: #353535 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title{
|
.title{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-size: 28rpx;
|
font-size: 28upx;
|
||||||
|
}
|
||||||
|
.title-none{
|
||||||
|
.u-cell__body__content,.u-cell__title{
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.title-show{
|
||||||
|
.u-cell__body__content,.u-cell__title{
|
||||||
|
display: flex !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.flex-none{
|
||||||
|
display: block;
|
||||||
|
.u-cell__body{
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.required{
|
.required{
|
||||||
&:before{
|
&:before{
|
||||||
content: '*';
|
content: '*';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
color: #f56c6c;
|
color: #f56c6c;
|
||||||
font-size: 40rpx;
|
font-size: 40upx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.form-item-block{
|
||||||
|
.u-form-item__body{
|
||||||
|
display: block !important;
|
||||||
|
.u-form-item__body__left{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
.u-form-item__body__right{
|
||||||
|
.u-form-item__body__right__content__slot{
|
||||||
|
justify-content: flex-start;
|
||||||
|
position: relative;
|
||||||
|
margin-left: 20upx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
.u-list {
|
.u-list {
|
||||||
.u-list-item {
|
.u-list-item {
|
||||||
padding: 20rpx;
|
padding: 20upx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-bottom: 1px solid rgb(214, 215, 217);
|
border-bottom: 1px solid rgb(214, 215, 217);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.u-textarea{
|
.u-textarea{
|
||||||
padding: 18rpx;
|
padding: 18upx;
|
||||||
}
|
}
|
||||||
.u-form-item__body__left__content__required{
|
.u-form-item__body__left__content__required{
|
||||||
position: relative !important;
|
position: relative !important;
|
||||||
left: 0 !important;
|
left: 0 !important;
|
||||||
margin-right: 10rpx;
|
margin-right: 10upx;
|
||||||
}
|
}
|
||||||
.u-form-item__body__left{
|
.u-form-item__body__left{
|
||||||
//flex: 1 !important;
|
//flex: 1 !important;
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
.u-form-item__body__right__content__slot{
|
.u-form-item__body__right__content__slot{
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-right: 20rpx;
|
padding-right: 20upx;
|
||||||
}
|
}
|
||||||
.u-text{
|
.u-text{
|
||||||
justify-content: flex-end !important;
|
justify-content: flex-end !important;
|
||||||
|
|
@ -30,19 +30,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.u-text__value{
|
.u-text__value{
|
||||||
font-size: 28rpx !important;
|
font-size: 28upx !important;
|
||||||
}
|
}
|
||||||
.u-form-item__body__left__content__label{
|
.u-form-item__body__left__content__label{
|
||||||
font-size: 28rpx !important;
|
font-size: 28upx !important;
|
||||||
}
|
}
|
||||||
.u-tabs__wrapper__nav__item{
|
.u-tabs__wrapper__nav__item{
|
||||||
flex: 1 !important;
|
flex: 1 !important;
|
||||||
}
|
}
|
||||||
.u-upload__deletable{
|
.u-upload__deletable{
|
||||||
height: 40rpx !important;
|
height: 40upx !important;
|
||||||
width: 40rpx !important;
|
width: 40upx !important;
|
||||||
.u-icon__icon{
|
.u-icon__icon{
|
||||||
font-size: 30rpx !important;
|
font-size: 30upx !important;
|
||||||
line-height: 30rpx !important;
|
line-height: 30upx !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue