Browse Source

上传修改

master
前端-胡立永 2 months ago
parent
commit
216eb4747c
4 changed files with 89 additions and 15 deletions
  1. +1
    -1
      components/list/userList/userItem.vue
  2. +1
    -1
      components/list/workList/workItem.vue
  3. +11
    -1
      pages_order/auth/certification.vue
  4. +76
    -12
      pages_order/work/addResume.vue

+ 1
- 1
components/list/userList/userItem.vue View File

@ -24,7 +24,7 @@
</view> </view>
<view class="right"> <view class="right">
<view class="price" <view class="price"
v-if="item.salaryLow > 1000">
v-if="item.salaryLow >= 1000">
<text> <text>
{{ (item.salaryLow / 1000).toFixed(0) }} {{ (item.salaryLow / 1000).toFixed(0) }}
</text> </text>


+ 1
- 1
components/list/workList/workItem.vue View File

@ -5,7 +5,7 @@
{{ item.title }} {{ item.title }}
</view> </view>
<view class="price" <view class="price"
v-if="item.salaryLow > 1000">
v-if="item.salaryLow >= 1000">
<text> <text>
{{ (item.salaryLow / 1000).toFixed(0) }} {{ (item.salaryLow / 1000).toFixed(0) }}
</text> </text>


+ 11
- 1
pages_order/auth/certification.vue View File

@ -121,8 +121,11 @@
this.$api('getAuthenticationPerson',{}, res =>{ this.$api('getAuthenticationPerson',{}, res =>{
if(res.code == 200){ if(res.code == 200){
this.form = res.result || {}; this.form = res.result || {};
this.fileList = this.form.image ? this.form.image.split(',').map(url => { this.fileList = this.form.image ? this.form.image.split(',').map(url => {
return url
return {
url
}
}) : [] }) : []
} }
}) })
@ -153,6 +156,13 @@
return return
} }
//
delete this.form.createBy
delete this.form.createTime
delete this.form.updateBy
delete this.form.updateTime
delete this.form.userId
this.$api('addAuthenticationPerson',this.form, res =>{ this.$api('addAuthenticationPerson',this.form, res =>{
if(res.code == 200){ if(res.code == 200){
uni.showToast({ uni.showToast({


+ 76
- 12
pages_order/work/addResume.vue View File

@ -16,13 +16,42 @@
<view class="tagList"> <view class="tagList">
<view :class="{act : i == item.index}" <view :class="{act : i == item.index}"
@click="clickTag(item, i)" v-for="(t, i) in item.tag" @click="clickTag(item, i)" v-for="(t, i) in item.tag"
:key="t">
{{ t }}
:key="t.id">
{{ t.name || t.adress }}
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="form-sheet-cell">
<view class="label">
您的年龄
</view>
<input placeholder="请输入年龄"
type="number"
v-model="form.age" />
</view>
<view class="form-sheet-cell">
<view class="label">
您的性别
</view>
<uv-radio-group v-model="form.sex">
<view class="price">
<uv-radio
:customStyle="{margin: '8px'}"
v-for="(item, index) in sexList"
:key="index"
iconSize="30rpx"
size="40rpx"
labelSize="26rpx"
:label="item.name"
:name="item.id">
</uv-radio>
</view>
</uv-radio-group>
</view>
<uv-textarea <uv-textarea
v-model="form.content" v-model="form.content"
count count
@ -40,37 +69,53 @@
</template> </template>
<script> <script>
import { mapState } from 'vuex'
export default { export default {
data() { data() {
return { return {
list: [ list: [
{ {
title: '您希望从事的工种', title: '您希望从事的工种',
tag: ['电工', '焊工', '叉车', '其他'],
tag: [],
index: 0, index: 0,
}, },
{ {
title: '您希望从事的工作区域', title: '您希望从事的工作区域',
tag: ['长沙'],
tag: [],
index: 0, index: 0,
}, },
{ {
title: '您目前所属的年龄段',
tag: ['18岁~35岁', '35岁~45岁', '45岁~50岁', '50岁以上'],
title: '您希望从事的工作性质',
tag: [],
index: 0, index: 0,
}, },
],
form : {
sex : '男',
},
sexList : [
{ {
title: '您希望从事的工作性质',
tag: ['全职', '临时工', ],
index: 0,
name : '男',
},
{
name : '女',
}, },
], ],
form : {}
} }
}, },
computed : {
...mapState(['natureList', 'jobTypeList', 'addressList']),
},
onLoad() {
this.list[0].tag = this.jobTypeList
this.list[1].tag = this.addressList
this.list[2].tag = this.natureList
},
methods: { methods: {
}
clickTag(item, index){
item.index = index
},
},
} }
</script> </script>
@ -110,6 +155,25 @@
} }
} }
.form-sheet-cell{
display: flex;
background-color: #fff;
padding: 20rpx;
align-items: center;
.label{
width: 160rpx;
}
input{
flex: 1;
background-color: rgba($uni-color, 0.1);
padding: 10rpx 20rpx;
border-radius: 10rpx;
}
.right-icon{
margin-left: auto;
}
}
/deep/ .uv-textarea{ /deep/ .uv-textarea{
background-color: rgba($uni-color, 0.1) !important; background-color: rgba($uni-color, 0.1) !important;
min-height: 400rpx; min-height: 400rpx;


Loading…
Cancel
Save