pages-index-reportRepair-reportRepair.d983f942.js 12 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-reportRepair-reportRepair"],{"2ab5":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTB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dSiypI0T0ZvbdG8RZK5EVsozAPCAgqSBpe4CtRLekgpeApBGgCJQkHQ4I/CngPlCUNOSzwBH3vYAMMODox3wEvjh6SDdznxz9s4+Aezf6KyAC5Rh9fqfRcqAWaJhASA3dskYJuO31Bkk9AaTQPmBd3AgQnQeqkbUxSZPAV/5ccbfVTDpqZpebBHIA2MXMxW3FSSIrgK7I9opvJi4BSapwN/AwJf4eYCzB/nEz2xPnQicSHr66CQboTLD3J3DSO9BI2gwMAlvrBPkoM390p60XHcBNYGedLFQCBs3sVVMnsqydXugEfg8AcHC4wnVXLQoAAAAASUVORK5CYII="},"314a":function(e,a,t){"use strict";t.r(a);var i=t("3e25"),n=t.n(i);for(var A in i)"default"!==A&&function(e){t.d(a,e,(function(){return i[e]}))}(A);a["default"]=n.a},"3e25":function(e,a,t){"use strict";t("99af"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{searchValue:"",dataList:[],page:1,totalPages:1,page2:1,totalPages2:1}},onBackPress:function(){return uni.switchTab({url:"/pages/index/index"}),!0},onLoad:function(){var e=this,a=(e.g_url,uni.getStorageSync("g_token"),uni.getStorageSync("g_pastureId")),t=uni.getStorageSync("g_employeId"),i=(uni.getStorageSync("g_pastureName"),uni.getStorageSync("g_dempmId")),n="/authdata/GetDataByName",A=(e.get_today(),{name:"getRepirsListAPP",offset:1,pagecount:10,parammaps:{loginId:t,menu:"Repair",logindeptId:i,loginpastureId:a}});e.ajax(n,A,"POST",e.get_list_data)},onReachBottom:function(){var e=this,a=e.page+1,t=e.totalPages;console.log("page",a+"totalPages",t),a>t||e.pagedTrailerList(a,10)},methods:{pagedTrailerList:function(e,a){var t=this,i=(t.g_url,uni.getStorageSync("g_token"),uni.getStorageSync("g_employeId")),n=uni.getStorageSync("g_pastureId"),A=(uni.getStorageSync("g_pastureName"),uni.getStorageSync("g_dempmId")),o="/authdata/GetDataByName",r=(t.get_today(),{name:"getRepirsListAPP",offset:e,pagecount:a,parammaps:{loginId:i,menu:"Repair",logindeptId:A,loginpastureId:n}});t.ajax(o,r,"POST",t.get_list_data)},onKeyInput:function(e){this.searchValue=e.target.value},onSweepCodeTap:function(e){var a=this;uni.scanCode({success:function(e){console.log("条码类型:"+e.scanType),console.log("条码内容:"+e.result),a.searchValue=e.result,a.onSearchTap()}})},onSearchTap:function(e){var a=this,t=uni.getStorageSync("g_pastureId");if(0==a.searchValue.length)uni.showToast({title:"暂无该设备信息",duration:2e3,icon:"none"});else{var i={name:"findAssetMainAPPV2",parammaps:{eqCode:a.searchValue,pastureId:t}},n="/authdata/GetDataByName";a.ajax(n,i,"POST",a.get_check_data)}},get_list_data:function(e){var a=this;if(console.log("列表数据:",e),"fail"==e.msg)uni.showToast({title:e.data,icon:"none"});else if(null==e.data.list)uni.showToast({title:"暂无数据",icon:"none"});else{var t=e.data.list;a.dataList=a.dataList.concat(t),a.totalPages=e.data.pages,a.page=e.data.pageNum}},get_check_data:function(e){console.log("搜索数据:",e);var a=e.data;if(null==a.list)uni.showToast({title:"暂无该设备信息",duration:2e3,icon:"none"});else{var t=a["list"][0]["eqCode"],i=a["list"][0]["eqId"];uni.navigateTo({url:"./reportRepairDetailAdd/reportRepairDetailAdd?code="+t+"&eqId="+i})}}}};a.default=i},"4c8c":function(e,a,t){var i=t("24fb");a=i(!1),a.push([e.i,".list-bx[data-v-479bb5aa]{padding-top:%?30?%}.li-item[data-v-479bb5aa]{height:%?90?%;border-bottom:%?1?% solid #ccc;display:-webkit-box;display:-webkit-flex;display:flex;-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;margin:%?0?% %?30?%;line-height:3;vertical-align:bottom}.li-title[data-v-479bb5aa]{font-size:%?30?%;color:#666}.li-date[data-v-479bb5aa]{font-size:%?24?%;color:#b5b5b5}",""]),e.exports=a},"7d4b":function(e,a,t){"use strict";t.r(a);var i=t("a70e"),n=t("314a");for(var A in n)"default"!==A&&function(e){t.d(a,e,(function(){return n[e]}))}(A);t("9a32");var o,r=t("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"479bb5aa",null,!1,i["a"],o);a["default"]=s.exports},"9a32":function(e,a,t){"use strict";var i=t("aebb"),n=t.n(i);n.a},a70e:function(e,a,t){"use strict";var i;t.d(a,"b",(function(){return n})),t.d(a,"c",(function(){return A})),t.d(a,"a",(function(){return i}));var n=function(){var e=this,a=e.$createElement,i=e._self._c||a;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"search-bx"},[i("v-uni-form",{on:{submit:function(a){arguments[0]=a=e.$handleEvent(a),e.formSubmit.apply(void 0,arguments)}}},[i("v-uni-input",{staticClass:"search-input",attrs:{name:"search",type:"text",value:e.searchValue,placeholder:"请输入设备编号"},on:{input:function(a){arguments[0]=a=e.$handleEvent(a),e.onKeyInput.apply(void 0,arguments)}}}),i("v-uni-image",{staticClass:"search-img1",attrs:{src:t("f14b")},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.onSearchTap.apply(void 0,arguments)}}})],1),i("v-uni-image",{staticClass:"search-img3",attrs:{src:t("2ab5")},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.onSweepCodeTap.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"list-bx"},[e._l(e.dataList,(function(a,t){return[i("v-uni-navigator",{attrs:{"open-type":"navigate",url:"./reportRepairDetail/reportRepairDetail?name="+a.assetName+"&id="+a.id+"&assTypeId="+a.assTypeId+"&partId="+a.partId,"hover-class":"navigator-hover"}},[i("v-uni-view",{staticClass:"li-item"},[i("v-uni-text",{staticClass:"li-title"},[e._v(e._s(a.eqCode)+" "+e._s(a.eqName))]),i("v-uni-text",{staticClass:"li-date"},[e._v(e._s(a.checkResult)+e._s(a.requestTime))])],1)],1)]}))],2)],1)},A=[]},aebb:function(e,a,t){var i=t("4c8c");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=t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