1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-todo-maintenanceExamine3-maintenanceExamine3"],{"0448":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".g-title-bx-row[data-v-44958bb0]{height:auto;line-height:2}",""]),e.exports=t},"0907":function(e,t,a){var i=a("0448");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("8662767e",i,!0,{sourceMap:!1,shadowMode:!1})},"0ca3":function(e,t,a){"use strict";a.r(t);var i=a("1aa1"),n=a("ab6b");for(var r in n)"default"!==r&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("7b79");var o,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"44958bb0",null,!1,i["a"],o);t["default"]=c.exports},"0f6b":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".gui-flex[data-v-02c438ce]{display:-webkit-box;display:-webkit-flex;display:flex}.row[data-v-02c438ce]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.column[data-v-02c438ce]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.wrap[data-v-02c438ce]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}.nowrap[data-v-02c438ce]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.space-between[data-v-02c438ce]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.left[data-v-02c438ce]{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.right[data-v-02c438ce]{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.xcenter[data-v-02c438ce]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.xreverse[data-v-02c438ce]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.top[data-v-02c438ce]{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.ycenter[data-v-02c438ce]{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.bottom[data-v-02c438ce]{-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}",""]),e.exports=t},"14fb":function(e,t,a){"use strict";var i=a("9105"),n=a.n(i);n.a},"1aa1":function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page",attrs:{slot:"gBody"},slot:"gBody"},[a("v-uni-view",[a("graceNavBar",{attrs:{items:e.navItems2,lineHeight:"80rpx",isCenter:!0,currentIndex:e.navIndex,size:320,activeLineBg:"#3688FF",textAlign:"center",activeColor:"#3688FF",activeLineWidth:"100%",activeLineHeight:"2rpx",margin:10},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.navChange.apply(void 0,arguments)}}})],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0===e.navIndex,expression:"navIndex === 0"}]},[a("v-uni-view",{staticClass:"list-bx"},[e._l(e.dataList,(function(t,i){return[a("v-uni-navigator",{attrs:{"open-type":"navigate",url:"./maintenanceExamine3Detail/maintenanceExamine3Detail?name="+t.name+"&id="+t.id+"&all="+JSON.stringify(t)+"&isbtn=yes","hover-class":"navigator-hover"}},[a("v-uni-view",{staticClass:"grace-list-items",staticStyle:{background:"#fff","margin-bottom":"16upx"}},[a("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-icons icon-eye icon grace-blue"}),a("v-uni-text",{staticClass:"title grace-black"},[e._v("保养单:"+e._s(t.upkeepCode))]),a("v-uni-text",{staticClass:"grace-more"},[e._v(e._s(t.plantime))])],1),a("v-uni-view",{staticClass:"g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-black9 g-list-w"},[e._v("保养:")]),a("v-uni-text",{staticClass:"grace-black6"},[e._v(e._s(t.empname))])],1),a("v-uni-view",{staticClass:"g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-black9 g-list-w"},[e._v("设备:")]),a("v-uni-text",{staticClass:"grace-black6"},[e._v(e._s(t.eqCode)+" "+e._s(t.eqName))])],1)],1),a("v-uni-view",{staticClass:"g-line"})],1)]}))],2)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1===e.navIndex,expression:"navIndex === 1"}]},[a("v-uni-view",{staticClass:"list-bx"},[e._l(e.dataList2,(function(t,i){return[a("v-uni-navigator",{attrs:{"open-type":"navigate",url:"./maintenanceExamine3Detail/maintenanceExamine3Detail?name="+t.name+"&id="+t.id+"&all="+JSON.stringify(t)+"&isbtn=no","hover-class":"navigator-hover"}},[a("v-uni-view",{staticClass:"grace-list-items",staticStyle:{background:"#fff","margin-bottom":"16upx"}},[a("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-icons icon-eye icon grace-blue"}),a("v-uni-text",{staticClass:"title grace-black"},[e._v("保养单:"+e._s(t.upkeepCode))]),a("v-uni-text",{staticClass:"grace-more"},[e._v(e._s(t.plantime))])],1),a("v-uni-view",{staticClass:"g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-black9 g-list-w"},[e._v("保养:")]),a("v-uni-text",{staticClass:"grace-black6"},[e._v(e._s(t.empname))])],1),a("v-uni-view",{staticClass:"g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-black9 g-list-w"},[e._v("设备:")]),a("v-uni-text",{staticClass:"grace-black6"},[e._v(e._s(t.eqCode)+" "+e._s(t.eqName))])],1)],1),a("v-uni-view",{staticClass:"g-line"})],1)]}))],2)],1)],1)},r=[]},"2dfb":function(e,t,a){"use strict";var i=a("62c0"),n=a.n(i);n.a},"2e9e":function(e,t,a){"use strict";a.r(t);var i=a("fbdf"),n=a("8080");for(var r in n)"default"!==r&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("b722");var o,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"02c438ce",null,!1,i["a"],o);t["default"]=c.exports},"2fbd":function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-scroll-view",{class:["grace-nav-bar",e.isCenter?"grace-nav-center":""],attrs:{"scroll-x":!0,"show-scrollbar":!1,"scroll-into-view":"tab-"+e.currentIndex}},e._l(e.items,(function(t,i){return a("v-uni-view",{key:i,staticClass:"nav-item",style:{width:e.size<1?"auto":e.size+"rpx",marginRight:e.margin+"rpx",padding:"0rpx "+e.padding},attrs:{id:"tab-"+i,"data-index":i},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.navchang.apply(void 0,arguments)}}},[a("v-uni-view",{class:["nav-item-title",e.currentIndex==i?"nav-active":""],style:{color:e.currentIndex==i?e.activeColor:e.color,textAlign:e.textAlign,lineHeight:e.lineHeight,fontSize:e.fontSize}},[e._v(e._s(t))]),a("v-uni-view",{staticClass:"nav-active-line-wrap",style:{justifyContent:e.activeDirection}},[e.currentIndex==i?a("v-uni-view",{staticClass:"nav-active-line",style:{background:e.activeLineBg,width:e.activeLineWidth,height:e.activeLineHeight}}):e._e()],1)],1)})),1)},r=[]},3232:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{classes:{type:Array,default:function(){return new Array}}}};t.default=i},"3d6b":function(e,t,a){"use strict";a.r(t);var i=a("e481"),n=a.n(i);for(var r in i)"default"!==r&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},"3fe5":function(e,t,a){"use strict";a.r(t);var i=a("f19a"),n=a("84c7");for(var r in n)"default"!==r&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("2dfb");var o,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"68be4825",null,!1,i["a"],o);t["default"]=c.exports},"451a":function(e,t,a){"use strict";a("c975"),a("a9e3"),a("ac1f"),a("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{customHeader:{type:Boolean,default:!0},headerHeight:{type:Number,default:44},headerIndex:{type:Number,default:999},headerBG:{type:String,default:"none"},statusBarBG:{type:String,default:"none"},footerIndex:{type:Number,default:999},footerBg:{type:String,default:""},isSwitchPage:{type:Boolean,default:!1},rbWidth:{type:Number,default:100},rbBottom:{type:Number,default:100},rbRight:{type:Number,default:20}},data:function(){return{statusBarHeight:0,iphoneXButtomHeight:0,BoundingWidth:"0px"}},created:function(){try{var e=uni.getSystemInfoSync();e.model=e.model.replace(" ",""),-1!=e.model.indexOf("iPhoneX")&&(this.iphoneXButtomHeight=uni.upx2px(50))}catch(t){return null}this.customHeader&&(this.statusBarHeight=e.statusBarHeight)}};t.default=i},"5ade":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,"uni-page-body[data-v-68be4825]{width:100%;height:100vh;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.grace-sbody[data-v-68be4825]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1;\n}.grace-page-header[data-v-68be4825]{width:100%;position:fixed;left:0;top:0;z-index:99}.grace-page-status-bar[data-v-68be4825]{width:100%;height:0}.grace-page-header-nav[data-v-68be4825]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;height:44px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.grace-header-main[data-v-68be4825]{width:%?300?%;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;overflow:hidden}.grace-page-body[data-v-68be4825]{width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.grace-page-footer[data-v-68be4825]{width:100%;position:fixed;left:0;bottom:0;z-index:99}.gui-page-rb-area[data-v-68be4825]{width:%?100?%;position:fixed;right:%?20?%;bottom:%?100?%;z-index:100}",""]),e.exports=t},"60e3":function(e,t,a){"use strict";var i=a("4ea4");a("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(a("3fe5")),r=i(a("2e9e")),o=i(a("d7c4")),s={data:function(){return{navItems2:["待处理","已处理"],navIndex:0,dataList:[],dataList2:[],isShow:!0,page:1,totalPages:1,page2:1,totalPages2:1}},onLoad:function(){var e=this,t=(e.g_url,uni.getStorageSync("g_token"),uni.getStorageSync("g_employeId")),a=uni.getStorageSync("g_pastureId"),i=uni.getStorageSync("g_dempmId"),n="/authdata/GetDataByName",r=(e.get_today(),{name:"getUpkeepListAPPSHSCNo",offset:1,pagecount:10,parammaps:{loginId:t,loginpastureId:a,logindeptId:i}});e.ajax(n,r,"POST",e.get_list_data);var o={name:"getUpkeepListAPPSHSC",offset:1,pagecount:10,parammaps:{loginId:t,loginpastureId:a,logindeptId:i}};e.ajax(n,o,"POST",e.get_list_data2)},onReachBottom:function(){var e=this;if(0==e.navIndex){var t=e.page+1,a=e.totalPages;console.log("page",t+"totalPages",a),t>a||e.pagedTrailerList(t,10)}else{var i=e.page2+1,n=e.totalPages2;i>n||e.pagedTrailerList2(i,10)}},onBackPress:function(){return uni.switchTab({url:"/pages/todo/todo"}),!0},methods:{pagedTrailerList:function(e,t){var a=this,i=(a.g_url,uni.getStorageSync("g_token"),uni.getStorageSync("g_pastureId")),n=uni.getStorageSync("g_employeId"),r=(uni.getStorageSync("g_pastureName"),uni.getStorageSync("g_dempmId")),o="/authdata/GetDataByName",s=(a.get_today(),{name:"getUpkeepListAPPSHSCNo",offset:e,pagecount:t,parammaps:{loginId:n,loginpastureId:i,logindeptId:r}});a.ajax(o,s,"POST",a.get_list_data)},pagedTrailerList2:function(e,t){var a=this,i=(a.g_url,uni.getStorageSync("g_token"),uni.getStorageSync("g_pastureId")),n=uni.getStorageSync("g_employeId"),r=(uni.getStorageSync("g_pastureName"),uni.getStorageSync("g_dempmId")),o="/authdata/GetDataByName",s={name:"getUpkeepListAPPSHSC",offset:e,pagecount:t,parammaps:{loginId:n,loginpastureId:i,logindeptId:r}};a.ajax(o,s,"POST",a.get_list_data2)},navChange:function(e){this.navIndex=e},get_list_data:function(e){var t=this;if(console.log("列表数据:",e),"fail"==e.data.msg)uni.showToast({title:"暂无数据"+e.data,icon:"none"}),this.isShow=!1;else if(null==e.data.list)uni.showToast({title:"暂无数据",icon:"none"}),this.isShow=!1;else{this.isShow=!0;var a=e.data.list;t.dataList=t.dataList.concat(a),t.totalPages=e.data.pages,t.page=e.data.pageNum}},get_list_data2:function(e){var t=this;if(console.log("列表数据:",e),"fail"==e.data.msg)uni.showToast({title:"暂无数据"+e.data,icon:"none"}),this.isShow=!1;else if(null==e.data.list)uni.showToast({title:"暂无数据",icon:"none"}),this.isShow=!1;else{this.isShow=!0;var a=e.data.list;t.dataList2=t.dataList2.concat(a),t.totalPages2=e.data.pages,t.page2=e.data.pageNum}}},components:{gracePage:n.default,graceFlex:r.default,graceNavBar:o.default}};t.default=s},"62c0":function(e,t,a){var i=a("5ade");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("0f67b36b",i,!0,{sourceMap:!1,shadowMode:!1})},"7b79":function(e,t,a){"use strict";var i=a("0907"),n=a.n(i);n.a},8080:function(e,t,a){"use strict";a.r(t);var i=a("3232"),n=a.n(i);for(var r in i)"default"!==r&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},"84c7":function(e,t,a){"use strict";a.r(t);var i=a("451a"),n=a.n(i);for(var r in i)"default"!==r&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},9105:function(e,t,a){var i=a("fc35");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("1ab0d544",i,!0,{sourceMap:!1,shadowMode:!1})},"9e13":function(e,t,a){var i=a("0f6b");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("061c5d19",i,!0,{sourceMap:!1,shadowMode:!1})},ab6b:function(e,t,a){"use strict";a.r(t);var i=a("60e3"),n=a.n(i);for(var r in i)"default"!==r&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},b722:function(e,t,a){"use strict";var i=a("9e13"),n=a.n(i);n.a},d7c4:function(e,t,a){"use strict";a.r(t);var i=a("2fbd"),n=a("3d6b");for(var r in n)"default"!==r&&function(e){a.d(t,e,(function(){return n[e]}))}(r);a("14fb");var o,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"647bb7bc",null,!1,i["a"],o);t["default"]=c.exports},e481:function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{isCenter:{type:Boolean,default:!1},currentIndex:{type:Number,default:0},size:{type:Number,default:120},fontSize:{type:String,default:"28rpx"},items:{type:Array,default:function(){return[]}},activeLineBg:{type:String,default:"linear-gradient(to right, #66BFFF,#3388FF)"},color:{type:String,default:"#333333"},activeColor:{type:String,default:"#333333"},activeLineHeight:{type:String,default:"6rpx"},activeLineWidth:{type:String,default:"36rpx"},activeDirection:{type:String,default:""},margin:{type:Number,default:0},textAlign:{type:String,default:""},lineHeight:{type:String,default:"50rpx"},padding:{type:String,default:"0rpx"}},methods:{navchang:function(e){this.$emit("change",Number(e.currentTarget.dataset.index))}}};t.default=i},f19a:function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"grace-sbody"},[e.customHeader?a("v-uni-view",[a("v-uni-view",{staticClass:"grace-page-header",style:{"z-index":e.headerIndex,background:e.headerBG}},[a("v-uni-view",{staticClass:"grace-page-status-bar",style:{height:e.statusBarHeight+"px",background:e.statusBarBG}}),a("v-uni-view",{staticClass:"grace-page-header-nav",style:{height:e.headerHeight+"px"}},[a("v-uni-view",{staticClass:"grace-header-main"},[e._t("gHeader")],2),a("v-uni-view",{style:{width:e.BoundingWidth,height:"10px"}})],1)],1),a("v-uni-view",{style:{width:"100%",height:e.statusBarHeight+e.headerHeight+"px"}})],1):e._e(),a("v-uni-view",{staticClass:"grace-page-body"},[e._t("gBody")],2),e.isSwitchPage?e._e():a("v-uni-view",{style:{width:"100%",height:e.iphoneXButtomHeight+"px"}}),a("v-uni-view",{staticClass:"grace-page-footer",style:{"z-index":e.footerIndex,background:e.footerBg}},[e._t("gFooter"),e.isSwitchPage?e._e():a("v-uni-view",{style:{width:"100%",height:e.iphoneXButtomHeight+"px"}})],2),a("v-uni-view",{staticClass:"gui-page-rb-area",style:{right:e.rbRight+"rpx",bottom:e.rbBottom+"rpx",width:e.rbWidth+"rpx"}},[e._t("gRTArea")],2)],1)},r=[]},fbdf:function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"gui-flex",class:e.classes},[e._t("default")],2)},r=[]},fc35:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".grace-nav-bar[data-v-647bb7bc]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;white-space:nowrap}.nav-item[data-v-647bb7bc]{width:%?100?%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.nav-item-title[data-v-647bb7bc]{font-size:%?28?%;line-height:%?50?%;width:100%;color:#333}.nav-active[data-v-647bb7bc]{font-size:%?30?%;font-weight:700}.nav-active-line-wrap[data-v-647bb7bc]{display:-webkit-box;display:-webkit-flex;display:flex}.nav-active-line[data-v-647bb7bc]{width:%?36?%;height:%?6?%;margin-top:%?5?%}.grace-nav-center[data-v-647bb7bc]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}",""]),e.exports=t}}]);
|