You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
5.2 KiB
1 lines
5.2 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5abeecca"],{"610b":function(e,t,a){},"67cc":function(e,t,a){"use strict";a("f6ec")},"96a8":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"div-Back",on:{click:e.handleBack}},[t("a-icon",{attrs:{type:"left"}}),t("span",[e._v(" 返回 ")])],1),t("div",{staticClass:"d-flex flex-column column-wrap",staticStyle:{height:"100%",background:"#fff"}},[t("div",{staticStyle:{height:"49px"}},[t("div",{staticClass:"h-flex",staticStyle:{"text-align":"right"}},[t("div"),t("el-button",{attrs:{type:"text"},on:{click:e.lineAnalysis}},[e._v("线条分析")]),t("el-button",{attrs:{type:"text"},on:{click:e.showDetail}},[e._v("动作选择")]),t("el-button",{attrs:{type:"text"},on:{click:e.showAction}},[e._v("数据分析")])],1)]),t("div",{staticClass:"content-wrap pa-3"},[e.answerLists.length>0?t("div",{staticClass:"lighten-5",staticStyle:{height:"100%"}},[t("div",{staticClass:"d-flex flex-nowrap",staticStyle:{height:"100%","text-align":"center",overflow:"scroll"}},[[e.parameters&&e.parameters.parameters&&e.showDetailData?t("div",{staticClass:"mr-3 d-flex flex-column shadow"},[t("canvas-detail-data",{staticClass:"overflow-y-auto",staticStyle:{"min-height":"300px"},on:{onCheck:e.onCheckPath}}),t("Layer",{staticClass:"flex-1 overflow-y-auto",staticStyle:{"min-height":"200px",overflow:"scroll"},on:{onCheck:e.onCheckPath,onRefresh:e.handleRefresh}})],1):e._e(),e.parameters&&e.parameters.parameters&&e.showActionSelection?t("div",{staticClass:"mr-3 d-flex flex-column shadow"},[t("canvas-detail-data-one",{ref:"child11",staticClass:"flex-1 overflow-y-auto",staticStyle:{"min-height":"300px"},on:{handleShowStrokes:e.handleShowStrokes,onCheck:e.onCheckPath}})],1):e._e(),e.parameters&&e.parameters.parameters&&e.showStrokes?t("div",{staticClass:"mr-3 d-flex flex-column shadow"},[t("strokes-contrast",{staticClass:"flex-1 overflow-y-auto",staticStyle:{"min-height":"300px"},attrs:{value:e.value},on:{closeStokes:e.closeStokes}})],1):e._e(),t("div",{staticClass:"d-flex flex-1 flex-column column-wrap",staticStyle:{position:"relative"}},[t("div",{staticClass:"d-flex flex-column remark"},[t("div",{staticClass:"d-flex flex-nowrap"},e._l(e.remarks,(function(a,s){return t("div",{key:s,staticClass:"mr-3"},[t("span",{staticClass:"remarkColor mr-3",style:"background: "+a.color}),t("span",{style:"color: "+a.color},[e._v(e._s(a.value))])])})),0)]),3!==e.currentOperateType&&6!==e.currentOperateType?t("div",[e.showOtherValue?t("reduce-canvas",{ref:"reduce-canvas",attrs:{"is-report":e.isReport,reserve:3!==e.currentOperateType&&6!==e.currentOperateType}}):e._e()],1):e._e(),3===e.currentOperateType||6===e.currentOperateType?t("div",[e.showOtherValue?t("reduce-canvas-vertical",{ref:"reduce-canvas",attrs:{"is-report":e.isReport,reserve:!1,"txt-upside-down":!0}}):e._e()],1):e._e()])]],2)]):e._e()])])])},o=[],r=a("2f62"),l=a("ef05"),i=a("57d9"),c=a("fe7b"),n=a("9a67"),h=a("0931"),d=a("62a0"),u=a("e635");let{apiUrl:p}=a("d2b8");var v={name:"AnswerDetailReduceCanvas",components:{ReduceCanvas:l["a"],ReduceCanvasVertical:i["a"],CanvasDetailData:c["a"],CanvasDetailDataOne:n["a"],StrokesContrast:h["a"],Layer:d["a"]},data(){return{showDetailData:!0,showActionSelection:!1,showStrokes:!1,remarks:[{color:"#FF4D4D",value:"画板中心"},{color:"#E68A00",value:"图形中心"},{color:"#FFCC00",value:"图形重心"},{color:"#80BF40",value:"图形最顶点"},{color:"#40BFBF",value:"图形最底点"},{color:"#47596B",value:"图形最左点"},{color:"#CC00CC",value:"图形最右点"}],isReport:!0,value:144}},computed:{...Object(r["e"])("ht",["answerLists","parameters","pointsData","reportDetailId","reportQuestionId","currentOperateType","showOtherValue","canvasTools","checkedPaths","createId"]),...Object(r["e"])("user",["userInfo"]),...Object(r["c"])("ht",["canvasRawData"])},watch:{canvasRawData:{handler(e){if(e){let t=[];e.forEach((e,a)=>{t[a]=!1}),this.setCheckedPaths(t)}},immediate:!0}},beforeRouteLeave(e,t,a){this.setShowOtherValue(!1),this.setQuestionId(""),this.setCanvasTools({type:"multiple",flag:!1}),a()},methods:{...Object(r["d"])("ht",["setShowOtherValue","setQuestionId","setCanvasTools","setCheckedPaths"]),handleBack(){this.$router.go(-1)},async lineAnalysis(){try{console.log("this.userInfo",this.userInfo.hospitalId);let e={patientReportId:this.$route.query.evaluationId,questionId:this.reportQuestionId,deptId:this.userInfo.hospitalId};const t=await Object(u["x"])(e),{code:a,msg:s,data:o}=t;200===a?this.$download(p+o):this.$message.error(s)}catch(e){console.log("导出线条分析",e)}},showDetail(){this.showActionSelection=!1,this.showStrokes=!1,this.showDetailData=!this.showDetailData},showAction(){this.showDetailData=!1,this.showStrokes=!1,this.showActionSelection=!this.showActionSelection},handleShowStrokes(e){this.showActionSelection=!1,this.showStrokes=!0,this.value=e},closeStokes(){this.showStrokes=!1,this.showActionSelection=!0},handleRefresh(){const e=this.$refs["reduce-canvas"];e.getData()},onCheckPath(e){const{checkedPaths:t}=this;t[e]=!t[e],this.setCheckedPaths(t)}}},f=v,w=(a("a763"),a("67cc"),a("2877")),k=Object(w["a"])(f,s,o,!1,null,"51c2f112",null);t["default"]=k.exports},a763:function(e,t,a){"use strict";a("610b")},f6ec:function(e,t,a){}}]);
|