chunk-7be3aa60.106f323d.js 2.8 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7be3aa60"],{1888:function(t,i,s){"use strict";s("45ca")},"45ca":function(t,i,s){},eb1e:function(t,i,s){"use strict";s.r(i);var e=function(){var t=this,i=t._self._c;return i("div",{staticClass:"wrap"},[i("div",{staticClass:"header-wrap"},[i("div",{staticClass:"header"},[i("img",{staticClass:"return-img",attrs:{src:s("f5a4"),alt:""},on:{click:function(i){return t.$router.back()}}}),i("p",{staticClass:"header-title"},[t._v("浏览历史")]),i("button",{staticClass:"header-btn",attrs:{type:"button"},on:{click:function(i){return t.swipeCellList.openOrCloseEdit()}}},[t._v("\n "+t._s(t.swipeCellList&&t.swipeCellList.edit?"取消":"管理")+"\n ")])])]),i("swipe-cell-list",{ref:"swipeCellList",attrs:{option:t.swipeCellOption},scopedSlots:t._u([{key:"time",fn:function(s){var e=s.item;return[i("p",{staticClass:"my-collection-list-time"},[t._v(t._s(e.time))])]}},{key:"item",fn:function(s){var e=s.item;return[i("div",{staticClass:"list-item",on:{click:function(i){return t.toDetail(e)}}},[i("div",{staticClass:"top"},[i("div",{staticClass:"title"},[t._v(t._s(e.title))]),i("div",{staticClass:"price"},[t._v(t._s(e.salary))])]),i("div",{staticClass:"company-info"},[t._v("\n "+t._s(e.company)+" · "+t._s(e.is_ss?"已上市":"未上市")+" ·\n "+t._s(e.scale)+"\n ")]),i("div",{staticClass:"tags-box"},t._l(e.label_name,(function(s){return i("div",{staticClass:"tag-item"},[t._v("\n "+t._s(s)+"\n ")])})),0),i("div",{staticClass:"bottom"},[i("img",{staticClass:"app-logo",attrs:{src:e.hr_headimg,alt:""}}),i("div",{staticClass:"app-name"},[t._v(t._s(e.principal))])])])]}}])})],1)},n=[],a=(s("6d67"),s("f523")),l=s("d399"),c=s("3d84"),r={components:{SwipeCellList:c["a"]},data:function(){var t=this;return{swipeCellOption:{searchKey:"title",showSearch:!0,timeKey:"time",listApi:function(t){return a["r"].getBrowseList(t)},itemButtons:[{text:"删除",bgColor:"#2A63F3",click:function(i){return t.batchesDel(i.id)}}],bottomButtons:[{text:"删除",bgColor:"#2A63F3",click:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===i.length)return Object(l["a"])("请至少选择一个");t.batchesDel(i.map((function(t){return t.id})).join(","))}}]},swipeCellList:null}},mounted:function(){this.swipeCellList=this.$refs.swipeCellList},methods:{toDetail:function(t){if(0===t.is_normal)return Object(l["a"])("已下架");this.$router.push("/recruit-details?id=".concat(t.recruit_id))},batchesDel:function(t){var i=this;return a["l"].delTrack({ids:t}).then((function(t){var s=t.msg;Object(l["a"])(s),i.swipeCellList.resetList(),i.swipeCellList.openOrCloseEdit(!0)}))}}},o=r,u=(s("1888"),s("2877")),p=Object(u["a"])(o,e,n,!1,null,"5cc485a4",null);i["default"]=p.exports}}]);
  2. //# sourceMappingURL=chunk-7be3aa60.106f323d.js.map