pages-todo-repairDispatch-repairDispatchDetail-repairDispatchDetail.08028b46.js 24 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-todo-repairDispatch-repairDispatchDetail-repairDispatchDetail"],{"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},2102: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:"",g_employeName:"Epans",g_employeId:"",today_now:"",isbtn:"yes",dataValue:{},pickerArr3:[{name:"",id:""}],index3:0,pickerId3:"",pickerArr4:[{empname:"",id:""}],index4:0,pickerId4:""}},onLoad:function(e){var t=this,i=uni.getStorageSync("g_employeName");t.g_employeName=i,console.log(e);var a=JSON.parse(e.all);this.dataValue=a,console.log(a);a.deptId,e.isbtn;t.isbtn=e.isbtn,t.road_name_id_time_data();var r="/authdata/GetDataByName",n=uni.getStorageSync("g_pastureId"),s={name:"getRepirsdept",parammaps:{pastureId:n}};t.ajax(r,s,"POST",t.get_selectlist_data3)},onBackPress:function(){return uni.navigateTo({url:"/pages/todo/repairDispatch/repairDispatch"}),!0},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},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,this.dataValue.employeId=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)},formSubmit:function(e){var t=this,i=uni.getStorageSync("g_employeId"),a={name:"setRepirsEmp",parammaps:{id:t.dataValue.id,repairDept:t.pickerId3,pickId:t.pickerId4,chargeDate:t.today_now,chargeId:i}};console.log("发送数据:"+JSON.stringify(a)),t.ajax("/authdata/GetDataByName",a,"POST",t.get_edit_status)},formCancel:function(e){uni.navigateBack({delta:1})},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_edit_status:function(e){if(console.log("保存状态:",e),"ok"==e.msg)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(e){setTimeout((function(){uni.navigateTo({url:"/pages/todo/repairDispatch/repairDispatch"})}),1e3)}});else{var t=e.data;uni.showToast({title:"保存失败"+t,duration:2e3,icon:"none"})}}},components:{gracePage:r.default,graceFlex:n.default,graceSelectImgAndUpload:s.default}};t.default=o},"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},"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 r=i("4f06").default;r("0f67b36b",a,!0,{sourceMap:!1,shadowMode:!1})},"78e1":function(e,t,i){"use strict";i.r(t);var a=i("2102"),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},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},"93c4":function(e,t,i){"use strict";i.r(t);var a=i("9b1b"),r=i("78e1");for(var n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("dacd");var s,o=i("f0c5"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"0c356342",null,!1,a["a"],s);t["default"]=c.exports},"9b1b":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.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-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 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",disabled:!0},model:{value:e.dataValue.details,callback:function(t){e.$set(e.dataValue,"details",t)},expression:"dataValue.details"}})],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"yes"==e.isbtn,expression:"isbtn == 'yes'"}],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",{directives:[{name:"show",rawName:"v-show",value:"yes"==e.isbtn,expression:"isbtn == 'yes'"}],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",{directives:[{name:"show",rawName:"v-show",value:"no"==e.isbtn,expression:"isbtn == 'no'"}],staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("部门")]),i("v-uni-view",{staticClass:"other"},[i("v-uni-text",[e._v(e._s(e.dataValue.deptName))])],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"no"==e.isbtn,expression:"isbtn == 'no'"}],staticClass:"grace-items"},[i("v-uni-view",{staticClass:"grace-label grace-bold"},[e._v("维修人")]),i("v-uni-view",{staticClass:"other"},[i("v-uni-text",[e._v(e._s(e.dataValue.pickName))])],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"yes"==e.isbtn,expression:"isbtn == 'yes'"}],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=[]},"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},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=[]},cef7:function(e,t,i){var a=i("e370");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("4f06").default;r("15935bc8",a,!0,{sourceMap:!1,shadowMode:!1})},dacd:function(e,t,i){"use strict";var a=i("cef7"),r=i.n(a);r.a},e370:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".input-bx[data-v-0c356342]{height:auto;background:#fff;padding:0 %?30?%}.btn-bx[data-v-0c356342]{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-0c356342]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-0c356342]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}",""]),e.exports=t},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=[]}}]);