122cb9c0663c169aeba5.js 2.4 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[26],{407:function(t,e,n){},454:function(t,e,n){"use strict";var o=n(407);n.n(o).a},501:function(t,e,n){"use strict";n.r(e);n(30);var o=n(3),r={data:function(){return{page:1,publishCompanies:""}},mounted:function(){this.getAuditList()},methods:{getAuditList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,data,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.page,data={page:n},e.next=4,t.$post("/api/admin/recruit/getPublishCompanies",data);case 4:(o=e.sent)&&1===o.status&&(t.publishCompanies=o.data,console.log(t.publishCompanies));case 6:case"end":return e.stop()}}),e)})))()},handleCurrentChange:function(t){this.page=t,this.getAuditList()},goCompany:function(t){window.open(this.$store.state.domainConfig.siteUrl+"/company/".concat(t.uid))},goRooterUser:function(){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(row.uid))}}},l=(n(454),n(2)),component=Object(l.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._m(0),t._v(" "),t.publishCompanies&&t.publishCompanies.list?n("div",{staticClass:"content"},[n("el-table",{attrs:{data:t.publishCompanies.list,border:""}},[n("el-table-column",{attrs:{className:"clickable",prop:"companyInfo.name",label:"企业名称",width:"400"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{on:{click:function(n){return t.goCompany(e.row)}}},[t._v(t._s(e.row.companyInfo.name))])]}}],null,!1,202339298)}),t._v(" "),n("el-table-column",{attrs:{className:"clickable",prop:"userInfo.nickname",label:"昵称",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{on:{click:function(n){return t.goRooterUser(e.row)}}},[t._v(t._s(e.row.userInfo.nickname))])]}}],null,!1,3309567292)}),t._v(" "),n("el-table-column",{attrs:{prop:"total",label:"发布岗位总数",width:"160"}}),t._v(" "),n("el-table-column",{attrs:{prop:"totalOpen",label:"开放中",width:"120"}})],1)],1):t._e(),t._v(" "),n("el-pagination",{staticClass:"order-footer",attrs:{background:"",layout:"prev, pager, next","page-size":20,total:Number(t.publishCompanies.total)},on:{"current-change":t.handleCurrentChange}})],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"count-list"},[e("h1",[this._v("发布企业列表")])])}],!1,null,"c14d9a56",null);e.default=component.exports}}]);