(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-33bc0a08"],{2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var a=n("6b75");function i(t){if(Array.isArray(t))return Object(a["a"])(t)}n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function o(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var c=n("06c5");function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return i(t)||o(t)||Object(c["a"])(t)||r()}},"4e54":function(t,e,n){},b8c8:function(t,e,n){"use strict";var a=n("4e54"),i=n.n(a);i.a},e842:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.followList,"header-cell-style":{background:"#fcfcfc",color:"#909399"}},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection"}}),n("el-table-column",{attrs:{prop:"companyname",width:"300",label:"公司信息"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"name_title",on:{click:function(n){return t.handlerOuterLink(e.row.company_link_url_web)}}},[t._v(t._s(e.row.companyname))]),n("p",{staticClass:"name_title2"},[n("span",[t._v(t._s(e.row.scale_text))]),t._v(" | "),n("span",[t._v(t._s(e.row.trade_text))]),t._v(" | "),n("span",[t._v(t._s(e.row.nature_text))])])]}}])}),n("el-table-column",{attrs:{prop:"jobnum",label:"在招职位",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"name_title3"},[t._v(t._s(e.row.first_jobname))]),n("p",{staticClass:"name_title4"},[t._v("等"+t._s(e.row.jobnum)+"个岗位")])]}}])}),n("el-table-column",{attrs:{prop:"district_text",label:"公司地区"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"salary_text"},[t._v(t._s(e.row.district_text))])]}}])}),n("el-table-column",{attrs:{prop:"addtime",align:"center",label:"关注时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"date_title"},[t._v(t._s(t._f("timeFilter")(e.row.addtime)))])]}}])}),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{size:"mini"},on:{click:function(n){return t.handlerCancel(e.row)}}},[t._v("取消关注")])]}}])})],1),n("div",{staticClass:"checkbox_wrapper"},[n("el-button",{attrs:{size:"mini"},on:{click:t.handlerCancelBatch}},[t._v("取消关注")])],1),n("pagination",{attrs:{total:t.total,"current-page":t.params.page,"page-size":t.params.pagesize},on:{handleCurrentChange:t.doSearch}})],1)},i=[],o=(n("4160"),n("159b"),n("2909")),c=n("ed08"),r=n("751a"),l=n("d722"),s={filters:{timeFilter:function(t){return Object(c["c"])(t,"{y}-{m}-{d}",!0)}},data:function(){return{listLoading:!1,checked:"",followList:[],total:0,params:{page:1,pagesize:10},multipleSelection:[]}},mounted:function(){this.fetchData(!0)},methods:{fetchData:function(t){var e=this;r["a"].get(l["a"].personal_manage_attention_company).then((function(n){e.listLoading=!0,e.followList=Object(o["a"])(n.data.items),e.listLoading=!1,1==t&&e.fetchTotal()}))},fetchTotal:function(){var t=this;r["a"].get(l["a"].personal_manage_attention_company_total).then((function(e){t.total=e.data}))},doSearch:function(t){this.params.page=t,this.fetchData()},handleSelectionChange:function(t){this.multipleSelection=t},handlerCancel:function(t){var e=this;this.$confirm("确定取消关注该企业吗？","系统提示",{type:"warning"}).then((function(){r["a"].post(l["a"].personal_manage_attention_company_cancel,{id:t.id}).then((function(){e.$message({type:"success",message:"取消关注成功"}),e.fetchData(!0)})).catch((function(){}))})).catch((function(){}))},handlerCancelBatch:function(){var t=this;if(0==this.multipleSelection.length)return this.$message.error("请选择企业"),!1;var e=[];this.multipleSelection.forEach((function(t){e.push(t.id)})),this.$confirm("确定取消关注选中的企业吗？","系统提示",{type:"warning"}).then((function(){r["a"].post(l["a"].personal_manage_attention_company_cancel_batch,{id:e}).then((function(){t.$message({type:"success",message:"取消关注成功"}),t.fetchData(!0)})).catch((function(){}))})).catch((function(){}))},handlerOuterLink:function(t){window.open(t)}}},u=s,d=(n("b8c8"),n("2877")),f=Object(d["a"])(u,a,i,!1,null,"402140d2",null);e["default"]=f.exports}}]);