فهرست منبع

登出/教育码申请

zaijin 3 سال پیش
والد
کامیت
e25291bfa0

+ 242 - 233
h5_web/pages.json

@@ -1,259 +1,268 @@
 {
-		"easycom": {
-			"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
+	"easycom": {
+		"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
+	},
+	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+		{
+			"path": "pages/index/index",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "首页"
+			}
+		}, {
+			"path": "pages/mycode/mycode",
+			"style": {
+				"navigationBarTitleText": "退役军人码"
+			}
+
 		},
-		"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-			{
-				"path": "pages/index/index",
-				"style": {
-					"navigationStyle": "custom", // 隐藏系统导航栏
-					"navigationBarTitleText": "首页"
-				}
-			}, {
-				"path": "pages/mycode/mycode",
-				"style": {
-					"navigationBarTitleText": "退役军人码"
-				}
+		{
+			"path": "pages/authentication/authentication",
+			"style": {
+				"navigationBarTitleText": "退役军人职业教育码申请"
+			}
 
-			},
-			{
-				"path": "pages/authentication/authentication",
-				"style": {
-					"navigationBarTitleText": "退役军人职业教育码申请"
-				}
+		},
+		{
+			"path": "pages/phoneLogin/phoneLogin",
+			"style": {
+				"navigationStyle": "custom",
+				"navigationBarTitleText": "手机登录"
+			}
+		},
+		{
+			"path": "pages/bannerDetails/bannerDetails",
+			"style": {
+				"navigationBarTitleText": "详情页"
+			}
 
-			},
-			{
-				"path": "pages/phoneLogin/phoneLogin",
-				"style": {
-					"navigationStyle": "custom",
-					"navigationBarTitleText": "手机登录"
-				}
-			},
-			{
-				"path": "pages/bannerDetails/bannerDetails",
-				"style": {
-					"navigationBarTitleText": "详情页"
-				}
+		}, {
+			"path": "pages/policyNews/policyNews",
+			"style": {
+				"navigationBarTitleText": "政策资讯"
 
-			}, {
-				"path": "pages/policyNews/policyNews",
-				"style": {
-					"navigationBarTitleText": "政策资讯"
+			}
 
-				}
+		}, {
+			"path": "pages/policyNewsDetails/policyNewsDetails",
+			"style": {
+				"navigationBarTitleText": "文章详情"
 
-			}, {
-				"path": "pages/policyNewsDetails/policyNewsDetails",
-				"style": {
-					"navigationBarTitleText": "文章详情"
+			}
 
-				}
+		}, {
+			"path": "pages/newsDetails/newsDetails",
+			"style": {
+				"navigationBarTitleText": "文章详情"
+			}
 
-			}, {
-				"path": "pages/newsDetails/newsDetails",
-				"style": {
-					"navigationBarTitleText": "文章详情"
-				}
+		},
+		{
+			"path": "pages/login/code",
+			"style": {
+				"navigationBarTitleText": "验证码"
+			}
+		},
+		{
+			"path": "pages/mine/mine",
+			"style": {
+				"navigationBarTitleText": "个人中心",
+				"navigationStyle": "custom"
+			}
 
-			},
-			{
-				"path": "pages/login/code",
-				"style": {
-					"navigationBarTitleText": "验证码"
-				}
-			},
-			{
-				"path": "pages/mine/mine",
-				"style": {
-					"navigationBarTitleText": "个人中心",
-					"navigationStyle": "custom"
-				}
+		},
+		{
+			"path": "pages/center/center",
+			"style": {
+				"navigationBarTitleText": "中心",
+				"enablePullDownRefresh": false
+			}
 
-			},
-			{
-				"path": "pages/center/center",
-				"style": {
-					"navigationBarTitleText": "中心",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/privacyPolicy/privacyPolicy",
+			"style": {
+				"navigationBarTitleText": "隐私政策"
+			}
 
-			}, {
-				"path": "pages/privacyPolicy/privacyPolicy",
-				"style": {
-					"navigationBarTitleText": "隐私政策"
-				}
+		}, {
+			"path": "pages/schools/schools",
+			"style": {
+				"navigationBarTitleText": "学院列表"
+			}
+		}, {
+			"path": "pages/skillsTraining/skillsTraining",
+			"style": {
+				"navigationBarTitleText": "技能培训"
+			}
+		}, {
+			"path": "pages/basicTraining/basicTraining",
+			"style": {
+				"navigationBarTitleText": "适应性培训"
+			}
+		}, {
+			"path": "pages/basicTraining/myBasicTraining/myBasicTraining",
+			"style": {
+				"navigationBarTitleText": "我的适应性培训"
+			}
+		}, {
+			"path": "pages/basicTraining/basicTrainingDetails/basicTrainingDetails",
+			"style": {
+				"navigationBarTitleText": "在线上课"
+			}
+		}, {
+			"path": "pages/upgrade/upgrade",
+			"style": {
+				"navigationBarTitleText": "学历提升"
+			}
+		}, {
+			"path": "pages/inbuild/inbuild",
+			"style": {
+				"navigationBarTitleText": "建设中"
+			}
+		}, {
+			"path": "pages/recruitment/recruitment",
+			"style": {
+				"navigationStyle": "custom",
+				"navigationBarTitleText": "招聘就业"
+			}
+		}, {
+			"path": "pages/myResume/myResume",
+			"style": {
+				"navigationBarTitleText": "简历",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#2a82e4",
+				"navigationBarTextStyle": "white"
+			}
 
-			}, {
-				"path": "pages/schools/schools",
-				"style": {
-					"navigationBarTitleText": "学院列表"
-				}
-			}, {
-				"path": "pages/skillsTraining/skillsTraining",
-				"style": {
-					"navigationBarTitleText": "技能培训"
-				}
-			}, {
-				"path": "pages/basicTraining/basicTraining",
-				"style": {
-					"navigationBarTitleText": "适应性培训"
-				}
-			}, {
-				"path": "pages/basicTraining/myBasicTraining/myBasicTraining",
-				"style": {
-					"navigationBarTitleText": "我的适应性培训"
-				}
-			}, {
-				"path": "pages/basicTraining/basicTrainingDetails/basicTrainingDetails",
-				"style": {
-					"navigationBarTitleText": "在线上课"
-				}
-			}, {
-				"path": "pages/upgrade/upgrade",
-				"style": {
-					"navigationBarTitleText": "学历提升"
-				}
-			}, {
-				"path": "pages/inbuild/inbuild",
-				"style": {
-					"navigationBarTitleText": "建设中"
-				}
-			}, {
-				"path": "pages/recruitment/recruitment",
-				"style": {
-					"navigationStyle": "custom",
-					"navigationBarTitleText": "招聘就业"
-				}
-			}, {
-				"path": "pages/myResume/myResume",
-				"style": {
-					"navigationBarTitleText": "简历",
-					"enablePullDownRefresh": false,
-					"navigationBarBackgroundColor": "#2a82e4",
-					"navigationBarTextStyle": "white"
-				}
+		}, {
+			"path": "pages/dynamicTracking/dynamicTracking",
+			"style": {
+				"navigationBarTitleText": "全链条动态跟踪",
+				"enablePullDownRefresh": false
+			}
 
-			}, {
-				"path": "pages/dynamicTracking/dynamicTracking",
-				"style": {
-					"navigationBarTitleText": "全链条动态跟踪",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/personalModify/personalModify",
+			"style": {
+				"navigationBarTitleText": "个人资料修改",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#fff"
+			}
 
-			}, {
-				"path": "pages/personalModify/personalModify",
-				"style": {
-					"navigationBarTitleText": "个人资料修改",
-					"enablePullDownRefresh": false,
-					"navigationBarBackgroundColor": "#fff"
-				}
+		}, {
+			"path": "pages/evaluationIntention/evaluationIntention",
+			"style": {
+				"navigationBarTitleText": "求职意向自我评价",
+				"enablePullDownRefresh": false,
+				"navigationStyle": "custom"
+			}
 
-			}, {
-				"path": "pages/evaluationIntention/evaluationIntention",
-				"style": {
-					"navigationBarTitleText": "求职意向自我评价",
-					"enablePullDownRefresh": false,
-					"navigationStyle": "custom"
-				}
+		}, {
+			"path": "pages/myDelivery/myDelivery",
+			"style": {
+				"navigationBarTitleText": "我的投递",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#fff"
+			}
 
-			}, {
-				"path": "pages/myDelivery/myDelivery",
-				"style": {
-					"navigationBarTitleText": "我的投递",
-					"enablePullDownRefresh": false,
-					"navigationBarBackgroundColor": "#fff"
-				}
+		}, {
+			"path": "pages/myInterview/myInterview",
+			"style": {
+				"navigationBarTitleText": "我的面试",
+				"enablePullDownRefresh": false
+			}
 
-			}, {
-				"path": "pages/myInterview/myInterview",
-				"style": {
-					"navigationBarTitleText": "我的面试",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/mySkillsTraining/mySkillsTraining",
+			"style": {
+				"navigationBarTitleText": "我的技能培训",
+				"enablePullDownRefresh": false
+			}
 
-			}, {
-				"path": "pages/mySkillsTraining/mySkillsTraining",
-				"style": {
-					"navigationBarTitleText": "我的技能培训",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/myEvaluation/myEvaluation",
+			"style": {
+				"navigationBarTitleText": "我的评价",
+				"enablePullDownRefresh": false
+			}
 
-			}, {
-				"path": "pages/myEvaluation/myEvaluation",
-				"style": {
-					"navigationBarTitleText": "我的评价",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/setting/setting",
+			"style": {
+				"navigationBarTitleText": "设置",
+				"enablePullDownRefresh": false
+			}
 
-			}, {
-				"path": "pages/setting/setting",
-				"style": {
-					"navigationBarTitleText": "设置",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/progressiveIntegral/progressiveIntegral",
+			"style": {
+				"navigationBarTitleText": "进步积分",
+				"enablePullDownRefresh": false
+			}
 
-			}, {
-				"path": "pages/progressiveIntegral/progressiveIntegral",
-				"style": {
-					"navigationBarTitleText": "进步积分",
-					"enablePullDownRefresh": false
-				}
+		}, {
+			"path": "pages/cooperativeEnterprise/cooperativeEnterprise",
+			"style": {
+				"navigationBarTitleText": "企业列表",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#3D5D4C",
+				"navigationBarTextStyle": "white"
+			}
 
-			}, {
-				"path": "pages/cooperativeEnterprise/cooperativeEnterprise",
-				"style": {
-					"navigationBarTitleText": "企业列表",
-					"enablePullDownRefresh": false,
-					"navigationBarBackgroundColor": "#3D5D4C",
-					"navigationBarTextStyle": "white"
-				}
+		}, {
+			"path": "pages/businessDetails/businessDetails",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#3D5D4C",
+				"navigationBarTextStyle": "white",
+				"backgroundColor": "#f2f2f2"
+			}
+		}, {
+			"path": "pages/jobDetails/jobDetails",
+			"style": {
+				"navigationBarTitleText": "职位详情",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#3D5D4C",
+				"navigationBarTextStyle": "white"
+			}
+		}, {
+			"path": "pages/applyEducationCode/applyEducationCode",
+			"style": {
+				"navigationBarTitleText": "退役军人职业教育码申请",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#3D5D4C",
+				"navigationBarTextStyle": "white"
+			}
 
-			}, {
-				"path": "pages/businessDetails/businessDetails",
-				"style": {
-					"navigationBarTitleText": "",
-					"enablePullDownRefresh": false,
-					"navigationBarBackgroundColor": "#3D5D4C",
-					"navigationBarTextStyle": "white",
-					"backgroundColor": "#f2f2f2"
-				}
-			}, {
-				"path": "pages/jobDetails/jobDetails",
-				"style": {
-					"navigationBarTitleText": "职位详情",
-					"enablePullDownRefresh": false,
-					"navigationBarBackgroundColor": "#3D5D4C",
-					"navigationBarTextStyle": "#FFFFFF"
-				}
-			}
-		],
-		"globalStyle": {
-			"navigationBarTextStyle": "black",
-			"navigationBarTitleText": "uni-app",
-			"navigationBarBackgroundColor": "#F2F2F2",
-			"backgroundColor": "#F2F2F2"
-		},
-		"tabBar": {
-			"color": "#909399",
-			"selectedColor": "#303133",
-			"borderStyle": "black",
-			"backgroundColor": "#ffffff",
-			"list": [{
-				"pagePath": "pages/index/index",
-				"iconPath": "static/icons/index-gray.png",
-				"selectedIconPath": "static/icons/index.png",
-				"text": "首页"
-			}, {
-				"pagePath": "pages/mycode/mycode",
-				"iconPath": "static/icons/code-gray.png",
-				"selectedIconPath": "static/icons/code.png",
-				"text": "退役军人码"
-			}, {
-				"pagePath": "pages/mine/mine",
-				"iconPath": "static/icons/mine-gray.png",
-				"selectedIconPath": "static/icons/mine.png",
-				"text": "我"
-			}]
 		}
+	],
+	"globalStyle": {
+		"navigationBarTextStyle": "black",
+		"navigationBarTitleText": "uni-app",
+		"navigationBarBackgroundColor": "#F2F2F2",
+		"backgroundColor": "#F2F2F2"
+	},
+	"tabBar": {
+		"color": "#909399",
+		"selectedColor": "#303133",
+		"borderStyle": "black",
+		"backgroundColor": "#ffffff",
+		"list": [{
+			"pagePath": "pages/index/index",
+			"iconPath": "static/icons/index-gray.png",
+			"selectedIconPath": "static/icons/index.png",
+			"text": "首页"
+		}, {
+			"pagePath": "pages/mycode/mycode",
+			"iconPath": "static/icons/code-gray.png",
+			"selectedIconPath": "static/icons/code.png",
+			"text": "退役军人码"
+		}, {
+			"pagePath": "pages/mine/mine",
+			"iconPath": "static/icons/mine-gray.png",
+			"selectedIconPath": "static/icons/mine.png",
+			"text": "我"
+		}]
+	}
 }

+ 27 - 0
h5_web/pages/applyEducationCode/applyEducationCode.scss

@@ -0,0 +1,27 @@
+/* 退役军人职业教育码申请 */
+.apply-code {
+	width: calc(100% - 60rpx);
+	margin: 50rpx auto;
+	.pic {
+		display: flex;
+		&-photograph {
+			width: 184rpx;
+			height: 184rpx;
+			border: solid 1px #BABABA;
+			border-radius: 5rpx;
+			display: flex;
+			flex-direction: column;
+			justify-content: center;
+			align-items: center;
+			image {
+				width: 62rpx;
+				height: 48rpx;
+				vertical-align: middle;
+			}
+			.font {
+				color: #4B4B4B;
+				display: inline-block;
+			}
+		}
+	}
+}

+ 78 - 0
h5_web/pages/applyEducationCode/applyEducationCode.vue

@@ -0,0 +1,78 @@
+<!-- 退役军人职业教育码申请 -->
+<template>
+	<view class="apply-code">
+		<u-form :model="form" ref="uForm" label-width="160" label-align="left">
+			<u-form-item label="姓名:" prop="name">
+				<u-input v-model="form.name" placeholder="请输入真实姓名"/>
+			</u-form-item>
+			<u-form-item label="身份证号:" prop="idNumber">
+				<u-input v-model="form.idNumber" placeholder="请输入身份证号"/>
+			</u-form-item>
+			<u-form-item label="性别:" prop="sex">
+				<u-input v-model="form.sex" placeholder="请输入您的性别"/>
+			</u-form-item>
+			<u-form-item label="民族:" prop="national">
+				<u-input v-model="form.national" placeholder="请选择您的民族" type="select"/>
+			</u-form-item>
+			<u-form-item label="联系电话:" prop="phoneNumber">
+				<u-input v-model="form.phoneNumber" placeholder="请输入您的联系电话" maxlength="11"/>
+			</u-form-item>
+			<u-form-item label="QQ:" prop="qqNumber">
+				<u-input v-model="form.qqNumber" placeholder="请输入您的QQ"/>
+			</u-form-item>
+			<u-form-item label="微信:" prop="wxNumber">
+				<u-input v-model="form.wxNumber" placeholder="请输入您的微信"/>
+			</u-form-item>
+			<u-form-item label="文化程度:" prop="national">
+				<u-input v-model="form.national" placeholder="请选择您的文化程度" type="select"/>
+			</u-form-item>
+			<u-form-item label="政治面貌:" prop="national">
+				<u-input v-model="form.national" placeholder="请选择您的政治面貌" type="select"/>
+			</u-form-item>
+			<u-form-item label="户籍地:" prop="national">
+				<u-input v-model="form.national" placeholder="请选择您的户籍地" type="select"/>
+			</u-form-item>
+			<u-form-item label="现家庭详细地址:" label-position="top" label-width="200" label-align="left" prop="national">
+				<u-input v-model="form.national" placeholder="请输入您的现家庭详细地址"/>
+			</u-form-item>
+			<u-form-item label="近期1寸免冠照片:" label-position="top" label-width="200" label-align="left" prop="national">
+				<view class="pic">
+					<u-upload
+						ref="uUpload"
+						action="action"
+						:auto-upload="false"
+					/>
+					<view class="pic-photograph">
+						<image src="../../static/img/paizhao.png" mode=""></image>
+						<view class="font">立即拍照</view>
+					</view>
+				</view>
+			</u-form-item>
+		</u-form>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				form: {
+					name: '',
+					idNumber: '',
+					sex: '',
+					national: '',
+					phoneNumber: '',
+					qqNumber: '',
+					wxNumber: ''
+				}
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+@import './applyEducationCode.scss';
+</style>

+ 1 - 1
h5_web/pages/mine/mine.vue

@@ -13,7 +13,7 @@
 						<view class="user-info-left-attribute">
 							<view class="veterans">
 								<view>退役军人</view>
-								<view class="link">未认证 ></view>
+								<view class="link" @click="jumpPage('/pages/applyEducationCode/applyEducationCode')">未认证></view>
 							</view>
 							<view class="train">
 								<view>适应性培训</view>

+ 26 - 5
h5_web/pages/setting/setting.vue

@@ -1,22 +1,43 @@
+<!-- 设置 -->
 <template>
-	<view>
-		设置
+	<view class="setting">
+		<u-cell-group>
+			<u-cell-item icon="setting-fill" title="退出登录" @click="	logoutModal = true"></u-cell-item>
+		</u-cell-group>
+		<!-- 退出登录提示框 -->
+		<u-modal
+			v-model="logoutModal"
+			width="70%"
+			@confirm="logout" 
+			content="您确认退出登录吗?"
+			:show-cancel-button="true"
+		/>
 	</view>
 </template>
 
 <script>
 	export default {
+		name: 'Setting',
 		data() {
 			return {
-				
+				// 登出提示框
+				logoutModal: false
 			}
 		},
 		methods: {
-			
+			/**
+			 * 退出登录
+			 */
+			logout() {
+				this.$u.vuex('vuex_hasLogin', false);
+				this.$u.vuex('vuex_token', '');
+				this.$u.vuex('vuex_user', '');
+				this.$u.route('/pages/phoneLogin/phoneLogin');
+			}
 		}
 	}
 </script>
 
-<style>
+<style lang="scss" scoped>
 
 </style>

BIN
h5_web/static/img/paizhao.png