1 line
55 KiB
JavaScript
1 line
55 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-projectEnd-betonManage-qualitySpringback-detail"],{"2c55":function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.flex[data-v-41f1cdc0]{display:flex;align-items:center;justify-content:space-around}.flex2[data-v-41f1cdc0]{display:flex;align-items:center}.flex3[data-v-41f1cdc0]{display:flex;align-items:center;justify-content:space-between}.flex4[data-v-41f1cdc0]{display:flex}.title[data-v-41f1cdc0]{text-align:center;line-height:%?42?%;font-size:%?30?%;letter-spacing:1.4px;color:#2a2b5b;opacity:.4}.content[data-v-41f1cdc0]{padding:10px %?30?% 20px;box-sizing:border-box;width:100%}.top_wrap[data-v-41f1cdc0]{width:100%;box-sizing:border-box;padding:10px %?26?%;background-color:#fbfbff;box-shadow:0 2px 10px 0 rgba(212,220,236,.65);border-radius:%?16?%}.storey_info[data-v-41f1cdc0]{padding:10px 0;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#372d66;font-size:%?30?%;line-height:%?42?%;letter-spacing:3px\r\n /* border-bottom: 1px solid rgba(42,43,91,0.2); */}.soil_value[data-v-41f1cdc0]{width:100%;box-sizing:border-box;flex-wrap:wrap-reverse;margin:5px 0;color:rgba(55,45,102,.6)}.soil_type[data-v-41f1cdc0]{font-size:%?26?%;line-height:28px}.soil_type uni-text[data-v-41f1cdc0]{color:#2a2b5b}.measure_data[data-v-41f1cdc0]{width:100%;box-sizing:border-box;padding:20px %?30?% 10px;margin-top:15px;background-color:#fbfbff;box-shadow:0 2px 10px 0 rgba(212,220,236,.65);border-radius:8px}.st_2[data-v-41f1cdc0]{margin-top:0;background:#fff}.measure_content[data-v-41f1cdc0]{width:100%;margin:25px 0}.measure_title[data-v-41f1cdc0]{text-align:center;margin:10px 0 15px;font-size:%?30?%;font-family:PingFang-SC-Medium,PingFang-SC;font-weight:500;color:#2a2b5b;letter-spacing:1px}.measure_right[data-v-41f1cdc0]{width:38%;text-align:center;font-size:%?32?%;font-family:PingFangSC-Regular,PingFang SC;font-weight:500;color:#372d66}.measure_btn[data-v-41f1cdc0]{padding:8px 30px;box-sizing:border-box;border-radius:30px;color:#fff;background-color:#4181fe}.depth_wrap[data-v-41f1cdc0]{width:100%;border:1px solid rgba(42,43,91,.2);margin-bottom:30px}.depth[data-v-41f1cdc0]{width:25%;text-align:center;line-height:35px;border-right:1px solid rgba(42,43,91,.2)}.depth[data-v-41f1cdc0]:last-child{border-right:none;font-size:%?30?%;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#372d66}.table[data-v-41f1cdc0]{border:1px solid rgba(42,43,91,.2);box-sizing:border-box;flex-wrap:wrap}.table_box[data-v-41f1cdc0]{width:%?85?%;list-style:none;border-right:1px solid rgba(42,43,91,.2);padding:0;font-size:%?30?%;color:#372d66;font-family:PingFangSC-Regular,PingFang SC}.table_box[data-v-41f1cdc0]:last-child{border-right:none}.table_box li[data-v-41f1cdc0]{width:100%;height:%?73?%;text-align:center;line-height:%?73?%;border-bottom:solid 1px rgba(42,43,91,.2)}.table_box li[data-v-41f1cdc0]:last-child{border-bottom:none}.uni-input[data-v-41f1cdc0]{height:100%;padding:0 5px}.start_wrap[data-v-41f1cdc0]{margin:30px 0 10px}.start_btn[data-v-41f1cdc0]{text-align:center;line-height:%?70?%;width:60%;margin:0 auto;\r\n /* background-color: #4181FE; */color:#4181fe;border-radius:35px;border:1px solid #4181fe}.start_btn[data-v-41f1cdc0]:active{background-color:rgba(65,129,254,.2);color:#fff}.start_btn2[data-v-41f1cdc0]{font-size:13px;line-height:30px;margin-top:10px}.picker[data-v-41f1cdc0]{border:1px solid rgba(42,43,91,.3);border-radius:%?14?%;padding:6px %?30?%;font-size:%?30?%;width:60%;box-sizing:border-box;position:relative;margin-left:10px}.arrowdown[data-v-41f1cdc0]{position:absolute;top:10px;right:15px;color:#262d47;opacity:.8}.closeBtn[data-v-41f1cdc0]{font-size:15px;color:rgba(42,43,91,.5);padding:10px 0;text-align:center}.yellow[data-v-41f1cdc0]{color:#ecd312}.red[data-v-41f1cdc0]{color:#ec3c12}.circleBox[data-v-41f1cdc0]{width:100px;height:100px;border-radius:50%;border:4px solid #1dc349;text-align:center;margin:0 auto;color:#1dc349}.circleBox.red[data-v-41f1cdc0]{border-color:#f95858;color:#f95858}.circleBox .num[data-v-41f1cdc0]{font-size:30px;margin-top:10px}.dialogTitle[data-v-41f1cdc0]{padding:10px 15px 0}.info_detail[data-v-41f1cdc0]{position:absolute;left:%?0?%;top:%?-130?%;width:%?570?%;padding:%?20?%;padding-top:%?30?%;word-break:break-all;background:#fff;background:#eee;border:1px solid #eee;font-size:12px;border-radius:6px}.info_detail .close_btn[data-v-41f1cdc0]{position:absolute;right:%?6?%;top:%?6?%}.info_detail[data-v-41f1cdc0]:after{content:"";width:0;height:0;border-left:%?20?% solid transparent;border-right:%?20?% solid transparent;border-top:%?20?% solid #eee;position:absolute;bottom:%?-20?%;left:%?115?%}.num_input[data-v-41f1cdc0]{width:%?100?%;height:%?60?%;border:1px solid rgba(42,43,91,.3);border-radius:%?14?%;text-align:center;padding:0 %?10?%;box-sizing:border-box}.bottom_btn[data-v-41f1cdc0]{margin-top:0;margin-bottom:%?42?%}.qualitySpringback[data-v-41f1cdc0]{padding-bottom:%?20?%;padding-top:44px}.fixedHeader[data-v-41f1cdc0]{position:fixed;top:0;left:0;width:100%;z-index:2}.test_result[data-v-41f1cdc0]{text-align:center;width:90%;margin:0 auto;margin-bottom:%?42?%;line-height:%?40?%;font-size:%?28?%;padding:%?22?% %?84?%;box-sizing:border-box}.status[data-v-41f1cdc0]{color:#44d7b5;background:linear-gradient(270deg,rgba(68,215,181,0),rgba(68,215,181,.15),rgba(68,215,181,0))}.status2[data-v-41f1cdc0]{color:#f65352;background:linear-gradient(270deg,rgba(246,83,82,0),rgba(246,83,82,.15),rgba(246,83,82,0))}[data-v-41f1cdc0] .uni-scroll-view::-webkit-scrollbar{ width:0; height:0; background-color:transparent;display:none}.scroll-view_H[data-v-41f1cdc0]{width:100%;padding:0;margin-bottom:%?20?%}.scroll-view_H .scroll-view-item_H[data-v-41f1cdc0]{width:24%;font-size:%?30?%;text-align:left;padding:%?10?% 0}.scroll-view_H .active .name[data-v-41f1cdc0]{border:0;font-weight:400;color:#488dec}.imgBox_wrap[data-v-41f1cdc0]{display:flex;flex-wrap:wrap;padding-top:%?26?%;width:75%;margin-bottom:%?20?%}.imgBox[data-v-41f1cdc0]{width:%?80?%;height:%?80?%;display:inline-flex;position:relative;margin-right:15px;margin-bottom:%?32?%}.imgBox .img[data-v-41f1cdc0]{width:100%;height:100%}.imgBox .deleteImg[data-v-41f1cdc0]{position:absolute;right:%?-12?%;top:%?-16?%}.addImgBox[data-v-41f1cdc0]{background-color:#d8d8d8;width:%?80?%;height:%?80?%;border-radius:%?6?%;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.addImgBox .icon-add[data-v-41f1cdc0]{width:%?20?%;height:%?20?%;color:#999}.form_item[data-v-41f1cdc0]{margin-bottom:%?52?%;justify-content:flex-start;font-size:%?28?%}.form_item .form_label[data-v-41f1cdc0]{width:%?300?%}.form_item .radio_box[data-v-41f1cdc0]{display:flex}.form_item .radio_box .radio[data-v-41f1cdc0]{margin-right:%?40?%;display:flex;align-items:center}.form_item .radio_box[data-v-41f1cdc0] .uni-radio-input{width:%?28?%;height:%?28?%;font-size:%?28?%}.form_item .radio_box[data-v-41f1cdc0] .uni-radio-input-checked::before{font-size:%?28?%}.input_box[data-v-41f1cdc0]{width:100%;border:1px solid rgba(42,43,91,.3);border-radius:%?14?%;padding:%?12?% %?30?%;height:%?60?%;font-size:%?30?%;width:60%;box-sizing:border-box;position:relative;margin-left:%?20?%}.img_box[data-v-41f1cdc0]{width:%?266?%;height:%?192?%;border:1px solid rgba(42,43,91,.3);border-radius:%?6?%;position:relative}.img_box .img_bg[data-v-41f1cdc0]{width:100%;height:100%}.img_box .point[data-v-41f1cdc0]{position:absolute}.img_box .point uni-image[data-v-41f1cdc0]{width:%?38?%;height:%?46?%}.f-start[data-v-41f1cdc0]{align-items:flex-start}.formDialog[data-v-41f1cdc0] .dialogContent{width:90%;top:auto;left:50%;bottom:%?30?%;-webkit-transform:translate(-50%);transform:translate(-50%);border-radius:16px}.formDialog .dialog-title[data-v-41f1cdc0]{padding:0 %?40?%;font-weight:600;padding-top:%?40?%;margin-bottom:%?16?%;font-size:%?36?%}.formDialog .dialog-content[data-v-41f1cdc0]{padding:0 %?40?%}.formDialog .dialog-content .form-label[data-v-41f1cdc0]{color:rgba(48,48,95,.8);font-size:%?28?%;margin-bottom:%?16?%}.formDialog .dialog-content .detail_info[data-v-41f1cdc0]{color:rgba(48,48,95,.8);font-size:%?28?%}.formDialog .dialog-content .form-textarea[data-v-41f1cdc0]{flex:1;width:100%;height:%?154?%;border:1px solid #d6d6df;background:rgba(158,163,175,.05);border-radius:%?18?%;margin-bottom:%?84?%}.formDialog .dialog-content .form-textarea[data-v-41f1cdc0] uni-textarea{width:100%;height:100%;padding:%?26?% %?28?%;box-sizing:border-box;font-size:%?28?%}.formDialog .dialog-content .form-textarea[data-v-41f1cdc0] uni-textarea .uni-textarea-compute{width:100%;height:100%;overflow:auto}.formDialog .dialog-btn[data-v-41f1cdc0]{width:100%;height:%?94?%;display:flex;align-items:center;justify-content:center;padding-bottom:%?60?%}.formDialog .dialog-btn .cancle-btn[data-v-41f1cdc0]{height:%?100?%;width:%?236?%;text-align:center;line-height:%?100?%;background:#fff;color:rgba(48,48,95,.6);border-radius:25px;border:%?1?% solid rgba(48,48,95,.3);margin-right:%?112?%}.formDialog .dialog-btn .primary-btn[data-v-41f1cdc0]{height:%?100?%;width:%?236?%;text-align:center;line-height:%?100?%;border-radius:25px;color:#fff;background:#5181f6}uni-movable-view[data-v-41f1cdc0]{width:auto;height:auto;position:relative}.movableBox[data-v-41f1cdc0]{height:%?500?%;width:100%;\r\n /* position: fixed; */overflow:hidden;margin-bottom:%?40?%;border-radius:3px;border:.5px solid rgba(42,43,91,.34)}.addrImg[data-v-41f1cdc0]{width:36px;height:46px}.drawing_wrap[data-v-41f1cdc0]{position:relative}.drawing_bg[data-v-41f1cdc0]{\r\n /* width: 100%; */background-repeat:no-repeat;background-position:50%;background-size:100% auto\r\n /* height: 0px; */}.drawing_bg2[data-v-41f1cdc0]{padding-top:65%}.drawing_wrap .marker[data-v-41f1cdc0]{position:absolute;\r\n /* background-color: red; */width:18px;height:20px;z-index:111}',""]),e.exports=t},"50dd":function(e,t,a){"use strict";a.r(t);var n=a("b3d7"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},"67b5":function(e,t,a){"use strict";a.r(t);var n=a("bc3f"),i=a("50dd");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("f602");var s=a("f0c5"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"41f1cdc0",null,!1,n["a"],void 0);t["default"]=r.exports},b3d7:function(e,t,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a("c7eb")),o=n(a("1da1"));a("d3b7"),a("159b"),a("14d9"),a("a9e3"),a("a434"),a("ac1f"),a("e9c4"),a("e25e"),a("4de4"),a("d81d"),a("07ac"),a("4e82");var s=a("632d"),r=a("4df3"),l=n(a("2e58")),u=a("3b64"),d={components:{dialogs:l.default},data:function(){return{changePos:{y:0,scale:.5,x:0},infoType:0,mapX:0,mapY:0,axisX:"",axisY:"",markerList:[],imgFileList:[],activeTabIndex:0,showDetail:!1,jsonData:s.jsonData,angleJsonData:r.angleJsonData,surveyStrength:0,resultType:0,buildName:"",floorName:"",typeIndex:0,optionList3:[{name:"请选择",value:""},{name:"普通设备",value:1},{name:"高强设备",value:2}],typeIndex2:0,optionList4:[{name:"请选择",value:""},{name:"水平构件",value:1},{name:"竖向构件",value:2}],optionList:[{name:"请选择",value:""},{name:"向上90°",value:90},{name:"向上60°",value:60},{name:"向上45°",value:45},{name:"向上30°",value:30},{name:"水平0°",value:0},{name:"向下30°",value:-30},{name:"向下45°",value:-45},{name:"向下60°",value:-60},{name:"向下90°",value:-90}],optionList2:[{name:"请选择",value:""},{name:"C15",value:"C15"},{name:"C20",value:"C20"},{name:"C25",value:"C25"},{name:"C30",value:"C30"},{name:"C35",value:"C35"},{name:"C40",value:"C40"},{name:"C45",value:"C45"},{name:"C50",value:"C50"},{name:"C55",value:"C55"},{name:"C60",value:"C60"}],concreteTypeList:[{name:"请选择",value:""},{name:"非泵送混凝土",value:1},{name:"泵送混凝土",value:2}],strengthIndex:0,concreteType:0,angleIndex:0,form:{angle:0,floorId:"",coordinateX:"",coordinateY:"",projectSn:"",reboundAvgValue:0,carbonationDepthAvg:0,surveyType:1,measureDevType:1,designStrength:"C15"},table:{reboundValue1:"",reboundValue2:"",reboundValue3:"",reboundValue4:"",reboundValue5:"",reboundValue6:"",reboundValue7:"",reboundValue8:"",reboundValue9:"",reboundValue10:"",reboundValue11:"",reboundValue12:"",reboundValue13:"",reboundValue14:"",reboundValue15:"",reboundValue16:""},carbonation:{carbonationDepth1:"",carbonationDepth2:"",carbonationDepth3:""},dataIndex:1,colorIndexArr:[],detailId:"",editId:"",isoutline:!1,isTest:!1,coordinateX:"",coordinateY:"",isCheck:!1,imgOriginW:0,imgOriginH:0,imgScale:.5,movableBoxTop:0,imgUrl:"",isShowPoint:!1,pouringId:"",isShowReport:!1,isShow10:!1,tenTestArr:[],surveyAreaId:"",isChange:!0}},onLoad:function(e){if(console.log(s.jsonData),console.log(e),this.pouringId=e.id,this.getImg(),this.form.projectSn=JSON.parse(uni.getStorageSync("projectDetail")).projectSn,uni.getStorageSync("oldObj")){console.log(uni.getStorageSync("oldObj"));var t=uni.getStorageSync("oldObj");this.form.measureDevType=t.typeIndex,this.typeIndex=t.typeIndex,this.angleIndex=t.angleIndex,this.concreteType=t.concreteType,this.strengthIndex=t.strengthIndex,2==this.typeIndex?(this.optionList2=[{name:"请选择",value:""},{name:"C20",value:"C20"},{name:"C25",value:"C25"},{name:"C30",value:"C30"},{name:"C35",value:"C35"},{name:"C40",value:"C40"},{name:"C45",value:"C45"},{name:"C50",value:"C50"},{name:"C55",value:"C55"},{name:"C60",value:"C60"},{name:"C65",value:"C65"},{name:"C70",value:"C70"},{name:"C75",value:"C75"},{name:"C80",value:"C80"},{name:"C85",value:"C85"},{name:"C90",value:"C90"},{name:"C95",value:"C95"},{name:"C100",value:"C100"}],this.form.angle=0):this.form.angle=this.optionList[this.angleIndex].value,this.form.surveyType=this.concreteTypeList[this.concreteType].value,this.form.designStrength=this.optionList2[this.strengthIndex].value}else this.typeIndex=0,this.angleIndex=0,this.concreteType=0,this.strengthIndex=0;console.log(e),"true"==e.isAdd&&this.startSpringback()},mounted:function(){},onUnload:function(){this.stopGetData()},methods:{restTest:function(){var e=this;this.sendRequest({url:"xmgl/massReboundMainMeasureRecord/updateRetestMeasure",method:"post",data:{pouringId:this.pouringId},success:function(t){console.log(t),e.$refs.dialogs3.hideFn2(),e.measureAgainFn()}})},selectCount:function(){var e=this;this.sendRequest({url:"xmgl/massReboundMainMeasureRecord/selectMeasureResultCount",method:"post",data:{pouringId:this.pouringId},success:function(t){console.log(t),t.result.unqualifiedNum>2&&e.$refs.dialogs3.showFn()}})},saveBtn2:function(){var e=!0;if(this.tenTestArr.forEach((function(t){t.surveyStrength||(e=!1)})),e){var t={pouringId:this.pouringId,projectSn:JSON.parse(uni.getStorageSync("projectDetail")).projectSn,surveyAreaId:this.surveyAreaId,subitemList:this.tenTestArr},a=this;this.sendRequest({url:"xmgl/massReboundMainMeasureRecord/saveSubitemMeasureData",method:"post",data:t,success:function(e){console.log(e),a.surveyStrength=e.result.measureStrength,a.resultType=1,2==e.result.measureResult?a.infoType=3:a.infoType=1,a.surveyAreaId=e.result.surveyAreaId,1==e.result.measureState&&a.selectCount()}}),console.log(this.tenTestArr,t)}else uni.showToast({title:"请测完十个测区",icon:"none"})},addTest:function(){this.isShow10=!0,this.tenTestArr=[],this.resultType=0;for(var e=0;e<10;e++)this.tenTestArr.push({reboundAvgValue:0,reboundNumber:e+Number(1),reboundValue1:"",reboundValue2:"",reboundValue3:"",reboundValue4:"",reboundValue5:"",reboundValue6:"",reboundValue7:"",reboundValue8:"",reboundValue9:"",reboundValue10:"",reboundValue11:"",reboundValue12:"",reboundValue13:"",reboundValue14:"",reboundValue15:"",reboundValue16:"",surveyStrength:""});this.changeLevel(0),console.log(this.tenTestArr)},getImg:function(e){var t=this;this.sendRequest({url:"xmgl/massReboundPouringOrder/queryById",method:"post",data:{id:this.pouringId},success:function(e){t.imgUrl=e.result.drawingUrl;var a=e.result.imageLength,n=e.result.imageWidth;t.imgOriginW=n,t.imgOriginH=a,console.log(e)}})},radioChange:function(e){},clickDraw2:function(e){console.log(e),console.log(e.detail.x,e.detail.y,this.imgScale,this.movableBoxTop),this.coordinateX=(e.detail.x-50-this.changePos.x)/this.imgScale,this.coordinateY=(e.detail.y-485-this.changePos.y-this.movableBoxTop)/this.imgScale,console.log(this.coordinateX,this.coordinateY,this.imgScale),this.markerList.length>0?this.markerList[this.markerList.length-1].isNewPoint&&this.markerList.splice(this.markerList.length-1,1):this.markerList.splice(0,1),this.markerList.push({coordinateX:this.coordinateX,coordinateY:this.coordinateY,resultType:1,isNewPoint:!0}),this.isCheck=!0},changePosFn:function(e){console.log("移动"),console.log(e.detail),this.changePos.x=e.detail.x,this.changePos.y=e.detail.y},onScale:function(e){console.log("缩放"),this.imgScale=e.detail.scale,this.changePos.x=this.changePos.x+e.detail.x,this.changePos.y=this.changePos.y+e.detail.y,console.log(e.detail)},submitReply:function(){this.form.coordinateX=this.markerList[0].coordinateX,this.form.coordinateY=this.markerList[0].coordinateY,this.mapX=(100*this.markerList[0].coordinateX/this.imgOriginW).toFixed(2),this.mapY=(100*this.markerList[0].coordinateY/this.imgOriginH).toFixed(2),this.isShowPoint=!0,this.$refs.dialogs2.hideFn2()},cancleReply:function(){this.$refs.dialogs2.hideFn2()},showDialog:function(){this.$refs.dialogs2.showFn();var e=this;this.$nextTick((function(){uni.getSystemInfo({success:function(t){var a=uni.createSelectorQuery().select(".movableBox");console.log(a),a.boundingClientRect((function(t){console.log("各种参数"),console.log(JSON.stringify(t)),e.movableBoxTop=t.top})).exec()}})}))},previewImage:function(e){uni.previewImage({urls:[e]})},uploadImg:function(){var e=this;uni.chooseImage({count:5-e.imgFileList.length,success:function(t){var a=t.tempFilePaths;uni.uploadFile({url:e.url_config+"upload/image",filePath:a[0],name:"files",success:function(t){var a={name:JSON.parse(t.data).data[0].filename,url:JSON.parse(t.data).data[0].imageUrl};e.imgFileList.push(a)}})}})},deleteImg:function(e,t){var a=this;uni.showModal({title:"提示",content:"确定删除该附件吗?",success:function(n){if(n.confirm){if(1==t){var i=JSON.parse(JSON.stringify(a.imgFileList));i.forEach((function(t,a){t.url==e.url&&i.splice(a,1)})),a.imgFileList=i}}else n.cancel&&console.log("用户点击取消")}})},changeLevel:function(e){console.log(this.isChange),this.isChange?(this.activeTabIndex=e,this.stopGetData(),""!=this.tenTestArr[e].surveyStrength?(this.table=this.tenTestArr[e],this.surveyStrength=this.tenTestArr[e].surveyStrength,this.form.reboundAvgValue=this.tenTestArr[e].reboundAvgValue):(this.table={reboundValue1:"",reboundValue2:"",reboundValue3:"",reboundValue4:"",reboundValue5:"",reboundValue6:"",reboundValue7:"",reboundValue8:"",reboundValue9:"",reboundValue10:"",reboundValue11:"",reboundValue12:"",reboundValue13:"",reboundValue14:"",reboundValue15:"",reboundValue16:""},this.surveyStrength="",this.form.reboundAvgValue=0,this.dataIndex=1,this.startSpringback()),console.log(this.tenTestArr[e])):uni.showToast({title:"请先测量完当前测区",icon:"none"})},getResult:function(e){console.log(e);var t=e;if(2==t.measureDevType){var a=.0079*t.reboundAvgValue*t.reboundAvgValue+.75*t.reboundAvgValue-7.83;this.surveyStrength=parseInt(100*a)/100,this.editId="",console.log(a,t.designStrength.split("C"))}else if(1==t.measureDevType)if(0!=t.angle&&t.reboundAvgValue>=20&&t.reboundAvgValue<=50&&(t.reboundAvgValue=this.getReboundAvgValue(t.angle,t.reboundAvgValue)),1==t.surveyType)if(t.reboundAvgValue<20)this.surveyStrength="小于10";else if(t.reboundAvgValue>60)this.surveyStrength="大于60";else{var n=this.jsonData.RECORDS.filter((function(e){return 1==e.type})),i=n.filter((function(e){return e.rebound_avg_value==t.reboundAvgValue||e.rebound_avg_value<t.reboundAvgValue&&e.rebound_avg_value+.1>=t.reboundAvgValue||e.rebound_avg_value>t.reboundAvgValue&&e.rebound_avg_value-.1<=t.reboundAvgValue}));if(i&&1==i.length){var o=this.getCarbonationKey(t.carbonationDepthAvg,i[0]);console.log(o),this.surveyStrength="up"==o?"大于60":"down"==o?"小于10":o}else if(2==i.length){var s=this.getCarbonationKey(t.carbonationDepthAvg,i[0]),r=this.getCarbonationKey(t.carbonationDepthAvg,i[1]);if("down"==s||"down"==r)this.surveyStrength="小于10";else if("up"==s||"up"==r)this.surveyStrength="大于60";else{var l=(r-s)*(t.reboundAvgValue-i[0].rebound_avg_value)/(i[1].rebound_avg_value-i[0].rebound_avg_value)+s;this.surveyStrength=l.toFixed(2),console.log(l.toFixed(2))}}}else if(2==t.surveyType)if(t.reboundAvgValue<18.6)this.surveyStrength="小于10";else if(t.reboundAvgValue>52.8)this.surveyStrength="大于60";else{var u=this.jsonData.RECORDS.filter((function(e){return 2==e.type})),d=u.filter((function(e){return e.rebound_avg_value==t.reboundAvgValue||e.rebound_avg_value<t.reboundAvgValue&&e.rebound_avg_value+.1>=t.reboundAvgValue||e.rebound_avg_value>t.reboundAvgValue&&e.rebound_avg_value-.1<=t.reboundAvgValue}));if(console.log(d),d&&1==d.length){var c=this.getCarbonationKey(t.carbonationDepthAvg,d[0]);console.log(c),this.surveyStrength="up"==c?"大于60":"down"==c?"小于10":c}else if(2==d.length){var v=this.getCarbonationKey(t.carbonationDepthAvg,d[0]),p=this.getCarbonationKey(t.carbonationDepthAvg,d[1]);if("down"==v||"down"==p)this.surveyStrength="小于10";else if("up"==v||"up"==p)this.surveyStrength="大于60";else{var h=(p-v)*(t.reboundAvgValue-d[0].rebound_avg_value)/(d[1].rebound_avg_value-d[0].rebound_avg_value)+v;this.surveyStrength=h.toFixed(2),console.log(h.toFixed(2))}}}},getCarbonationKey:function(e,t){var a="";switch(console.log(e),e){case 0:a=-2==t.carbonation_depth_zero?"up":-1==t.carbonation_depth_zero?"down":t.carbonation_depth_zero;break;case.5:a=-2==t.carbonation_depth_zero_point_five?"up":-1==t.carbonation_depth_zero_point_five?"down":t.carbonation_depth_zero_point_five;break;case 1:a=-2==t.carbonation_depth_one?"up":-1==t.carbonation_depth_one?"down":t.carbonation_depth_one;break;case 1.5:a=-2==t.carbonation_depth_one_point_five?"up":-1==t.carbonation_depth_one_point_five?"down":t.carbonation_depth_one_point_five;break;case 2:a=-2==t.carbonation_depth_two?"up":-1==t.carbonation_depth_two?"down":t.carbonation_depth_two;break;case 2.5:a=-2==t.carbonation_depth_two_point_five?"up":-1==t.carbonation_depth_two_point_five?"down":t.carbonation_depth_two_point_five;break;case 3:return-2==t.carbonation_depth_three?"up":-1==t.carbonation_depth_three?"down":t.carbonation_depth_three;case 3.5:a=-2==t.carbonation_depth_three_point_five?"up":-1==t.carbonation_depth_three_point_five?"down":t.carbonation_depth_three_point_five;break;case 4:a=-2==t.carbonation_depth_four?"up":-1==carbonation_depth_four?"down":t.carbonation_depth_four;break;case 4.5:a=-2==t.carbonation_depth_four_point_five?"up":-1==t.carbonation_depth_four_point_five?"down":t.carbonation_depth_four_point_five;break;case 5:a=-2==t.carbonation_depth_five?"up":-1==t.carbonation_depth_five?"down":t.carbonation_depth_five;break;case 5.5:a=-2==t.carbonation_depth_five_point_five?"up":-1==t.carbonation_depth_five_point_five?"down":t.carbonation_depth_five_point_five;break;case 6:a=-2==t.carbonation_depth_six?"up":-1==t.carbonation_depth_six?"down":t.carbonation_depth_six;break;default:a=e>6?-2==t.carbonation_depth_six?"up":-1==t.carbonation_depth_six?"down":t.carbonation_depth_six:"";break}return a},getReboundAvgValue:function(e,t){console.log(e,t,this.angleJsonData.RECORDS);var a="",n=this.angleJsonData.RECORDS.filter((function(e){return e.rebound_avg_value==t||e.rebound_avg_value<t&&e.rebound_avg_value+1>t||e.rebound_avg_value>t&&e.rebound_avg_value-1<t}));if(n&&n.length>0&&1==n.length)console.log(this.getVal(e,n[0])),a=Number(t)+Number(this.getVal(e,n[0])),console.log(a);else if(n&&n.length>0&&2==n.length){var i=this.getVal(e,n[0]),o=this.getVal(e,n[1]);console.log((o-i)*(t-t-1));var s=(o-i)*(t-n[0].rebound_avg_value)/(n[1].rebound_avg_value-n[0].rebound_avg_value)+i;a=t+s}return console.log(n,a),a},getVal:function(e,t){console.log(e,t);var a="";switch(e){case 90:a=t.up90;break;case 60:a=t.up60;break;case 45:a=t.up45;break;case 30:a=t.up30;break;case-30:a=t.down30;break;case-45:a=t.down45;break;case-60:return t.down60;case-90:a=t.down90;break;default:a="";break}return a},showInfo:function(){},saveBtn:function(){this.measureBtn()},startSpringback:function(){this.send("24535253F8230D0A"),uni.$on("recvEvent",this.reviceDevData)},measureAgainFn:function(){this.table={reboundValue1:"",reboundValue2:"",reboundValue3:"",reboundValue4:"",reboundValue5:"",reboundValue6:"",reboundValue7:"",reboundValue8:"",reboundValue9:"",reboundValue10:"",reboundValue11:"",reboundValue12:"",reboundValue13:"",reboundValue14:"",reboundValue15:"",reboundValue16:""},this.colorIndexArr=[],this.form.coordinateX="",this.form.coordinateY="",this.isShowPoint=!1,this.markerList=[],this.axisX="",this.axisY="",this.mapX=0,this.mapY=0,this.dataIndex=1,this.infoType=0,this.tenTestArr=[],this.isShow10=!1,this.form.reboundAvgValue=0,this.resultType=0,this.surveyStrength="",this.stopGetData(),this.startSpringback()},getDetails:function(e){var t=this;this.sendRequest({url:"xmgl/massReboundSurveyArea/queryById",method:"post",data:{id:e},success:function(e){t.form=e.result,t.table=e.result,t.optionList2.forEach((function(e,a){t.form.designStrength==e.name&&(t.strengthIndex=a)})),t.optionList.forEach((function(e,a){t.form.angle==e.value&&(t.angleIndex=a)})),t.concreteType=t.form.surveyType-1}})},stopGetData:function(){console.log("停止回弹"),uni.$off("recvEvent"),this.send("24455253EA230D0A")},backToHome:function(){uni.navigateBack({delta:3})},send:function(e){return(0,o.default)((0,i.default)().mark((function t(){return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,u.writeBLE)(e).then((function(e){console.log("发送数据成功")})).catch((function(e){uni.showToast({title:"开启采集数据失败",icon:"none"})}));case 2:case"end":return t.stop()}}),t)})))()},reviceDevData:function(e){console.log("设备返回的数据"),console.log(e);var t=e.split('"');if(this.isChange=!1,console.log(this.isChange),"$RRD"==t[0]&&(console.log(this.table,this.dataIndex),this.table["reboundValue"+this.dataIndex]=t[1],this.calculate(),this.dataIndex++,17==this.dataIndex&&(this.isChange=!0,this.stopGetData(),this.isShow10))){2==this.typeIndex&&(this.carbonation.carbonationDepth1=0,this.carbonation.carbonationDepth2=0,this.carbonation.carbonationDepth3=0,this.form.carbonationDepthAvg=0,this.form.surveyType=3,this.form.angle=0);var a=Object.assign(this.form,this.carbonation,this.table);this.getResult(a),this.tenTestArr[this.activeTabIndex]=Object.assign(this.tenTestArr[this.activeTabIndex],this.table),this.tenTestArr[this.activeTabIndex].surveyStrength=this.surveyStrength,this.tenTestArr[this.activeTabIndex].reboundAvgValue=this.form.reboundAvgValue}},measureBtn:function(){var e=!0,t=!0;if(""!=this.axisX)if(""!=this.axisY)if(Object.values(this.table).map((function(e,a){""!=e&&null!=e||(t=!1)})),2!=this.typeIndex&&(Object.values(this.carbonation).map((function(t,a){console.log(t),""!=t&&null!=t||(e=!1)})),console.log(this.carbonation,e)),this.typeIndex)if(this.angleIndex||2==this.typeIndex)if(this.concreteType||2==this.typeIndex)if(this.strengthIndex)if(e)if(t){2==this.typeIndex&&(this.carbonation.carbonationDepth1=0,this.carbonation.carbonationDepth2=0,this.carbonation.carbonationDepth3=0,this.form.carbonationDepthAvg=0,this.form.surveyType=3,this.form.angle=0);var a=Object.assign(this.form,this.carbonation,this.table);if(""!=a.coordinateX&&""!=a.coordinateY){this.editId&&("xmgl/massReboundSurveyArea/saveAnewSurvey",a.id=this.editId);var n=this;this.isTest?a.opType=1:a.opType=0,console.log(this.optionList4,this.typeIndex2),a.memberType=this.optionList4[this.typeIndex2].value,a.pouringId=this.pouringId,a.createUser=JSON.parse(uni.getStorageSync("userInfo")).userId,a.memberType?(a.axisX=this.axisX,a.axisY=this.axisY,console.log(a),this.sendRequest({url:"xmgl/massReboundMainMeasureRecord/add",method:"post",data:a,success:function(e){console.log(e),n.surveyStrength=e.result.measureStrength,n.resultType=e.result.measureResult,2==e.result.measureResult?n.infoType=2:n.infoType=1,n.surveyAreaId=e.result.surveyAreaId,1==e.result.measureState&&n.selectCount()}})):uni.showToast({title:"请选择构件类型",icon:"none"})}else uni.showToast({title:"请选择测点",icon:"none"})}else uni.showToast({title:"请采集混凝土强度",icon:"none"});else uni.showToast({title:"请输入碳化深度",icon:"none"});else uni.showToast({title:"请选择设计强度",icon:"none"});else uni.showToast({title:"请选择混凝土类型",icon:"none"});else uni.showToast({title:"请选择测量角度",icon:"none"});else uni.showToast({title:"请选择测量类型",icon:"none"});else uni.showToast({title:"请输入轴线Y",icon:"none"});else uni.showToast({title:"请输入轴线X",icon:"none"})},backFn:function(){uni.navigateBack({})},pickerChangeType2:function(e){this.typeIndex2=e.detail.value},pickerChangeType:function(e){console.log(e),this.typeIndex=e.detail.value,this.form.measureDevType=this.optionList3[this.typeIndex].value,2==this.typeIndex?(this.strengthIndex=0,this.form.designStrength="",this.optionList2=[{name:"请选择",value:""},{name:"C20",value:"C20"},{name:"C25",value:"C25"},{name:"C30",value:"C30"},{name:"C35",value:"C35"},{name:"C40",value:"C40"},{name:"C45",value:"C45"},{name:"C50",value:"C50"},{name:"C55",value:"C55"},{name:"C60",value:"C60"},{name:"C65",value:"C65"},{name:"C70",value:"C70"},{name:"C75",value:"C75"},{name:"C80",value:"C80"},{name:"C85",value:"C85"},{name:"C90",value:"C90"},{name:"C95",value:"C95"},{name:"C100",value:"C100"}],this.angleIndex=0,this.concreteType=0):(this.angleIndex=0,this.strengthIndex=0,this.form.designStrength="",this.concreteType=0,this.optionList2=[{name:"请选择",value:""},{name:"C15",value:"C15"},{name:"C20",value:"C20"},{name:"C25",value:"C25"},{name:"C30",value:"C30"},{name:"C35",value:"C35"},{name:"C40",value:"C40"},{name:"C45",value:"C45"},{name:"C50",value:"C50"},{name:"C55",value:"C55"},{name:"C60",value:"C60"}])},pickerChangeFloor:function(e){this.angleIndex=e.detail.value,this.form.angle=this.optionList[this.angleIndex].value,this.table={reboundValue1:"",reboundValue2:"",reboundValue3:"",reboundValue4:"",reboundValue5:"",reboundValue6:"",reboundValue7:"",reboundValue8:"",reboundValue9:"",reboundValue10:"",reboundValue11:"",reboundValue12:"",reboundValue13:"",reboundValue14:"",reboundValue15:"",reboundValue16:""},this.form.reboundAvgValue=0,this.dataIndex=1,this.minData=0,this.minDataLength=0,this.maxData=0,this.maxDataLength=0},pickerChangeStrength:function(e){this.strengthIndex=e.detail.value,this.form.designStrength=this.optionList2[this.strengthIndex].value},pickerChangeConcreteType:function(e){this.concreteType=e.detail.value,this.form.surveyType=this.concreteTypeList[this.concreteType].value},reboundValue:function(e,t){},changeCarbonation:function(e,t){this.carbonation["carbonationDepth"+t]=e.detail.value;var a=!0;Object.values(this.carbonation).map((function(e,t){""!=e&&null!=e||(a=!1)})),a&&this.carbonationFn()},compare:function(e){return function(t,a){var n=t[e],i=a[e];return n-i}},calculate:function(){var e=this,t=[],a=[];this.colorIndexArr=[],Object.values(this.table).map((function(e,a){t.push({value:Number(e),index:a+1})})),console.log("noSortData",t),a=t.sort(this.compare("value")),console.log("hasSortData",a);var n=[];a.forEach((function(t,a){a>2&&a<13?n.push(t.value):e.colorIndexArr.push(t.index)})),console.log("this.colorIndexArr",this.colorIndexArr);for(var i=n.length,o=0,s=0;s<i;s++)o+=n[s];console.log(this.dataIndex),this.table.reboundValue16&&(this.form.reboundAvgValue=(o/10).toFixed(1),console.log(this.table,o,this.form.reboundAvgValue))},carbonationFn:function(){var e=[];Object.values(this.carbonation).sort().map((function(t){e.push(Number(t))})),console.log(e);for(var t=e.length,a=0,n=0;n<t;n++)a+=e[n];var i=(a/t).toFixed(2),o=Number(i.split(".")[0]),s=Number(i.split(".")[1]),r=0;s<25?r=0:s>=25&&s<75?r=50:s>=75&&(r=1),this.form.carbonationDepthAvg=Number(1==r?(o+r).toFixed(2):o+"."+r)}}};t.default=d},bc3f:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return n}));var n={headers:a("e033").default,uniIcons:a("e96d").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"qualitySpringback"},[n("headers",{staticClass:"fixedHeader",attrs:{showBack:!0}},[n("v-uni-view",{staticClass:"headerName"},[e._v("测量数据")])],1),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"measure_data"},[n("v-uni-view",{staticClass:"title"},[e._v("·构件信息·")]),n("v-uni-view",{staticClass:"measure_content"},[n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("轴线:")]),n("v-uni-view",{staticStyle:{display:"flex","align-items":"center","margin-right":"16px"}},[e._v("X:"),n("v-uni-input",{staticClass:"num_input",attrs:{type:"number",placeholder:"请输入"},model:{value:e.axisX,callback:function(t){e.axisX=t},expression:"axisX"}})],1),n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[e._v("Y:"),n("v-uni-input",{staticClass:"num_input",attrs:{type:"number",placeholder:"请输入"},model:{value:e.axisY,callback:function(t){e.axisY=t},expression:"axisY"}})],1)],1),n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%",position:"relative"}},[e._v("测量类型:"),n("uni-icons",{attrs:{type:"help",size:"14"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showDetail=!0}}}),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.showDetail,expression:"showDetail"}],staticClass:"info_detail"},[e._v("高强回弹仪 测量范围 C20-C100,适用范围C50-C100"),n("uni-icons",{staticClass:"close_btn",attrs:{type:"closeempty",size:"14"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showDetail=!1}}})],1)],1),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:e.isShow10,value:e.typeIndex,range:e.optionList3,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChangeType.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"uni-input"},[e._v(e._s(e.optionList3[e.typeIndex].name))]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1),n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%",position:"relative"}},[e._v("构件类型:")]),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:e.isShow10,value:e.typeIndex2,range:e.optionList4,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChangeType2.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"uni-input"},[e._v(e._s(e.optionList4[e.typeIndex2].name))]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1),2!=e.typeIndex?n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("测量角度:")]),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:e.isShow10,value:e.angleIndex,range:e.optionList,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChangeFloor.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"uni-input"},[e._v(e._s(e.optionList[e.angleIndex].name))]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1):2==e.typeIndex?n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("测量角度:")]),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:2==e.typeIndex,value:0,range:e.optionList,"range-key":"name"}},[n("v-uni-view",{staticClass:"uni-input"},[e._v("水平0°")]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1):e._e(),2!=e.typeIndex?n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("测区混凝土类型:")]),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:e.isShow10,value:e.concreteType,range:e.concreteTypeList,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChangeConcreteType.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"uni-input"},[e._v(e._s(e.concreteTypeList[e.concreteType].name))]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1):2==e.typeIndex?n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("测区混凝土类型:")]),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:2==e.typeIndex,value:"",range:e.concreteTypeList,"range-key":"name"}},[n("v-uni-view",{staticClass:"uni-input"},[e._v("动能4.5J回弹仪测区强度换算")]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1):e._e(),n("v-uni-view",{staticClass:"flex2",staticStyle:{margin:"0px 0 20px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("设计强度:")]),n("v-uni-picker",{staticClass:"picker",attrs:{disabled:e.isShow10,value:e.strengthIndex,range:e.optionList2,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerChangeStrength.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"uni-input"},[e._v(e._s(e.optionList2[e.strengthIndex].name))]),n("uni-icons",{staticClass:"arrowdown",attrs:{type:"arrowdown"}})],1)],1),n("v-uni-view",{staticClass:"flex2 f-start",staticStyle:{margin:"0px 0 10px"}},[n("v-uni-view",{staticStyle:{"font-size":"30rpx",color:"#372D66",width:"40%"}},[e._v("选择测区:")]),n("v-uni-view",{staticClass:"img_box",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showDialog.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"img_bg",attrs:{src:e.url_config+"image/"+e.imgUrl}}),e.isShowPoint?n("v-uni-view",{staticClass:"point",style:{left:e.mapX+"%",top:e.mapY+"%"}},[n("v-uni-image",{attrs:{src:a("5370")}})],1):e._e()],1)],1)],1)],1)],1),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"measure_data st_2"},[2!=e.typeIndex?n("v-uni-view",{staticClass:"title",staticStyle:{"margin-bottom":"10px"}},[e._v("·碳化深度·")]):e._e(),2!=e.typeIndex?n("v-uni-view",{staticClass:"flex2 depth_wrap"},[n("v-uni-view",{staticClass:"depth",staticStyle:{width:"22%"}},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:e.isShow10,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.changeCarbonation(t,1)}.apply(void 0,arguments)}},model:{value:e.carbonation.carbonationDepth1,callback:function(t){e.$set(e.carbonation,"carbonationDepth1",t)},expression:"carbonation.carbonationDepth1"}})],1),n("v-uni-view",{staticClass:"depth",staticStyle:{width:"22%"}},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:e.isShow10,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.changeCarbonation(t,2)}.apply(void 0,arguments)}},model:{value:e.carbonation.carbonationDepth2,callback:function(t){e.$set(e.carbonation,"carbonationDepth2",t)},expression:"carbonation.carbonationDepth2"}})],1),n("v-uni-view",{staticClass:"depth",staticStyle:{width:"22%"}},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:e.isShow10,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.changeCarbonation(t,3)}.apply(void 0,arguments)}},model:{value:e.carbonation.carbonationDepth3,callback:function(t){e.$set(e.carbonation,"carbonationDepth3",t)},expression:"carbonation.carbonationDepth3"}})],1),n("v-uni-view",{staticClass:"depth",staticStyle:{width:"44%"}},[e._v("平均值: "+e._s(e.form.carbonationDepthAvg))])],1):e._e(),n("v-uni-view",{staticClass:"title"},[e._v("·数据测量·")]),n("v-uni-view",{staticClass:"measure_content"},[e.isShow10?n("v-uni-view",[n("v-uni-scroll-view",{staticClass:"scroll-view_H",attrs:{"scroll-x":"true"}},e._l(10,(function(t,a){return n("v-uni-view",{key:a,staticClass:"scroll-view-item_H",class:e.activeTabIndex==a?"active":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeLevel(a)}}},[n("v-uni-text",{staticClass:"name"},[e._v("测区"+e._s(a+1))])],1)})),1)],1):e._e(),n("v-uni-view",{staticClass:"flex3"},[n("v-uni-view",{staticClass:"table flex4"},[n("ul",{staticClass:"table_box"},[n("li",{class:-1!=e.colorIndexArr.indexOf(1)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,1)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue1,callback:function(t){e.$set(e.table,"reboundValue1",t)},expression:"table.reboundValue1"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(5)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,5)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue5,callback:function(t){e.$set(e.table,"reboundValue5",t)},expression:"table.reboundValue5"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(9)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,9)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue9,callback:function(t){e.$set(e.table,"reboundValue9",t)},expression:"table.reboundValue9"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(13)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,13)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue13,callback:function(t){e.$set(e.table,"reboundValue13",t)},expression:"table.reboundValue13"}})],1)]),n("ul",{staticClass:"table_box"},[n("li",{class:-1!=e.colorIndexArr.indexOf(2)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,2)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue2,callback:function(t){e.$set(e.table,"reboundValue2",t)},expression:"table.reboundValue2"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(6)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,6)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue6,callback:function(t){e.$set(e.table,"reboundValue6",t)},expression:"table.reboundValue6"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(10)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,10)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue10,callback:function(t){e.$set(e.table,"reboundValue10",t)},expression:"table.reboundValue10"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(14)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,14)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue14,callback:function(t){e.$set(e.table,"reboundValue14",t)},expression:"table.reboundValue14"}})],1)]),n("ul",{staticClass:"table_box"},[n("li",{class:-1!=e.colorIndexArr.indexOf(3)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,3)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue3,callback:function(t){e.$set(e.table,"reboundValue3",t)},expression:"table.reboundValue3"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(7)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,7)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue7,callback:function(t){e.$set(e.table,"reboundValue7",t)},expression:"table.reboundValue7"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(11)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,11)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue11,callback:function(t){e.$set(e.table,"reboundValue11",t)},expression:"table.reboundValue11"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(15)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,15)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue15,callback:function(t){e.$set(e.table,"reboundValue15",t)},expression:"table.reboundValue15"}})],1)]),n("ul",{staticClass:"table_box"},[n("li",{class:-1!=e.colorIndexArr.indexOf(4)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,4)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue4,callback:function(t){e.$set(e.table,"reboundValue4",t)},expression:"table.reboundValue4"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(8)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,8)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue8,callback:function(t){e.$set(e.table,"reboundValue8",t)},expression:"table.reboundValue8"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(12)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,12)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue12,callback:function(t){e.$set(e.table,"reboundValue12",t)},expression:"table.reboundValue12"}})],1),n("li",{class:-1!=e.colorIndexArr.indexOf(16)?"red":""},[n("v-uni-input",{staticClass:"uni-input",attrs:{disabled:!0,"placeholder-style":"font-size:12px",placeholder:"--"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.reboundValue(t,16)}.apply(void 0,arguments)}},model:{value:e.table.reboundValue16,callback:function(t){e.$set(e.table,"reboundValue16",t)},expression:"table.reboundValue16"}})],1)])]),n("v-uni-view",{staticClass:"measure_right"},[e.surveyStrength?n("v-uni-view",{staticStyle:{"margin-bottom":"10px"}},[n("v-uni-view",[e._v(e._s(e.surveyStrength))]),n("v-uni-view",[e._v("标准强度差")])],1):e._e(),n("v-uni-view",[n("v-uni-view",[e._v(e._s(e.form.reboundAvgValue))]),n("v-uni-view",[e._v("回弹平均值")])],1)],1)],1)],1)],1)],1),e.isShowReport?n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"measure_data st_2"},[n("v-uni-view",{staticClass:"title"},[e._v("·自测报告·")]),n("v-uni-view",{staticClass:"measure_content"},[n("v-uni-view",{staticClass:"form_box"},[n("v-uni-view",{staticClass:"form_item"},[n("v-uni-text",[e._v("自测报告上传")]),n("v-uni-view",{staticClass:"uni-form-input imgBox_wrap"},[e._l(e.imgFileList,(function(t,a){return n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.imgFileList.length>0,expression:"imgFileList.length>0"}],key:a,staticClass:"imgBox"},[n("v-uni-image",{staticClass:"img",attrs:{src:e.url_config+"image/"+t.url},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.previewImage(e.url_config+"image/"+t.url)}}}),n("uni-icons",{staticClass:"deleteImg",attrs:{type:"clear",size:"12",color:"#F65352"},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.deleteImg(t,1)}}})],1)})),e.imgFileList.length<5?n("v-uni-view",{staticClass:"addImgBox",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadImg.apply(void 0,arguments)}}},[n("uni-icons",{attrs:{type:"camera",size:"20",color:"#fff"}})],1):e._e()],2)],1),n("v-uni-view",{staticClass:"flex form_item"},[n("v-uni-text",{staticClass:"form_label"},[e._v("自测报告结果状态")]),n("v-uni-radio-group",{staticClass:"radio_box",on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.radioChange.apply(void 0,arguments)}}},[n("v-uni-label",{staticClass:"radio"},[n("v-uni-radio",{attrs:{value:"正常",checked:"true"}}),e._v("正常")],1),n("v-uni-label",{staticClass:"radio"},[n("v-uni-radio",{attrs:{value:"异常"}}),e._v("异常")],1)],1)],1)],1),n("v-uni-view",{staticClass:"start_wrap bottom_btn"},[n("v-uni-view",{staticClass:"start_btn"},[e._v("提交")])],1)],1)],1)],1):e._e(),1==e.infoType?n("v-uni-view",{staticClass:"test_result status"},[e._v("测量数据合格")]):e._e(),2==e.infoType?n("v-uni-view",{staticClass:"test_result status2"},[e._v("测量数据不合格,请测量10个测区的指标进行判别")]):e._e(),3==e.infoType?n("v-uni-view",{staticClass:"test_result status2"},[e._v("测量数据不合格,已生成报警记录\n\t\t需后续在测量记录上传自测报告")]):e._e(),n("v-uni-view",{staticClass:"start_wrap bottom_btn"},[2==e.resultType?n("v-uni-view",{staticClass:"start_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addTest.apply(void 0,arguments)}}},[e._v("加测10个点位")]):e._e()],1),1==e.resultType?n("v-uni-view",{staticClass:"start_wrap bottom_btn"},[n("v-uni-view",{staticClass:"start_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.measureAgainFn.apply(void 0,arguments)}}},[e._v("测量下一个构件")])],1):e._e(),0!=e.resultType||e.isShow10?e._e():n("v-uni-view",{staticClass:"start_wrap bottom_btn"},[n("v-uni-view",{staticClass:"start_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.saveBtn.apply(void 0,arguments)}}},[e._v("保存")])],1),0==e.resultType&&e.isShow10?n("v-uni-view",{staticClass:"start_wrap bottom_btn"},[n("v-uni-view",{staticClass:"start_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.saveBtn2.apply(void 0,arguments)}}},[e._v("保存")])],1):e._e(),n("dialogs",{ref:"dialogs",scopedSlots:e._u([{key:"content",fn:function(){return[n("v-uni-view",{staticClass:"dialogTitle"},[e._v("测强结果")]),n("v-uni-view",{staticClass:"formBox2"},[e.isoutline?n("v-uni-view",[e._v("当前处于离线状态,待网络通畅后再上传数据")]):n("v-uni-view",{staticClass:"circleBox",class:1==e.resultType?"":"red"},[n("v-uni-view",{staticClass:"num"},[e._v(e._s(e.surveyStrength))]),n("v-uni-view",{staticClass:"txt"},[e._v(e._s(1==e.resultType?"合格":"不合格"))])],1),n("v-uni-view",{staticClass:"start_wrap"},[n("v-uni-view",{staticClass:"start_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.measureAgainFn.apply(void 0,arguments)}}},[e._v("测量下一个构件")])],1),n("v-uni-view",{staticClass:"closeBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.backToHome.apply(void 0,arguments)}}},[e._v("返回到首页")])],1)]},proxy:!0}])}),n("dialogs",{ref:"dialogs3",scopedSlots:e._u([{key:"content",fn:function(){return[n("v-uni-view",{staticClass:"dialogTitle"},[e._v("提示")]),n("v-uni-view",{staticClass:"formBox2"},[n("v-uni-view",{staticStyle:{color:"#FF5A5F"}},[e._v("当前浇筑令已有3个以上构件测量不合格,需重新测量!")]),n("v-uni-view",{staticClass:"start_wrap"},[n("v-uni-view",{staticClass:"start_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.restTest.apply(void 0,arguments)}}},[e._v("重新测量")])],1)],1)]},proxy:!0}])}),n("dialogs",{ref:"dialogs2",staticClass:"formDialog",scopedSlots:e._u([{key:"content",fn:function(){return[n("v-uni-view",{staticClass:"dialog-title"},[e._v("选择测区")]),n("v-uni-view",{staticClass:"dialog-content"},[n("v-uni-movable-area",{ref:"movableBox",staticClass:"movableBox"},[n("v-uni-movable-view",{attrs:{direction:"all",x:e.changePos.x,y:e.changePos.y,friction:100,scale:"true","scale-min":"0.1","scale-max":"10","scale-value":e.changePos.scale},on:{scale:function(t){arguments[0]=t=e.$handleEvent(t),e.onScale.apply(void 0,arguments)},change:function(t){arguments[0]=t=e.$handleEvent(t),e.changePosFn.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"drawing_wrap",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clickDraw2.apply(void 0,arguments)}}},[n("v-uni-image",{ref:"drawing",staticClass:"drawing_bg",style:{width:e.imgOriginW+"px",height:e.imgOriginH+"px"},attrs:{src:e.url_config+"image/"+e.imgUrl}}),e._l(e.markerList,(function(e,t){return n("v-uni-view",{key:t,staticClass:"marker",style:{top:e.coordinateY+"px",left:e.coordinateX+"px"}},[1==e.resultType?n("v-uni-image",{staticClass:"addrImg",attrs:{src:a("5370")}}):n("v-uni-image",{staticClass:"addrImg",attrs:{src:"/static/addr_red.png"}})],1)}))],2)],1)],1)],1),n("v-uni-view",{staticClass:"dialog-btn"},[n("v-uni-view",{staticClass:"cancle-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancleReply.apply(void 0,arguments)}}},[e._v("取消")]),n("v-uni-view",{staticClass:"primary-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submitReply.apply(void 0,arguments)}}},[e._v("提交")])],1)]},proxy:!0}])})],1)},o=[]},ef65:function(e,t,a){var n=a("2c55");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("5f7ce5e4",n,!0,{sourceMap:!1,shadowMode:!1})},f602:function(e,t,a){"use strict";var n=a("ef65"),i=a.n(n);i.a}}]); |