ae8f8e6.js 4.5 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[38],{495:function(t,e,r){},636:function(t,e,r){"use strict";r(495)},771:function(t,e,r){"use strict";r.r(e);r(191);var n=r(6),o=(r(30),{components:{experience_check:r(445).a},props:[],data:function(){return{form:{status:1,uid:"",page:0},drawer:{id:0,drawer:!1,direction:"rtl"},total:0,list:[],status:[],loading:!0}},computed:{},mounted:function(){this.get_status(),this.getList(!0)},methods:{check:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:e.drawer.id=t,e.drawer.drawer=!0;case 2:case"end":return r.stop()}}),r)})))()},getList:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.loading=t,r.next=3,e.$post("/uapi/pub/info/user/user_experience_rz/list",e.form);case 3:(n=r.sent)&&1===n.status&&(e.list=n.data.list,e.total=n.data.count),e.loading=!1;case 6:case"end":return r.stop()}}),r)})))()},get_status:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post("/uapi/pub/info/user/user_experience_rz/get_group_status",t.form);case 2:(r=e.sent)&&1===r.status&&(t.status=r.data);case 4:case"end":return e.stop()}}),e)})))()},changePagination:function(t){this.page=t,this.getList(!0)}}}),l=(r(636),r(4)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"container"},[e("div",[e("el-row",[e("el-form",{staticClass:"filter-form",attrs:{inline:!0}},[e("el-row",[e("el-form-item",{staticStyle:{"margin-bottom":"5px"},attrs:{label:"状态"}},[e("el-radio-group",{attrs:{size:"mini"},on:{change:function(e){return t.getList(!0)}},model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},[e("el-radio-button",{attrs:{label:0}},[t._v("全部("+t._s(t.status[0])+")")]),t._v(" "),e("el-radio-button",{attrs:{label:1}},[t._v("待审核("+t._s(t.status[1])+")")]),t._v(" "),e("el-radio-button",{attrs:{label:2}},[t._v("已通过("+t._s(t.status[2])+")")]),t._v(" "),e("el-radio-button",{attrs:{label:3}},[t._v("已拒绝("+t._s(t.status[3])+")")])],1)],1)],1),t._v(" "),e("el-row",[e("el-form-item",{attrs:{"label-width":"40px",label:"uid",prop:"uid"}},[e("el-input",{attrs:{size:"small",placeholder:"请输入uid"},model:{value:t.form.uid,callback:function(e){t.$set(t.form,"uid",e)},expression:"form.uid"}})],1),t._v(" "),e("el-form-item",{attrs:{"label-width":"0"}},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.getList(!0)}}},[t._v("查询")])],1)],1)],1)],1)],1),t._v(" "),e("div",{staticClass:"clear"}),t._v(" "),e("el-table",{attrs:{data:t.list,border:""}},[e("el-table-column",{attrs:{fixed:"left",prop:"uid",label:"开发者"}}),t._v(" "),e("el-table-column",{attrs:{fixed:"left",prop:"addtime",label:"申请时间"}}),t._v(" "),e("el-table-column",{attrs:{fixed:"left",prop:"checktime",label:"审核时间"}}),t._v(" "),e("el-table-column",{attrs:{prop:"version",label:"来源"}}),t._v(" "),e("el-table-column",{attrs:{prop:"status",label:"审核状态"},scopedSlots:t._u([{key:"default",fn:function(r){return[1==r.row.status?e("span",{staticStyle:{color:"#409eff"}},[t._v("待审核")]):t._e(),t._v(" "),2==r.row.status?e("span",{staticStyle:{color:"#67c23a"}},[t._v("已通过")]):t._e(),t._v(" "),3==r.row.status?e("span",{staticStyle:{color:"red"}},[t._v("已拒绝")]):t._e()]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"user_info.mobile",label:"操作",width:"130px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("el-button",{attrs:{type:"text"},on:{click:function(e){return t.check(r.row.id)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),e("div",{staticClass:"mainPageBox"},[e("el-pagination",{attrs:{"page-size":10,total:Number(t.total),layout:"total, prev, pager, next",background:""},on:{"current-change":t.changePagination}})],1),t._v(" "),t.drawer.drawer?e("el-drawer",{attrs:{title:"工作经历审核",wrapperClosable:!1,size:"700px",visible:t.drawer.drawer,direction:t.drawer.direction,"before-close":t.handleClose},on:{"update:visible":function(e){return t.$set(t.drawer,"drawer",e)}}},[e("experience_check",{staticStyle:{padding:"20px"},attrs:{back:this}})],1):t._e()],1)}),[],!1,null,"c26f4e60",null);e.default=component.exports}}]);