12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <template>
- <view class="resume">
- <view class="row">
- <!--个人信息-->
- <view class="top">
- <view class="sm6">
- <view class="name">
- <text>{{ item.name ? item.name : '姓名' }}</text>
- </view>
- <view class="item">年龄:{{ item.age }},性别:{{ item.sex }}</view>
- <view class="item">工作经验:{{ item.experience }}年</view>
- <view class="item">手机号码:{{ item.phone }}</view>
- <view class="item">电子邮箱:{{ item.email }}</view>
- </view>
- <image :src="item.avatar ? ip + item.avatar : '../../../static/ls.jpg'" mode="widthFix" class="tx" v-if="item.avatar"></image>
- </view>
- </view>
- <!--个人优势-->
- <view class="row">
- <view class="label">
- <text class="title">个人优势</text>
- </view>
- <view class="item">{{ item.advantage }}</view>
- </view>
- <!--求职期望-->
- <view class="row">
- <view class="label">
- <text class="title">求职期望</text>
- </view>
- <view class="item">工作城市:{{ item.cityName }}</view>
- <view class="item">意向工作:{{ item.positionName }}</view>
- <view class="item">期望薪资:{{ item.salary }}</view>
- </view>
- <button class="btn" @click="invite()">
- <text class="icon"></text>
- <text>面试邀请</text>
- </button>
- <button class="btn" @click="call()">
- <text class="icon"></text>
- <text>拨打电话</text>
- </button>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- ip: this.http.ip,
- id: '',
- item: {}
- };
- },
- onLoad(e) {
- this.id = e.id;
- this.http.request({
- url: '/app/deliver/detail/' + e.id,
- success: (res) => {
- this.item = res.data.data;
- }
- });
- },
- methods: {
- invite() {
- uni.showModal({
- title: '提示',
- content: '确定发送面试邀请',
- success: (res) => {
- if (res.confirm) {
- this.http.request({
- url: '/app/deliver/invite/' + this.id,
- success: (res) => {
- uni.showToast({ title: '发送成功' });
- }
- });
- }
- }
- });
- },
- call() {
- uni.makePhoneCall({
- phoneNumber: this.item.phone
- });
- }
- }
- };
- </script>
- <style lang="scss"></style>
|