education_check.vue 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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_education.start_time} - ${info.user_education.end_time || '至今'} ${info.user_education.university} ${info.user_education.major}`}}</span>
  22. </h4>
  23. <p class="desc">{{info.user_education.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">验证码:{{info.info.yzm}}</p>
  30. <p class="desc">学历链接:<a :href="info.info.link" target="_blank">{{info.info.link}}</a></p>
  31. <p class="desc">备注:{{info.info.memo}}</p>
  32. </div>
  33. <div style="border-bottom: 1px solid #ebeef5;">
  34. <div class="title"></div>
  35. <div>
  36. <el-radio-group v-model="form.type">
  37. <el-radio :label="1">通过</el-radio>
  38. <el-radio :label="2">拒绝</el-radio>
  39. </el-radio-group>
  40. </div>
  41. <div v-if="form.type==2" class="title">拒绝理由</div>
  42. <div v-if="form.type==2">
  43. <el-input v-model="form.memo" placeholder="请输入拒绝理由"></el-input>
  44. </div>
  45. <div class="title"></div>
  46. <div>
  47. <el-button type="primary" @click="submit()" size="small">确认</el-button>
  48. </div>
  49. <div class="title"></div>
  50. </div>
  51. <div v-if="info.check.uid">
  52. <div class="title">审核记录:</div>
  53. <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>
  54. <p class="desc">审核时间:{{info.info.checktime}}</p>
  55. <p class="desc">审核内容:{{info.info.content}}</p>
  56. </div>
  57. </div>
  58. </template>
  59. <script>
  60. import { mapState } from "vuex";
  61. export default {
  62. data() {
  63. return {
  64. img1:{
  65. url: 'https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png',
  66. srcList: [
  67. "https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png",
  68. ]
  69. },
  70. form:{
  71. memo:"",
  72. type:1,
  73. },
  74. info:{
  75. user:{},
  76. check:{},
  77. info:{},
  78. user_education:{},
  79. },
  80. loading:true,
  81. };
  82. },
  83. components: {
  84. },
  85. props: {
  86. back: {
  87. type: Object
  88. }
  89. },
  90. async mounted() {
  91. this.get_info();
  92. },
  93. methods: {
  94. async submit()
  95. {
  96. this.loading=true;
  97. let data=this.form;
  98. data.pro_id=this.back.drawer.id;
  99. data.id=this.back.drawer.id;
  100. let res=await this.$post("/uapi/pub/info/user/user_education_rz/check",data);
  101. if(res.status==1)
  102. {
  103. this.$message.success("审核成功");
  104. this.get_info();
  105. this.back.getList(false);
  106. this.back.get_status();
  107. }
  108. this.loading=false;
  109. },
  110. async get_info()
  111. {
  112. this.loading=true;
  113. let res=await this.$post("/uapi/pub/info/user/user_education_rz/info",{id:this.back.drawer.id});
  114. if(res.status==1)
  115. {
  116. this.info=res.data;
  117. }
  118. this.loading=false;
  119. }
  120. }
  121. };
  122. </script>
  123. <style lang="scss" scoped>
  124. .info {
  125. header .el-icon-plus {
  126. font-size: 18px;
  127. }
  128. .title{
  129. font-size: 16px;
  130. font-weight: bold;
  131. margin-bottom: 20px;
  132. margin-top: 20px;
  133. display: flex;
  134. align-items: center;
  135. justify-content: space-between;
  136. .label{
  137. width: 150px;
  138. }
  139. .desc{
  140. color: rgba(102, 102, 102, 1);;
  141. }
  142. }
  143. .desc{
  144. text-overflow: ellipsis;
  145. line-height:25px;
  146. margin-bottom: 15px;
  147. }
  148. .show {
  149. word-break: break-all;
  150. .desc{
  151. text-overflow: ellipsis;
  152. display: -webkit-box;
  153. -webkit-box-orient: vertical;
  154. overflow: hidden;
  155. margin-bottom: 15px;
  156. }
  157. &:last-of-type {
  158. border: 0;
  159. }
  160. h4 {
  161. position: relative;
  162. display: flex;
  163. justify-content: flex-start;
  164. align-items: center;
  165. height: 44px;
  166. font-size: 14px;
  167. font-family: PingFangSC-Medium;
  168. font-weight: 500;
  169. color: #308eff;
  170. line-height: 44px;
  171. span {
  172. margin-right: 20px;
  173. }
  174. button {
  175. position: absolute;
  176. right: 0;
  177. }
  178. }
  179. p {
  180. margin-top: 8px;
  181. font-size: 14px;
  182. font-family: PingFangSC-Regular;
  183. font-weight: 400;
  184. color: rgba(102, 102, 102, 1);
  185. line-height: 24px;
  186. }
  187. }
  188. .empty {
  189. margin: 112px auto 104px;
  190. font-size: 27px;
  191. font-family: PingFangSC-Regular;
  192. font-weight: 400;
  193. text-align: center;
  194. color: rgba(205, 205, 205, 1);
  195. line-height: 38px;
  196. }
  197. }
  198. @media screen and (min-width: 960px) {
  199. }
  200. </style>