experience_check.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <template>
  2. <div v-loading="loading" class="info" id="workexp" >
  3. <div style="border-bottom: 1px solid #ebeef5;">
  4. <div style="display: flex;justify-content: space-between;justify-items: center;align-items: center">
  5. <div class="show">
  6. <h4>
  7. <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>
  8. </h4>
  9. </div>
  10. <div>
  11. <span v-if="info.info.status==1" style="color: #409eff">待审核</span>
  12. <span v-if="info.info.status==2" style="color: #67c23a">已通过</span>
  13. <span v-if="info.info.status==3" style="color: red">已拒绝</span>
  14. </div>
  15. </div>
  16. </div>
  17. <div style="border-bottom: 1px solid #ebeef5;">
  18. <div style="display: flex;justify-content: space-between;justify-items: center;align-items: center">
  19. <div class="show">
  20. <h4>
  21. <span>{{`${info.user_experience.start_time} - ${info.user_experience.end_time || '至今'} ${info.user_experience.company} ${info.user_experience.title}`}}</span>
  22. </h4>
  23. <p class="desc">{{info.user_experience.description}}</p>
  24. </div>
  25. </div>
  26. </div>
  27. <div style="border-bottom: 1px solid #ebeef5;">
  28. <div class="title">社保证明</div>
  29. <p class="desc">
  30. <span v-for="(v,k) in info.info.img_list"><a :href="v" target="_blank">文件{{k+1}}</a>&nbsp;&nbsp;</span>
  31. </p>
  32. <p v-if="info.info.memo" class="desc">备注:{{info.info.memo}}</p>
  33. </div>
  34. <div style="border-bottom: 1px solid #ebeef5;">
  35. <div class="title"></div>
  36. <div>
  37. <el-radio-group v-model="form.type">
  38. <el-radio :label="1">通过</el-radio>
  39. <el-radio :label="2">拒绝</el-radio>
  40. </el-radio-group>
  41. </div>
  42. <div v-if="form.type==2" class="title">拒绝理由</div>
  43. <div v-if="form.type==2">
  44. <el-radio-group v-model="form.memo_type" style="display: flex;flex-direction: column">
  45. <el-radio style="margin-bottom: 10px" :label="1">证明不合规或不清晰</el-radio>
  46. <el-radio style="margin-bottom: 10px" :label="2">证明无法证明该段工作经历</el-radio>
  47. <el-radio style="margin-bottom: 10px" :label="3">参保时间和工作时间相差过大</el-radio>
  48. <el-radio style="margin-bottom: 10px" :label="-1">其它</el-radio>
  49. </el-radio-group>
  50. </div>
  51. <div v-if="form.memo_type==-1">
  52. <el-input v-model="form.memo_zdy" placeholder="请输入拒绝理由"></el-input>
  53. </div>
  54. <div class="title"></div>
  55. <div>
  56. <el-button type="primary" @click="submit()" size="small">确认</el-button>
  57. </div>
  58. <div class="title"></div>
  59. </div>
  60. <div v-if="info.check.uid">
  61. <div class="title">审核记录:</div>
  62. <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>
  63. <p class="desc">审核时间:{{info.info.checktime}}</p>
  64. <p class="desc">审核内容:{{info.info.content}}</p>
  65. </div>
  66. </div>
  67. </template>
  68. <script>
  69. import { mapState } from "vuex";
  70. export default {
  71. data() {
  72. return {
  73. img1:{
  74. url: 'https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png',
  75. srcList: [
  76. "https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png",
  77. ]
  78. },
  79. form:{
  80. memo:"",
  81. type:1,
  82. memo_zdy:"",
  83. memo_type:1,
  84. },
  85. info:{
  86. user:{},
  87. check:{},
  88. info:{},
  89. user_experience:{},
  90. },
  91. loading:true,
  92. };
  93. },
  94. components: {
  95. },
  96. props: {
  97. back: {
  98. type: Object
  99. }
  100. },
  101. async mounted() {
  102. this.get_info();
  103. },
  104. methods: {
  105. async submit()
  106. {
  107. this.loading=true;
  108. let data=this.form;
  109. if(data.memo_type==1)
  110. {
  111. data.memo="证明不合规或不清晰";
  112. }
  113. else if(data.memo_type==2)
  114. {
  115. data.memo="证明无法证明该段工作经历";
  116. }
  117. else if(data.memo_type==3)
  118. {
  119. data.memo="参保时间和工作时间相差过大";
  120. }
  121. else if(data.memo_type==-1)
  122. {
  123. data.memo=data.memo_zdy;
  124. }
  125. data.pro_id=this.back.drawer.id;
  126. data.id=this.back.drawer.id;
  127. let res=await this.$post("/uapi/pub/info/user/user_experience_rz/check",data);
  128. if(res.status==1)
  129. {
  130. this.$message.success("审核成功");
  131. this.get_info();
  132. this.back.getList(false);
  133. this.back.get_status();
  134. }
  135. this.loading=false;
  136. },
  137. async get_info()
  138. {
  139. this.loading=true;
  140. let res=await this.$post("/uapi/pub/info/user/user_experience_rz/info",{id:this.back.drawer.id});
  141. if(res.status==1)
  142. {
  143. this.info=res.data;
  144. }
  145. this.loading=false;
  146. }
  147. }
  148. };
  149. </script>
  150. <style lang="scss" scoped>
  151. .info {
  152. header .el-icon-plus {
  153. font-size: 18px;
  154. }
  155. .title{
  156. font-size: 16px;
  157. font-weight: bold;
  158. margin-bottom: 20px;
  159. margin-top: 20px;
  160. display: flex;
  161. align-items: center;
  162. justify-content: space-between;
  163. .label{
  164. width: 150px;
  165. }
  166. .desc{
  167. color: rgba(102, 102, 102, 1);;
  168. }
  169. }
  170. .desc{
  171. text-overflow: ellipsis;
  172. line-height:25px;
  173. margin-bottom: 15px;
  174. }
  175. .show {
  176. word-break: break-all;
  177. .desc{
  178. text-overflow: ellipsis;
  179. display: -webkit-box;
  180. -webkit-box-orient: vertical;
  181. overflow: hidden;
  182. margin-bottom: 15px;
  183. }
  184. &:last-of-type {
  185. border: 0;
  186. }
  187. h4 {
  188. position: relative;
  189. display: flex;
  190. justify-content: flex-start;
  191. align-items: center;
  192. height: 44px;
  193. font-size: 14px;
  194. font-family: PingFangSC-Medium;
  195. font-weight: 500;
  196. color: #308eff;
  197. line-height: 44px;
  198. span {
  199. margin-right: 20px;
  200. }
  201. button {
  202. position: absolute;
  203. right: 0;
  204. }
  205. }
  206. p {
  207. margin-top: 8px;
  208. font-size: 14px;
  209. font-family: PingFangSC-Regular;
  210. font-weight: 400;
  211. color: rgba(102, 102, 102, 1);
  212. line-height: 24px;
  213. }
  214. }
  215. .empty {
  216. margin: 112px auto 104px;
  217. font-size: 27px;
  218. font-family: PingFangSC-Regular;
  219. font-weight: 400;
  220. text-align: center;
  221. color: rgba(205, 205, 205, 1);
  222. line-height: 38px;
  223. }
  224. }
  225. @media screen and (min-width: 960px) {
  226. }
  227. </style>