兼容微信小程序
parent
8aa01ed294
commit
0b6c61b5b3
|
@ -0,0 +1,39 @@
|
||||||
|
<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>
|
|
@ -105,11 +105,18 @@
|
||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin" : {
|
||||||
"appid" : "",
|
"appid" : "wx06c53a01ae0afd2c",
|
||||||
"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,17 +72,7 @@
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -119,17 +109,7 @@
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
<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 disabledColor="#ffffff"></u--input>
|
<u--input v-model="form.CARD_ID" border="none" @blur="fnCardIdDisassembly" disabled
|
||||||
|
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>
|
||||||
|
@ -48,10 +49,12 @@
|
||||||
<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 @click="fnShowCertificateTypeSpe">
|
<u-form-item v-if="form.CER_TYPE_NAME === '特种作业'" label="作业类别" prop="specialName" borderBottom required
|
||||||
|
@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 required @click="fnShowCertificateTypeOpe">
|
<u-form-item v-if="form.CER_TYPE_NAME === '特种作业'" label="操作项目" prop="operationName" borderBottom
|
||||||
|
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
|
||||||
|
@ -80,7 +83,9 @@
|
||||||
@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>
|
||||||
<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>
|
||||||
|
@ -121,10 +126,10 @@ export default {
|
||||||
CARD_ID: '',
|
CARD_ID: '',
|
||||||
CER_TYPE: '',
|
CER_TYPE: '',
|
||||||
CER_TYPE_NAME: '',
|
CER_TYPE_NAME: '',
|
||||||
CERTIFICATE:'',
|
CERTIFICATE: '',
|
||||||
JOBS_TYPE:'',
|
JOBS_TYPE: '',
|
||||||
SPECIAL_TYPE:'',
|
SPECIAL_TYPE: '',
|
||||||
OPERATION_TYPE:'',
|
OPERATION_TYPE: '',
|
||||||
SPECIAL_NUMBER: '',
|
SPECIAL_NUMBER: '',
|
||||||
ISSUING_AUTHORITY: '',
|
ISSUING_AUTHORITY: '',
|
||||||
VALIDITY_TIME_START: '',
|
VALIDITY_TIME_START: '',
|
||||||
|
@ -250,20 +255,20 @@ export default {
|
||||||
this.form.SEX_NAME = '女'
|
this.form.SEX_NAME = '女'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async fnGetDataDictionary(){
|
async fnGetDataDictionary() {
|
||||||
let resData = await getDataDictionary({DICTIONARIES_ID:'6f87965751b84311b066484ac93c8077'})
|
let resData = await getDataDictionary({DICTIONARIES_ID: '6f87965751b84311b066484ac93c8077'})
|
||||||
this.certificateTypeColumns = [resData.list]
|
this.certificateTypeColumns = [resData.list]
|
||||||
},
|
},
|
||||||
async fnGetDataDictionaryJobs(){
|
async fnGetDataDictionaryJobs() {
|
||||||
let resData = await getDataDictionary({DICTIONARIES_ID:'55484e491a5e442d839c4595380713ec'})
|
let resData = await getDataDictionary({DICTIONARIES_ID: '55484e491a5e442d839c4595380713ec'})
|
||||||
this.certificateTypeColumnsJobs = [resData.list]
|
this.certificateTypeColumnsJobs = [resData.list]
|
||||||
},
|
},
|
||||||
async fnGetDataDictionarySpe(){
|
async fnGetDataDictionarySpe() {
|
||||||
let resData = await getDataDictionary({DICTIONARIES_ID:'f4c3890d06d54904b32986cb6428ed4f'})
|
let resData = await getDataDictionary({DICTIONARIES_ID: 'f4c3890d06d54904b32986cb6428ed4f'})
|
||||||
this.certificateTypeColumnsSpe = [resData.list]
|
this.certificateTypeColumnsSpe = [resData.list]
|
||||||
},
|
},
|
||||||
async fnGetDataDictionaryOpe(){
|
async fnGetDataDictionaryOpe() {
|
||||||
let resData = await getDataDictionary({DICTIONARIES_ID:this.form.SPECIAL_TYPE})
|
let resData = await getDataDictionary({DICTIONARIES_ID: this.form.SPECIAL_TYPE})
|
||||||
this.certificateTypeColumnsOpe = [resData.list]
|
this.certificateTypeColumnsOpe = [resData.list]
|
||||||
},
|
},
|
||||||
fnCardIdDisassembly(event) {
|
fnCardIdDisassembly(event) {
|
||||||
|
@ -297,12 +302,12 @@ export default {
|
||||||
this.form.SPECIAL_TYPE = e.value[0].DICTIONARIES_ID
|
this.form.SPECIAL_TYPE = e.value[0].DICTIONARIES_ID
|
||||||
this.fnShowCertificateTypeSpe()
|
this.fnShowCertificateTypeSpe()
|
||||||
this.fnGetDataDictionaryOpe();
|
this.fnGetDataDictionaryOpe();
|
||||||
this.form.operationName ='';
|
this.form.operationName = '';
|
||||||
this.form.OPERATION_TYPE= '';
|
this.form.OPERATION_TYPE = '';
|
||||||
},
|
},
|
||||||
fnCertificateTypeConfirmOpe(e) {
|
fnCertificateTypeConfirmOpe(e) {
|
||||||
this.form.operationName = e.value[0].NAME
|
this.form.operationName = e.value[0].NAME
|
||||||
this.form.OPERATION_TYPE= e.value[0].DICTIONARIES_ID
|
this.form.OPERATION_TYPE = e.value[0].DICTIONARIES_ID
|
||||||
this.fnShowCertificateTypeOpe()
|
this.fnShowCertificateTypeOpe()
|
||||||
},
|
},
|
||||||
fnShowTermOfValidityStart() {
|
fnShowTermOfValidityStart() {
|
||||||
|
@ -359,7 +364,7 @@ export default {
|
||||||
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 = []
|
let files = []
|
||||||
files.push({
|
files.push({
|
||||||
name: 'FILEPATH',
|
name: 'FILEPATH',
|
||||||
|
@ -373,7 +378,7 @@ export default {
|
||||||
uri: this.form.fileListBack[0].url,
|
uri: this.form.fileListBack[0].url,
|
||||||
})
|
})
|
||||||
|
|
||||||
if (files.length !== 2){
|
if (files.length !== 2) {
|
||||||
uni.$u.toast('请上传证书正反面')
|
uni.$u.toast('请上传证书正反面')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -384,11 +389,11 @@ export default {
|
||||||
...this.form
|
...this.form
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else {
|
} else {
|
||||||
if (!this.form.fileList[0].FILEPATH || !this.form.fileListBack[0].FILEPATH) {
|
if (!this.form.fileList[0].FILEPATH || !this.form.fileListBack[0].FILEPATH) {
|
||||||
uni.$u.toast('1')
|
uni.$u.toast('1')
|
||||||
let files = []
|
let files = []
|
||||||
if (!this.form.fileList[0].FILEPATH){
|
if (!this.form.fileList[0].FILEPATH) {
|
||||||
files.push({
|
files.push({
|
||||||
name: 'FILEPATH',
|
name: 'FILEPATH',
|
||||||
file: this.form.fileList[0],
|
file: this.form.fileList[0],
|
||||||
|
@ -396,7 +401,7 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.form.fileListBack[0].FILEPATH){
|
if (!this.form.fileListBack[0].FILEPATH) {
|
||||||
files.push({
|
files.push({
|
||||||
name: 'FILEPATH_BACK',
|
name: 'FILEPATH_BACK',
|
||||||
file: this.form.fileListBack[0],
|
file: this.form.fileListBack[0],
|
||||||
|
@ -419,9 +424,9 @@ 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('请补全必填项')
|
||||||
|
|
|
@ -19,8 +19,12 @@
|
||||||
<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" class="bth-mini" @click="fnEdit(item.SPECIAL_USER_ID)"></u-button>
|
<u-button type="primary" text="编辑" size="mini"
|
||||||
<u-button type="primary" text="查看" size="mini" class="bth-mini ml-10" @click="fnView(item.SPECIAL_USER_ID)"></u-button>
|
@click="fnEdit(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>
|
||||||
|
@ -28,16 +32,21 @@
|
||||||
</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: '',
|
||||||
info: {},
|
info: {},
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
|
@ -52,11 +61,6 @@ 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({
|
||||||
|
@ -79,7 +83,7 @@ export default {
|
||||||
fnView(SPECIAL_USER_ID) {
|
fnView(SPECIAL_USER_ID) {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/certificate_information/view',
|
url: '/pages/certificate_information/view',
|
||||||
params:{
|
params: {
|
||||||
SPECIAL_USER_ID
|
SPECIAL_USER_ID
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -87,7 +91,7 @@ export default {
|
||||||
fnEdit(SPECIAL_USER_ID) {
|
fnEdit(SPECIAL_USER_ID) {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/certificate_information/add',
|
url: '/pages/certificate_information/add',
|
||||||
params:{
|
params: {
|
||||||
SPECIAL_USER_ID
|
SPECIAL_USER_ID
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
<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="100rpx" height="100rpx" radius="10rpx" @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>
|
<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>
|
||||||
|
@ -15,7 +16,7 @@
|
||||||
<u-cell title="证书类型" :value="info.typeName"></u-cell>
|
<u-cell title="证书类型" :value="info.typeName"></u-cell>
|
||||||
<u-cell title="证书名称" :value="info.CERTIFICATE"></u-cell>
|
<u-cell title="证书名称" :value="info.CERTIFICATE"></u-cell>
|
||||||
<u-cell title="证书编号" :value="info.SPECIAL_NUMBER"></u-cell>
|
<u-cell title="证书编号" :value="info.SPECIAL_NUMBER"></u-cell>
|
||||||
<!-- <u-cell title="工种" :value="info.JOBS_TYPE"></u-cell>-->
|
<!-- <u-cell title="工种" :value="info.JOBS_TYPE"></u-cell>-->
|
||||||
<u-cell v-show="info.typeName === '特种作业'" title="作业类别" :value="info.specialName"></u-cell>
|
<u-cell v-show="info.typeName === '特种作业'" title="作业类别" :value="info.specialName"></u-cell>
|
||||||
<u-cell v-show="info.typeName === '特种作业'" title="操作项目" :value="info.operationName"></u-cell>
|
<u-cell v-show="info.typeName === '特种作业'" title="操作项目" :value="info.operationName"></u-cell>
|
||||||
<u-cell title="发证机关" :value="info.ISSUING_AUTHORITY"></u-cell>
|
<u-cell title="发证机关" :value="info.ISSUING_AUTHORITY"></u-cell>
|
||||||
|
@ -32,7 +33,7 @@ import {getCertificateInformationView} from "../../api";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
SPECIAL_USER_ID:'',
|
SPECIAL_USER_ID: '',
|
||||||
info: {}
|
info: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -41,19 +42,19 @@ export default {
|
||||||
this.fnGetData()
|
this.fnGetData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async fnGetData(){
|
async fnGetData() {
|
||||||
let resData = await getCertificateInformationView({
|
let resData = await getCertificateInformationView({
|
||||||
SPECIAL_USER_ID:this.SPECIAL_USER_ID
|
SPECIAL_USER_ID: this.SPECIAL_USER_ID
|
||||||
})
|
})
|
||||||
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){
|
if (resData.pd.FILEPATH_BACK) {
|
||||||
this.$set(this.info,'FILEPATH_BACK',this.$filePath + resData.pd.FILEPATH_BACK)
|
this.$set(this.info, 'FILEPATH_BACK', this.$filePath + resData.pd.FILEPATH_BACK)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fnPreview() {
|
fnPreview() {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls:[this.info.FILEPATH]
|
urls: [this.info.FILEPATH]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
<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="二维码" v-if="info.CORPINFO_ID && cleanCode && (info.DEPART_STATE == '0' || info.DEPART_STATE == '-1')">
|
<u-cell title="二维码"
|
||||||
|
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="100rpx" height="100rpx" @click="fnPreview(info.code)">
|
||||||
</u--image>
|
</u--image>
|
||||||
|
@ -31,18 +32,18 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getElectronicWorkCard,
|
getElectronicWorkCard,
|
||||||
getElectronicWorkCardQRCode
|
getElectronicWorkCardQRCode
|
||||||
} from "../../api";
|
} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
USER_ID: '',
|
USER_ID: '',
|
||||||
CODE_TYPE: '',
|
CODE_TYPE: '',
|
||||||
cleanCode :''
|
cleanCode: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -74,7 +75,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -40,15 +40,17 @@
|
||||||
<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" class="bth-mini ml-10"
|
<u-button type="primary" text="查看" size="mini"
|
||||||
@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>
|
||||||
<u-button type="primary" text="离职申请" size="mini" class="bth-mini ml-10"
|
<view class="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>
|
||||||
|
@ -56,11 +58,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getEmployedBy
|
getEmployedBy
|
||||||
} from "../../api";
|
} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
@ -111,7 +113,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -12,7 +12,9 @@
|
||||||
<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>
|
||||||
<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>
|
||||||
|
@ -23,8 +25,8 @@ import {setResignationApplication} from "../../api";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID:'',
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: '',
|
||||||
RELEVANT_UNIT_NAME:'',
|
RELEVANT_UNIT_NAME: '',
|
||||||
form: {
|
form: {
|
||||||
LEAVE_REASON: '',
|
LEAVE_REASON: '',
|
||||||
APPLY_TIME: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
|
APPLY_TIME: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
|
||||||
|
@ -45,19 +47,19 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async fnSubmit() {
|
async fnSubmit() {
|
||||||
if(!this.form.LEAVE_REASON){
|
if (!this.form.LEAVE_REASON) {
|
||||||
uni.$u.toast('请填写离职原因')
|
uni.$u.toast('请填写离职原因')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID = this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID = this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
await setResignationApplication({
|
await setResignationApplication({
|
||||||
...this.form,
|
...this.form,
|
||||||
OPERATOR:this.userInfo.USER_ID
|
OPERATOR: this.userInfo.USER_ID
|
||||||
})
|
})
|
||||||
uni.$u.toast('申请成功')
|
uni.$u.toast('申请成功')
|
||||||
setTimeout(()=>{
|
setTimeout(() => {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
},2000)
|
}, 2000)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,22 @@
|
||||||
<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>
|
||||||
</view>
|
</view>
|
||||||
<view class="home-apps">
|
<view class="home-apps">
|
||||||
|
<view class="home-apps-item" @click="fnScan">
|
||||||
|
<view class="home-apps-item-img">
|
||||||
|
<image src="../../static/icon-apps/app_icons6.png" mode=""></image>
|
||||||
|
</view>
|
||||||
|
<view class="text">
|
||||||
|
<text>扫码</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="home-apps-item" v-for="(item,index) in baseList" :key="index" @click="fnNavigator(index)">
|
<view class="home-apps-item" v-for="(item,index) in baseList" :key="index" @click="fnNavigator(index)">
|
||||||
<view class="home-apps-item-img">
|
<view class="home-apps-item-img">
|
||||||
<image :src="item.img" mode=""></image>
|
<image :src="item.img" mode=""></image>
|
||||||
|
@ -26,7 +27,8 @@
|
||||||
</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" :cancelText="updateVersion.cancelText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
||||||
|
: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>
|
||||||
|
@ -40,7 +42,7 @@ import updateVersion from "../../utils/updateVersion";
|
||||||
import {setRelatedPartyScanning} from "../../api";
|
import {setRelatedPartyScanning} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins:[updateVersion],
|
mixins: [updateVersion],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
baseList: [
|
baseList: [
|
||||||
|
@ -76,18 +78,18 @@ export default {
|
||||||
this.fnUpdateVersion(false)
|
this.fnUpdateVersion(false)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fnScan(){
|
fnScan() {
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: async (res) => {
|
success: async (res) => {
|
||||||
let obj =JSON.parse(res.result)
|
let obj = JSON.parse(res.result)
|
||||||
let type = obj[0].CODE_TYPE
|
let type = obj[0].CODE_TYPE
|
||||||
if (type === '0') {
|
if (type === '0') {
|
||||||
// type=0时跳转注册相关方企业页面
|
// type=0时跳转注册相关方企业页面
|
||||||
await setRelatedPartyScanning({CORPINFO_ID:obj[0].CORPINFO_ID})
|
await setRelatedPartyScanning({CORPINFO_ID: obj[0].CORPINFO_ID})
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/related_party_units/add',
|
url: '/pages/related_party_units/add',
|
||||||
params:{
|
params: {
|
||||||
CORPINFO_ID:obj[0].CORPINFO_ID,
|
CORPINFO_ID: obj[0].CORPINFO_ID,
|
||||||
RELEVANT_UNIT_NAME: obj[0].RELEVANT_UNIT_NAME
|
RELEVANT_UNIT_NAME: obj[0].RELEVANT_UNIT_NAME
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -95,9 +97,9 @@ export default {
|
||||||
// type=1时跳转电子工牌页面
|
// type=1时跳转电子工牌页面
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/electronic_work_card/index',
|
url: '/pages/electronic_work_card/index',
|
||||||
params:{
|
params: {
|
||||||
USER_ID:obj[0].USER_ID,
|
USER_ID: obj[0].USER_ID,
|
||||||
CODE_TYPE:obj[0].CODE_TYPE
|
CODE_TYPE: obj[0].CODE_TYPE
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,24 @@
|
||||||
<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="140rpx">
|
||||||
<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>
|
||||||
<u-form-item label="密码" borderBottom>
|
<u-form-item label="密码" borderBottom>
|
||||||
<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="登 录" @click="$u.debounce(fnLogin, 1000,true)"></u-button>
|
<u-button type="primary" text="登 录" custom-style="margin:40rpx 0 20rpx 0"
|
||||||
|
@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" :cancelText="updateVersion.cancelText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
||||||
|
: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>
|
||||||
|
@ -31,7 +33,7 @@ import updateVersion from '../../utils/updateVersion'
|
||||||
import JSEncrypt from '../../static/js/jsencrypt.min.js'
|
import JSEncrypt from '../../static/js/jsencrypt.min.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins:[updateVersion],
|
mixins: [updateVersion],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
publicKey: 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2zCyUYSD0pNrbtaYdvGfHfWoRV+fo/2N9O2PLLz/jZvMkigkq4eAq4JO+Ek0wDHI9WxP6iTSLYCHhIOs9CQTPvyldJFm8riZtQZlBTD8Plkb3rjrgwTqbBi3w3+HKYdkSvGFXJIdSOPbpXnj5BzN8vlVaybs24R/vpUzG9178lwIDAQAB',
|
publicKey: 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2zCyUYSD0pNrbtaYdvGfHfWoRV+fo/2N9O2PLLz/jZvMkigkq4eAq4JO+Ek0wDHI9WxP6iTSLYCHhIOs9CQTPvyldJFm8riZtQZlBTD8Plkb3rjrgwTqbBi3w3+HKYdkSvGFXJIdSOPbpXnj5BzN8vlVaybs24R/vpUzG9178lwIDAQAB',
|
||||||
|
@ -45,12 +47,12 @@ export default {
|
||||||
this.fnUpdateVersion(false)
|
this.fnUpdateVersion(false)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fnRegister(){
|
fnRegister() {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/login/register',
|
url: '/pages/login/register',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
fnForgotPassword(){
|
fnForgotPassword() {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/login/forgot_password',
|
url: '/pages/login/forgot_password',
|
||||||
})
|
})
|
||||||
|
@ -71,7 +73,7 @@ export default {
|
||||||
var jsencrypt = new JSEncrypt()
|
var jsencrypt = new JSEncrypt()
|
||||||
jsencrypt.setPublicKey(this.publicKey)
|
jsencrypt.setPublicKey(this.publicKey)
|
||||||
const keydataVal = jsencrypt.encrypt('qdkjchina' + this.form.userName + ',qd,' + this.form.userPwd)
|
const keydataVal = jsencrypt.encrypt('qdkjchina' + this.form.userName + ',qd,' + this.form.userPwd)
|
||||||
let resData = await submitLogin({'KEYDATA':keydataVal});
|
let resData = await submitLogin({'KEYDATA': keydataVal});
|
||||||
// console.log(resData)
|
// console.log(resData)
|
||||||
if (resData.PHOTO != '') {
|
if (resData.PHOTO != '') {
|
||||||
resData.PHOTO = this.$filePath + resData.PHOTO
|
resData.PHOTO = this.$filePath + resData.PHOTO
|
||||||
|
@ -90,11 +92,12 @@ export default {
|
||||||
.wui_login {
|
.wui_login {
|
||||||
background-image: url(/static/bg-login.png);
|
background-image: url(/static/bg-login.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size:100% 100%;
|
background-size: 100% 100%;
|
||||||
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: 44rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
@ -104,7 +107,8 @@ export default {
|
||||||
padding-left: 46rpx;
|
padding-left: 46rpx;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
.form{
|
|
||||||
|
.form {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 49%;
|
top: 49%;
|
||||||
|
@ -113,8 +117,9 @@ export default {
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
padding: 30rpx 9%;
|
padding: 30rpx 9%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
.tip{
|
|
||||||
font-size: 20rpx;
|
.tip {
|
||||||
|
font-size: 24rpx;
|
||||||
margin-bottom: 40rpx;
|
margin-bottom: 40rpx;
|
||||||
color: #0b80e7;
|
color: #0b80e7;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -122,19 +127,5 @@ export default {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
button{
|
|
||||||
margin-top: 40rpx;
|
|
||||||
background-color: #0b80e7;
|
|
||||||
color: #fff;
|
|
||||||
font-weight: bold;
|
|
||||||
border: none;
|
|
||||||
border-radius: 10rpx;
|
|
||||||
margin-bottom: 20rpx;
|
|
||||||
}
|
|
||||||
::v-deep{
|
|
||||||
.u-button__text{
|
|
||||||
font-size: 32rpx !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<view class="tip">密码长度8~32位,须包含数字、字母、符号至少2种或以上元素</view>
|
<view class="tip">密码长度8~32位,须包含数字、字母、符号至少2种或以上元素</view>
|
||||||
</u--form>
|
</u--form>
|
||||||
<u-button type="primary" text="注 册" class="mt-10" @click="$u.debounce(fnRegister, 1000,true)"></u-button>
|
<view class="mt-10">
|
||||||
|
<u-button type="primary" text="注 册" @click="$u.debounce(fnRegister, 1000,true)"></u-button>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -121,16 +123,16 @@ export default {
|
||||||
},
|
},
|
||||||
async fnRegister() {
|
async fnRegister() {
|
||||||
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.fnUserDeduplication()) return
|
if (await this.fnUserDeduplication()) return
|
||||||
await setRegister({...this.form})
|
await setRegister({...this.form})
|
||||||
uni.$u.toast('注册成功')
|
uni.$u.toast('注册成功')
|
||||||
setTimeout(()=>{
|
setTimeout(() => {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/login/login',
|
url: '/pages/login/login',
|
||||||
type:'reLaunch'
|
type: 'reLaunch'
|
||||||
})
|
})
|
||||||
},2000)
|
}, 2000)
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
uni.$u.toast('请补全必填项')
|
uni.$u.toast('请补全必填项')
|
||||||
})
|
})
|
||||||
|
@ -140,7 +142,7 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.tip{
|
.tip {
|
||||||
padding-top: 20rpx;
|
padding-top: 20rpx;
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20rpx;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {}
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.about-us {
|
.about-us {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -7,9 +7,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {}
|
||||||
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
setUpdatePassword
|
setUpdatePassword
|
||||||
} from "../../../api";
|
} from "../../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
|
@ -98,13 +98,13 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.change-password {
|
.change-password {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
padding: 40rpx;
|
padding: 40rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
<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">
|
||||||
<u--image :src="item.img" width="40rpx" height="38rpx"
|
<view style="margin-left: 70rpx; margin-top: 20rpx;">
|
||||||
style="margin-left: 70rpx; margin-top: 20rpx;"></u--image>
|
<u--image :src="item.img" width="40rpx" height="38rpx"></u--image>
|
||||||
<view style="margin-top: -40rpx;">{{item.label}}</view>
|
</view>
|
||||||
|
<view style="margin-top: -40rpx;">{{ item.label }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="title">我要反馈</view>
|
<view class="title">我要反馈</view>
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
<script>
|
<script>
|
||||||
import {setFeedbackAdd, setFeedbackUpload} from "../../../api";
|
import {setFeedbackAdd, setFeedbackUpload} from "../../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
|
@ -114,7 +115,7 @@ import {setFeedbackAdd, setFeedbackUpload} from "../../../api";
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async fnSetFeedbackUpload(filePath){
|
async fnSetFeedbackUpload(filePath) {
|
||||||
let resData = await setFeedbackUpload({
|
let resData = await setFeedbackUpload({
|
||||||
name: 'FFILE',
|
name: 'FFILE',
|
||||||
filePath,
|
filePath,
|
||||||
|
@ -123,11 +124,11 @@ import {setFeedbackAdd, setFeedbackUpload} from "../../../api";
|
||||||
return resData
|
return resData
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.feedback {
|
.feedback {
|
||||||
padding: 40rpx;
|
padding: 40rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
|
@ -179,10 +180,10 @@ import {setFeedbackAdd, setFeedbackUpload} from "../../../api";
|
||||||
height: 146rpx !important;
|
height: 146rpx !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
</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" @click="clickItem(item.name,index)">
|
<view class="my_main_info_wrap" v-for="(item,index) in list" :key="item.name"
|
||||||
|
@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="40rpx" height="40rpx"></u--image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -40,7 +41,8 @@
|
||||||
</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" :cancelText="updateVersion.cancelText"
|
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText"
|
||||||
|
: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>
|
||||||
|
@ -53,32 +55,34 @@
|
||||||
import updateVersion from '../../../utils/updateVersion'
|
import updateVersion from '../../../utils/updateVersion'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins:[updateVersion],
|
mixins: [updateVersion],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
list:[
|
list: [
|
||||||
{
|
{
|
||||||
img: require('../../../static/images/my_ico1.png'),
|
img: require('../../../static/images/my_ico1.png'),
|
||||||
name:'个人信息',
|
name: '个人信息',
|
||||||
url:'/pages/mine/information/index'
|
url: '/pages/mine/information/index'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img: require('../../../static/images/my_ico3.png'),
|
img: require('../../../static/images/my_ico3.png'),
|
||||||
name:'问题反馈',
|
name: '问题反馈',
|
||||||
url:'/pages/mine/feedback/feedback'
|
url: '/pages/mine/feedback/feedback'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img: require('../../../static/images/my_ico4.png'),
|
img: require('../../../static/images/my_ico4.png'),
|
||||||
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: '关于我们',
|
||||||
url: '/pages/mine/about_us/about_us'
|
url: '/pages/mine/about_us/about_us'
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -110,8 +114,8 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
clickItem(name,index){
|
clickItem(name, index) {
|
||||||
if(name === '版本更新') this.fnUpdateVersion()
|
if (name === '版本更新') this.fnUpdateVersion()
|
||||||
else {
|
else {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: this.list[index].url
|
url: this.list[index].url
|
||||||
|
@ -123,7 +127,7 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.main_container {
|
.main_container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.mytop {
|
.mytop {
|
||||||
|
@ -205,9 +209,9 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout_btner {
|
.layout_btner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0rpx 40rpx;
|
padding: 0rpx 40rpx;
|
||||||
|
@ -224,5 +228,5 @@ export default {
|
||||||
box-shadow: 0 0 20rpx #eee;
|
box-shadow: 0 0 20rpx #eee;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
||||||
<u-cell title="性别" :value="info.SEX === '1' ? '女' : '男'">
|
<u-cell title="性别" :value="info.SEX === '1' ? '女' : '男'">
|
||||||
<template #value>
|
<template #value>
|
||||||
{{info.SEX === '1' ? '女' : ''}}
|
{{ info.SEX === '1' ? '女' : '' }}
|
||||||
{{info.SEX === '0' ? '男' : ''}}
|
{{ info.SEX === '0' ? '男' : '' }}
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell>
|
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell>
|
||||||
|
@ -20,8 +20,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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -40,15 +40,16 @@
|
||||||
<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="入党时间" :value="info.POLITICAL_TIME"></u-cell>
|
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间"
|
||||||
|
: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 -->
|
<!-- 用v-if会出现渲染问题导致出现两行相同的数据 所以改成v-show modify by water_xu 2024.7.19 -->
|
||||||
<u-cell title="社会保障号" v-show="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-show="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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(socialPhotoFile)"></u--image>
|
@click="fnPreview(socialPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -57,8 +58,8 @@
|
||||||
<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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(contractFile)"></u--image>
|
@click="fnPreview(contractFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -68,8 +69,8 @@
|
||||||
<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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(insuranceFile)"></u--image>
|
@click="fnPreview(insuranceFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -79,8 +80,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 injuriesPayTiemFile" :key="index"
|
<view v-for="(item,index) in injuriesPayTiemFile" :key="index"
|
||||||
style="display: flex;justify-content: space-between">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(injuriesPayTiemFile)"></u--image>
|
@click="fnPreview(injuriesPayTiemFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -90,8 +91,8 @@
|
||||||
<u-cell title="三级安全培训照片" v-show="info.IS_LEVEL_THREE==='1'">
|
<u-cell title="三级安全培训照片" v-show="info.IS_LEVEL_THREE==='1'">
|
||||||
<template #value>
|
<template #value>
|
||||||
<view v-for="(item,index) in photosOfLevel" :key="index"
|
<view v-for="(item,index) in photosOfLevel" :key="index"
|
||||||
style="display: flex;justify-content: space-between">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(photosOfLevel)"></u--image>
|
@click="fnPreview(photosOfLevel)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -99,33 +100,29 @@
|
||||||
<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
|
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:[],
|
photosOfLevel: [],
|
||||||
contractFile:[],
|
contractFile: [],
|
||||||
insuranceFile: [],
|
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() {
|
||||||
|
@ -152,9 +149,9 @@
|
||||||
let Employed = await getEmployedBy({
|
let Employed = await getEmployedBy({
|
||||||
showCount: 10,
|
showCount: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
DEPART_STATE:'0'
|
DEPART_STATE: '0'
|
||||||
})
|
})
|
||||||
if(Employed.varList.length>0){
|
if (Employed.varList.length > 0) {
|
||||||
Employed.varList.forEach(item => {
|
Employed.varList.forEach(item => {
|
||||||
console.log(item.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
console.log(item.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
||||||
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = item.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = item.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
|
@ -162,7 +159,7 @@
|
||||||
}
|
}
|
||||||
let resData = await getUserInfo({
|
let resData = await getUserInfo({
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID:this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
})
|
})
|
||||||
this.info = resData.pd
|
this.info = resData.pd
|
||||||
for (let i = 0; i < resData.userCardIDPhotoFile.length; i++) {
|
for (let i = 0; i < resData.userCardIDPhotoFile.length; i++) {
|
||||||
|
@ -184,7 +181,7 @@
|
||||||
this.photosOfLevel.push(this.$filePath + resData.photosOfLevel[i].FILEPATH)
|
this.photosOfLevel.push(this.$filePath + resData.photosOfLevel[i].FILEPATH)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < resData.insuranceFile.length; i++){
|
for (let i = 0; i < resData.insuranceFile.length; i++) {
|
||||||
this.insuranceFile.push(this.$filePath + resData.insuranceFile[i].FILEPATH)
|
this.insuranceFile.push(this.$filePath + resData.insuranceFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -208,14 +205,14 @@
|
||||||
} else if (this.info.IS_SIGN_LABOR === '1') {
|
} else if (this.info.IS_SIGN_LABOR === '1') {
|
||||||
this.info.IS_SIGN_LABOR_NAME = '是'
|
this.info.IS_SIGN_LABOR_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.info.IS_LEVEL_THREE === '0'){
|
if (this.info.IS_LEVEL_THREE === '0') {
|
||||||
this.info.IS_LEVEL_THREE_NAME = '否'
|
this.info.IS_LEVEL_THREE_NAME = '否'
|
||||||
} else if (this.info.IS_LEVEL_THREE === '1'){
|
} else if (this.info.IS_LEVEL_THREE === '1') {
|
||||||
this.info.IS_LEVEL_THREE_NAME = '是'
|
this.info.IS_LEVEL_THREE_NAME = '是'
|
||||||
}
|
}
|
||||||
if (this.info.ISPAY === '1'){
|
if (this.info.ISPAY === '1') {
|
||||||
this.info.ISPAY_NAME = '是'
|
this.info.ISPAY_NAME = '是'
|
||||||
}else {
|
} else {
|
||||||
this.info.ISPAY_NAME = '否'
|
this.info.ISPAY_NAME = '否'
|
||||||
}
|
}
|
||||||
if (resData.userPhotoFile.length > 0) {
|
if (resData.userPhotoFile.length > 0) {
|
||||||
|
@ -223,7 +220,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -21,13 +21,10 @@
|
||||||
<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
|
<u-form-item label="身份证照片(正反面)" prop="userCardIDPhotoFile" borderBottom required labelPosition="top"
|
||||||
class="form-item-block">
|
labelWidth="auto">
|
||||||
<!-- <u-upload class="mt-10" :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"-->
|
<view class="mt-10 w100">
|
||||||
<!-- @delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>-->
|
<u-upload :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"
|
||||||
<!-- </u-upload>-->
|
|
||||||
<view>
|
|
||||||
<u-upload class="mt-10" :fileList="form.userCardIDPhotoFile" @afterRead="fnAttIdPhotoAdd"
|
|
||||||
@delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>
|
@delete="fnAttIdPhotoDelete" multiple :maxCount="2" previewFullImage>
|
||||||
</u-upload>
|
</u-upload>
|
||||||
<view class="tip">
|
<view class="tip">
|
||||||
|
@ -90,9 +87,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<u-form-item v-if="form.IS_SOCIAL==='1'" label="社会保障卡" prop="socialPhotoFile" borderBottom required
|
<u-form-item v-if="form.IS_SOCIAL==='1'" label="社会保障卡" prop="socialPhotoFile" borderBottom required
|
||||||
class="form-item-block">
|
labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.socialPhotoFile" @afterRead="fnAttSocialAdd"
|
<view class="mt-10 w100">
|
||||||
|
<u-upload :fileList="form.socialPhotoFile" @afterRead="fnAttSocialAdd"
|
||||||
@delete="fnAttSocialDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
@delete="fnAttSocialDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
||||||
|
</view>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
|
@ -110,9 +109,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<u-form-item v-if="form.IS_SIGN_LABOR==='1'" label="合同图片" prop="contractFile" borderBottom required
|
<u-form-item v-if="form.IS_SIGN_LABOR==='1'" label="合同图片" prop="contractFile" borderBottom required
|
||||||
class="form-item-block">
|
labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.contractFile" @afterRead="fnIsSignLaborAdd"
|
<view class="mt-10 w100">
|
||||||
|
<u-upload :fileList="form.contractFile" @afterRead="fnIsSignLaborAdd"
|
||||||
@delete="fnIsSignLaborDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
@delete="fnIsSignLaborDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
|
</view>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
|
@ -128,9 +129,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<u-form-item v-if="form.ISPAY==='1'" label="保险图片" prop="insuranceFile" borderBottom required
|
<u-form-item v-if="form.ISPAY==='1'" label="保险图片" prop="insuranceFile" borderBottom required
|
||||||
class="form-item-block">
|
labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.insuranceFile" @afterRead="fnIsPayAdd" @delete="fnIsPayDelete"
|
<view class="mt-10 w100">
|
||||||
|
<u-upload :fileList="form.insuranceFile" @afterRead="fnIsPayAdd" @delete="fnIsPayDelete"
|
||||||
multiple :maxCount="4" previewFullImage></u-upload>
|
multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
|
</view>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
|
@ -149,10 +152,12 @@
|
||||||
</view>
|
</view>
|
||||||
<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'" class="form-item-block">
|
v-if="form.IS_INJURIES_PAY==='1'" labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.injuriesPayTiemFile"
|
<view class="mt-10 w100">
|
||||||
|
<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>
|
||||||
<view>
|
<view>
|
||||||
|
@ -169,15 +174,18 @@
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<u-form-item v-if="form.IS_LEVEL_THREE === '1'" label="三级安全培训照片" prop="photosOfLevel" borderBottom
|
<u-form-item v-if="form.IS_LEVEL_THREE === '1'" label="三级安全培训照片" prop="photosOfLevel" borderBottom
|
||||||
required class="form-item-block">
|
required labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.photosOfLevel" @afterRead="fnPhotosOfLevelAdd"
|
<view class="mt-10 w100">
|
||||||
|
<u-upload :fileList="form.photosOfLevel" @afterRead="fnPhotosOfLevelAdd"
|
||||||
@delete="fnPhotosOfLevelDelete" multiple :maxCount="4" previewFullImage>
|
@delete="fnPhotosOfLevelDelete" multiple :maxCount="4" previewFullImage>
|
||||||
</u-upload>
|
</u-upload>
|
||||||
|
</view>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</view>
|
</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" inputAlign="right"></u--input>
|
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
|
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"
|
||||||
|
@ -201,14 +209,17 @@
|
||||||
@confirm="fnShowIsPayConfirm" @cancel="fnShowIsPay"></u-picker>
|
@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" @cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
@confirm="fnShowInjuriesPayTiemConfirm"
|
||||||
<u-button type="primary" text="保 存" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
@cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
||||||
|
<view class="mt-10">
|
||||||
|
<u-button type="primary" text="保 存" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getDataDictionary,
|
getDataDictionary,
|
||||||
getIDCardDeduplication,
|
getIDCardDeduplication,
|
||||||
getPhoneNumberDeduplication,
|
getPhoneNumberDeduplication,
|
||||||
|
@ -217,9 +228,9 @@
|
||||||
setUploadAttachments,
|
setUploadAttachments,
|
||||||
setUserInfo,
|
setUserInfo,
|
||||||
getEmployedBy
|
getEmployedBy
|
||||||
} from "../../../api";
|
} from "../../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showDegreeOfEducation: false,
|
showDegreeOfEducation: false,
|
||||||
|
@ -233,7 +244,7 @@
|
||||||
injuriesPayTiemFile: [], //工伤保险有效凭证
|
injuriesPayTiemFile: [], //工伤保险有效凭证
|
||||||
showInjuriesPayTiem: false, //工伤保险有效期
|
showInjuriesPayTiem: false, //工伤保险有效期
|
||||||
IS_INJURIES_PAY_TIME: new Date().toString(),
|
IS_INJURIES_PAY_TIME: new Date().toString(),
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID:'',
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: '',
|
||||||
|
|
||||||
degreeOfEducationColumns: [],
|
degreeOfEducationColumns: [],
|
||||||
showPersonWorkType: false,
|
showPersonWorkType: false,
|
||||||
|
@ -248,11 +259,11 @@
|
||||||
userPhoto: [],
|
userPhoto: [],
|
||||||
userCardIDPhotoFile: [],
|
userCardIDPhotoFile: [],
|
||||||
socialPhotoFile: [],
|
socialPhotoFile: [],
|
||||||
contractFile:[],
|
contractFile: [],
|
||||||
injuriesPayTiemFile: [],
|
injuriesPayTiemFile: [],
|
||||||
photosOfLevel:[],
|
photosOfLevel: [],
|
||||||
insuranceFile: [],
|
insuranceFile: [],
|
||||||
IS_INJURIES_PAY_TIME:'',
|
IS_INJURIES_PAY_TIME: '',
|
||||||
NAME: '',
|
NAME: '',
|
||||||
USERNAME: '',
|
USERNAME: '',
|
||||||
SEX: '',
|
SEX: '',
|
||||||
|
@ -268,8 +279,8 @@
|
||||||
SOCIAL_NUMBER: '',
|
SOCIAL_NUMBER: '',
|
||||||
ISFLOW: '',
|
ISFLOW: '',
|
||||||
ISFLOW_NAME: '',
|
ISFLOW_NAME: '',
|
||||||
IS_SOCIAL:'',
|
IS_SOCIAL: '',
|
||||||
IS_SOCIAL_NAME:'',
|
IS_SOCIAL_NAME: '',
|
||||||
IS_BF_NAME: '',
|
IS_BF_NAME: '',
|
||||||
IS_BF: '',
|
IS_BF: '',
|
||||||
IS_SIGN_LABOR: '',
|
IS_SIGN_LABOR: '',
|
||||||
|
@ -362,7 +373,7 @@
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
|
|
||||||
IS_SOCIAL_NAME:{
|
IS_SOCIAL_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否缴纳社保',
|
message: '请选择是否缴纳社保',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
|
@ -377,45 +388,45 @@
|
||||||
message: '请选择工伤保险有效期',
|
message: '请选择工伤保险有效期',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
IS_BF_NAME:{
|
IS_BF_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否是否缴纳保险',
|
message: '请选择是否是否缴纳保险',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
IS_SIGN_LABOR_NAME:{
|
IS_SIGN_LABOR_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否签订劳动合同',
|
message: '请选择是否签订劳动合同',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
contractFile:{
|
contractFile: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
required: true,
|
required: true,
|
||||||
message: '请上传劳动合同',
|
message: '请上传劳动合同',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
insuranceFile:{
|
insuranceFile: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
required: true,
|
required: true,
|
||||||
message: '请上传保险图片',
|
message: '请上传保险图片',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
POST_ID:{
|
POST_ID: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请填写岗位',
|
message: '请填写岗位',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
photosOfLevel:{
|
photosOfLevel: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
required: true,
|
required: true,
|
||||||
message: '请上传三级安全培训照片',
|
message: '请上传三级安全培训照片',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
IS_LEVEL_THREE_NAME:{
|
IS_LEVEL_THREE_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否为三级人员',
|
message: '请选择是否为三级人员',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
ISPAY_NUMBER:{
|
ISPAY_NUMBER: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请填写商业保单号',
|
message: '请填写商业保单号',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
|
@ -438,7 +449,10 @@
|
||||||
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'}, {NAME: '未婚', BIANMA: '0'}]]
|
if (changeFrom == 'MARITALSTATUS') this.singleChoiceColumns = [[{NAME: '已婚', BIANMA: '1'}, {
|
||||||
|
NAME: '未婚',
|
||||||
|
BIANMA: '0'
|
||||||
|
}]]
|
||||||
if (changeFrom == 'POLITICAL_STATUS') this.fnGetDataDictionary('6351efdd12dc4730952e5d195718e252')
|
if (changeFrom == 'POLITICAL_STATUS') this.fnGetDataDictionary('6351efdd12dc4730952e5d195718e252')
|
||||||
|
|
||||||
this.singleChoice = true
|
this.singleChoice = true
|
||||||
|
@ -458,7 +472,7 @@
|
||||||
},
|
},
|
||||||
fnSingleChoiceConfirm(event) {
|
fnSingleChoiceConfirm(event) {
|
||||||
this.$set(this.form, this.changeFrom, event.value[0].BIANMA)
|
this.$set(this.form, this.changeFrom, event.value[0].BIANMA)
|
||||||
this.$set(this.form, this.changeFrom+ '_NAME', event.value[0].NAME)
|
this.$set(this.form, this.changeFrom + '_NAME', event.value[0].NAME)
|
||||||
this.singleChoice = false
|
this.singleChoice = false
|
||||||
},
|
},
|
||||||
fnSingleChoiceCancel() {
|
fnSingleChoiceCancel() {
|
||||||
|
@ -620,24 +634,24 @@
|
||||||
fnShowFloatingPersonnel() {
|
fnShowFloatingPersonnel() {
|
||||||
this.showFloatingPersonnel = !this.showFloatingPersonnel
|
this.showFloatingPersonnel = !this.showFloatingPersonnel
|
||||||
},
|
},
|
||||||
fnShowBf(){
|
fnShowBf() {
|
||||||
this.showBf = !this.showBf
|
this.showBf = !this.showBf
|
||||||
},
|
},
|
||||||
fnShowIsSignLabor(){
|
fnShowIsSignLabor() {
|
||||||
this.showIsSignLabor = !this.showIsSignLabor
|
this.showIsSignLabor = !this.showIsSignLabor
|
||||||
},
|
},
|
||||||
fnShowIsPay(){
|
fnShowIsPay() {
|
||||||
this.showIsPay = !this.showIsPay
|
this.showIsPay = !this.showIsPay
|
||||||
},
|
},
|
||||||
fnShowIsPayConfirm(e){
|
fnShowIsPayConfirm(e) {
|
||||||
this.form.ISPAY = e.value[0].id
|
this.form.ISPAY = e.value[0].id
|
||||||
this.form.ISPAY_NAME = e.value[0].name
|
this.form.ISPAY_NAME = e.value[0].name
|
||||||
this.fnShowIsPay()
|
this.fnShowIsPay()
|
||||||
},
|
},
|
||||||
fnShowPhotosOfLevel(){
|
fnShowPhotosOfLevel() {
|
||||||
this.showPhotosOfLevel = !this.showPhotosOfLevel
|
this.showPhotosOfLevel = !this.showPhotosOfLevel
|
||||||
},
|
},
|
||||||
fnShowPhotosOfLevelConfirm(e){
|
fnShowPhotosOfLevelConfirm(e) {
|
||||||
this.form.IS_LEVEL_THREE = e.value[0].id
|
this.form.IS_LEVEL_THREE = e.value[0].id
|
||||||
this.form.IS_LEVEL_THREE_NAME = e.value[0].name
|
this.form.IS_LEVEL_THREE_NAME = e.value[0].name
|
||||||
this.fnShowPhotosOfLevel()
|
this.fnShowPhotosOfLevel()
|
||||||
|
@ -647,12 +661,12 @@
|
||||||
this.form.ISFLOW_NAME = e.value[0].name
|
this.form.ISFLOW_NAME = e.value[0].name
|
||||||
this.fnShowFloatingPersonnel()
|
this.fnShowFloatingPersonnel()
|
||||||
},
|
},
|
||||||
fnBFConfirm(e){
|
fnBFConfirm(e) {
|
||||||
this.form.IS_BF = e.value[0].id
|
this.form.IS_BF = e.value[0].id
|
||||||
this.form.IS_BF_NAME = e.value[0].name
|
this.form.IS_BF_NAME = e.value[0].name
|
||||||
this.fnShowBf()
|
this.fnShowBf()
|
||||||
},
|
},
|
||||||
fnIsSignLaborConfirm(e){
|
fnIsSignLaborConfirm(e) {
|
||||||
this.form.IS_SIGN_LABOR = e.value[0].id
|
this.form.IS_SIGN_LABOR = e.value[0].id
|
||||||
this.form.IS_SIGN_LABOR_NAME = e.value[0].name
|
this.form.IS_SIGN_LABOR_NAME = e.value[0].name
|
||||||
this.fnShowIsSignLabor()
|
this.fnShowIsSignLabor()
|
||||||
|
@ -763,9 +777,9 @@
|
||||||
let Employed = await getEmployedBy({
|
let Employed = await getEmployedBy({
|
||||||
showCount: 10,
|
showCount: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
DEPART_STATE:'0'
|
DEPART_STATE: '0'
|
||||||
})
|
})
|
||||||
if(Employed.varList.length>0){
|
if (Employed.varList.length > 0) {
|
||||||
Employed.varList.forEach(item => {
|
Employed.varList.forEach(item => {
|
||||||
console.log(item.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
console.log(item.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
||||||
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = item.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
this.EMPLOYMENT_APPLY_MANAGEMENT_ID = item.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
|
@ -774,7 +788,7 @@
|
||||||
console.log(this.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
console.log(this.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
||||||
let resData = await getUserInfo({
|
let resData = await getUserInfo({
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID:this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
})
|
})
|
||||||
console.log(resData);
|
console.log(resData);
|
||||||
this.form = {
|
this.form = {
|
||||||
|
@ -804,26 +818,26 @@
|
||||||
this.form.ISFLOW_NAME = '否'
|
this.form.ISFLOW_NAME = '否'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form.ISPAY === '1'){
|
if (this.form.ISPAY === '1') {
|
||||||
this.form.ISPAY_NAME = '是'
|
this.form.ISPAY_NAME = '是'
|
||||||
}else {
|
} else {
|
||||||
this.form.ISPAY_NAME = '否'
|
this.form.ISPAY_NAME = '否'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form.IS_LEVEL_THREE === '1'){
|
if (this.form.IS_LEVEL_THREE === '1') {
|
||||||
this.form.IS_LEVEL_THREE_NAME = '是'
|
this.form.IS_LEVEL_THREE_NAME = '是'
|
||||||
}else {
|
} else {
|
||||||
this.form.IS_LEVEL_THREE_NAME = '否'
|
this.form.IS_LEVEL_THREE_NAME = '否'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.form.IS_BF === '1'){
|
if (this.form.IS_BF === '1') {
|
||||||
this.form.IS_BF_NAME = '是'
|
this.form.IS_BF_NAME = '是'
|
||||||
}else {
|
} else {
|
||||||
this.form.IS_BF_NAME = '否'
|
this.form.IS_BF_NAME = '否'
|
||||||
}
|
}
|
||||||
if (this.form.IS_SIGN_LABOR === '1'){
|
if (this.form.IS_SIGN_LABOR === '1') {
|
||||||
this.form.IS_SIGN_LABOR_NAME = '是'
|
this.form.IS_SIGN_LABOR_NAME = '是'
|
||||||
}else {
|
} else {
|
||||||
this.form.IS_SIGN_LABOR_NAME = '否'
|
this.form.IS_SIGN_LABOR_NAME = '否'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -897,7 +911,7 @@
|
||||||
fnSubmit() {
|
fnSubmit() {
|
||||||
this.$refs.form.validate().then(async () => {
|
this.$refs.form.validate().then(async () => {
|
||||||
//校验社保和工伤保险必须有一个选是
|
//校验社保和工伤保险必须有一个选是
|
||||||
if (this.form.IS_INJURIES_PAY === '0'&& this.form.IS_SOCIAL === '0') {
|
if (this.form.IS_INJURIES_PAY === '0' && this.form.IS_SOCIAL === '0') {
|
||||||
uni.$u.toast('工商或社保全无人员,不可进入本系统相关方人员管理!');
|
uni.$u.toast('工商或社保全无人员,不可进入本系统相关方人员管理!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -907,7 +921,7 @@
|
||||||
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
|
||||||
|
@ -1038,7 +1052,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -7,9 +7,7 @@
|
||||||
</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 class="form-item-block">
|
<u-form-item label="照片" prop="userPhoto" borderBottom required labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.userPhoto" :maxCount="1" @afterRead="fnUserPhotoRead"
|
<view class="mt-10 w100">
|
||||||
|
<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>
|
||||||
|
@ -33,14 +33,10 @@
|
||||||
<u--input v-model="form.CARD_ID" border="none" @blur="fnCardIdDisassembly" inputAlign="right">
|
<u--input v-model="form.CARD_ID" border="none" @blur="fnCardIdDisassembly" inputAlign="right">
|
||||||
</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
|
||||||
<!-- class="form-item-block">-->
|
labelPosition="top" labelWidth="auto">
|
||||||
<!-- <u-upload class="mt-10" :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"-->
|
<view class="mt-10 w100">
|
||||||
<!-- @delete="fnInsuranceAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>-->
|
<u-upload :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"
|
||||||
<!-- </u-form-item>-->
|
|
||||||
<u-form-item label="身份证照片(录入身份证正、反彩色照片)" prop="userCardIDFileList" borderBottom required class="form-item-block">
|
|
||||||
<view>
|
|
||||||
<u-upload class="mt-10" :fileList="form.userCardIDFileList" @afterRead="fnUserCardIDAttachmentsRead"
|
|
||||||
@delete="fnUserCardIDAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
@delete="fnUserCardIDAttachmentsDelete" multiple :maxCount="2" previewFullImage></u-upload>
|
||||||
<view class="tip">
|
<view class="tip">
|
||||||
温馨提示:用户需上传身份证正反面(身份证照片数量需≥2张),才能进行人员培训
|
温馨提示:用户需上传身份证正反面(身份证照片数量需≥2张),才能进行人员培训
|
||||||
|
@ -68,10 +64,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 class="form-item-block">
|
<u-form-item label="户口所在地" prop="HKLOCAL" borderBottom labelPosition="top" labelWidth="auto">
|
||||||
<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 class="form-item-block">
|
<u-form-item label="现住址" prop="ADDRESS" borderBottom labelPosition="top" labelWidth="auto">
|
||||||
<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>
|
||||||
|
@ -87,33 +83,36 @@
|
||||||
<!-- <!– 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"
|
||||||
inputAlign="right"></u--input>
|
inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<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 class="form-item-block" v-if="form.IS_SOCIAL==='1'" >
|
<u-form-item label="社保卡照片" prop="socialFileList" borderBottom required labelPosition="top"
|
||||||
<u-upload class="mt-10" :fileList="form.socialFileList" @afterRead="fnSocialAttachmentsRead"
|
labelWidth="auto" v-if="form.IS_SOCIAL==='1'">
|
||||||
|
<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>
|
||||||
<u-form-item label="是否缴纳保险" prop="IS_BF_NAME" borderBottom required
|
<u-form-item label="是否缴纳保险" prop="IS_BF_NAME" borderBottom required
|
||||||
@click="fnShowInjuryInsurance">
|
@click="fnShowInjuryInsurance">
|
||||||
|
@ -126,10 +125,12 @@
|
||||||
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'"
|
||||||
class="form-item-block">
|
labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.contractFile"
|
<view class="mt-10 w100">
|
||||||
|
<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">
|
||||||
|
@ -142,10 +143,12 @@
|
||||||
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'" class="form-item-block">
|
v-if="form.IS_INJURIES_PAY==='1'" labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.injuriesPayTiemFile"
|
<view class="mt-10 w100">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
|
||||||
|
@ -158,19 +161,24 @@
|
||||||
<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'"
|
||||||
class="form-item-block">
|
labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.insuranceFile" @afterRead="fnInsuranceAttachmentsAfterRead2"
|
<view class="mt-10 w100">
|
||||||
|
<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'"
|
<u-form-item label="三级安全培训图片" prop="safetytraining" borderBottom required
|
||||||
class="form-item-block">
|
v-if="form.IS_LEVEL_THREE==='1'"
|
||||||
<u-upload class="mt-10" :fileList="form.safetytraining" @afterRead="fnSafetyTrainingAfterRead2"
|
labelPosition="top" labelWidth="auto">
|
||||||
|
<view class="mt-10 w100">
|
||||||
|
<u-upload :fileList="form.safetytraining" @afterRead="fnSafetyTrainingAfterRead2"
|
||||||
@delete="fnSafetyTrainingAttachmentsDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
@delete="fnSafetyTrainingAttachmentsDelete" multiple :maxCount="4" previewFullImage></u-upload>
|
||||||
|
</view>
|
||||||
</u-form-item>
|
</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">
|
||||||
|
@ -182,19 +190,20 @@
|
||||||
@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" inputAlign="right"></u--input>
|
<u--input v-model="form.ISFLOW_NAME" border="none" disabled disabledColor="#ffffff"
|
||||||
|
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"
|
||||||
|
@ -249,18 +258,21 @@
|
||||||
@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" @cancel="fnShowPoliticalTimeEducation"></u-datetime-picker>
|
@confirm="fnShowPoliticalTimeConfirm"
|
||||||
|
@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" @cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
@confirm="fnShowInjuriesPayTiemConfirm"
|
||||||
<u-button type="primary" text="保 存" class="mt-10" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
@cancel="fnShowInjuriesPayTiemEducation"></u-datetime-picker>
|
||||||
|
<view class="mt-10">
|
||||||
|
<u-button type="primary" text="保 存" @click="$u.debounce(fnSubmit, 1000,true)"></u-button>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getCertificateInformationList,
|
getCertificateInformationList,
|
||||||
getDataDictionary,
|
getDataDictionary,
|
||||||
getDeptTree,
|
getDeptTree,
|
||||||
|
@ -272,9 +284,9 @@
|
||||||
getEMPLOYMENTAPPLYMANAGEMENTID,
|
getEMPLOYMENTAPPLYMANAGEMENTID,
|
||||||
getEmployedBy,
|
getEmployedBy,
|
||||||
removeUploadAttachments
|
removeUploadAttachments
|
||||||
} from "../../api";
|
} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showSafetyTimeTraining: false, //安全告知培训时间 下拉显示隐藏
|
showSafetyTimeTraining: false, //安全告知培训时间 下拉显示隐藏
|
||||||
|
@ -348,7 +360,7 @@
|
||||||
contractFile: [],
|
contractFile: [],
|
||||||
ISPAY: '',
|
ISPAY: '',
|
||||||
ISPAY_NAME: '',
|
ISPAY_NAME: '',
|
||||||
imgDelKey:'',
|
imgDelKey: '',
|
||||||
IS_BF: '',
|
IS_BF: '',
|
||||||
IS_BF_NAME: '',
|
IS_BF_NAME: '',
|
||||||
IS_INJURIES_PAY: '',
|
IS_INJURIES_PAY: '',
|
||||||
|
@ -367,9 +379,9 @@
|
||||||
ISFLOW_NAME: '',
|
ISFLOW_NAME: '',
|
||||||
NATIONALITY_NAME: '',
|
NATIONALITY_NAME: '',
|
||||||
NATIONALITY: '',
|
NATIONALITY: '',
|
||||||
IS_SOCIAL:'',
|
IS_SOCIAL: '',
|
||||||
IS_SOCIAL_NAME:'',
|
IS_SOCIAL_NAME: '',
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID:''
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: ''
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
userPhoto: {
|
userPhoto: {
|
||||||
|
@ -496,7 +508,7 @@
|
||||||
message: '请上传社保卡照片',
|
message: '请上传社保卡照片',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},
|
},
|
||||||
IS_SOCIAL_NAME:{
|
IS_SOCIAL_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否缴纳社保',
|
message: '请选择是否缴纳社保',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
|
@ -516,7 +528,7 @@
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否缴纳保险',
|
message: '请选择是否缴纳保险',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
},IS_INJURIES_PAY_NAME: {
|
}, IS_INJURIES_PAY_NAME: {
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择是否按期缴纳工伤保险',
|
message: '请选择是否按期缴纳工伤保险',
|
||||||
trigger: ['change']
|
trigger: ['change']
|
||||||
|
@ -640,7 +652,8 @@
|
||||||
this.form.IS_BF_NAME = '否'
|
this.form.IS_BF_NAME = '否'
|
||||||
} else if (this.form.IS_BF === '1') {
|
} else if (this.form.IS_BF === '1') {
|
||||||
this.form.IS_BF_NAME = '是'
|
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') {
|
||||||
this.form.IS_INJURIES_PAY_NAME = '是'
|
this.form.IS_INJURIES_PAY_NAME = '是'
|
||||||
|
@ -1019,8 +1032,8 @@
|
||||||
fnSubmit() {
|
fnSubmit() {
|
||||||
let fileUrl = ''
|
let fileUrl = ''
|
||||||
let imgDelKey = String(this.form.imgDelKey)
|
let imgDelKey = String(this.form.imgDelKey)
|
||||||
if (imgDelKey.length > 0){
|
if (imgDelKey.length > 0) {
|
||||||
this.form.imgDelKey = imgDelKey.replace(/undefined,/g,'').slice(0, -1)
|
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
|
||||||
|
@ -1028,16 +1041,16 @@
|
||||||
let Employed = await getEmployedBy({
|
let Employed = await getEmployedBy({
|
||||||
showCount: 10,
|
showCount: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
DEPART_STATE:'0,2'
|
DEPART_STATE: '0,2'
|
||||||
})
|
})
|
||||||
console.log(Employed)
|
console.log(Employed)
|
||||||
if(Employed.varList.length>0){
|
if (Employed.varList.length > 0) {
|
||||||
Employed.varList.forEach(item => {
|
Employed.varList.forEach(item => {
|
||||||
console.log(item.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
console.log(item.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
||||||
this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID = item.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID = item.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if(!this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID){
|
if (!this.form.EMPLOYMENT_APPLY_MANAGEMENT_ID) {
|
||||||
console.log(this.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
console.log(this.EMPLOYMENT_APPLY_MANAGEMENT_ID);
|
||||||
Employed = await getEMPLOYMENTAPPLYMANAGEMENTID({});
|
Employed = await getEMPLOYMENTAPPLYMANAGEMENTID({});
|
||||||
|
|
||||||
|
@ -1046,7 +1059,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//校验社保和工伤保险必须有一个选是
|
//校验社保和工伤保险必须有一个选是
|
||||||
if (this.form.IS_INJURIES_PAY === '0'&& this.form.IS_SOCIAL === '0') {
|
if (this.form.IS_INJURIES_PAY === '0' && this.form.IS_SOCIAL === '0') {
|
||||||
uni.$u.toast('工商或社保全无人员,不可进入本系统相关方人员管理!');
|
uni.$u.toast('工商或社保全无人员,不可进入本系统相关方人员管理!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1150,7 +1163,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -6,27 +6,30 @@
|
||||||
<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 class="form-item-block">
|
<u-form-item label="劳动合同附件" prop="contractFile" borderBottom required labelPosition="top"
|
||||||
<u-upload class="mt-10" :fileList="form.contractFile"
|
labelWidth="auto">
|
||||||
|
<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
|
||||||
|
@ -43,11 +46,13 @@
|
||||||
</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
|
||||||
class="form-item-block">
|
labelPosition="top" labelWidth="auto">
|
||||||
<u-upload class="mt-10" :fileList="form.workInsurancePhotoFile"
|
<view class="mt-10 w100">
|
||||||
|
<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
|
||||||
|
@ -60,10 +65,13 @@
|
||||||
</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 class="form-item-block">
|
<u-form-item label="保险附件" prop="insuranceFile" borderBottom required labelPosition="top"
|
||||||
<u-upload class="mt-10" :fileList="form.insuranceFile"
|
labelWidth="auto">
|
||||||
|
<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
|
||||||
|
@ -118,13 +126,15 @@
|
||||||
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>
|
||||||
<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>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getCertificateInformationList,
|
getCertificateInformationList,
|
||||||
getDataDictionary,
|
getDataDictionary,
|
||||||
getIDCardDeduplication,
|
getIDCardDeduplication,
|
||||||
|
@ -135,9 +145,9 @@
|
||||||
setUploadAttachments,
|
setUploadAttachments,
|
||||||
removeUploadAttachments,
|
removeUploadAttachments,
|
||||||
checkRelatedUnitsPersonCount
|
checkRelatedUnitsPersonCount
|
||||||
} from "../../api";
|
} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
changeFrom: '',
|
changeFrom: '',
|
||||||
|
@ -485,7 +495,7 @@
|
||||||
let resData = await getCertificateInformationList({
|
let resData = await getCertificateInformationList({
|
||||||
showCount: 9999,
|
showCount: 9999,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
keyCrelType:'7498057c4c1f4a11b9a960e66ea04a7a'
|
keyCrelType: '7498057c4c1f4a11b9a960e66ea04a7a'
|
||||||
});
|
});
|
||||||
this.certificateInformationLength = resData.varList.length
|
this.certificateInformationLength = resData.varList.length
|
||||||
if (resData.varList.length > 0) {
|
if (resData.varList.length > 0) {
|
||||||
|
@ -631,7 +641,8 @@
|
||||||
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) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -815,7 +826,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<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="照片">
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
<u-cell title="姓名" :value="info.NAME"></u-cell>
|
||||||
<u-cell title="性别" :value="info.SEX === '1' ? '女' : '男'">
|
<u-cell title="性别" :value="info.SEX === '1' ? '女' : '男'">
|
||||||
<template #value>
|
<template #value>
|
||||||
{{info.SEX === '1' ? '女' : ''}}
|
{{ info.SEX === '1' ? '女' : '' }}
|
||||||
{{info.SEX === '0' ? '男' : ''}}
|
{{ info.SEX === '0' ? '男' : '' }}
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></u-cell>
|
<u-cell title="出生年月" :value="info.DATE_OF_BIRTH"></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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
@click="fnPreview(userCardIDPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -45,15 +45,16 @@
|
||||||
<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="入党时间" :value="info.POLITICAL_TIME"></u-cell>
|
<u-cell v-if="info.POLITICAL_STATUS == 'zhonggongdangyuan'" title="入党时间"
|
||||||
|
: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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(socialPhotoFile)"></u--image>
|
@click="fnPreview(socialPhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -66,20 +67,20 @@
|
||||||
<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 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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(contractFile)"></u--image>
|
@click="fnPreview(contractFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -90,8 +91,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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(workInsurancePhotoFile)"></u--image>
|
@click="fnPreview(workInsurancePhotoFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -101,8 +102,8 @@
|
||||||
<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">
|
style="display: flex;justify-content: space-between;margin-left: 10rpx;">
|
||||||
<u--image :src="item" width="100rpx" height="100rpx" style="margin-left: 10rpx;"
|
<u--image :src="item" width="100rpx" height="100rpx"
|
||||||
@click="fnPreview(insuranceFile)"></u--image>
|
@click="fnPreview(insuranceFile)"></u--image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -117,11 +118,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getUserInfo
|
getUserInfo
|
||||||
} from "../../api";
|
} from "../../api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
|
@ -187,32 +188,32 @@
|
||||||
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
EMPLOYMENT_APPLY_MANAGEMENT_ID: this.EMPLOYMENT_APPLY_MANAGEMENT_ID
|
||||||
})
|
})
|
||||||
this.info = resData.pd
|
this.info = resData.pd
|
||||||
if(resData.userCardIDPhotoFile){
|
if (resData.userCardIDPhotoFile) {
|
||||||
for (let i = 0; i < resData.userCardIDPhotoFile.length; i++) {
|
for (let i = 0; i < resData.userCardIDPhotoFile.length; i++) {
|
||||||
this.userCardIDPhotoFile.push(this.$filePath + resData.userCardIDPhotoFile[i].FILEPATH)
|
this.userCardIDPhotoFile.push(this.$filePath + resData.userCardIDPhotoFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(resData.socialPhotoFile){
|
if (resData.socialPhotoFile) {
|
||||||
for (let i = 0; i < resData.socialPhotoFile.length; i++) {
|
for (let i = 0; i < resData.socialPhotoFile.length; i++) {
|
||||||
this.socialPhotoFile.push(this.$filePath + resData.socialPhotoFile[i].FILEPATH)
|
this.socialPhotoFile.push(this.$filePath + resData.socialPhotoFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(resData.contractFile){
|
if (resData.contractFile) {
|
||||||
for (let i = 0; i < resData.contractFile.length; i++) {
|
for (let i = 0; i < resData.contractFile.length; i++) {
|
||||||
this.contractFile.push(this.$filePath + resData.contractFile[i].FILEPATH)
|
this.contractFile.push(this.$filePath + resData.contractFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(resData.insuranceFile){
|
if (resData.insuranceFile) {
|
||||||
for (let i = 0; i < resData.insuranceFile.length; i++) {
|
for (let i = 0; i < resData.insuranceFile.length; i++) {
|
||||||
this.insuranceFile.push(this.$filePath + resData.insuranceFile[i].FILEPATH)
|
this.insuranceFile.push(this.$filePath + resData.insuranceFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(resData.workInsurancePhotoFile){
|
if (resData.workInsurancePhotoFile) {
|
||||||
for (let i = 0; i < resData.workInsurancePhotoFile.length; i++) {
|
for (let i = 0; i < resData.workInsurancePhotoFile.length; i++) {
|
||||||
this.workInsurancePhotoFile.push(this.$filePath + resData.workInsurancePhotoFile[i].FILEPATH)
|
this.workInsurancePhotoFile.push(this.$filePath + resData.workInsurancePhotoFile[i].FILEPATH)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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)
|
console.log(this.info.userPhoto)
|
||||||
}
|
}
|
||||||
|
@ -224,31 +225,32 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.text_content {
|
.text_content {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title_left {
|
.title_left {
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
float: left;
|
float: left;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title_right {
|
.title_right {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
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;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
</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" class="bth-mini" @click="fnView(item.SERVICE_COMPANY_USER_MAP_ID)"></u-button>
|
<u-button type="primary" text="查看" size="mini"
|
||||||
|
@click="fnView(item.SERVICE_COMPANY_USER_MAP_ID)"></u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-list-item>
|
</u-list-item>
|
||||||
|
@ -41,29 +42,29 @@ export default {
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.resetList()
|
this.resetList()
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
async getData(){
|
async getData() {
|
||||||
let resData = await getServiceUnitList({
|
let resData = await getServiceUnitList({
|
||||||
showCount: this.pageSize,
|
showCount: this.pageSize,
|
||||||
currentPage: this.currentPage,
|
currentPage: this.currentPage,
|
||||||
});
|
});
|
||||||
this.list = [...this.list,...resData.varList];
|
this.list = [...this.list, ...resData.varList];
|
||||||
this.totalPage = resData.page.totalPage;
|
this.totalPage = resData.page.totalPage;
|
||||||
},
|
},
|
||||||
resetList() {
|
resetList() {
|
||||||
this.pageSize= 10
|
this.pageSize = 10
|
||||||
this.currentPage= 1
|
this.currentPage = 1
|
||||||
this.list = []
|
this.list = []
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
scrolltolower() {
|
scrolltolower() {
|
||||||
this.currentPage++;
|
this.currentPage++;
|
||||||
if(this.totalPage >= this.currentPage) this.getData();
|
if (this.totalPage >= this.currentPage) this.getData();
|
||||||
},
|
},
|
||||||
fnView(SERVICE_COMPANY_USER_MAP_ID){
|
fnView(SERVICE_COMPANY_USER_MAP_ID) {
|
||||||
uni.$u.route({
|
uni.$u.route({
|
||||||
url: '/pages/service_unit_management/view',
|
url: '/pages/service_unit_management/view',
|
||||||
params:{
|
params: {
|
||||||
SERVICE_COMPANY_USER_MAP_ID
|
SERVICE_COMPANY_USER_MAP_ID
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -20,7 +20,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
SERVICE_COMPANY_USER_MAP_ID: '',
|
SERVICE_COMPANY_USER_MAP_ID: '',
|
||||||
info:{}
|
info: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
|
@ -30,7 +30,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
async fnGetData() {
|
async fnGetData() {
|
||||||
let resData = await getServiceUnitView({
|
let resData = await getServiceUnitView({
|
||||||
SERVICE_COMPANY_USER_MAP_ID:this.SERVICE_COMPANY_USER_MAP_ID
|
SERVICE_COMPANY_USER_MAP_ID: this.SERVICE_COMPANY_USER_MAP_ID
|
||||||
})
|
})
|
||||||
this.info = resData.pd
|
this.info = resData.pd
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="WEB_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$" />
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="WEB_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$" />
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
|
@ -15,50 +15,6 @@
|
||||||
height: 507rpx;
|
height: 507rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.wui-bar{
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
min-height: 100rpx;
|
|
||||||
justify-content: flex-end;
|
|
||||||
z-index: 9999;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
.search-form{
|
|
||||||
background: rgba(255,255,255,0.2);
|
|
||||||
border-radius: 100rpx;
|
|
||||||
flex: 1;
|
|
||||||
height: 60rpx;
|
|
||||||
line-height: 60rpx;
|
|
||||||
font-size: 24rpx;
|
|
||||||
color: #333333;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin: 0 30rpx;
|
|
||||||
padding: 0 30rpx;
|
|
||||||
.cuIcon-search{
|
|
||||||
color: rgba(255,255,255,0.5);
|
|
||||||
margin-right: 16rpx;
|
|
||||||
font-size: 28rpx;
|
|
||||||
}
|
|
||||||
input{
|
|
||||||
color: rgba(255,255,255,0.5);
|
|
||||||
flex: 1;
|
|
||||||
padding-right: 30rpx;
|
|
||||||
height: 64rpx;
|
|
||||||
line-height: 64rpx;
|
|
||||||
font-size: 26rpx;
|
|
||||||
background-color: transparent;
|
|
||||||
.phcolor{
|
|
||||||
color: rgba(255,255,255,0.5);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.icon-ui {
|
|
||||||
color: #fff;
|
|
||||||
font-size: 42rpx;
|
|
||||||
margin-right: 22rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.banner_img{
|
.banner_img{
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -1,134 +1,125 @@
|
||||||
.ml-10{
|
.ml-10 {
|
||||||
margin-left: 20rpx !important;
|
margin-left: 20rpx !important;
|
||||||
}
|
}
|
||||||
.mt-10{
|
|
||||||
|
.mt-10 {
|
||||||
margin-top: 20rpx !important;
|
margin-top: 20rpx !important;
|
||||||
}
|
}
|
||||||
.mb-10{
|
|
||||||
|
.mb-10 {
|
||||||
margin-bottom: 20rpx !important;
|
margin-bottom: 20rpx !important;
|
||||||
}
|
}
|
||||||
.mr-10{
|
|
||||||
|
.mr-10 {
|
||||||
margin-right: 20rpx !important;
|
margin-right: 20rpx !important;
|
||||||
}
|
}
|
||||||
.m-10{
|
|
||||||
|
.m-10 {
|
||||||
margin: 20rpx !important;
|
margin: 20rpx !important;
|
||||||
}
|
}
|
||||||
.p-10{
|
|
||||||
|
.p-10 {
|
||||||
padding: 20rpx !important;
|
padding: 20rpx !important;
|
||||||
}
|
}
|
||||||
.pl-10{
|
|
||||||
|
.pl-10 {
|
||||||
padding-left: 20rpx !important;
|
padding-left: 20rpx !important;
|
||||||
}
|
}
|
||||||
.pr-10{
|
|
||||||
|
.pr-10 {
|
||||||
padding-right: 20rpx !important;
|
padding-right: 20rpx !important;
|
||||||
}
|
}
|
||||||
.pt-10{
|
|
||||||
|
.pt-10 {
|
||||||
padding-top: 20rpx !important;
|
padding-top: 20rpx !important;
|
||||||
}
|
}
|
||||||
.pb-10{
|
|
||||||
|
.pb-10 {
|
||||||
padding-bottom: 20rpx !important;
|
padding-bottom: 20rpx !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: 20rpx;
|
||||||
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: 100rpx !important;
|
||||||
flex: none !important;
|
flex: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-button {
|
.u-button {
|
||||||
height: 68rpx !important;
|
height: 68rpx !important;
|
||||||
}
|
}
|
||||||
.u-input__content__field-wrapper__field{
|
|
||||||
|
.u-input__content__field-wrapper__field {
|
||||||
height: 42rpx !important;
|
height: 42rpx !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.bth-mini{
|
|
||||||
width: auto !important;
|
.flex-between {
|
||||||
border-radius: 15rpx !important;
|
|
||||||
margin-left: unset;
|
|
||||||
margin-right: unset;
|
|
||||||
}
|
|
||||||
.bth{
|
|
||||||
flex: 1;
|
|
||||||
border-radius: 15rpx !important;
|
|
||||||
margin-left: unset;
|
|
||||||
margin-right: unset;
|
|
||||||
}
|
|
||||||
.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: 30rpx;
|
||||||
}
|
}
|
||||||
.subtitle{
|
|
||||||
|
.subtitle {
|
||||||
color: #888888;
|
color: #888888;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
.view-title{
|
|
||||||
border-left: 8rpx solid #1d82fe;
|
.title {
|
||||||
.u-text{
|
|
||||||
padding-left: 10rpx;
|
|
||||||
color: #353535 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.title{
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
.title-none{
|
|
||||||
.u-cell__body__content,.u-cell__title{
|
.required {
|
||||||
display: none !important;
|
&:before {
|
||||||
}
|
|
||||||
}
|
|
||||||
.title-show{
|
|
||||||
.u-cell__body__content,.u-cell__title{
|
|
||||||
display: flex !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.flex-none{
|
|
||||||
display: block;
|
|
||||||
.u-cell__body{
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.required{
|
|
||||||
&:before{
|
|
||||||
content: '*';
|
content: '*';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -137,18 +128,3 @@
|
||||||
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: 20rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue