1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-todo-repairSure-repairSureDetail-repairSureDetail"],{"0ce6":function(e,t,i){"use strict";i.r(t);var a=i("f4cc"),n=i.n(a);for(var r in a)"default"!==r&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},"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},"2dfb":function(e,t,i){"use strict";var a=i("62c0"),n=i.n(a);n.a},"2e9e":function(e,t,i){"use strict";i.r(t);var a=i("fbdf"),n=i("8080");for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("b722");var s,o=i("f0c5"),c=Object(o["a"])(n["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},"33e4":function(e,t,i){"use strict";var a=i("f922"),n=i.n(a);n.a},"34d8":function(e,t,i){"use strict";i.r(t);var a=i("57ee"),n=i.n(a);for(var r in a)"default"!==r&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},3900:function(e,t,i){var a=i("aabb");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("035303f2",a,!0,{sourceMap:!1,shadowMode:!1})},"3fe5":function(e,t,i){"use strict";i.r(t);var a=i("f19a"),n=i("84c7");for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("2dfb");var s,o=i("f0c5"),c=Object(o["a"])(n["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},"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},"62c0":function(e,t,i){var a=i("5ade");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("0f67b36b",a,!0,{sourceMap:!1,shadowMode:!1})},8080:function(e,t,i){"use strict";i.r(t);var a=i("3232"),n=i.n(a);for(var r in a)"default"!==r&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},"84b4":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".input-bx[data-v-51cc5e8e]{height:auto;background:#fff;padding:0 %?30?%}.input-item[data-v-51cc5e8e]{margin-bottom:%?20?%;padding:%?0?% %?30?%}.ipt-title[data-v-51cc5e8e]{font-size:%?32?%;color:#333;margin-bottom:%?20?%}.ipt-textarea[data-v-51cc5e8e]{width:100%;height:%?200?%;border:1px solid #acacac;font-size:%?32?%;color:#333}.img-bx[data-v-51cc5e8e]{width:100%;height:%?400?%;border:1px solid #acacac;margin-bottom:%?10?%}.img[data-v-51cc5e8e]{width:100%;height:%?400?%}.btn-choose[data-v-51cc5e8e]{width:%?200?%;height:%?60?%;border-radius:%?10?%;background:#fff;font-size:%?30?%;line-height:2;color:#333;border:1px solid #acacac}.show-title[data-v-51cc5e8e]{height:%?90?%;background:#f2f2f2;padding-left:%?40?%;line-height:2}.title[data-v-51cc5e8e]{font-size:%?32?%;color:#333;font-weight:700}.radio-bx[data-v-51cc5e8e]{padding:%?0?% %?20?%}.radio-bx uni-label[data-v-51cc5e8e]{font-size:%?32?%;color:#333;margin-right:%?20?%}.choose-title[data-v-51cc5e8e]{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?%}.choose-title uni-text[data-v-51cc5e8e]{font-size:%?32?%;color:#333;font-weight:700;display:block;margin-bottom:%?10?%}.choose-title uni-input[data-v-51cc5e8e]{width:%?410?%;height:%?50?%;border:1px solid #acacac;font-size:%?32?%;color:#333}.choose-bx[data-v-51cc5e8e]{height:%?200?%;width:100%}.detail-bx[data-v-51cc5e8e]{padding:%?0?% %?20?%;border:1px solid #acacac}.li-item[data-v-51cc5e8e]{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-51cc5e8e]{font-size:%?30?%;color:#666}.li-date[data-v-51cc5e8e]{font-size:%?30?%;color:#666}.detail-li[data-v-51cc5e8e]{width:100%;height:%?270?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;border-bottom:%?1?% solid #d3d3d3;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box}.detli-tt[data-v-51cc5e8e]{font-size:%?30?%;color:#666;margin-left:%?20?%;display:block;width:100%;height:%?60?%}.ipt-input[data-v-51cc5e8e]{width:%?200?%;height:%?50?%;border:1px solid #acacac;font-size:%?30?%;color:#666;margin-top:%?20?%;display:inline-block}.btn-del[data-v-51cc5e8e]{width:%?120?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff;position:absolute;right:0;bottom:%?10?%}.btn-bx[data-v-51cc5e8e]{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;width:100%;margin-top:%?80?%}.btn-sub[data-v-51cc5e8e]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-51cc5e8e]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}",""]),e.exports=t},"84c7":function(e,t,i){"use strict";i.r(t);var a=i("451a"),n=i.n(a);for(var r in a)"default"!==r&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},"9e13":function(e,t,i){var a=i("0f6b");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("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"),n=i.n(a);n.a},bc50:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=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)},r=[]},cd3b:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=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.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.today_now))])],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-view",{staticClass:" grace-form grace-margin-top"},[i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("故障现象")]),i("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"appearanceName",placeholder:"",value:e.detailList.appearanceName,disabled:!0}})],1),i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("故障部位")]),i("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"partName",placeholder:"",value:e.detailList.positionName,disabled:!0}})],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"},model:{value:e.detailList.appearanceName,callback:function(t){e.$set(e.detailList,"appearanceName",t)},expression:"detailList.appearanceName"}})],1)],1),i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("部门")]),i("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"departmentName",placeholder:"",value:e.detailList.departmentName,disabled:!0}})],1),i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("审核人")]),i("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"g_employeName",placeholder:"",value:e.g_employeName,disabled:!0}})],1),i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("故障部位")]),i("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"partName",placeholder:"",value:e.detailList.partName,disabled:!0}})],1),i("v-uni-view",{staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("审核日期")]),i("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"today_now",placeholder:"",value:e.today_now,disabled:!0}})],1)],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-form",{on:{submit:function(t){arguments[0]=t=e.$handleEvent(t),e.formSubmit.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"input-bx"},[i("v-uni-view",{staticClass:"radio-bx"},[i("v-uni-radio-group",{on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.radioChange.apply(void 0,arguments)}}},[i("v-uni-label",{staticClass:"radio"},[i("v-uni-radio",{attrs:{value:"1",checked:e.isChecked1}}),e._v("1分")],1),i("v-uni-label",{staticClass:"radio"},[i("v-uni-radio",{attrs:{value:"2",checked:e.isChecked2}}),e._v("2分")],1),i("v-uni-label",{staticClass:"radio"},[i("v-uni-radio",{attrs:{value:"3",checked:e.isChecked3}}),e._v("3分")],1),i("v-uni-label",{staticClass:"radio"},[i("v-uni-radio",{attrs:{value:"4",checked:e.isChecked4}}),e._v("4分")],1),i("v-uni-label",{staticClass:"radio"},[i("v-uni-radio",{attrs:{value:"5",checked:e.isChecked5}}),e._v("5分")],1)],1)],1),i("v-uni-view",{staticClass:" grace-form grace-margin-top"},[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",staticStyle:{border:"1px solid #acacac"}},[i("v-uni-textarea",{attrs:{placeholder:"请输入.....",name:"auditNote"},model:{value:e.dataValue.auditNote,callback:function(t){e.$set(e.dataValue,"auditNote",t)},expression:"dataValue.auditNote"}})],1)],1)],1),"yes"==e.isbtn?i("v-uni-view",{staticClass:"btn-bx"},[i("v-uni-button",{staticClass:"btn-sub",attrs:{formType:"submit"}},[e._v("确定")])],1):e._e()],1)],1)],1)},r=[]},ed72:function(e,t,i){"use strict";i.r(t);var a=i("bc50"),n=i("34d8");for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("f1b4");var s,o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"e2f5bce0",null,!1,a["a"],s);t["default"]=c.exports},f15d:function(e,t,i){"use strict";i.r(t);var a=i("cd3b"),n=i("0ce6");for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("33e4");var s,o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"51cc5e8e",null,!1,a["a"],s);t["default"]=c.exports},f19a:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=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)},r=[]},f1b4:function(e,t,i){"use strict";var a=i("3900"),n=i.n(a);n.a},f4cc:function(e,t,i){"use strict";var a=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("3fe5")),r=a(i("2e9e")),s=a(i("ed72")),o={data:function(){return{g_username:"",g_employeName:"Epans",g_employeId:"",today_now:"",isbtn:"no",dataValue:{equipmentNumber:"08.ZZJ011",pastureName:"宝鸡牧场",assetNumber:"01.01.01.01.00015",assetName:"小型装载机",RMA:"汽修组",appearanceId:1,appearanceName:"车轮没气",applyImg:"",applyName:"李骁勇",applyTime:"",auditStatue:"未审核",auditStatue1:0,bigId:398,checkResult:"需要备件",checkStatue:"未审核",dealTime:"2019-11-09 11:38",departmentId:6,departmentName:"兽医处",deptId:23,details:"test",dispose:"李骁勇",disposeId:331,employeId:1,employeeId:1,empname:"柳张航",id:180,orderTime:"2019-11-07 10:06",partName:"轮胎",pastureId:1,receiveStatue:"未审核",refuseStatue:"未录入",repairNumber:"WX08201911070033",specification:"SEM616B",statue:"处理中",statue1:0,useStatus:"领用中",useStatus1:0},detailList:{},isChecked1:!0,isChecked2:null,isChecked3:null,isChecked4:null,isChecked5:null}},onLoad:function(e){var t=this,i=uni.getStorageSync("g_employeName"),a=uni.getStorageSync("g_pastureId");t.g_employeName=i;e.isbtn;t.isbtn=e.isbtn,console.log(e);var n=JSON.parse(e.all);this.dataValue=n;var r=n.id;console.log(n);var s="/authdata/GetDataByName",o={name:"getmaintainappearance",parammaps:{maintainId:r,pastureId:a}};t.ajax(s,o,"POST",t.get_detailList_data),t.road_name_id_time_data()},onBackPress:function(){return uni.redirectTo({url:"/pages/todo/repairSure/repairSure"}),!0},methods:{radioChange:function(e){var t=this,i=e.detail.value;console.log("单选选中状态",i),"1"==i?(t.isChecked1=!0,t.isChecked2=null,t.isChecked3=null,t.isChecked4=null,t.isChecked5=null,t.dataValue.auditResult="1"):"2"==i?(t.isChecked1=null,t.isChecked2=!0,t.isChecked3=null,t.isChecked4=null,t.isChecked5=null,t.dataValue.auditResult="2"):"3"==i?(t.isChecked1=null,t.isChecked2=null,t.isChecked3=!0,t.isChecked4=null,t.isChecked5=null,t.dataValue.auditResult="3"):"4"==i?(t.isChecked1=null,t.isChecked2=null,t.isChecked3=null,t.isChecked4=!0,t.isChecked5=null,t.dataValue.auditResult="4"):"5"==i?(t.isChecked1=null,t.isChecked2=null,t.isChecked3=null,t.isChecked4=null,t.isChecked5=!0,t.dataValue.auditResult="5"):(t.isChecked1=!0,t.isChecked2=null,t.isChecked3=null,t.isChecked4=null,t.isChecked5=null)},road_name_id_time_data:function(e){var t=this,i=t.get_today_now(),a=uni.getStorageSync("g_username"),n=uni.getStorageSync("g_employeId");t.dataValue.g_username=a,t.g_username=a,t.g_employeId=n,t.today_now=i},formSubmit:function(e){var t=this,i={name:"maintainCheck",parammaps:t.dataValue};console.log("发送数据:"+JSON.stringify(i)),t.ajax("/authdata/GetDataByName",i,"POST",t.get_edit_status)},get_detailList_data:function(e){console.log("详情列表数据1:",e);var t=e.data.list;this.detailList=null==t?{}:t},get_edit_status:function(e){if(console.log("保存状态:",e),"ok"==e.msg)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(e){setTimeout((function(){uni.redirectTo({url:"/pages/todo/repairSure/repairSure"})}),1e3)}});else{var t=e.data;uni.showToast({title:"保存失败"+t,duration:2e3,icon:"none"})}}},components:{gracePage:n.default,graceFlex:r.default,graceSelectImgAndUpload:s.default}};t.default=o},f922:function(e,t,i){var a=i("84b4");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("2197b0d5",a,!0,{sourceMap:!1,shadowMode:!1})},fbdf:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=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)},r=[]}}]);
|