| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- <template>
- <div v-loading="loading" class="info" id="workexp" >
- <div style="border-bottom: 1px solid #ebeef5;">
- <div style="display: flex;justify-content: space-between;justify-items: center;align-items: center">
- <div class="show">
- <h4>
- <a :href="`${info.user.env}/rooter/user/${info.user.uid}`" target="_blank"><span style="color: #2b2f3a;margin: 0px">{{info.user.nickname}}</span>({{info.user.uid}})</a>
- </h4>
- </div>
- <div>
- <span v-if="info.info.status==1" style="color: #409eff">待审核</span>
- <span v-if="info.info.status==2" style="color: #67c23a">已通过</span>
- <span v-if="info.info.status==3" style="color: red">已拒绝</span>
- </div>
- </div>
- </div>
- <div style="border-bottom: 1px solid #ebeef5;">
- <div style="display: flex;justify-content: space-between;justify-items: center;align-items: center">
- <div class="show">
- <h4>
- <span>{{`${info.user_experience.start_time} - ${info.user_experience.end_time || '至今'} ${info.user_experience.company} ${info.user_experience.title}`}}</span>
- </h4>
- <p class="desc">{{info.user_experience.description}}</p>
- </div>
- </div>
- </div>
- <div style="border-bottom: 1px solid #ebeef5;">
- <div class="title">社保证明</div>
- <p class="desc">
- <span v-for="(v,k) in info.info.img_list"><a :href="v" target="_blank">文件{{k+1}}</a> </span>
- </p>
- <p v-if="info.info.memo" class="desc">备注:{{info.info.memo}}</p>
- </div>
- <div style="border-bottom: 1px solid #ebeef5;">
- <div class="title"></div>
- <div>
- <el-radio-group v-model="form.type">
- <el-radio :label="1">通过</el-radio>
- <el-radio :label="2">拒绝</el-radio>
- </el-radio-group>
- </div>
- <div v-if="form.type==2" class="title">拒绝理由</div>
- <div v-if="form.type==2">
- <el-radio-group v-model="form.memo_type" style="display: flex;flex-direction: column">
- <el-radio style="margin-bottom: 10px" :label="1">证明不合规或不清晰</el-radio>
- <el-radio style="margin-bottom: 10px" :label="2">证明无法证明该段工作经历</el-radio>
- <el-radio style="margin-bottom: 10px" :label="3">参保时间和工作时间相差过大</el-radio>
- <el-radio style="margin-bottom: 10px" :label="-1">其它</el-radio>
- </el-radio-group>
- </div>
- <div v-if="form.memo_type==-1">
- <el-input v-model="form.memo_zdy" placeholder="请输入拒绝理由"></el-input>
- </div>
- <div class="title"></div>
- <div>
- <el-button type="primary" @click="submit()" size="small">确认</el-button>
- </div>
- <div class="title"></div>
- </div>
- <div v-if="info.check.uid">
- <div class="title">审核记录:</div>
- <p class="desc">审核人: <a :href="`${info.check.env}/rooter/user/${info.check.uid}`" target="_blank"><span style="color: #2b2f3a;margin: 0px">{{info.check.nickname}}</span>({{info.check.uid}})</a></p>
- <p class="desc">审核时间:{{info.info.checktime}}</p>
- <p class="desc">审核内容:{{info.info.content}}</p>
- </div>
- </div>
- </template>
- <script>
- import { mapState } from "vuex";
- export default {
- data() {
- return {
- img1:{
- url: 'https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png',
- srcList: [
- "https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png",
- ]
- },
- form:{
- memo:"",
- type:1,
- memo_zdy:"",
- memo_type:1,
- },
- info:{
- user:{},
- check:{},
- info:{},
- user_experience:{},
- },
- loading:true,
- };
- },
- components: {
- },
- props: {
- back: {
- type: Object
- }
- },
- async mounted() {
- this.get_info();
- },
- methods: {
- async submit()
- {
- this.loading=true;
- let data=this.form;
- if(data.memo_type==1)
- {
- data.memo="证明不合规或不清晰";
- }
- else if(data.memo_type==2)
- {
- data.memo="证明无法证明该段工作经历";
- }
- else if(data.memo_type==3)
- {
- data.memo="参保时间和工作时间相差过大";
- }
- else if(data.memo_type==-1)
- {
- data.memo=data.memo_zdy;
- }
- data.pro_id=this.back.drawer.id;
- data.id=this.back.drawer.id;
- let res=await this.$post("/uapi/pub/info/user/user_experience_rz/check",data);
- if(res.status==1)
- {
- this.$message.success("审核成功");
- this.get_info();
- this.back.getList(false);
- this.back.get_status();
- }
- this.loading=false;
- },
- async get_info()
- {
- this.loading=true;
- let res=await this.$post("/uapi/pub/info/user/user_experience_rz/info",{id:this.back.drawer.id});
- if(res.status==1)
- {
- this.info=res.data;
- }
- this.loading=false;
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- .info {
- header .el-icon-plus {
- font-size: 18px;
- }
- .title{
- font-size: 16px;
- font-weight: bold;
- margin-bottom: 20px;
- margin-top: 20px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .label{
- width: 150px;
- }
- .desc{
- color: rgba(102, 102, 102, 1);;
- }
- }
- .desc{
- text-overflow: ellipsis;
- line-height:25px;
- margin-bottom: 15px;
- }
- .show {
- word-break: break-all;
- .desc{
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- margin-bottom: 15px;
- }
- &:last-of-type {
- border: 0;
- }
- h4 {
- position: relative;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- height: 44px;
- font-size: 14px;
- font-family: PingFangSC-Medium;
- font-weight: 500;
- color: #308eff;
- line-height: 44px;
- span {
- margin-right: 20px;
- }
- button {
- position: absolute;
- right: 0;
- }
- }
- p {
- margin-top: 8px;
- font-size: 14px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- color: rgba(102, 102, 102, 1);
- line-height: 24px;
- }
- }
- .empty {
- margin: 112px auto 104px;
- font-size: 27px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- text-align: center;
- color: rgba(205, 205, 205, 1);
- line-height: 38px;
- }
- }
- @media screen and (min-width: 960px) {
- }
- </style>
|