You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.4 KiB
JavaScript

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-myJob-index"],{3433:function(t,e,a){"use strict";var i=a("a1bb"),n=a.n(i);n.a},"4d20":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("159b");var i=getApp(),n=a("233b"),o=a("eaac"),s={data:function(){return{recordList:[],inputVal:"",jobListSearchForm:{pageNum:1,pageSize:50}}},onLoad:function(t){},onReady:function(){},onShow:function(){this.getList()},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{getList:function(){var t=this;uni.request({url:i.globalData.ip+"/yishoudan/common/order/list",method:"Post",data:t.jobListSearchForm,header:i.globalData.headers,success:function(e){console.log(e),e.data.data.forEach((function(t,e){t["citys"]=n.setJobInfoPosition(t.storeDistrict),i.globalData.isNotEmptyCheck(t.minAge)&&i.globalData.isNotEmptyCheck(t.maxAge)?t["age"]=t.minAge+"-"+t.maxAge+"岁":i.globalData.isNotEmptyCheck(t.minAge)?t["age"]=t.minAge+"岁以上":i.globalData.isNotEmptyCheck(t.maxAge)&&(t["age"]=t.maxAge+"岁以下"),t["createTime"]=o.formatDateYMDHM(t.createTime)})),t.setData({recordList:e.data.data})}})},goDetail:function(t){console.log(t.currentTarget.dataset.id),console.log(t.currentTarget.dataset.item),uni.navigateTo({url:"/pages/mine/jobDetail/index?storeJobId="+t.currentTarget.dataset.id})}}};e.default=s},"5ffb":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[t.recordList.length>0?[a("v-uni-view",{staticClass:"bt1"},t._l(t.recordList,(function(e,i){return a("v-uni-view",{key:i,class:(e.recruitment,"bgf display-flex p16 pb0"),attrs:{"data-id":e.id,"data-item":e,"data-recruitment":e.recruitment,"hover-class":"g_bg_f_5","wx:item":"item"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"display-flex flex-1 pb16 bb1 pr"},[a("v-uni-view",{staticClass:"flex-1"},[a("v-uni-view",{staticClass:"f16 fwb"},[t._v(t._s(e.storeJobName||"-"))]),a("v-uni-view",{staticClass:"f14 c6 mt8"},[t._v(t._s(e.citys&&"-"!=e.citys?e.citys+" | ":"")+" "+t._s(e.age||"-"))])],1),a("v-uni-view",{staticClass:"tr"},[a("v-uni-view",{staticClass:"f14 c9"},[t._v(t._s(e.createTime||"-"))])],1)],1)],1)})),1)]:[a("v-uni-view",{staticClass:"tc"},[a("v-uni-view",{staticClass:"t-icon t-icon-zanwu",staticStyle:{width:"80px",height:"80px",margin:"180px auto 10px"}}),a("v-uni-view",{staticClass:"cccc"},[t._v("暂无记录")])],1)]],2)},n=[]},a1bb:function(t,e,a){var i=a("e5e6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("f6fb2750",i,!0,{sourceMap:!1,shadowMode:!1})},a1f0:function(t,e,a){"use strict";a.r(e);var i=a("4d20"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},c5e2:function(t,e,a){"use strict";a.r(e);var i=a("5ffb"),n=a("a1f0");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("3433");var s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"2507e2b2",null,!1,i["a"],void 0);e["default"]=c.exports},e5e6:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,"/* pages/mine/myJob/index.wxss */",""]),t.exports=e}}]);