Commit 2f82492e by lishengfu

udpate

parent 1675047a
<template>
<div class="content">
<div class="header">
<div class="tip"></div>
<div class="title">请用“是”或“否”回答下列问题:</div>
</div>
<div class="box">
<div class="item">
<span>是否有传染病、精神病及任何慢性疾病史?</span>
<van-radio-group v-model="radio" direction="horizontal" class="item-radio">
<van-radio name="1" checked-color="#07c160"></van-radio>
<van-radio name="2" checked-color="#07c160"></van-radio>
</van-radio-group>
</div>
<div class="item">
<span>是否与其他公司签订过“竞业禁止协议”?</span>
<van-radio-group v-model="radio" direction="horizontal" class="item-radio">
<van-radio name="1" checked-color="#07c160"></van-radio>
<van-radio name="2" checked-color="#07c160"></van-radio>
</van-radio-group>
</div>
<div class="item">
<span>是否曾因个人行为不检而被其他公司解雇?</span>
<van-radio-group v-model="radio" direction="horizontal" class="item-radio">
<van-radio name="1" checked-color="#07c160"></van-radio>
<van-radio name="2" checked-color="#07c160"></van-radio>
</van-radio-group>
</div>
<div class="item">
<span>是否愿意接受我公司及派至公司一切规章制度?</span>
<van-radio-group v-model="radio" direction="horizontal" class="item-radio">
<van-radio name="1" checked-color="#07c160"></van-radio>
<van-radio name="2" checked-color="#07c160"></van-radio>
</van-radio-group>
</div>
</div>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import { RadioGroup, Radio , Button} from "vant";
import { Component } from "vue-property-decorator";
@Component({
components: {
[RadioGroup.name]: RadioGroup,
[Radio.name]: Radio,
},
data() {
return {
radio: 1
};
}
})
export default class workInfo extends Vue {
}
</script>
<style lang="less" scoped>
.content {
margin-top: 10px;
background: white;
.header {
height: 50px;
display: flex;
align-items: center;
.tip {
width: 3px;
height: 16px;
background: rgba(34, 189, 122, 1);
}
.title {
margin-left: 17px;
font-size: 16px;
font-weight: 500;
color: rgba(61, 64, 71, 1);
}
i {
margin: 0 20px 0 auto;
}
}
.box {
margin: 0 20px;
padding: 12px 0;
border-top: 1px solid #eaeef5;
.item {
margin-top: 20px;
&:first-child {
margin-top: 8px;
}
span {
display: block;
height: 14px;
font-size: 14px;
color: rgba(61, 64, 71, 1);
line-height: 14px;
}
.item-radio {
margin-top: 16px;
.van-radio--horizontal {
margin-right: 60px;
}
}
}
}
}
</style>
\ No newline at end of file
...@@ -3,57 +3,91 @@ ...@@ -3,57 +3,91 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">联系信息</div> <div class="title">联系信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
<span>手机号码</span> <span>手机号码</span>
<label></label> <label>{{obj.contactMobile}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>固定电话</span> <span>固定电话</span>
<label></label> <label>{{obj.contactTelephone}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>紧急联系电话</span> <span>紧急联系电话</span>
<label>福国际大厦A座88层市场推广专员2019-11-22</label> <label>{{obj.contactEmergencyMobile}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>邮政编码</span> <span>邮政编码</span>
<label></label> <label>{{obj.contactPostcode}}</label>
</div>
<div class="item">
<span>婚姻状况</span>
<label></label>
</div> </div>
<div class="item"> <div class="item">
<span>户口所在地</span> <span>户口所在地</span>
<label></label> <label>{{obj.contactCurrentResidence}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>现居住地</span> <span>现居住地</span>
<label></label> <label>{{obj.infoRegisteredResidenceCity}}</label>
</div> </div>
</div> </div>
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '90%' }">
<van-form>
<van-field v-model="username" name="手机号码" label="手机号码" placeholder="请填写手机号码" />
<van-field v-model="phone" name="固定电话" label="固定电话" placeholder="请填写固定电话" />
<van-field v-model="phone" name="紧急联系电话" label="紧急联系电话" placeholder="请填写紧急联系电话" />
<van-field v-model="phone" name="邮政编码" label="邮政编码" placeholder="请填写邮政编码" />
<van-field v-model="phone" name="户口所在地" label="户口所在地" placeholder="请填写户口所在地" />
<van-field v-model="phone" name="现在居住地" label="现在居住地" placeholder="请填写现在居住地" />
<div style="margin: 16px;">
<van-button round block type="info" native-type="submit">保存</van-button>
</div>
</van-form>
</van-popup>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Button,Icon, Popup, Form, Picker, Field } from "vant";
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components: {
// // [Cell.name]: Cell, [Button.name]: Button,
// [Button.name]:Button [Icon.name]: Icon,
// } [Popup.name]: Popup,
[Form.name]: Form,
[Picker.name]: Picker,
[Field.name]: Field
}
}) })
export default class workInfo extends Vue {} export default class contactInfo extends Vue {
private username: string = "";
private phone: string = "";
private obj: object = {};
private show: boolean = false;
created() {
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getContactInfo(params)
.then(res => {
this.obj = res;
})
.catch(error => {});
}
editInfo(): void {
this.show = true;
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -69,6 +103,9 @@ export default class workInfo extends Vue {} ...@@ -69,6 +103,9 @@ export default class workInfo extends Vue {}
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i {
margin: 0 20px 0 auto;
}
} }
.box { .box {
margin: 0 20px; margin: 0 20px;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">教育经历</div> <div class="title">教育经历</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
...@@ -31,21 +32,34 @@ ...@@ -31,21 +32,34 @@
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Icon } from "vant";
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components: {
// // [Cell.name]: Cell, [Icon.name]: Icon
// [Button.name]:Button }
// }
}) })
export default class workInfo extends Vue {} export default class eduExperience extends Vue {
obj: object = {};
created() {
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getEduExperience(params)
.then(res => {
// console.log("res=" + JSON.stringify(res));
this.obj = res;
})
.catch(error => {});
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -61,6 +75,9 @@ export default class workInfo extends Vue {} ...@@ -61,6 +75,9 @@ export default class workInfo extends Vue {}
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i {
margin: 0 20px 0 auto;
}
} }
.box { .box {
margin: 0 20px; margin: 0 20px;
......
...@@ -3,61 +3,84 @@ ...@@ -3,61 +3,84 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">个人信息</div> <div class="title">个人信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" @click="editInfo" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
<span>出生地</span> <span>出生地</span>
<label></label> <label>{{obj.infoBirthCity}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>民族</span> <span>民族</span>
<label></label> <label>{{obj.infoNation}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>政治面貌</span> <span>政治面貌</span>
<label>福国际大厦A座88层市场推广专员2019-11-22</label> <label>{{obj.infoPoliticalStatus}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>最高学历</span> <span>最高学历</span>
<label></label> <label>{{obj.infoHighestEducation}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>婚姻状况</span> <span>婚姻状况</span>
<label></label> <label>{{obj.infoMaritalStatus}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>生育状况</span> <span>生育状况</span>
<label></label> <label>{{obj.infoMaternityStatus}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>档案所在地</span> <span>档案所在地</span>
<label></label> <label>{{obj.infoFileLocation}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>开始工作时间</span> <span>开始工作时间</span>
<label></label> <label>{{obj.infoWorkStartDate}}</label>
</div> </div>
</div> </div>
<van-popup v-model="show" position="right" :style="{ height: '100%',width: '90%' }">
<!-- 出生地 -->
<!-- <select-info :title="list.title" :value="list.value" /> -->
</van-popup>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Icon, Popup } from "vant";
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components: {
// // [Cell.name]: Cell, [Icon.name]: Icon,
// [Button.name]:Button [Popup.name]: Popup,
// } }
}) })
export default class workInfo extends Vue {} export default class personInfo extends Vue {
private obj: object = {};
private show: boolean = false;
created() {
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getPersonInfo(params)
.then(res => {
this.obj = res;
})
.catch(error => {});
}
editInfo(): void {
this.show = true;
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -73,6 +96,9 @@ export default class workInfo extends Vue {} ...@@ -73,6 +96,9 @@ export default class workInfo extends Vue {}
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i {
margin: 0 20px 0 auto;
}
} }
.box { .box {
margin: 0 20px; margin: 0 20px;
......
<!--个人信息选择组件-->
<template>
<div>
<van-form>
<van-field
readonly
clickable
name="picker"
:value="value"
label="出生地"
placeholder="点击选择出生地"
@click="showPicker = true"
/>
<van-popup v-model="showPicker" position="bottom">
<van-picker
show-toolbar
:columns="columns"
@confirm="onConfirm"
@cancel="showPicker = false"
/>
</van-popup>
</van-form>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import { Popup, Form, Picker, Field } from "vant";
import { Component } from "vue-property-decorator";
@Component({
components: {
[Popup.name]: Popup,
[Form.name]: Form,
[Picker.name]: Picker,
[Field.name]: Field
}
})
export default class personInfo extends Vue {
private obj: object = {};
private show: boolean = false;
private value: string = "";
private showPicker: boolean = false;
private columns: any = ["杭州", "宁波", "温州", "嘉兴", "湖州"];
onConfirm(value: string): void {
this.value = value;
this.showPicker = false;
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
...@@ -2,36 +2,37 @@ ...@@ -2,36 +2,37 @@
<div class="content"> <div class="content">
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">个人信息</div> <div class="title">社保信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
<span>户口性质</span> <span>户口性质</span>
<label></label> <label>{{obj.infoRegisteredResidence}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>前期社保状态</span> <span>前期社保状态</span>
<label></label> <label>{{obj.unitPreSocialStatus}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>前期缴费种类</span> <span>前期缴费种类</span>
<label></label> <label>{{obj.unitPrePaymentType}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>原社保缴纳省市</span> <span>原社保缴纳省市</span>
<label></label> <label>{{obj.unitPreSocialCity}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>原社保缴纳单位</span> <span>原社保缴纳单位</span>
<label></label> <label>{{obj.unitPreSocialUnit}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>与原单位关系</span> <span>与原单位关系</span>
<label></label> <label>{{obj.unitRelationUnit}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>前期就业状态</span> <span>前期就业状态</span>
<label></label> <label>{{obj.unitPreEmploymentStatus}}</label>
</div> </div>
</div> </div>
</div> </div>
...@@ -39,21 +40,34 @@ ...@@ -39,21 +40,34 @@
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Icon } from 'vant';
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components:{
// // [Cell.name]: Cell, [Icon.name]: Icon
// [Button.name]:Button }
// }
}) })
export default class workInfo extends Vue {} export default class socialInfo extends Vue {
private obj:object={}
created(){
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getSocialInfo(params).then(res=>{
// console.log("res="+JSON.stringify(res))
this.obj=res;
}).catch(error=>{
})
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -69,6 +83,9 @@ export default class workInfo extends Vue {} ...@@ -69,6 +83,9 @@ export default class workInfo extends Vue {}
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i {
margin: 0 20px 0 auto;
}
} }
.box { .box {
margin: 0 20px; margin: 0 20px;
......
...@@ -3,19 +3,20 @@ ...@@ -3,19 +3,20 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">技术特长</div> <div class="title">技术特长</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
<span>技术特长</span> <span>技术特长</span>
<label></label> <label>{{obj.expertiseTechnologySpecialty}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>技术职称</span> <span>技术职称</span>
<label></label> <label>{{obj.expertiseTechnologyTitle}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>资格证书</span> <span>资格证书</span>
<label>福国际大厦A座88层市场推广专员2019-11-22</label> <label>{{obj.expertiseQualification}}</label>
</div> </div>
</div> </div>
</div> </div>
...@@ -23,21 +24,33 @@ ...@@ -23,21 +24,33 @@
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Icon } from 'vant';
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components:{
// // [Cell.name]: Cell, [Icon.name]: Icon
// [Button.name]:Button }
// }
}) })
export default class workInfo extends Vue {} export default class technologyExperience extends Vue {
private obj:object={}
created(){
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getTechnologyExperience(params).then(res=>{
this.obj=res;
}).catch(error=>{
})
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
......
...@@ -3,23 +3,24 @@ ...@@ -3,23 +3,24 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">工资卡信息</div> <div class="title">工资卡信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
<span>账户姓名</span> <span>账户姓名</span>
<label></label> <label>{{obj.bankAccount}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>银行名称</span> <span>银行名称</span>
<label></label> <label>{{obj.bankName}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>开户行</span> <span>开户行</span>
<label>福国际大厦A座88层市场推广专员2019-11-22</label> <label>{{obj.bankOpen}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>银行卡号</span> <span>银行卡号</span>
<label></label> <label>{{obj.bankNo}}</label>
</div> </div>
</div> </div>
</div> </div>
...@@ -27,21 +28,34 @@ ...@@ -27,21 +28,34 @@
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Icon } from "vant";
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components: {
// // [Cell.name]: Cell, [Icon.name]: Icon
// [Button.name]:Button }
// }
}) })
export default class workInfo extends Vue {} export default class wageCardInfo extends Vue {
obj: object = {};
created() {
let params = {
edId: this.$route.query.ed_id
};
this.$server.EmployeeService.getWageCardInfo(params)
.then(res => {
// console.log("res=" + JSON.stringify(res));
this.obj = res;
})
.catch(error => {});
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -57,6 +71,9 @@ export default class workInfo extends Vue {} ...@@ -57,6 +71,9 @@ export default class workInfo extends Vue {}
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i {
margin: 0 20px 0 auto;
}
} }
.box { .box {
margin: 0 20px; margin: 0 20px;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">工作经历</div> <div class="title">工作经历</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
...@@ -31,21 +32,35 @@ ...@@ -31,21 +32,35 @@
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
// import { Button } from 'vant'; import { Icon } from 'vant';
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
// components:{ components:{
// // [Cell.name]: Cell, [Icon.name]: Icon
// [Button.name]:Button }
// }
}) })
export default class workInfo extends Vue {} export default class workExperience extends Vue {
obj: object = {};
created() {
let params = {
edId: this.$route.query.ed_id
};
// this.$server.EmployeeService.(params)
// .then(res => {
// console.log("res=" + JSON.stringify(res));
// this.obj = res;
// })
// .catch(error => {});
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -61,6 +76,9 @@ export default class workInfo extends Vue {} ...@@ -61,6 +76,9 @@ export default class workInfo extends Vue {}
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i {
margin: 0 20px 0 auto;
}
} }
.box { .box {
margin: 0 20px; margin: 0 20px;
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<div class="header"> <div class="header">
<div class="tip"></div> <div class="tip"></div>
<div class="title">工作信息</div> <div class="title">工作信息</div>
<van-icon size="14px" color="#E1E4EB" name="arrow" />
</div> </div>
<div class="box"> <div class="box">
<div class="item"> <div class="item">
...@@ -16,15 +15,15 @@ ...@@ -16,15 +15,15 @@
</div> </div>
<div class="item"> <div class="item">
<span>工作地点</span> <span>工作地点</span>
<label>福国际大厦A座88层市场推广专员2019-11-22</label> <label></label>
</div> </div>
<div class="item"> <div class="item">
<span>工作职位</span> <span>工作职位</span>
<label></label> <label>{{obj.position}}</label>
</div> </div>
<div class="item"> <div class="item">
<span>入职时间</span> <span>入职时间</span>
<label></label> <label>{{obj.workStartDate}}</label>
</div> </div>
</div> </div>
</div> </div>
...@@ -32,22 +31,26 @@ ...@@ -32,22 +31,26 @@
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
import { Icon } from 'vant'; import { Icon } from "vant";
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
@Component({ @Component({
components:{ components: {
[Icon.name]: Icon [Icon.name]: Icon
} }
}) })
export default class workInfo extends Vue { export default class workInfo extends Vue {
obj:object={}
created() { created() {
let params = { let params = {
edId: 1 edId: this.$route.query.ed_id
}; };
this.$server.EmployeeService.getWorkInfoDetail(params).then(res => { this.$server.EmployeeService.getWorkInfoDetail(params).then(res => {
// console.log(res); console.log("res="+JSON.stringify(res))
}); this.obj=res
}).catch(error=>{
})
} }
} }
</script> </script>
...@@ -55,6 +58,7 @@ export default class workInfo extends Vue { ...@@ -55,6 +58,7 @@ export default class workInfo extends Vue {
<style lang="less" scoped> <style lang="less" scoped>
.content { .content {
margin-top: 10px; margin-top: 10px;
background: white;
.header { .header {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -70,7 +74,7 @@ export default class workInfo extends Vue { ...@@ -70,7 +74,7 @@ export default class workInfo extends Vue {
font-weight: 500; font-weight: 500;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
} }
i{ i {
margin: 0 20px 0 auto; margin: 0 20px 0 auto;
} }
} }
......
...@@ -4,11 +4,11 @@ import router from './router' ...@@ -4,11 +4,11 @@ import router from './router'
import store from './store' import store from './store'
import 'amfe-flexible/index.js' import 'amfe-flexible/index.js'
import server from '@/services/install' import server from '@/services/install'
import FastClick from 'fastclick' // import FastClick from 'fastclick'
import '@/assets/css/index.less' import '@/assets/css/index.less'
Vue.config.productionTip = false; Vue.config.productionTip = false;
FastClick.attach(document.body); // FastClick.attach(document.body);
Vue.use(server) Vue.use(server)
new Vue({ new Vue({
......
...@@ -143,7 +143,7 @@ class EmployeeService implements EmployeeInterface { ...@@ -143,7 +143,7 @@ class EmployeeService implements EmployeeInterface {
* @param params 请求参数 * @param params 请求参数
*/ */
public getWageCardInfo(params: any): Promise<any> { public getWageCardInfo(params: any): Promise<any> {
let url = urls.employeeUrl + `/api/user/contact/${params.edId}/salary/card/info`; let url = urls.employeeUrl + `/api/user/employee/${params.edId}/salary/card/info`;
return request.get(url, params, this.header) return request.get(url, params, this.header)
} }
......
<template> <template>
<div> <div class="main">
<work-info /> <work-info />
<person-info /> <person-info />
<contact-info /> <contact-info />
...@@ -8,20 +8,26 @@ ...@@ -8,20 +8,26 @@
<edu-experience /> <edu-experience />
<work-experience /> <work-experience />
<teachnology-experience /> <teachnology-experience />
<archive-question />
<div class="saveBtn">
<van-button type="primary" block>提交信息</van-button>
</div>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
import { Button} from "vant";
import { Component } from "vue-property-decorator"; import { Component } from "vue-property-decorator";
import workInfo from "@/components/archives/workInfo.vue"; import workInfo from "@/components/archives/workInfo.vue";
import personInfo from "@/components/archives/personInfo.vue"; import personInfo from "@/components/archives/personInfo.vue";
import contactInfo from "@/components/archives/contactInfo.vue"; import contactInfo from "@/components/archives/contactInfo.vue";
import socialInfo from "@/components/archives/socialInfo.vue"; import socialInfo from "@/components/archives/socialInfo.vue";
import wageCardInfo from "@/components/archives/wageCardInfo.vue"; import wageCardInfo from "@/components/archives/wageCardInfo.vue";
import eduExperience from "@/components/archives/eduExperience.vue" import eduExperience from "@/components/archives/eduExperience.vue";
import workExperience from "@/components/archives/workExperience.vue" import workExperience from "@/components/archives/workExperience.vue";
import teachnologyExperience from "@/components/archives/technologyExperience.vue" import teachnologyExperience from "@/components/archives/technologyExperience.vue";
import archiveQuestion from "@/components/archives/archiveQuestion.vue";
@Component({ @Component({
name: "Archives", name: "Archives",
...@@ -33,11 +39,21 @@ import teachnologyExperience from "@/components/archives/technologyExperience.vu ...@@ -33,11 +39,21 @@ import teachnologyExperience from "@/components/archives/technologyExperience.vu
wageCardInfo, wageCardInfo,
eduExperience, eduExperience,
workExperience, workExperience,
teachnologyExperience teachnologyExperience,
archiveQuestion,
[Button.name]: Button
} }
}) })
export default class archives extends Vue {} export default class archives extends Vue {}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.main {
background: #f5f7fa;
.saveBtn{
margin-top: 10px;
color: white !important;
font-size: 18px;
}
}
</style> </style>
\ No newline at end of file
<template> <template>
<div class="main main-company" id="main_company"> <div class="main main-company" id="main_company">
<div class="company-item-box"> <div class="company-item-box">
<p class="company-name" coId="id">full_name</p> <p class="company-name" coId="id"></p>
<img src="../assets/images/right_arrow.png" alt="进入派遣公司" title="进入派遣公司" /> <img src="../assets/images/right_arrow.png" alt="进入派遣公司" title="进入派遣公司" />
</div> </div>
</div> </div>
</template> </template>
<script>
<script lang="ts">
import "../assets/css/labor.css"; import "../assets/css/labor.css";
export default {}; import Vue from "vue";
import { Icon } from 'vant';
import { Component } from "vue-property-decorator";
@Component({
components:{
[Icon.name]: Icon
}
})
export default class workInfo extends Vue {
created() {
let params = {
idNo: this.$route.query.idNo
};
this.$server.EmployeeService.getDispatchList(params).then(res => {
console.log(res);
});
}
}
</script> </script>
<style lang="less"> <style lang="less">
......
...@@ -80,12 +80,21 @@ export default class Index extends Vue { ...@@ -80,12 +80,21 @@ export default class Index extends Vue {
private position: string = ""; private position: string = "";
private entry_date: string = ""; private entry_date: string = "";
private id_no: string = ""; private id_no: string = "";
private ed_id: string = ""; private ed_id: string = "8";
created() { created() {
const id_no = this.$route.query.id_no as string; const id_no = this.$route.query.id_no as string;
this.id_no = window.atob(encodeURI(id_no)); this.id_no = window.atob(encodeURI(id_no));
let params={
spId:1,
idNo:this.$route.query.id_no
}
this.$server.EmployeeService.getDispatchInfo(params).then(res=>{
console.log(res)
}).catch(error=>{
console.log(error)
})
} }
} }
</script> </script>
......
...@@ -39,6 +39,7 @@ export default class SelectIdentity extends Vue { ...@@ -39,6 +39,7 @@ export default class SelectIdentity extends Vue {
private toIndex(): void { private toIndex(): void {
this.$router.push({ name: "Index", query: { id_no: this.id_no } }); this.$router.push({ name: "Index", query: { id_no: this.id_no } });
// this.$router.push({ name: "ChooseCompany", query: { id_no: this.id_no } });
} }
async created() { async created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment