0e80e57.js 2.8 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[52],{515:function(t,e,n){},656:function(t,e,n){"use strict";n(515)},782:function(t,e,n){"use strict";n.r(e);n(18),n(191);var o=n(6),r=(n(30),{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(t){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(t.uid))}}}),l=(n(656),n(4)),component=Object(l.a)(r,(function(){var t=this,e=t._self._c;return e("div",[t._m(0),t._v(" "),t.publishCompanies&&t.publishCompanies.list?e("div",{staticClass:"content"},[e("el-table",{attrs:{data:t.publishCompanies.list,border:""}},[e("el-table-column",{attrs:{className:"clickable",prop:"companyInfo.name",label:"企业名称",width:"400"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",{on:{click:function(e){return t.goRooterUser(n.row)}}},[t._v(t._s(n.row.companyInfo.name))])]}}],null,!1,3247349349)}),t._v(" "),e("el-table-column",{attrs:{prop:"isNewUser",label:"是否新用户",width:"120"},scopedSlots:t._u([{key:"default",fn:function(n){return[n.row.userInfo.isNewUser?e("span",[t._v("是")]):e("span",[t._v("否")])]}}],null,!1,179098675)}),t._v(" "),e("el-table-column",{attrs:{prop:"total",label:"发布岗位总数",width:"160"}}),t._v(" "),e("el-table-column",{attrs:{prop:"totalOpen",label:"开放中",width:"120"}}),t._v(" "),e("el-table-column",{attrs:{prop:"totalOpen",label:"企业会员",width:"120"},scopedSlots:t._u([{key:"default",fn:function(n){return[n.row.userInfo.isVip?e("span",[t._v("是")]):e("span",[t._v("否")])]}}],null,!1,2228375697)}),t._v(" "),e("el-table-column",{attrs:{label:"企业认证",width:"120"},scopedSlots:t._u([{key:"default",fn:function(n){return["2"==n.row.companyInfo.status?e("span",[t._v("是")]):e("span",[t._v("否")])]}}],null,!1,989619892)})],1)],1):t._e(),t._v(" "),e("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._self._c;return t("div",{staticClass:"count-list"},[t("h1",[this._v("发布企业列表")])])}],!1,null,"02d06f4e",null);e.default=component.exports}}]);