1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-reportRepair-reportRepairDetailAdd-reportRepairDetailAdd"],{"0f6b":function(e,t,i){var a=i("24fb");t=a(!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},"1f45":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".input-bx[data-v-3c2be640]{height:auto;background:#fff;padding:0 %?30?%}.btn-bx[data-v-3c2be640]{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;padding:%?30?% 0}.btn-sub[data-v-3c2be640]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-3c2be640]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}.release-content[data-v-3c2be640]{margin-top:%?40?%;background-color:#f7f7f7;border-radius:%?10?%}.release-button[data-v-3c2be640]{background:#3688ff;height:%?50?%;padding:0 %?25?%;line-height:%?50?%;border-radius:%?50?%;color:#fff;font-size:%?22?%}.release-text-white[data-v-3c2be640]{color:#fff}.release-content-input[data-v-3c2be640]{height:%?180?%;font-size:%?28?%;width:650;color:#8e8080;padding:%?25?%;line-height:%?46?%}",""]),e.exports=t},"2dfb":function(e,t,i){"use strict";var a=i("62c0"),r=i.n(a);r.a},"2e9e":function(e,t,i){"use strict";i.r(t);var a=i("fbdf"),r=i("8080");for(var n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("b722");var s,o=i("f0c5"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"02c438ce",null,!1,a["a"],s);t["default"]=c.exports},3232:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{classes:{type:Array,default:function(){return new Array}}}};t.default=a},"34d8":function(e,t,i){"use strict";i.r(t);var a=i("57ee"),r=i.n(a);for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},3900:function(e,t,i){var a=i("aabb");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("4f06").default;r("035303f2",a,!0,{sourceMap:!1,shadowMode:!1})},"3fe5":function(e,t,i){"use strict";i.r(t);var a=i("f19a"),r=i("84c7");for(var n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("2dfb");var s,o=i("f0c5"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"68be4825",null,!1,a["a"],s);t["default"]=c.exports},"451a":function(e,t,i){"use strict";i("c975"),i("a9e3"),i("ac1f"),i("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={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=a},"490e":function(e,t,i){"use strict";i.r(t);var a=i("6220"),r=i.n(a);for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},"57ee":function(e,t,i){"use strict";i("a434"),i("a9e3"),i("ac1f"),i("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{maxFileNumber:{type:Number,default:9},btnName:{type:String,default:"添加照片"},items:{type:Array,default:function(){return[]}},closeBtnColor:{type:String,default:"#666666"},uploadServerUrl:{type:String,default:""},progressSize:{type:Number,default:1},progressColor:{type:String,default:"#27BD81"},progressBGColor:{type:String,default:"#F8F8F8"},fileName:{type:String,default:"file"},formData:{type:Object,default:function(){return{}}},imgMode:{type:String,default:"widthFix"},header:{type:Object,default:function(){return{optname:"insertcustompic",token:uni.getStorageSync("g_token")}}}},data:function(){return{imgLists:[],updatting:!1,resArr:[],isDel:!1,isDelIndex:0}},watch:{imgLists:function(e,t){this.updatting||this.$emit("change",e,this.isDel,this.isDelIndex)}},methods:{clearAllImgs:function(){this.imgLists=[]},addImg:function(){var e=this,t=this.maxFileNumber-this.imgLists.length;if(t<1)return!1;uni.chooseImage({count:t,sizeType:["compressed"],success:function(t){for(var i=0;i<t.tempFilePaths.length;i++)e.imgLists.push({url:t.tempFilePaths[i],progress:0,error:!1})},complete:function(){},fail:function(){}}),this.isDel=!1,this.isDelIndex=0},removeImg:function(e){var t=e.currentTarget.id.replace("grace-items-img-",""),i=this.imgLists.splice(t,1);this.$emit("removeImg",i[0]),this.isDel=!0,this.isDelIndex=t},showImgs:function(e){for(var t=e.currentTarget.dataset.imgurl,i=[],a=0;a<this.imgLists.length;a++)i.push(this.imgLists[a].url);uni.previewImage({urls:i,current:t})},upload:function(e){this.updatting||(this.updatting=!0,e||(e=0),uni.showLoading({title:"图片上传中"}),this.uploadBase(e))},retry:function(e){var t=e.currentTarget.dataset.index;this.upload(t)},uploadBase:function(e,t){var i=this;if(void 0!=t&&this.resArr.push(t.LastInsertId),e>this.imgLists.length-1)return console.log("res",t),uni.hideLoading(),this.updatting=!1,this.$emit("uploaded",this.resArr),void this.resArr.splice(0);if(""!=this.uploadServerUrl)if(this.imgLists[e].progress>=1)this.uploadBase(e+1,t);else{this.imgLists[e].error=!1;var a=uni.uploadFile({url:this.uploadServerUrl,filePath:this.imgLists[e].url,name:this.fileName,formData:this.formData,header:this.header,success:function(t){t=JSON.parse(t.data);var a=t.execresult;console.log(t),i.imgLists[e].result=t,i.uploadBase(e+1,a)},fail:function(t){uni.showToast({title:"上传失败,请点击图片重试",icon:"none"}),i.error(e)}});a.onProgressUpdate((function(t){t.progress>0&&(i.imgLists[e].progress=t.progress,i.imgLists.splice(e,1,i.imgLists[e]))}))}else uni.showToast({title:"请设置上传服务器地址",icon:"none"})},error:function(e){var t=this;this.updatting=!1,setTimeout((function(){t.imgLists[e].progress=0,t.imgLists[e].error=!0,t.$emit("uploaderror")}),500)},setItems:function(e){this.imgLists=[];for(var t=0;t<e.length;t++)this.imgLists.push({url:e[t],progress:100})}}};t.default=a},"5ade":function(e,t,i){var a=i("24fb");t=a(!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},6220:function(e,t,i){"use strict";var a=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(i("3fe5")),n=a(i("2e9e")),s=a(i("ed72")),o={data:function(){return{g_username:"epans",g_employeName:"Epans",g_employeId:"2",departmenId:"",assTypeId:"",orderCode:"",today_now:"2019-12-06",dataValue:{},pickerArr1:[{partName:"",id:""}],index1:0,pickerId1:"",pickerArr2:[{appearanceName:"",id:""}],index2:0,pickerId2:"0",selectedimgs:[],uploading:!1,subtxt:"上传图片",canadd:!0,pickerArr3:[{name:"",id:""}],index3:0,pickerId3:"",pickerArr4:[{empname:"",id:""}],index4:0,pickerId4:""}},onBackPress:function(){return uni.redirectTo({url:"/pages/index/reportRepair/reportRepair"}),!0},onLoad:function(e){var t=this,i=uni.getStorageSync("g_employeName");t.g_employeName=i;var a=uni.getStorageSync("g_username");t.g_username=a,console.log("前一个页面数据:",e);var r=e.code,n=e.eqId;t.eqId=n;var s=uni.getStorageSync("g_pastureId"),o={name:"autoCreatCode",parammaps:{codeType:"BX",pastureId:s}};t.ajax("/authdata/GetDataByName",o,"POST",t.get_orderCode_data);var c="/authdata/GetDataByName",l={name:"findAssetMainAPPV2",parammaps:{eqCode:r,pastureId:s}};t.ajax(c,l,"POST",t.get_list_data);var d={name:"getRepirsdept",parammaps:{pastureId:s}};t.ajax(c,d,"POST",t.get_selectlist_data3)},methods:{road_name_id_time_data:function(e){var t=this,i=t.get_today_now(),a=uni.getStorageSync("g_username"),r=uni.getStorageSync("g_employeId");t.dataValue.g_username=a,t.g_username=a,t.g_employeId=r,t.today_now=i},bindPickerChange4:function(e){var t=e.target.value;this.index4=t,console.log("维修人下拉框改变,携带值为:"+t);var i=this.pickerArr4[t]["id"];console.log("维修人下拉框选中的ID值:"+i),this.pickerId4=i},bindPickerChange3:function(e){var t=this,i=e.target.value;this.index3=i,console.log("部门下拉框改变,携带值为:"+i);var a=this.pickerArr3[i]["id"];console.log("部门下拉框选中的ID值:"+a),this.pickerId3=a;var r=uni.getStorageSync("g_pastureId"),n="/authdata/GetDataByName",s={name:"getRepirsEmp",parammaps:{pastureId:r,deptid:a}};t.ajax(n,s,"POST",t.get_selectlist_data4)},get_orderCode_data:function(e){console.log("领用单号数据:",e),this.orderCode=e.data.list[0].orderCode},formSubmit:function(e){var t=this,i=uni.getStorageSync("g_dempmId"),a=uni.getStorageSync("g_employeId"),r=e.detail.value,n=this.dataValue,s={name:"insertmaintain",parammaps:n};console.log("保存原始数据:"+JSON.stringify(r)),s.parammaps.pickId=t.pickerId4,s.parammaps.requesterId=a,s.parammaps.repairDept=t.pickerId3,s.parammaps.departmentId=i,s.parammaps.requestTime=t.today_now,s.parammaps.repairCode=t.orderCode,s.parammaps.details=r.details,console.log("需要发送的数据:"+JSON.stringify(s));var o="/authdata/GetDataByName";t.ajax(o,s,"POST",t.get_add_status)},formCancel:function(e){uni.navigateBack({delta:1})},get_list_data:function(e){console.log("列表数据:",e),this.dataValue=e.data.list[0],this.road_name_id_time_data()},get_selectlist_data3:function(e){var t=this;if(console.log("部位下拉框列表数据:",e),null===e.data.list)uni.showToast({title:"部位下拉框获取数据为空",duration:2e3,icon:"none"});else{this.pickerArr3=e.data.list;var i=e.data.list[0].id,a=uni.getStorageSync("g_pastureId");t.pickerId3=i;var r="/authdata/GetDataByName",n={name:"getRepirsEmp",parammaps:{pastureId:a,deptid:i}};t.ajax(r,n,"POST",t.get_selectlist_data4)}},get_selectlist_data4:function(e){console.log("部位详情下拉框列表数据:",e),null===e.data.list?uni.showToast({title:"部位详情下拉框获取数据为空",duration:2e3,icon:"none"}):(this.pickerArr4=e.data.list,this.pickerId4=e.data.list[0].id)},get_add_status:function(e){if(console.log("保存状态:",e),null!=e.data.list)if("success"==e.data.list[0].msg)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(e){setTimeout((function(){uni.redirectTo({url:"/pages/index/reportRepair/reportRepair"})}),1e3)}});else{var t=e.data;uni.showModal({title:"保存失败",content:t,showCancel:!1,success:function(e){e.confirm&&console.log("用户点击确定")}})}else if("ok"==e.data.message)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(e){setTimeout((function(){uni.redirectTo({url:"/pages/index/reportRepair/reportRepair"})}),1e3)}});else{t=e.data;uni.showToast({title:"保存失败"+t,duration:2e3,icon:"none"})}},bindPickerChange1:function(e){var t=e.target.value;this.index1=t,console.log("故障部位下拉框改变,携带值为:"+t);var i=this.pickerArr1[t]["id"];console.log("故障部位下拉框选中的ID值:"+i),this.pickerId1=i;var a=this,r={name:"findAllAppearance",parammaps:{assTypeId:a.assTypeId,partId:i}},n="/authdata/GetDataByName";a.ajax(n,r,"POST",a.get_selectlist_data2)},bindPickerChange2:function(e){var t=e.target.value;this.index2=t,console.log("故障现象下拉框改变,携带值为:"+t);var i=this.pickerArr2[t]["id"];console.log("故障现象下拉框选中的ID值:"+i),this.pickerId2=i},imgsChange:function(e){this.selectedimgs=e},submit:function(){this.uploading||(this.selectedimgs.length<1?uni.showToast({title:"请选择图片",icon:"none"}):(this.subtxt="图片上传中",this.canadd=!1,this.uploading=!0))},imgLoaded:function(e){this.subtxt="数据提交中",console.log(e)},uploaderror:function(){console.log("上传过程遇到错误"),this.subtxt="重试",this.uploading=!1,this.canadd=!0}},components:{gracePage:r.default,graceFlex:n.default,graceSelectImgAndUpload:s.default}};t.default=o},"62c0":function(e,t,i){var a=i("5ade");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("4f06").default;r("0f67b36b",a,!0,{sourceMap:!1,shadowMode:!1})},8080:function(e,t,i){"use strict";i.r(t);var a=i("3232"),r=i.n(a);for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},"84c7":function(e,t,i){"use strict";i.r(t);var a=i("451a"),r=i.n(a);for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},"852b":function(e,t,i){"use strict";var a=i("bbe8"),r=i.n(a);r.a},"9e13":function(e,t,i){var a=i("0f6b");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("4f06").default;r("061c5d19",a,!0,{sourceMap:!1,shadowMode:!1})},aabb:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".grace-add-list[data-v-e2f5bce0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.grace-add-list-btn[data-v-e2f5bce0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.grace-add-list-btn-text[data-v-e2f5bce0]{font-size:%?26?%;line-height:%?36?%;text-align:center;color:#999;width:100%}.grace-add-list-btn-icon[data-v-e2f5bce0]{font-size:%?80?%;height:%?80?%;line-height:%?80?%;margin-bottom:%?20?%;color:#999}.grace-add-list-items[data-v-e2f5bce0]{width:%?222?%;height:%?222?%;overflow:hidden;margin-bottom:%?10?%;margin-right:%?11?%;background:#f6f7f8;font-size:0;position:relative;border-radius:%?10?%}.grace-add-list-image[data-v-e2f5bce0]{width:%?222?%}.grace-add-list-remove[data-v-e2f5bce0]{width:%?50?%;height:%?50?%;line-height:%?50?%;text-align:center;font-size:%?40?%;position:absolute;z-index:5;right:%?10?%;top:%?10?%;color:#888}.upload-progress[data-v-e2f5bce0]{position:absolute;z-index:2;left:0;bottom:%?10?%;width:%?180?%;padding:0 %?21?%}.grace-add-list-reup[data-v-e2f5bce0]{position:absolute;z-index:3;left:0;top:%?0?%;width:%?222?%;height:%?222?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:rgba(0,0,0,.3);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.grace-add-list-reup-icon[data-v-e2f5bce0]{text-align:center;width:100%;color:#fff;display:block;font-size:%?80?%;line-height:%?100?%}.grace-add-list-reup-text[data-v-e2f5bce0]{text-align:center;width:100%;color:#fff;display:block;font-size:%?20?%;line-height:%?30?%}.grace-add-list-img[data-v-e2f5bce0]{width:%?222?%}",""]),e.exports=t},b722:function(e,t,i){"use strict";var a=i("9e13"),r=i.n(a);r.a},b879:function(e,t,i){"use strict";i.r(t);var a=i("bd78"),r=i("490e");for(var n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("852b");var s,o=i("f0c5"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"3c2be640",null,!1,a["a"],s);t["default"]=c.exports},bbe8:function(e,t,i){var a=i("1f45");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("4f06").default;r("269741dc",a,!0,{sourceMap:!1,shadowMode:!1})},bc50:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"grace-add-list"},[e._l(e.imgLists,(function(t,a){return i("v-uni-view",{key:a,staticClass:"grace-add-list-items"},[i("v-uni-image",{staticClass:"grace-add-list-img",attrs:{src:t.url,"data-imgurl":t.url,mode:e.imgMode},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showImgs.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"grace-add-list-remove grace-icons icon-close",style:{color:e.closeBtnColor},attrs:{id:"grace-items-img-"+a},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.removeImg.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"upload-progress"},[i("v-uni-progress",{attrs:{percent:t.progress,"stroke-width":e.progressSize,activeColor:e.progressColor,backgroundColor:e.progressBGColor}})],1),t.error?i("v-uni-view",{staticClass:"grace-add-list-reup",attrs:{"data-index":a},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.retry.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"grace-add-list-reup-icon grace-icons icon-retry"}),i("v-uni-text",{staticClass:"grace-add-list-reup-text"},[e._v("失败重试")])],1):e._e()],1)})),e.imgLists.length<e.maxFileNumber?i("v-uni-view",{staticClass:"grace-add-list-items grace-add-list-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addImg.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"grace-add-list-btn-icon"},[e._v("+")]),i("v-uni-view",{staticClass:"grace-add-list-btn-text"},[e._v(e._s(e.btnName))])],1):e._e()],2)},n=[]},bd78:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"grace-list-items",staticStyle:{background:"#fff","margin-bottom":"16upx"}},[i("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[i("v-uni-text",{staticClass:"grace-icons icon-comments icon grace-blue"}),i("v-uni-text",{staticClass:"title grace-black"},[e._v("设备信息")])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[e._v("报修单号:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[e._v(e._s(e.orderCode))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[e._v("设备内部编号:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[e._v(e._s(e.dataValue.eqCode))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[e._v("设备名称:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[e._v(e._s(e.dataValue.eqName))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[e._v("所属部门:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[e._v(e._s(e.dataValue.deptName))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[e._v("责任人:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[e._v(e._s(e.dataValue.employeName))])],1)],1),i("v-uni-view",{staticClass:"g-line"}),i("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[i("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),i("v-uni-text",{staticClass:"title grace-black"},[e._v("报修详情")])],1),i("v-uni-view",{staticClass:"input-bx"},[i("v-uni-form",{staticClass:"grace-form grace-margin-top",on:{submit:function(t){arguments[0]=t=e.$handleEvent(t),e.formSubmit.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("维修部门")]),i("v-uni-view",{staticClass:"other"},[i("v-uni-picker",{attrs:{value:e.index3,range:e.pickerArr3,"range-key":"name",name:"picker"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindPickerChange3.apply(void 0,arguments)}}},[i("v-uni-text",[e._v(e._s(e.pickerArr3[e.index3].name))])],1)],1)],1),i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("维修人")]),i("v-uni-view",{staticClass:"other"},[i("v-uni-picker",{attrs:{value:e.index4,range:e.pickerArr4,"range-key":"empname",name:"picker"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindPickerChange4.apply(void 0,arguments)}}},[i("v-uni-text",[e._v(e._s(e.pickerArr4[e.index4].empname))])],1)],1)],1),i("v-uni-view",{staticClass:"grace-items grace-noborder"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("故障详情")])],1),i("v-uni-view",{staticClass:"grace-items grace-noborder"},[i("v-uni-view",{staticClass:"other"},[i("v-uni-textarea",{attrs:{placeholder:"请输入.....",name:"details"}})],1)],1),e._e(),e._e(),e._e(),i("v-uni-view",{staticClass:"btn-bx"},[i("v-uni-button",{staticClass:"btn-sub",attrs:{formType:"submit"}},[e._v("提交")]),i("v-uni-button",{staticClass:"btn-res",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.formCancel.apply(void 0,arguments)}}},[e._v("取消")])],1)],1)],1)],1)},n=[]},ed72:function(e,t,i){"use strict";i.r(t);var a=i("bc50"),r=i("34d8");for(var n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("f1b4");var s,o=i("f0c5"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"e2f5bce0",null,!1,a["a"],s);t["default"]=c.exports},f19a:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"grace-sbody"},[e.customHeader?i("v-uni-view",[i("v-uni-view",{staticClass:"grace-page-header",style:{"z-index":e.headerIndex,background:e.headerBG}},[i("v-uni-view",{staticClass:"grace-page-status-bar",style:{height:e.statusBarHeight+"px",background:e.statusBarBG}}),i("v-uni-view",{staticClass:"grace-page-header-nav",style:{height:e.headerHeight+"px"}},[i("v-uni-view",{staticClass:"grace-header-main"},[e._t("gHeader")],2),i("v-uni-view",{style:{width:e.BoundingWidth,height:"10px"}})],1)],1),i("v-uni-view",{style:{width:"100%",height:e.statusBarHeight+e.headerHeight+"px"}})],1):e._e(),i("v-uni-view",{staticClass:"grace-page-body"},[e._t("gBody")],2),e.isSwitchPage?e._e():i("v-uni-view",{style:{width:"100%",height:e.iphoneXButtomHeight+"px"}}),i("v-uni-view",{staticClass:"grace-page-footer",style:{"z-index":e.footerIndex,background:e.footerBg}},[e._t("gFooter"),e.isSwitchPage?e._e():i("v-uni-view",{style:{width:"100%",height:e.iphoneXButtomHeight+"px"}})],2),i("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)},n=[]},f1b4:function(e,t,i){"use strict";var a=i("3900"),r=i.n(a);r.a},fbdf:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"gui-flex",class:e.classes},[e._t("default")],2)},n=[]}}]);
|