<template>
|
<view class="zhuanhuiStauts-box">
|
<view class="zhuanhuiStauts-main">
|
<view class="zhuanhuiStauts-block" v-for="(item,index) in zhuanhuiList" :key="index">
|
<view class="zhuanhuiStauts-time-line">
|
<h1>申请时间:{{item.createTime}}</h1>
|
<u-button class="passBtn">{{item.status == 0 ? '待审核' : item.status == 1 ? '通过' : '拒绝' }}</u-button>
|
</view>
|
<text class="name">姓名:{{item.userName}}</text>
|
<!-- <text class="name">电话:15236598965</text> -->
|
<text class="name">转入工会:{{item.newDeptName}}</text>
|
<view class="zhuanhuiStauts-time-line">
|
<text class="name">转会原因:{{item.content}}</text>
|
<!-- <u-button class="deleteBtn">删除</u-button> -->
|
</view>
|
|
</view>
|
<!-- <view class="zhuanhuiStauts-block">
|
<view class="zhuanhuiStauts-time-line">
|
<h1>申请时间:2020.06.08 10:25:30</h1>
|
<u-button class="passBtn">已同意</u-button>
|
</view>
|
<text class="name">姓名:赵建国</text>
|
<text class="name">电话:15236598965</text>
|
<text class="name">转入工会:某某工会</text>
|
<view class="zhuanhuiStauts-time-line">
|
<text class="name">转会原因:个人原因</text>
|
</view>
|
|
</view> -->
|
</view>
|
</view>
|
</template>
|
|
<script>
|
export default {
|
data() {
|
return {
|
userId:'',
|
zhuanhuiList:[], //list列表
|
}
|
},
|
onLoad(options) {
|
console.log('options',options)
|
this.userId = options.userId
|
},
|
onReady() {
|
this.zhuanhuifindAll()
|
},
|
methods: {
|
zhuanhuifindAll() {
|
this.$u.api.zhuanhuifindAll({userId:this.userId}).then(res => {
|
this.zhuanhuiList = res.obj
|
})
|
}
|
}
|
}
|
</script>
|
|
<style lang="scss" scoped>
|
/deep/ .u-hairline-border::after{
|
border:0px;
|
}
|
/deep/ .u-btn{
|
margin-right: 0px;
|
}
|
page{
|
background-color: #f1f3f5;
|
}
|
.zhuanhuiStauts-main{
|
width: 100%;
|
padding: 0 38rpx;
|
}
|
.zhuanhuiStauts-block{
|
display: flex;
|
flex-direction: column;
|
background-color: #ffffff;
|
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
border-radius: 8rpx;
|
padding: 40rpx;
|
box-sizing: border-box;
|
margin-top: 40rpx;
|
.name{
|
font-size: 28rpx;
|
color: #333333;
|
line-height: 2.4;
|
}
|
}
|
.zhuanhuiStauts-time-line{
|
width: 100%;
|
display: flex;
|
align-items: center;
|
h1{
|
font-size: 24rpx;
|
color: #666666;
|
font-weight: normal;
|
}
|
.passBtn{
|
background-color:rgba(255,78,0,0.14);
|
border-radius: 100rpx;
|
color: #ff4e00;
|
outline:none;
|
}
|
.deleteBtn{
|
background-color:transparent;
|
border-radius: 100rpx;
|
color: #b6b6b6;
|
outline:none;
|
}
|
}
|
</style>
|