(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-todo-repair-repairDetail-repairDetail"],{"0f6b":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.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}",""]),t.exports=e},"12fe":function(t,e,a){"use strict";var i=a("549c"),n=a.n(i);n.a},"2dfb":function(t,e,a){"use strict";var i=a("62c0"),n=a.n(i);n.a},"2e9e":function(t,e,a){"use strict";a.r(e);var i=a("fbdf"),n=a("8080");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(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);e["default"]=c.exports},"2f3b":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".img-bx[data-v-696377e6]{width:100%;height:%?400?%;border:1px solid #acacac;margin-bottom:%?10?%}.img[data-v-696377e6]{width:100%;height:%?400?%}.btn-choose[data-v-696377e6]{width:%?200?%;height:%?60?%;border-radius:%?10?%;background:#fff;font-size:%?30?%;line-height:2;color:#333;border:1px solid #acacac}.input-bx[data-v-696377e6]{height:auto;background:#fff;padding:0 %?30?%}.show-title[data-v-696377e6]{height:%?90?%;background:#f2f2f2;padding-left:%?40?%;line-height:2}.title[data-v-696377e6]{font-size:%?32?%;color:#333;font-weight:700}.radio-bx[data-v-696377e6]{padding:%?0?% %?20?%}.radio-bx uni-label[data-v-696377e6]{font-size:%?32?%;color:#333;margin-right:%?20?%}.choose-title[data-v-696377e6]{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-696377e6]{font-size:%?32?%;color:#333;font-weight:700;display:block;margin-bottom:%?10?%}.choose-title uni-input[data-v-696377e6]{width:%?410?%;height:%?50?%;border:1px solid #acacac;font-size:%?32?%;color:#333}.choose-bx[data-v-696377e6]{height:%?400?%;width:100%}.detail-bx[data-v-696377e6]{padding:%?0?% %?20?%;border:1px solid #acacac}.li-item[data-v-696377e6]{height:auto;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:%?10?% %?30?%;line-height:1.8;vertical-align:bottom}.li-title[data-v-696377e6]{font-size:%?30?%;color:#666;width:%?450?%}.li-date[data-v-696377e6]{font-size:%?30?%;color:#666}.detail-li[data-v-696377e6]{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-696377e6]{font-size:%?30?%;color:#666;margin-left:%?20?%;display:block;width:100%;height:%?60?%}.ipt-input[data-v-696377e6]{width:%?200?%;height:%?50?%;border:1px solid #acacac;font-size:%?30?%;color:#666;margin-top:%?20?%;display:inline-block}.btn-del[data-v-696377e6]{width:%?120?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff;position:absolute;right:0;bottom:%?10?%}.btn-del2[data-v-696377e6]{width:%?120?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}.btn-bx[data-v-696377e6]{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-696377e6]{width:%?200?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-696377e6]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}.li-item2[data-v-696377e6]{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-hd2[data-v-696377e6]{font-size:%?30?%;color:#666;font-weight:700}.li-bd2[data-v-696377e6]{font-size:%?30?%;color:#666}.grace-td[data-v-696377e6]{line-height:%?50?%}",""]),t.exports=e},3232:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{classes:{type:Array,default:function(){return new Array}}}};e.default=i},"3fe5":function(t,e,a){"use strict";a.r(e);var i=a("f19a"),n=a("84c7");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(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);e["default"]=c.exports},"451a":function(t,e,a){"use strict";a("c975"),a("a9e3"),a("ac1f"),a("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.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 t=uni.getSystemInfoSync();t.model=t.model.replace(" ",""),-1!=t.model.indexOf("iPhoneX")&&(this.iphoneXButtomHeight=uni.upx2px(50))}catch(e){return null}this.customHeader&&(this.statusBarHeight=t.statusBarHeight)}};e.default=i},"549c":function(t,e,a){var i=a("2f3b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("f0ef581a",i,!0,{sourceMap:!1,shadowMode:!1})},"5ade":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.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}",""]),t.exports=e},"62c0":function(t,e,a){var i=a("5ade");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0f67b36b",i,!0,{sourceMap:!1,shadowMode:!1})},8080:function(t,e,a){"use strict";a.r(e);var i=a("3232"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"84c7":function(t,e,a){"use strict";a.r(e);var i=a("451a"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"9bbb":function(t,e,a){"use strict";a.r(e);var i=a("b3dd"),n=a("aa35");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("12fe");var o,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"696377e6",null,!1,i["a"],o);e["default"]=c.exports},"9e13":function(t,e,a){var i=a("0f6b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("061c5d19",i,!0,{sourceMap:!1,shadowMode:!1})},aa35:function(t,e,a){"use strict";a.r(e);var i=a("c13b"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},b3dd:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page"},[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-comments icon grace-blue"}),a("v-uni-text",{staticClass:"title grace-black"},[t._v("设备信息")])],1),a("v-uni-view",{staticClass:" g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("设备内部编号:")]),a("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.dataValue.eqCode))])],1),a("v-uni-view",{staticClass:" g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("设备名称:")]),a("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.dataValue.eqName))])],1),a("v-uni-view",{staticClass:" g-title-bx-row",staticStyle:{padding:"0 20upx"}},[a("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("上次维修日期:")]),a("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(void 0==t.dataValue.orderTime?" ":t.dataValue.orderTime))])],1)],1),a("v-uni-view",{staticClass:"g-line"}),a("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),a("v-uni-text",{staticClass:"title grace-black"},[t._v("维修详情")])],1),a("v-uni-view",{staticClass:"input-bx"},[a("v-uni-view",{staticClass:" grace-form grace-margin-top"},[a("v-uni-view",{staticClass:"grace-items grace-noborder"},[a("v-uni-view",{staticClass:"grace-label grace-bold"},[t._v("故障详情")])],1),a("v-uni-view",{staticClass:"grace-items grace-noborder"},[a("v-uni-view",{staticClass:"other"},[a("v-uni-textarea",{attrs:{placeholder:"请输入.....",name:"details"},model:{value:t.dataValue.details,callback:function(e){t.$set(t.dataValue,"details",e)},expression:"dataValue.details"}})],1)],1),a("v-uni-view",{staticClass:"grace-items"},[a("v-uni-view",{staticClass:"grace-label grace-bold"},[t._v("维修人")]),a("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"g_employeName",placeholder:"",value:t.g_employeName,disabled:!0}})],1),a("v-uni-view",{staticClass:"grace-items"},[a("v-uni-view",{staticClass:"grace-label grace-bold"},[t._v("维修日期")]),a("v-uni-input",{staticClass:"input",attrs:{type:"text",name:"today_now",placeholder:"",value:t.today_now,disabled:!0}})],1)],1)],1),a("v-uni-view",{staticClass:"g-line"}),a("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[a("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),a("v-uni-text",{staticClass:"title grace-black"},[t._v("处理结果")]),"yes"==t.isbtn?a("v-uni-button",{staticClass:"grace-button grace-bg-green",attrs:{type:"primary",size:"mini","data-useform":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onAddNewTap1.apply(void 0,arguments)}}},[t._v("新增领用")]):t._e(),"yes"==t.isbtn?a("v-uni-button",{staticClass:"grace-button grace-bg-green",attrs:{type:"primary",size:"mini","data-useform":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onAddNewTap2.apply(void 0,arguments)}}},[t._v("故障诊断")]):t._e()],1),a("v-uni-form",{staticClass:"grace-form grace-margin-top",on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"input-bx"},[a("v-uni-text",{staticClass:"title grace-black"},[t._v("故障诊断")]),a("gracePage",{attrs:{customHeader:!1}},[a("v-uni-view",{attrs:{slot:"gBody"},slot:"gBody"},[a("v-uni-view",{staticClass:"grace-table grace-margin-top"},[a("v-uni-view",{staticClass:"grace-theader grace-bg-green"},[a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("故障部位")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("故障详情")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("故障原因")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("处理方式")])],1),t._l(t.detailList2,(function(e,i){return a("v-uni-view",{key:i,staticClass:"grace-tbody"},[a("v-uni-text",{staticClass:"grace-td",staticStyle:{"min-width":"25%","word-break":"break-word"},attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap2.apply(void 0,arguments)}}},[t._v(t._s(e.positionName))]),a("v-uni-text",{staticClass:"grace-td",staticStyle:{"min-width":"25%","word-break":"break-word"},attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap2.apply(void 0,arguments)}}},[t._v(t._s(e.appearanceName))]),a("v-uni-text",{staticClass:"grace-td",staticStyle:{"min-width":"25%","word-break":"break-word"},attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap2.apply(void 0,arguments)}}},[t._v(t._s(e.failureCause))]),a("v-uni-text",{staticClass:"grace-td",staticStyle:{"min-width":"25%","word-break":"break-word"},attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap2.apply(void 0,arguments)}}},[t._v(t._s(e.treatmentMethod))])],1)}))],2)],1)],1),a("v-uni-view",{},[a("v-uni-text",{staticClass:"title grace-black"},[t._v("领用情况")])],1),a("v-uni-text",[t._v("有库存领用")]),a("gracePage",{attrs:{customHeader:!1}},[a("v-uni-view",{attrs:{slot:"gBody"},slot:"gBody"},[a("v-uni-view",{staticClass:"grace-table grace-margin-top"},[a("v-uni-view",{staticClass:"grace-theader grace-bg-green"},[a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("单号")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("日期")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("状态")])],1),t._l(t.detailList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"grace-tbody"},[a("v-uni-text",{staticClass:"grace-td",attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap1.apply(void 0,arguments)}}},[t._v(t._s(e.applyCode))]),a("v-uni-text",{staticClass:"grace-td",attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap1.apply(void 0,arguments)}}},[t._v(t._s(e.createDate))]),a("v-uni-text",{staticClass:"grace-td",attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap1.apply(void 0,arguments)}}},[t._v(t._s(0==e.statue?"未领用":"已领用"))])],1)}))],2)],1)],1),"yes"==t.isbtn?a("v-uni-text",[t._v("无库存领用")]):t._e(),"yes"==t.isbtn?a("gracePage",{attrs:{customHeader:!1}},[a("v-uni-view",{attrs:{slot:"gBody"},slot:"gBody"},[a("v-uni-view",{staticClass:"grace-table grace-margin-top"},[a("v-uni-view",{staticClass:"grace-theader grace-bg-green"},[a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("领用部门")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("最新领用日期")]),a("v-uni-text",{staticClass:"grace-td grace-bold"},[t._v("领用状态")])],1),t._l(t.detailList3,(function(e,i){return a("v-uni-view",{key:i,staticClass:"grace-tbody"},[a("v-uni-text",{staticClass:"grace-td",attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap3.apply(void 0,arguments)}}},[t._v(t._s(e.departmentName))]),a("v-uni-text",{staticClass:"grace-td",attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap3.apply(void 0,arguments)}}},[t._v(t._s(e.createDate))]),a("v-uni-text",{staticClass:"grace-td",attrs:{"data-id":e.id,"data-usecode":e.applyCode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDetailListTap3.apply(void 0,arguments)}}},[t._v(t._s(0==e.statue?"未领用":"已领用"))])],1)}))],2)],1)],1):t._e()],1),"no"==t.isbtn?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-article icon grace-blue"}),a("v-uni-text",{staticClass:"title grace-black"},[t._v("审核情况")])],1),a("v-uni-view",{staticClass:"g-title-bx-row",staticStyle:{padding:"0 20upx","word-wrap":"break-word",height:"auto"}},[a("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("使用人审核:")]),a("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.status1))])],1),a("v-uni-view",{staticClass:"g-title-bx-row",staticStyle:{padding:"0 20upx","word-wrap":"break-word",height:"auto"}},[a("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("设备主管审核:")]),a("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.status2))])],1)],1):t._e(),"yes"==t.isbtn?a("v-uni-view",{staticClass:"btn-bx"},[a("v-uni-button",{staticClass:"btn-sub",attrs:{formType:"submit"}},[t._v("完成维修")])],1):t._e()],1)],1)},r=[]},b722:function(t,e,a){"use strict";var i=a("9e13"),n=a.n(i);n.a},c13b:function(t,e,a){"use strict";var i=a("4ea4");a("4160"),a("a434"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("3423")),r=i(a("3fe5")),o=i(a("2e9e")),s=i(a("ed72")),c={data:function(){return{searchValue:"",isbtn:"no",g_username:"epans",g_employeName:"Epans",g_employeId:"2",today_now:"2019-12-01",eqId:"",isTips:!1,repairCode:"",dataValue:{equipmentNumber:"08.SWC010",assetName:"30立方饲喂车",pastureName:"宝鸡牧场",partName:"轮胎",appearanceName:"车轮没气",departmentId:"",requesterId:""},detailList:[],detailList2:[],detailList3:[],status1:"",status2:""}},onLoad:function(t){var e=this,a=uni.getStorageSync("g_employeName");e.g_employeName=a;t.isbtn;e.isbtn=t.isbtn,console.log(t);var i=t.id,n=JSON.parse(t.all),r=n.repairCode;e.all=n,e.repairCode=r,this.dataValue=n,console.log(n);r=n.repairCode;var o=n.eqId;e.eqId=o;var s=uni.getStorageSync("g_pastureId"),c="/authdata/GetDataByName",l={name:"getPartsapplybyMt",parammaps:{RUCode:r,pastureId:s}};e.ajax(c,l,"POST",e.get_detailList_data);var d={name:"getPartsapplybyMt_m",parammaps:{RUCode:r,pastureId:s}};e.ajax(c,d,"POST",e.get_detailList_data3);var u={name:"getmaintainappearance",parammaps:{maintainId:i,pastureId:s}};e.ajax(c,u,"POST",e.get_detailList_data2);var b={name:"getSHstatueWX",parammaps:{id:i,pastureId:s}};e.ajax(c,b,"POST",e.get_examstatus_data),e.road_name_id_time_data()},onBackPress:function(){return uni.navigateTo({url:"/pages/todo/repair/repair"}),!0},methods:{road_name_id_time_data:function(t){var e=this,a=e.get_today_now(),i=uni.getStorageSync("g_username"),n=uni.getStorageSync("g_employeId");e.dataValue.g_username=i,e.g_username=i,e.g_employeId=n,e.today_now=a},onAddNewTap1:function(t){var e=this,a=JSON.stringify(e.all),i=e.repairCode;uni.reLaunch({url:"./repairDetailListAdd/repairDetailListAdd?all="+a+"&code="+i})},onAddNewTap2:function(t){var e=this,a=JSON.stringify(e.all);uni.reLaunch({url:"./repairDetailListAddFault/repairDetailListAddFault?all="+a})},onDetailListTap1:function(t){var e=this,a=t.currentTarget.dataset.id,i=t.currentTarget.dataset.usecode,n=e.isbtn,r=JSON.stringify(e.all);uni.reLaunch({url:"./repairDetailListEdit/repairDetailListEdit?all="+r+"&id="+a+"&usecode="+i+"&isbtn="+n})},onDetailListTap3:function(t){var e=this,a=t.currentTarget.dataset.id,i=t.currentTarget.dataset.usecode,n=e.isbtn,r=JSON.stringify(e.all);uni.reLaunch({url:"./repairDetailListEdit3/repairDetailListEdit3?all="+r+"&id="+a+"&usecode="+i+"&isbtn="+n})},onDetailListTap2:function(t){var e=this,a=t.currentTarget.dataset.id,i=t.currentTarget.dataset.usecode,n=JSON.stringify(e.all),r=e.isbtn;uni.reLaunch({url:"./repairDetailListEditFault/repairDetailListEditFault?all="+n+"&id="+a+"&usecode="+i+"&isbtn="+r})},onDeleteTap:function(t){var e=this,a=t.currentTarget.dataset.index,i=e.detailList;console.log("当前点击的数据",JSON.stringify(i[a])),e.detailList.splice(a,1)},on_noproblem_tap:function(t){var e=this,a=e.dataValue,i={common:{returnmap:"0"},data:[{name:"clearBigAndStockUse",parammaps:{id:a.id,checkResult:"无故障"}},{name:"updateMaintainuseStatus",type:"e",parammaps:{id:a.id}},{name:"finishByIdMaintain",type:"e",parammaps:{id:a.id}}]};e.ajax("/authdata/ExecDataByConfig",i,"POST",e.get_edit_status1)},formSubmit:function(t){var e=this,a=e.dataValue,i=(e.detailList,uni.getStorageSync("g_pastureId")),n="/authdata/GetDataByName",r={name:"completeRepirs",parammaps:{id:a.id,pastureId:i}};e.isTips?uni.showModal({title:"提示",content:"备件未领用不可完成维修!",showCancel:!1,success:function(t){t.confirm&&console.log("用户点击确定")}}):e.ajax(n,r,"POST",e.get_edit_status1)},get_detailList_data:function(t){console.log("详情列表数据1:",t);var e=t.data.list;this.detailList=null==e?[]:e;var a=[];e.forEach((function(t){0==t.statue&&a.push("测试几个未领用")})),console.log(a),console.log(a.length),a.length>0?this.isTips=!0:this.isTips=!1},get_detailList_data3:function(t){console.log("详情列表数据3:",t);var e=t.data.list;this.detailList3=null==e?[]:e},get_detailList_data2:function(t){console.log("详情列表数据2:",t);var e=t.data.list;this.detailList2=null==e?[]:e},get_edit_status1:function(t){if(console.log("保存状态:",t),"ok"==t.msg)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(t){setTimeout((function(){uni.navigateTo({url:"/pages/todo/repair/repair"})}),1e3)}});else{var e=t.data;uni.showToast({title:"保存失败"+e,duration:2e3,icon:"none"})}},get_edit_status:function(t){},get_edit_status3:function(t){if(console.log("保存状态:",t),"ok"==t.msg)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(t){setTimeout((function(){uni.navigateTo({url:"/pages/todo/repair/repair"})}),1e3)}});else{var e=t.data;uni.showToast({title:"保存失败"+e,duration:2e3,icon:"none"})}},get_examstatus_data:function(t){console.log("审核状态:",t),this.status1=t.data.list[0]["使用人审核"],this.status2=t.data.list[0]["主管审核"]}},components:{gracePage:r.default,graceFlex:o.default,graceSelectImgAndUpload:s.default,graceNumberBox:n.default}};e.default=c},f19a:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"grace-sbody"},[t.customHeader?a("v-uni-view",[a("v-uni-view",{staticClass:"grace-page-header",style:{"z-index":t.headerIndex,background:t.headerBG}},[a("v-uni-view",{staticClass:"grace-page-status-bar",style:{height:t.statusBarHeight+"px",background:t.statusBarBG}}),a("v-uni-view",{staticClass:"grace-page-header-nav",style:{height:t.headerHeight+"px"}},[a("v-uni-view",{staticClass:"grace-header-main"},[t._t("gHeader")],2),a("v-uni-view",{style:{width:t.BoundingWidth,height:"10px"}})],1)],1),a("v-uni-view",{style:{width:"100%",height:t.statusBarHeight+t.headerHeight+"px"}})],1):t._e(),a("v-uni-view",{staticClass:"grace-page-body"},[t._t("gBody")],2),t.isSwitchPage?t._e():a("v-uni-view",{style:{width:"100%",height:t.iphoneXButtomHeight+"px"}}),a("v-uni-view",{staticClass:"grace-page-footer",style:{"z-index":t.footerIndex,background:t.footerBg}},[t._t("gFooter"),t.isSwitchPage?t._e():a("v-uni-view",{style:{width:"100%",height:t.iphoneXButtomHeight+"px"}})],2),a("v-uni-view",{staticClass:"gui-page-rb-area",style:{right:t.rbRight+"rpx",bottom:t.rbBottom+"rpx",width:t.rbWidth+"rpx"}},[t._t("gRTArea")],2)],1)},r=[]},fbdf:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"gui-flex",class:t.classes},[t._t("default")],2)},r=[]}}]);