(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{456:function(t,e,o){},527:function(t,e,o){"use strict";o(456)},604:function(t,e,o){"use strict";o.r(e);var n=o(3),r=(o(35),{data:function(){return{page:1,total:0,tableData:[],counter:{status_open:0,status_close:0},selectedType:0,types:["全部","整包","云端"]}},computed:{},mounted:function(){this.getList()},methods:{getList:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var data,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return data={page:t.page,type:t.selectedType},e.next=3,t.$post("/api/admin/huiyuanQuick/getQuickJob",data);case 3:(o=e.sent)&&1===o.status&&(t.tableData=o.data.list,t.total=o.data.total,t.counter=o.data.counter);case 5:case"end":return e.stop()}}),e)})))()},changePagination:function(t){this.page=t,this.getList()}}}),l=(o(527),o(2)),component=Object(l.a)(r,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"mainContainer"},[o("div",{staticClass:"mainTableTools"},[o("el-row",{attrs:{gutter:20}},[o("el-col",{attrs:{span:3}},[o("el-select",{attrs:{placeholder:"项目类型"},on:{change:function(e){return t.getList()}},model:{value:t.selectedType,callback:function(e){t.selectedType=e},expression:"selectedType"}},t._l(t.types,(function(t,e){return o("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1),t._v(" "),o("el-col",{attrs:{span:5}},[o("div",{staticClass:"mainTableTagbox"},[o("el-tag",{attrs:{type:"success"}},[t._v("活动开启中："),o("b",[t._v(t._s(t.counter.status_open))])]),t._v(" "),o("el-tag",{attrs:{type:"danger"}},[t._v("活动已关闭："),o("b",[t._v(t._s(t.counter.status_close))])])],1)])],1)],1),t._v(" "),o("el-table",{attrs:{data:t.tableData,border:""}},[o("el-table-column",{attrs:{prop:"obj_id",label:"项目ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("span",{staticClass:"lblue point"},[2==e.row.type?o("a",{attrs:{target:"_blank",href:e.row.host+"/rooter/cloudjobitem/"+e.row.obj_id}},[t._v(t._s(e.row.obj_id))]):o("a",{attrs:{target:"_blank",href:e.row.host+"/rooter/outsourceitem/"+e.row.obj_id}},[t._v(t._s(e.row.obj_id))])])]}}])}),t._v(" "),o("el-table-column",{attrs:{prop:"type_name",label:"项目类型"}}),t._v(" "),o("el-table-column",{attrs:{prop:"obj_status_name",label:"当前状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("span",{class:"status-"+e.row.obj_status},[t._v(t._s(e.row.obj_status_name))])]}}])}),t._v(" "),o("el-table-column",{attrs:{prop:"max_num",label:"需要人数"}}),t._v(" "),o("el-table-column",{attrs:{prop:"enroll_num",label:"已报名"}}),t._v(" "),o("el-table-column",{attrs:{prop:"push_num",label:"已推送"}}),t._v(" "),o("el-table-column",{attrs:{prop:"create_time",label:"发布时间"}}),t._v(" "),o("el-table-column",{attrs:{prop:"obj_id",label:"客户经理"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("span",{staticClass:"lblue point"},[o("a",{attrs:{target:"_blank",href:e.row.host+"/rooter/user/"+e.row.manager_uid}},[t._v(t._s(e.row.manager_nickname))])])]}}])})],1),t._v(" "),o("div",{staticClass:"mainPageBox"},[o("el-pagination",{attrs:{"page-size":20,total:Number(t.total),layout:"total, prev, pager, next",background:""},on:{"current-change":t.changePagination}})],1)],1)}),[],!1,null,"4ecbab96",null);e.default=component.exports}}]);