|
@@ -922,15 +922,15 @@ export default{
|
922
|
922
|
|
923
|
923
|
console.log("Ar_aawowowo",this.Aarr)
|
924
|
924
|
console.log("Varr",this.Varr)
|
925
|
|
- console.log("A_left",this.A_left)
|
|
925
|
+ console.log("A_left",this.A_right)
|
926
|
926
|
console.log("V_left",this.V_left)
|
927
|
927
|
console.log("text_arr",this.text_arr)
|
928
|
928
|
|
929
|
|
- if(this.A_left!=null && this.A_left.length >0){
|
|
929
|
+ if(this.A_right!=null && this.A_right.length >0){
|
930
|
930
|
|
931
|
|
- for(let i=0;i<this.A_left.length;i++){
|
932
|
|
- this.A_left[i].a_num = parseInt(this.A_left[i].a_num)? parseInt(this.A_left[i].a_num):0
|
933
|
|
- this.A_left[i].markNum = parseInt(this.A_left[i].markNum)?parseInt(this.A_left[i].markNum):0
|
|
931
|
+ for(let i=0;i<this.A_right.length;i++){
|
|
932
|
+ this.A_right[i].a_num = parseInt(this.A_right[i].a_num)? parseInt(this.A_right[i].a_num):0
|
|
933
|
+ this.A_right[i].markNum = parseInt(this.A_right[i].markNum)?parseInt(this.A_right[i].markNum):0
|
934
|
934
|
}
|
935
|
935
|
}
|
936
|
936
|
|
|
@@ -980,17 +980,15 @@ export default{
|
980
|
980
|
}
|
981
|
981
|
}
|
982
|
982
|
|
983
|
|
- if(this.V_left!=null && this.V_left.length>0){
|
|
983
|
+ if(this.V_right!=null && this.V_right.length>0){
|
984
|
984
|
|
985
|
|
- for(let i=0;i<this.V_left.length;i++){
|
986
|
|
- this.V_left[i].markNum = parseInt(this.V_left[i].markNum)?parseInt(this.V_left[i].markNum):0
|
987
|
|
- this.V_left[i].v_num = parseInt(this.V_left[i].v_num)?parseInt(this.V_left[i].v_num):0
|
|
985
|
+ for(let i=0;i<this.V_right.length;i++){
|
|
986
|
+ this.V_right[i].markNum = parseInt(this.V_right[i].markNum)?parseInt(this.V_right[i].markNum):0
|
|
987
|
+ this.V_right[i].v_num = parseInt(this.V_right[i].v_num)?parseInt(this.V_right[i].v_num):0
|
988
|
988
|
}
|
989
|
989
|
}
|
990
|
990
|
|
991
|
|
- // this.A_left = sitemap.a_left
|
992
|
|
-
|
993
|
|
- // this.A_top = sitemap.a_top
|
|
991
|
+
|
994
|
992
|
|
995
|
993
|
var params = {
|
996
|
994
|
id:this.id,
|
|
@@ -1017,9 +1015,9 @@ export default{
|
1017
|
1015
|
fuzhu_v:this.fuzhuV,
|
1018
|
1016
|
fuzhu_v_top:this.fuzhuV_top,
|
1019
|
1017
|
fuzhu_v_left:this.fuzhuV_left,
|
1020
|
|
- a_left:this.A_left,
|
|
1018
|
+ a_left:this.A_right,
|
1021
|
1019
|
a_top:this.A_top,
|
1022
|
|
- v_left:this.V_left,
|
|
1020
|
+ v_left:this.V_right,
|
1023
|
1021
|
v_top:this.V_top,
|
1024
|
1022
|
text_arr:this.text_arr,
|
1025
|
1023
|
text_left:this.text_left,
|
|
@@ -1029,6 +1027,8 @@ export default{
|
1029
|
1027
|
scalev_num:this.scalev_num,
|
1030
|
1028
|
scalea_num:this.scalea_num,
|
1031
|
1029
|
patient_id:this.patientID,
|
|
1030
|
+ left_a:this.A_left,
|
|
1031
|
+ left_v:this.V_left,
|
1032
|
1032
|
}
|
1033
|
1033
|
console.log("paramswowwo",params)
|
1034
|
1034
|
|
|
@@ -1036,7 +1036,9 @@ export default{
|
1036
|
1036
|
if(response.data.state == 1){
|
1037
|
1037
|
var deviceValsualMap = response.data.data.deviceValsualMap
|
1038
|
1038
|
this.$message.success("保存成功!")
|
|
1039
|
+
|
1039
|
1040
|
this.append =false
|
|
1041
|
+ this.getPatientSitemap(this.patientID)
|
1040
|
1042
|
}
|
1041
|
1043
|
})
|
1042
|
1044
|
},
|
|
@@ -1091,19 +1093,56 @@ export default{
|
1091
|
1093
|
this.V_top = sitemap.v_top
|
1092
|
1094
|
this.xuanzhuan_a = sitemap.xuanzhuan_a
|
1093
|
1095
|
this.xuanzhuan_v = sitemap.xuanzhuan_v
|
1094
|
|
- this.A_left = []
|
1095
|
|
- this.A_left = sitemap.DeviceValsualALeft
|
|
1096
|
+ this.A_left = sitemap.a_left
|
|
1097
|
+ this.V_left = sitemap.v_left
|
|
1098
|
+ this.A_right = []
|
|
1099
|
+
|
|
1100
|
+ for(let i=0;i<sitemap.DeviceValsualALeft.length;i++){
|
|
1101
|
+
|
|
1102
|
+ sitemap.DeviceValsualALeft[i].markNum = sitemap.DeviceValsualALeft[i].mark_num
|
|
1103
|
+
|
|
1104
|
+ this.A_right.push(sitemap.DeviceValsualALeft[i])
|
|
1105
|
+ }
|
|
1106
|
+
|
|
1107
|
+ this.V_right = []
|
|
1108
|
+
|
|
1109
|
+ for(let i=0;i<sitemap.DeviceValsualALeft.length;i++){
|
|
1110
|
+
|
|
1111
|
+ sitemap.XtDeviceValsualVLeft[i].markNum = sitemap.XtDeviceValsualVLeft[i].mark_num
|
|
1112
|
+
|
|
1113
|
+ this.V_right.push(sitemap.XtDeviceValsualVLeft[i])
|
|
1114
|
+ }
|
|
1115
|
+
|
1096
|
1116
|
this.fuzhuA = []
|
1097
|
|
- this.fuzhuA = sitemap.DeviceValsualFuzhuA
|
|
1117
|
+ for(let i=0;i<sitemap.DeviceValsualFuzhuA.length;i++){
|
|
1118
|
+ sitemap.DeviceValsualFuzhuA[i].a_markNum = sitemap.DeviceValsualFuzhuA[i].a_mark_num
|
|
1119
|
+ this.fuzhuA.push( sitemap.DeviceValsualFuzhuA[i])
|
|
1120
|
+ }
|
|
1121
|
+
|
1098
|
1122
|
this.fuzhuV = []
|
1099
|
|
- this.fuzhuV =sitemap.DeviceValsualFuzhuV
|
|
1123
|
+ for(let i=0;i<sitemap.DeviceValsualFuzhuV.length;i++){
|
|
1124
|
+ sitemap.DeviceValsualFuzhuV[i].v_markNum = sitemap.DeviceValsualFuzhuV[i].a_mark_num
|
|
1125
|
+ this.fuzhuV.push( sitemap.DeviceValsualFuzhuV[i])
|
|
1126
|
+ }
|
|
1127
|
+
|
1100
|
1128
|
this.fangxiangA = []
|
1101
|
|
- this.fangxiangA = sitemap.DeviceValsualMapFangxiangA
|
|
1129
|
+ for(let i=0;i<sitemap.DeviceValsualMapFangxiangA.length;i++){
|
|
1130
|
+ sitemap.DeviceValsualMapFangxiangA[i].markNum = sitemap.DeviceValsualMapFangxiangA[i].mark_n
|
|
1131
|
+ this.fangxiangA.push(sitemap.DeviceValsualMapFangxiangA[i])
|
|
1132
|
+ }
|
|
1133
|
+
|
|
1134
|
+
|
1102
|
1135
|
this.fangxiangV = []
|
1103
|
|
- this.fangxiangV = sitemap.DeviceValsualMapFangxiangV
|
|
1136
|
+ for(let i=0;i<sitemap.DeviceValsualMapFangxiangV.length;i++){
|
|
1137
|
+ sitemap.DeviceValsualMapFangxiangV[i].markNum = sitemap.DeviceValsualMapFangxiangV[i].mark_num
|
|
1138
|
+ this.fangxiangV.push(sitemap.DeviceValsualMapFangxiangV[i])
|
|
1139
|
+ }
|
|
1140
|
+
|
1104
|
1141
|
this.text_arr = []
|
1105
|
|
- this.text_arr = sitemap.DeviceValsualTextArr
|
1106
|
|
-
|
|
1142
|
+ for(let i=0;i<sitemap.DeviceValsualTextArr.length;i++){
|
|
1143
|
+ this.text_arr.push(sitemap.DeviceValsualTextArr[i])
|
|
1144
|
+ }
|
|
1145
|
+
|
1107
|
1146
|
}
|
1108
|
1147
|
|
1109
|
1148
|
}
|