chunk-2f459f78.70fa999a.js 6.5 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f459f78"],{"11e9":function(t,e,n){var r=n("52a7"),a=n("4630"),o=n("6821"),c=n("6a99"),i=n("69a8"),s=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=c(e,!0),s)try{return u(t,e)}catch(n){}if(i(t,e))return a(!r.f.call(t,e),t[e])}},2198:function(t,e,n){"use strict";var r=n("5d6c"),a=n.n(r);a.a},"5d6c":function(t,e,n){},"5dbc":function(t,e,n){var r=n("d3f4"),a=n("8b97").set;t.exports=function(t,e,n){var o,c=e.constructor;return c!==n&&"function"==typeof c&&(o=c.prototype)!==n.prototype&&r(o)&&a&&a(t,o),t}},"8b97":function(t,e,n){var r=n("d3f4"),a=n("cb7c"),o=function(t,e){if(a(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(a){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},9093:function(t,e,n){var r=n("ce10"),a=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},aa77:function(t,e,n){var r=n("5ca1"),a=n("be13"),o=n("79e5"),c=n("fdef"),i="["+c+"]",s="​…",u=RegExp("^"+i+i+"*"),l=RegExp(i+i+"*$"),f=function(t,e,n){var a={},i=o(function(){return!!c[t]()||s[t]()!=s}),u=a[t]=i?e(p):c[t];n&&(a[n]=u),r(r.P+r.F*i,"String",a)},p=f.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},be94:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),a.forEach(function(e){r(t,e,n[e])})}return t}n.d(e,"a",function(){return a})},c5f6:function(t,e,n){"use strict";var r=n("7726"),a=n("69a8"),o=n("2d95"),c=n("5dbc"),i=n("6a99"),s=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,p=n("aa77").trim,b="Number",d=r[b],h=d,g=d.prototype,_=o(n("2aeb")(g))==b,m="trim"in String.prototype,v=function(t){var e=i(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():p(e,3);var n,r,a,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+e}for(var c,s=e.slice(2),u=0,l=s.length;u<l;u++)if(c=s.charCodeAt(u),c<48||c>a)return NaN;return parseInt(s,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(_?s(function(){g.valueOf.call(n)}):o(n)!=b)?c(new h(v(e)),n,d):v(e)};for(var w,y=n("9e1e")?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),N=0;y.length>N;N++)a(h,w=y[N])&&!a(d,w)&&f(d,w,l(h,w));d.prototype=g,g.constructor=d,n("2aba")(r,b,d)}},dbaf:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"cloud-job"}},[n("el-select",{attrs:{placeholder:"筛选"},on:{change:t.changeSelect},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.statuses,function(e,r){return n("el-option",{key:r,attrs:{label:e,value:r}},[n("span",[t._v(t._s(e))])])})),n("div",{staticClass:"table"},[t.tableData.length?n("el-table",{staticStyle:{width:"100%"},attrs:{height:"100%",border:"",data:t.tableData,"row-class-name":t.tableRowClassName}},t._l(t.tableProps,function(e,r){return n("el-table-column",{key:r,attrs:{prop:e,label:t.tableHeaders[r]},scopedSlots:t._u([{key:"default",fn:function(r){return["ctrl"===e?n("el-button",{attrs:{type:"text"},on:{click:function(e){t.clickDetail(r.row["id"])}}},[t._v(t._s(r.row[e]))]):n("span","status"===e?[t._v(t._s(r.row["statusName"]))]:[t._v(t._s(r.row[e]))])]}}])})})):t._e()],1),n("el-pagination",{attrs:{"current-page":t.currentPage,"page-size":20,layout:"total, prev, pager, next",total:t.totalCount},on:{"current-change":t.changePagination,"update:currentPage":function(e){t.currentPage=e}}})],1)},a=[],o=(n("c5f6"),n("be94")),c=(n("96cf"),n("1da1")),i=(n("cadf"),n("551c"),n("097d"),["企业方","名称","地点","简介","核定价格/预算区间","已完成月数","用户来源","审核人员","创建时间","状态","操作"]),s=["nickname","title","address","description","salary","work_hours","remark_user_from","remark_checked_user","create_time","status","ctrl"],u={data:function(){return{statuses:[],selected:"",totalCount:0,currentPage:1,tableHeaders:i,tableProps:s,tableData:[]}},mounted:function(){this.getFilters()},methods:{changeSelect:function(t){this.currentPage=1,this.getTableData(t)},getFilters:function(){var t=Object(c["a"])(regeneratorRuntime.mark(function t(){var e,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$post("/api/admin/job/job_status_map");case 2:e=t.sent,n=e.data,this.statuses=n||[],n.length&&(this.selected=n[0]),this.getTableData();case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),clickDetail:function(t){window.open("/rooter/cloudjobitem/".concat(t))},tableRowClassName:function(t){var e=t.row,n=(t.rowIndex,"");return"1"===e.status&&(n="success-row"),n},formatTableData:function(t){return t.map(function(t){return Object(o["a"])({},t,{nickname:t.companyUser.nickname,ctrl:"详情"})})},changePagination:function(t){this.getTableData()},getTableData:function(){var t=Object(c["a"])(regeneratorRuntime.mark(function t(){var e,n,r,a,o,c=arguments;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:0,this.tableData=[],n=this.currentPage,t.next=5,this.$post("/api/admin/job/jobs",{p:n,status:e});case 5:r=t.sent,a=r.data,o=a.list,this.tableData=this.formatTableData(o),this.totalCount=Number(a.total),this.totalPage=a.totalPage;case 11:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}},l=u,f=(n("2198"),n("2877")),p=Object(f["a"])(l,r,a,!1,null,"57fcb164",null);p.options.__file="cloud_job.vue";e["default"]=p.exports},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
  2. //# sourceMappingURL=chunk-2f459f78.70fa999a.js.map