first commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<!--#
|
||||
layout("/mobile/platform.html"){
|
||||
#-->
|
||||
<style>
|
||||
.van-field__control {
|
||||
color: #8b8f95;
|
||||
}
|
||||
|
||||
.van-field__label {
|
||||
color: #39acff
|
||||
}
|
||||
|
||||
.custom-image .van-empty__image {
|
||||
width: 220px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
.van-empty__description {
|
||||
margin-top: -10px;
|
||||
}
|
||||
</style>
|
||||
<div id="app" v-cloak>
|
||||
<van-nav-bar title="申请入会" left-arrow placeholder fixed @click-left="history.back()"></van-nav-bar>
|
||||
|
||||
<template v-if="formData.sfhy==1">
|
||||
<van-empty class="custom-image" image="/hy.svg" description="您已是会员"/>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
<!--#include("/mobile/hy/common.html"){}#-->
|
||||
</template>
|
||||
</div>
|
||||
<script>
|
||||
const vue = new Vue({
|
||||
el: '#app',
|
||||
mixins: [memberMixins],
|
||||
async created() {
|
||||
this.pageData()
|
||||
this.mzColumns = await this.getAllNation()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
@@ -0,0 +1,88 @@
|
||||
<van-form @submit="onSubmit">
|
||||
<van-cell-group>
|
||||
|
||||
<van-field readonly value="${@shiro.getPrincipalProperty('username')}" name="username" label="姓名"
|
||||
input-align="right"></van-field>
|
||||
|
||||
<van-field readonly value="${@shiro.getPrincipalProperty('sex')}" name="sex" label="性别"
|
||||
input-align="right"></van-field>
|
||||
|
||||
<van-field readonly v-model="formData.unit_name" name="unit_name" label="所属单位"
|
||||
input-align="right"></van-field>
|
||||
|
||||
<van-field v-model="formData.mobile" name="mobile" label="手机号" input-align="right"
|
||||
:rules="[{ required:true, message: '请填写手机号' }]"></van-field>
|
||||
|
||||
<van-field readonly clickable name="rsbz" :value="formData.rsbz" label="人事编制" input-align="right"
|
||||
@click="showBzPicker = true" placeholder="点击选择人事编制"></van-field>
|
||||
<van-popup v-model:show="showBzPicker" position="bottom" round>
|
||||
<van-picker show-toolbar :columns="bzColumns" @confirm="onBzConfirm" @cancel="showBzPicker = false">
|
||||
</van-picker>
|
||||
</van-popup>
|
||||
|
||||
<van-field v-model="formData.email" name="email" label="Email" input-align="right"></van-field>
|
||||
|
||||
<van-field v-model="formData.jg" name="jg" label="籍贯" input-align="right"
|
||||
:rules="[{ required:true, message: '请填写籍贯' }]"></van-field>
|
||||
|
||||
<van-field v-model="formData.zw" name="zw" label="职务" input-align="right"
|
||||
:rules="[{ required:true, message: '请填写职务' }]"></van-field>
|
||||
|
||||
<van-field readonly v-model="formData.mz" name="mz" @click="showMzPicker = true" label="民族"
|
||||
input-align="right" :rules="[{ required:true, message: '请选择民族' }]"
|
||||
placeholder="点击选择民族"></van-field>
|
||||
<van-popup v-model:show="showMzPicker" position="bottom" round>
|
||||
<van-picker show-toolbar :columns="mzColumns" @confirm="onMzConfirm" @cancel="showMzPicker = false">
|
||||
</van-picker>
|
||||
</van-popup>
|
||||
|
||||
<van-field v-model="formData.gz" name="gz" type="number" label="工资" input-align="right"></van-field>
|
||||
|
||||
<van-field readonly v-model="formData.xl" name="xl" @click="showXlPicker = true" label="学历"
|
||||
input-align="right" :rules="[{ required:true, message: '请选择学历' }]"
|
||||
placeholder="点击选择学历"></van-field>
|
||||
<van-popup v-model:show="showXlPicker" position="bottom" round>
|
||||
<van-picker show-toolbar :columns="xlColumns" @confirm="onXlConfirm" @cancel="showXlPicker = false"
|
||||
confirm-button-text="确定" cancel-button-text="取消">
|
||||
</van-picker>
|
||||
</van-popup>
|
||||
|
||||
<van-field v-model="formData.zzmm" name="zzmm" label="政治面貌" input-align="right"
|
||||
:rules="[{ required:true, message: '请填写政治面貌' }]"></van-field>
|
||||
|
||||
<van-field readonly v-model="formData.birthday" name="birthday" @click="showCsPicker = true" label="出生日期"
|
||||
input-align="right" :rules="[{ required:true, message: '请填写出生日期' }]"
|
||||
placeholder="点击选择出生日期"></van-field>
|
||||
<van-popup v-model:show="showCsPicker" position="bottom" round>
|
||||
<van-datetime-picker :max-date="maxDate" v-model="currentDate" :min-date="minDate" type="date"
|
||||
title="选择年月日" @confirm="onCsConfirm"
|
||||
@cancel="showCsPicker = false">
|
||||
</van-datetime-picker>
|
||||
</van-popup>
|
||||
|
||||
<van-field v-model="formData.csdd" name="csdd" label="出生地点" input-align="right"></van-field>
|
||||
|
||||
<van-field v-model="formData.grjl" name="grjl" label="个人经历" input-align="right"
|
||||
rows="6" maxlength="5000" type="textarea" show-word-limit>
|
||||
|
||||
<template #input>
|
||||
<div v-html="formData.grjl"></div>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<van-field v-model="formData.sqbz" name="sqbz" label="备注" input-align="right"
|
||||
rows="2" maxlength="200" type="textarea" show-word-limit></van-field>
|
||||
|
||||
<van-field name="uploader" label="电子照片">
|
||||
<template #input>
|
||||
<van-uploader v-model="imageList" :max-count="1" :max-size="2048 * 1024"
|
||||
:before-read="beforeRead" @oversize="onOversize"
|
||||
:after-read="afterRead"></van-uploader>
|
||||
</template>
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
|
||||
<div style="margin: 16px;">
|
||||
<van-button round block type="info" native-type="submit">提 交</van-button>
|
||||
</div>
|
||||
</van-form>
|
||||
@@ -0,0 +1,30 @@
|
||||
<!--#
|
||||
layout("/mobile/platform.html"){
|
||||
#-->
|
||||
<style>
|
||||
.van-field__control {
|
||||
color: #8b8f95;
|
||||
}
|
||||
|
||||
.van-field__label {
|
||||
color: #39acff
|
||||
}
|
||||
</style>
|
||||
<div id="app" v-cloak>
|
||||
<van-nav-bar title="个人档案管理" left-arrow placeholder fixed @click-left="history.back()"></van-nav-bar>
|
||||
|
||||
<!--#include("/mobile/hy/common.html"){}#-->
|
||||
</div>
|
||||
<script>
|
||||
const vue = new Vue({
|
||||
el: '#app',
|
||||
mixins: [memberMixins],
|
||||
async created() {
|
||||
this.pageData()
|
||||
this.mzColumns = await this.getAllNation()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<!--#
|
||||
}
|
||||
#-->
|
||||
Reference in New Issue
Block a user