IStarted.4fb64a3b.js 4.2 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["IStarted"],{"51c7":function(a,t,e){},5211:function(a,t,e){},"544a":function(a,t,e){},"6e6e":function(a,t,e){"use strict";var s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"mheader"},[e("header",{staticClass:"m-nav-header",class:[a.isFixed?"fixed":""]},[e("div",{directives:[{name:"show",rawName:"v-show",value:a.isBack,expression:"isBack"}],staticClass:"m-nav-bar__left",on:{click:a.goBack}},[e("van-icon",{staticClass:"arrow-left",attrs:{name:"arrow-left"}})],1),e("div",{staticClass:"m-nav-bar__title"},[a._t("default",[a._v(a._s(a.name?a.name:this.$route.meta.descrition))])],2),e("div",{staticClass:"m-nav-bar__right"},[a._t("right")],2)])])},n=[],i={name:"mheader",props:{name:String,isBack:{type:Boolean,default:!0},isFixed:{type:Boolean,default:!0},backUrl:{type:Object,default:function(){return{callBack:null,path:"",params:{}}}}},methods:{goBack:function(){var a=this.backUrl;"function"==typeof a.callBack?a.callBack():a.path?this.$router.push({path:a.path,query:a.params}):history.go(-1)}}},c=i,r=(e("d133"),e("2877")),o=Object(r["a"])(c,s,n,!1,null,"0e835508",null);t["a"]=o.exports},"9edc":function(a,t,e){"use strict";e.r(t);var s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"istarted"},[e("m-header"),e("m-search",{on:{onSearch:a.onSearch}}),e("div",{staticClass:"section"},[a.dataShow?e("van-list",{key:"data",attrs:{finished:a.finished,"finished-text":"- 没有更多数据了 -"},on:{load:a.getBindList},model:{value:a.loading,callback:function(t){a.loading=t},expression:"loading"}},a._l(6,function(t){return e("router-link",{key:t,staticClass:"app-item",attrs:{to:{path:"/starteddetail"}}},[e("div",{staticClass:"hd"},[e("span",{staticClass:"orangeStatus"},[a._v("待处理")]),e("span",[a._v("2019-09-01")])]),e("div",{staticClass:"bd"},[e("p",[a._v("申请人:黄青筝")]),e("p",[a._v("审批事项:调休")]),e("p",[a._v("开始时间:2019-09-01 9:00")]),e("p",[a._v("结束时间:2019-09-01 18:00")]),e("p",[a._v("备注:家中急事,调休一天")])])])}),1):e("m-empty",{key:"data"})],1)],1)},n=[],i=e("6e6e"),c=e("eeee"),r=e("d678"),o=e("9afb"),l={name:"istarted",components:{MHeader:i["a"],MSearch:c["a"],MEmpty:r["a"]},data:function(){return{loading:!1,finished:!1,params:{name:"",userId:this.$route.params.userId,pageNo:1,pageSize:10},dataShow:!0,dataList:[]}},methods:{onSearch:function(a){this.dataList=[],this.dataShow=!0,this.params.pageNo=1,this.params.name=a,this.finished=!1},getBindList:function(){var a=this,t=this.params;Object(o["C"])(t).then(function(e){var s=e.data;a.loading=!1,200==s.code?(t.pageNo=s.pageNo,a.dataList=a.dataList.concat(s.records),t.pageNo>=s.totalPages&&(a.finished=!0),a.params.pageNo++):a.finished=!0,a.dataList.length<=0&&(a.dataShow=!1)})}}},d=l,u=(e("e33e"),e("2877")),h=Object(u["a"])(d,s,n,!1,null,"32756b0b",null);t["default"]=h.exports},a887:function(a,t,e){"use strict";var s=e("544a"),n=e.n(s);n.a},bb2c:function(a,t,e){},c063:function(a,t,e){"use strict";var s=e("51c7"),n=e.n(s);n.a},d133:function(a,t,e){"use strict";var s=e("bb2c"),n=e.n(s);n.a},d678:function(a,t,e){"use strict";var s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"mempty",class:a.full?"full":null},[e("div",{class:[a.icon?a.icon:"icon_nodata","icon"]}),e("div",{staticClass:"msg"},[a._v(a._s(a.msg?a.msg:"暂无内容"))])])},n=[],i={name:"mempty",props:{icon:String,msg:String,full:Boolean}},c=i,r=(e("c063"),e("2877")),o=Object(r["a"])(c,s,n,!1,null,"45d1a48f",null);t["a"]=o.exports},e33e:function(a,t,e){"use strict";var s=e("5211"),n=e.n(s);n.a},eeee:function(a,t,e){"use strict";var s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",[e("van-search",{attrs:{placeholder:"请输入搜索关键词",background:"#fff",shape:"round","show-action":""},on:{search:a.onSearch},model:{value:a.searchValue,callback:function(t){a.searchValue=t},expression:"searchValue"}},[e("div",{attrs:{slot:"action"},on:{click:a.onSearch},slot:"action"},[a._v("搜索")])])],1)},n=[],i={data:function(){return{searchValue:""}},methods:{onSearch:function(){this.$emit("onSearch",this.searchValue)}}},c=i,r=(e("a887"),e("2877")),o=Object(r["a"])(c,s,n,!1,null,null,null);t["a"]=o.exports}}]);