Tang 4 سال پیش
والد
کامیت
b26b000f29
4فایلهای تغییر یافته به همراه60 افزوده شده و 84 حذف شده
  1. 1 2
      pages2/course/detail.vue
  2. 3 3
      pages2/recruitment/detailsInfo.vue
  3. 52 75
      pages2/resume/addResume.vue
  4. 4 4
      pages2/wd/info.vue

+ 1 - 2
pages2/course/detail.vue

@@ -16,7 +16,6 @@
 					:vid="vid"
 					:showSettingBtn="true"
 					isAllowSeek="ifViewed"
-					:showPlaybackRateBtn="false"
 					:enablePlayGesture="true"
 					:playbackRate="playbackRate"
 					@statechange="onStateChange"
@@ -254,7 +253,7 @@ import { mapGetters } from 'vuex';
 export default {
 	data() {
 		return {
-			playbackRate: [0.5, 0.8, 1.0, 1.25, 1.5],
+			playbackRate: [0.5, 0.8, 1.0],
 			list: [
 				{
 					name: '课程目录'

+ 3 - 3
pages2/recruitment/detailsInfo.vue

@@ -2,7 +2,7 @@
 	<view>
 		<view class="companyBox">
 			<view class="companyInfo">
-				<view class="imgBoxsList"><image style="width:100%;height: 100%;" src="../../static/rank_bg.png" mode=""></image></view>
+				<view class="imgBoxsList"><image style="width:100%;height: 100%;" :src="$method.splitImgHost(companyArray.logoUrl)" mode=""></image></view>
 				<view class="rigBix">
 					<view class="headerTit">{{ companyArray.companyName }}</view>
 					<view class="tabbaerLists">
@@ -445,12 +445,12 @@ export default {
 	background: #32467b;
 	box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.15);
 	position: fixed;
-	bottom: 17rpx;
+	bottom: 20rpx;
 	left: 50%;
 	transform: translateX(-50%);
 }
 .fotBtnBox {
-	height: 100rpx;
+	height: 120rpx;
 	display: flex;
 	align-items: center;
 	justify-content: center;

+ 52 - 75
pages2/resume/addResume.vue

@@ -78,10 +78,10 @@
 						<u-icon style="margin-left: 27rpx;font-weight: bold;" name="plus-circle" color="#2A4174" size="36" @click="showwork(1)"></u-icon>
 					</view>
 					<view v-if="formTableInfos.workExperienceJson.length">
-						<view class="jslist" v-for="(item, index) in formTableInfos.workExperienceJson" :key="index">
+						<view class="jslist" v-for="(item, index) in formTableInfos.workExperienceJson" :key="index" @click="showwork(0, item, index)">
 							<view class="dis_fjusBtw">
 								<view class="color_b">{{ item.company }}</view>
-								<u-icon style="margin-left: 36rpx;" name="arrow-right" color="#666" size="28" @click="showwork(0, item, index)"></u-icon>
+								<u-icon style="margin-left: 36rpx;" name="arrow-right" color="#666" size="28"></u-icon>
 							</view>
 							<view class="dis_btn">
 								<view class="le_h">{{ item.job }}</view>
@@ -96,12 +96,12 @@
 						<u-icon style="margin-left: 27rpx;font-weight: bold;" name="plus-circle" color="#2A4174" size="36" @click="showItem(1)"></u-icon>
 					</view>
 					<view v-if="formTableInfos.projectExperienceJson.length">
-						<view class="jslist" v-for="(item, index) in formTableInfos.projectExperienceJson" :key="index">
+						<view class="jslist" v-for="(item, index) in formTableInfos.projectExperienceJson" :key="index" @click="showItem(0, item, index)">
 							<view class="dis_fjusBtw">
 								<view class="color_b">{{ item.job }}</view>
 								<view class="">
 									<span class="le_h">{{ item.startTime }} ~ {{ item.endTime }}</span>
-									<u-icon name="arrow-right" color="#666" size="28" @click="showItem(0, item, index)"></u-icon>
+									<u-icon name="arrow-right" color="#666" size="28"></u-icon>
 								</view>
 							</view>
 							<view class="le_h">{{ item.projectDescription }}</view>
@@ -114,10 +114,10 @@
 						<u-icon style="margin-left: 27rpx;font-weight: bold;" name="plus-circle" color="#2A4174" size="36" @click="showEducation(1)"></u-icon>
 					</view>
 					<view v-if="formTableInfos.eduExperienceJson.length">
-						<view class="jslist" v-for="(item, index) in formTableInfos.eduExperienceJson" :key="index">
+						<view class="jslist" v-for="(item, index) in formTableInfos.eduExperienceJson" :key="index" @click="showEducation(0, item, index)">
 							<view class="dis_fjusBtw">
 								<view class="color_b">{{ item.school }}</view>
-								<u-icon style="margin-left: 36rpx;" name="arrow-right" color="#666" size="28" @click="showEducation(0, item, index)"></u-icon>
+								<u-icon style="margin-left: 36rpx;" name="arrow-right" color="#666" size="28"></u-icon>
 							</view>
 							<view class="dis_btn">
 								<view class="le_h">{{ item.edu }} {{ item.Professional }}</view>
@@ -134,21 +134,21 @@
 					<view class="jslist">
 						<view class="le_h" style="margin-top: 34rpx;">建筑资历证书</view>
 						<view v-for="(item, index) in formTableInfos.certificateJson" :key="index">
-							<view class="dis_fjusBtw" style="margin: 15rpx;0rpx" v-if="item.cfType === '0'">
+							<view class="dis_fjusBtw" style="margin: 15rpx;0rpx" v-if="item.cfType === '0'" @click="showCfcation(0, item, index)">
 								<view class="color_b">{{ item.categoryName }}</view>
 								<view class="">
 									<span class="color_b">{{ item.endTime }}</span>
-									<u-icon name="arrow-right" color="#666" size="28" @click="showCfcation(0, item, index)"></u-icon>
+									<u-icon name="arrow-right" color="#666" size="28" ></u-icon>
 								</view>
 							</view>
 						</view>
 						<view class="le_h">非建筑资历证书</view>
 						<view v-for="(item, index) in formTableInfos.certificateJson" :key="index">
-							<view class="dis_fjusBtw" style="margin: 15rpx;0rpx" v-if="item.cfType === '1'">
+							<view class="dis_fjusBtw" style="margin: 15rpx;0rpx" v-if="item.cfType === '1'" @click="showCfcation(0, item, index)">
 								<view class="color_b">{{ item.cfName }}</view>
 								<view class="">
 									<span class="color_b">{{ item.endTime }}</span>
-									<u-icon name="arrow-right" color="#666" size="28" @click="showCfcation(0, item, index)"></u-icon>
+									<u-icon name="arrow-right" color="#666" size="28"></u-icon>
 								</view>
 							</view>
 						</view>
@@ -165,9 +165,9 @@
 							@click="formTableInfos.selfEvaluation ? '' : showMy(1)"
 						></u-icon>
 					</view>
-					<view class="dis_sty" v-if="formTableInfos.selfEvaluation">
+					<view class="dis_sty" v-if="formTableInfos.selfEvaluation" @click="showMy(0)">
 						<view class="le_h srystr" style="margin-top: 15rpx;">{{ formTableInfos.selfEvaluation }}</view>
-						<u-icon name="arrow-right" color="#666" size="28" @click="showMy(0)"></u-icon>
+						<u-icon name="arrow-right" color="#666" size="28"></u-icon>
 					</view>
 				</view>
 				<view class="lis">
@@ -213,7 +213,11 @@
 			</view>
 			<u-popup mode="bottom" v-model="qzYX" border-radius="14">
 				<view class="pad_pg" style="max-height: 95vh;">
-					<view class="hed">求职意向</view>
+					<view class="hed">
+						<view></view>
+						<view>求职意向</view>
+						<u-icon name="close" color="#0c141f" size="32" @click="qzYX = false"></u-icon>
+					</view>
 					<u-form :model="jobIntentionForm" ref="uForm" label-position="top">
 						<u-form-item label="岗位" prop="job"><u-input v-model="jobIntentionForm.job" /></u-form-item>
 						<u-form-item label="薪资类型" prop="index_PriceType">
@@ -254,7 +258,11 @@
 			</u-popup>
 			<u-popup mode="bottom" v-model="qzWorkStatus" border-radius="14">
 				<view class="pad_pg">
-					<view class="hed">工作经历</view>
+					<view class="hed">
+						<view></view>
+						<view>工作经历</view>
+						<u-icon name="close" color="#0c141f" size="32" @click="qzWorkStatus = false"></u-icon>
+					</view>
 					<u-form :model="workJLForm" ref="uForm" label-position="top">
 						<u-form-item label="公司" prop="company"><u-input v-model="workJLForm.company" /></u-form-item>
 						<u-form-item label="岗位" prop="job"><u-input v-model="workJLForm.job" /></u-form-item>
@@ -278,7 +286,11 @@
 			</u-popup>
 			<u-popup mode="bottom" v-model="qzeduStatus" border-radius="14">
 				<view class="pad_pg">
-					<view class="hed">教育经历</view>
+					<view class="hed">
+						<view></view>
+						<view>教育经历</view>
+						<u-icon name="close" color="#0c141f" size="32" @click="qzeduStatus = false"></u-icon>
+					</view>
 					<u-form :model="eduJLForm" ref="uForm" label-position="top">
 						<u-form-item label="学校" prop="company"><u-input v-model="eduJLForm.school" /></u-form-item>
 						<u-form-item label="学历" prop="job">
@@ -307,7 +319,11 @@
 			</u-popup>
 			<u-popup mode="bottom" v-model="qzCfStatus" border-radius="14">
 				<view class="pad_pg">
-					<view class="hed">证书</view>
+					<view class="hed">
+						<view></view>
+						<view>证书</view>
+						<u-icon name="close" color="#0c141f" size="32" @click="qzCfStatus = false"></u-icon>
+					</view>
 					<u-form :model="cfJLForm" ref="uForm" label-position="top">
 						<u-form-item label="证书类型">
 							<picker @change="bindPickerChangeCfType" :value="cfJLForm.cfType" :range="array_cfType">
@@ -349,7 +365,11 @@
 		<u-popup mode="bottom" v-model="qzitemStatus" border-radius="14">
 			<scroll-view scroll-y="true" style="max-height: 98vh;">
 				<view class="pad_pg">
-					<view class="hed">项目经历</view>
+					<view class="hed">
+						<view></view>
+						<view>项目经历</view>
+						<u-icon name="close" color="#0c141f" size="32" @click="qzitemStatus = false"></u-icon>
+					</view>
 					<u-form :model="itemJLForm" ref="uForm" label-position="top">
 						<u-form-item label="岗位" prop="job"><u-input v-model="itemJLForm.job" /></u-form-item>
 						<u-form-item label="项目开始时间" prop="startTime" :label-width="auto">
@@ -377,7 +397,11 @@
 		<u-popup mode="bottom" v-model="qzMyStatus" border-radius="14">
 			<scroll-view scroll-y="true" style="max-height: 98vh;">
 				<view class="pad_pg">
-					<view class="hed">自我介绍</view>
+					<view class="hed">
+						<view></view>
+						<view>自我介绍</view>
+						<u-icon name="close" color="#0c141f" size="32" @click="qzMyStatus = false"></u-icon>
+					</view>
 					<u-input type="textarea" border :height="1000" auto-height :maxlength="1000" v-model="myInfos" placeholder="请输入自我介绍内容" />
 					<view class="btn_fot" @click="submitMy">保存</view>
 				</view>
@@ -433,56 +457,6 @@ export default {
 			array_Arrivaltime: ['随时', '1周内', '1个月内', '3个月内', '待定'],
 			array_eduType: ['小学', '初中', '中专/高中', '专科', '本科', '硕士研究生', '博士研究生'],
 			array_cfType: ['建筑资历证书', '非建筑资历证书'],
-			rules: {
-				job: [
-					{
-						required: true,
-						message: '请输入岗位名称',
-						// 可以单个或者同时写两个触发验证方式
-						trigger: ['change', 'blur']
-					}
-				],
-				index_PriceType: [
-					{
-						required: true,
-						message: '请选择薪资类型',
-						// 可以单个或者同时写两个触发验证方式
-						trigger: ['change']
-					}
-				],
-				wantIncomeEnd: [
-					{
-						required: true,
-						message: '请输入薪资范围',
-						// 可以单个或者同时写两个触发验证方式
-						trigger: ['change', 'blur']
-					}
-				],
-				district: [
-					{
-						required: true,
-						message: '请选择城市',
-						// 可以单个或者同时写两个触发验证方式
-						trigger: ['change']
-					}
-				],
-				index_JobType: [
-					{
-						required: true,
-						message: '请选择工作类型',
-						// 可以单个或者同时写两个触发验证方式
-						trigger: ['change']
-					}
-				],
-				index_Arrivaltime: [
-					{
-						required: true,
-						message: '请选择到岗时间',
-						// 可以单个或者同时写两个触发验证方式
-						trigger: ['change']
-					}
-				]
-			},
 			userInfo: {},
 			userSchool: {},
 			id: null
@@ -503,13 +477,11 @@ export default {
 	computed: { ...mapGetters(['dictObj']) },
 	mounted() {
 		this.getCateList();
-		console.log(this.dictObj,85)
 	},
 	methods: {
 		init(v) {
 			var self = this;
 			this.$api.recruitresumeId(v).then(res => {
-				console.log(res);
 				if (res.data.code === 200) {
 					res.data.data.certificateJson = JSON.parse(res.data.data.certificateJson);
 					res.data.data.eduExperienceJson = JSON.parse(res.data.data.eduExperienceJson);
@@ -649,7 +621,7 @@ export default {
 					wantIncomeEnd: self.formTableInfos.wantIncomeEnd,
 					index_JobType: self.array_JobType.indexOf(self.formTableInfos.jobType),
 					index_Arrivaltime: self.array_Arrivaltime.indexOf(self.formTableInfos.comeWorkTime),
-					index_PriceType: self.formTableInfos.wantIncomeType === 1 ? 0 : 1
+					index_PriceType: Number(self.formTableInfos.wantIncomeType) === 1 ? 0 : 1
 				};
 				this.qzYX = true;
 			}
@@ -673,7 +645,7 @@ export default {
 			this.jobIntentionForm.startYear = e.detail.value;
 		},
 		bindPickerChangePriceType(e) {
-			this.jobIntentionForm.index_PriceType = e.detail.value;
+			this.jobIntentionForm.index_PriceType = Number(e.detail.value);
 		},
 		bindPickerChangeEduType(e) {
 			this.eduJLForm.edu = e.detail.value;
@@ -734,7 +706,7 @@ export default {
 					return
 				}
 			}
-			if(this.jobIntentionForm.wantIncomeEnd < this.jobIntentionForm.wantIncomeStart){
+			if(Number(this.jobIntentionForm.wantIncomeEnd) < Number(this.jobIntentionForm.wantIncomeStart)){
 				
 					uni.showToast({
 						title:'请规范输入薪资范围',
@@ -744,7 +716,7 @@ export default {
 					return
 			}
 			this.formTableInfos.job = this.jobIntentionForm.job;
-			this.formTableInfos.wantIncomeType = this.jobIntentionForm.index_PriceType === 0 ? 1 : 2;
+			this.formTableInfos.wantIncomeType = this.jobIntentionForm.index_PriceType == 0 ? 1 : 2;
 			this.formTableInfos.wantIncomeStart = this.jobIntentionForm.wantIncomeStart;
 			this.formTableInfos.wantIncomeEnd = this.jobIntentionForm.wantIncomeEnd;
 			this.formTableInfos.province = this.jobIntentionForm.province;
@@ -753,7 +725,7 @@ export default {
 			this.formTableInfos.jobType = this.array_JobType[this.jobIntentionForm.index_JobType];
 			this.formTableInfos.comeWorkTime = this.array_Arrivaltime[this.jobIntentionForm.index_Arrivaltime];
 			this.formTableInfos.startYear = this.jobIntentionForm.startYear;
-			console.log(this.formTableInfos.wantIncomeType)
+			console.log(this.jobIntentionForm.index_PriceType)
 			this.qzYX = false;
 		},
 		//保存工作经历
@@ -1184,6 +1156,7 @@ export default {
 						if (asary.code === 200) {
 							resolve(asary.data);
 						} else {
+							uni.hideLoading()
 							uni.showToast({
 								itle: names + '上传失败',
 								icon: 'none'
@@ -1192,6 +1165,7 @@ export default {
 						}
 					},
 					fail: error => {
+						uni.hideLoading()
 						uni.showToast({
 							title: names + '上传报错',
 							icon: 'none'
@@ -1404,6 +1378,9 @@ export default {
 	padding: 32rpx 32rpx 50rpx;
 }
 .hed {
+	display: flex;
+	align-items: center;
+	justify-content: space-between;
 	text-align: center;
 	font-weight: bold;
 	color: #0c141f;

+ 4 - 4
pages2/wd/info.vue

@@ -299,8 +299,8 @@ export default {
 				sex: this.form.sex, //性别
 				telphone: this.form.telphone, //手机号
 				userBirth: this.form.userBirth, //出生日期
-				marry: this.array_marry[this.form.marry], //结婚状态
-				politic: this.array_politic[this.form.politic], //政治面貌
+				marry: this.array_marry[this.index_marry], //结婚状态
+				politic: this.array_politic[this.index_politic], //政治面貌
 				oneInchPhotos: this.form.oneInchPhotos //一寸照
 			};
 			this.$api.appuserInfo(data).then(res => {
@@ -370,11 +370,11 @@ export default {
 			this.form.sex = e.detail.value;
 		},
 		bindPickerChangePolitic(e) {
-			this.form.politic = e.detail.value;
+			this.index_politic = e.detail.value;
 		},
 		bindPickerChangeMarry(e) {
 			console.log(e)
-			this.form.marry = e.detail.value;
+			this.index_marry = e.detail.value;
 		},
 		//城市
 		handleGetRegion2(region) {