pages-index-waterMeter-waterMeter.9255032c.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-waterMeter-waterMeter"],{"1b03":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{searchValue:"",dataList:[]}},onBackPress:function(){return uni.switchTab({url:"/pages/index/index"}),!0},onLoad:function(){var t=this,e=(t.g_url,uni.getStorageSync("g_token"),uni.getStorageSync("g_pastureId")),a=uni.getStorageSync("g_pastureName"),i=(uni.getStorageSync("g_dempmName"),"/authdata/GetDataByName"),n=(t.get_today(),{name:"getWaterList",offset:1,pagecount:300,parammaps:{pastureId:e,pastureName:a}});t.ajax(i,n,"POST",t.get_list_data)},methods:{onKeyInput:function(t){this.searchValue=t.target.value},onSweepCodeTap:function(t){var e=this;uni.scanCode({success:function(t){console.log("条码类型:"+t.scanType),console.log("条码内容:"+t.result),e.searchValue=t.result,e.onSearchTap()}})},onSearchTap:function(t){var e=this,a=uni.getStorageSync("g_pastureId");if(0==e.searchValue.length)uni.showToast({title:"暂无该设备信息",duration:2e3,icon:"none"});else{var i={name:"findByNMeasureWater",parammaps:{formNumber:e.searchValue,pastureId:a}},n="/authdata/GetDataByName";e.ajax(n,i,"POST",e.get_check_data)}},get_list_data:function(t){console.log("列表数据:",t),null==t.data.list?uni.showToast({title:"暂无数据",icon:"none"}):this.dataList=t.data.list},get_check_data:function(t){console.log("搜索数据:",t);var e=t.data;if(0==e.length||null==e.list)uni.showToast({title:"暂无该设备信息",duration:2e3,icon:"none"});else{var a=e["list"][0]["formNumber"];uni.navigateTo({url:"./waterMeterDetailAdd/waterMeterDetailAdd?code="+a})}}}};e.default=i},"2ab5":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPV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J3DSO9BI2gwMAlvrBPkoM390p60XHcBNYGedLFQCBs3sVVMnsqydXugEfg8AcHC4wnVXLQoAAAAASUVORK5CYII="},"44d7":function(t,e,a){"use strict";a.r(e);var i=a("1b03"),n=a.n(i);for(var A in i)"default"!==A&&function(t){a.d(e,t,(function(){return i[t]}))}(A);e["default"]=n.a},"8ed0":function(t,e,a){"use strict";a.r(e);var i=a("b97e"),n=a("44d7");for(var A in n)"default"!==A&&function(t){a.d(e,t,(function(){return n[t]}))}(A);a("b056");var o,r=a("f0c5"),c=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"1f2440b9",null,!1,i["a"],o);e["default"]=c.exports},b056:function(t,e,a){"use strict";var i=a("cd85"),n=a.n(i);n.a},b97e:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return A})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"search-bx"},[i("v-uni-form",{on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[i("v-uni-input",{staticClass:"search-input",attrs:{name:"search",type:"text",value:t.searchValue,placeholder:"请输入设备编号"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.onKeyInput.apply(void 0,arguments)}}}),i("v-uni-image",{staticClass:"search-img1",attrs:{src:a("f14b")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSearchTap.apply(void 0,arguments)}}})],1),i("v-uni-image",{staticClass:"search-img3",attrs:{src:a("2ab5")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSweepCodeTap.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"list-bx"},[t._l(t.dataList,(function(e,a){return[i("v-uni-navigator",{attrs:{"open-type":"navigate",url:"./waterMeterDetail/waterMeterDetail?id="+e.id,"hover-class":"navigator-hover"}},[i("v-uni-view",{staticClass:"li-item"},[i("v-uni-text",{staticClass:"li-title"},[t._v(t._s(e.waterNumber)+" "+t._s(e.waterName))]),i("v-uni-text",{staticClass:"li-date"},[t._v(t._s(e.dateFormat))])],1)],1)]}))],2)],1)},A=[]},c3fa:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".list-bx[data-v-1f2440b9]{padding-top:%?30?%}.li-item[data-v-1f2440b9]{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-1f2440b9]{font-size:%?30?%;color:#666}.li-date[data-v-1f2440b9]{font-size:%?24?%;color:#b5b5b5}",""]),t.exports=e},cd85:function(t,e,a){var i=a("c3fa");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0270beec",i,!0,{sourceMap:!1,shadowMode:!1})},f14b:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ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