|
@@ -56,25 +56,26 @@
|
56
|
56
|
</div>
|
57
|
57
|
</div> -->
|
58
|
58
|
|
59
|
|
-
|
|
59
|
+
|
60
|
60
|
<!-- 穿刺文字 active @mousedown="startDrag" @mousedown="A_mousedow($event)" @mouseup="A_moouseup($event)" left:text_left+'px',top:text_top+'px',-->
|
61
|
|
- <div v-for="(item,index) in text_arr" :key="index" >
|
62
|
|
- <div ref="text_cc" class="add-mark-text-wrap active"
|
|
61
|
+ <!-- <div >@mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)" -->
|
|
62
|
+ <div v-for="(item,index) in text_arr" :key="index" class="add-mark-text-wrap active text" id="text" @mousedown="mousedown($event)"
|
63
|
63
|
:style="{width:(item.width + 10)+'px',left:item.left+'px',top:item.top+'px','font-size':14+'px', position: 'absolute'}"
|
64
|
|
- @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)">
|
|
64
|
+ >
|
65
|
65
|
<!-- <div style="width:82px;left:62.17%;top:39.00%;display: inline-block;" @mousedown="A_mousedow($event)" @mouseup="A_moouseup($event)">position: 'absolute',top: 36+'%',left: 48+'%' -->
|
66
|
|
- <!-- {{ item }} -->
|
|
66
|
+ <!-- {{ item }} @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)"-->
|
67
|
67
|
<el-input v-text="item.text" size="mini" :style="{width:item.width+'px', border: 1+'px solid transparent', cursor: 'default'}"></el-input>
|
68
|
68
|
<!-- <input id="inpu" type="text" :value="item" data-width="82" style="width: 82px; border: 1px solid transparent; cursor: default;" class="mark-text-ipt"> -->
|
69
|
69
|
<!-- </div> -->
|
70
|
70
|
<span class="remove-mark-text" @click="input_deldte($event,item)">×</span>
|
71
|
71
|
<span class="mark-text-line" style="transform: rotate(45deg);" data-rotate="45"></span>
|
72
|
72
|
</div>
|
73
|
|
- </div>
|
|
73
|
+ <!-- </div> -->
|
|
74
|
+
|
74
|
75
|
<!-- 穿刺方向 -->
|
75
|
76
|
<div v-for="item in fangxiangA">
|
76
|
|
- <div v-if="fangxiangA_num==2" @mousedown="A_mousedow($event)" @mouseup="A_moouseup($event)"
|
77
|
|
- title="长按右键调整线条角度" id="jinzhen_fangxiang_A" class="mark-target mark-target-a mark-target-adccz"
|
|
77
|
+ <div v-if="fangxiangA_num==2" @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)"
|
|
78
|
+ title="长按右键调整线条角度" id="jinzhen_fangxiang_A" class="mark-target mark-target-a mark-target-adccz"
|
78
|
79
|
:style="{left: item.left+'px', top: item.top+'px', width: 14+'px', height: 14+'px', background: 'rgb(231, 53, 53)', 'border-radius': 50+'%', position: 'absolute', cursor: 'move',}">
|
79
|
80
|
<span class="mark-line mark-line-ccza" data-rotate="160" style="width:50px;transform:rotate(160deg);">
|
80
|
81
|
<b class="xtgl-ccz-arrow xtgl-ccz-arrow-a"
|
|
@@ -82,19 +83,20 @@
|
82
|
83
|
</b></span></div></div>
|
83
|
84
|
|
84
|
85
|
<div v-for="item in fangxiangV">
|
85
|
|
- <div v-if="fangxiangV_num==2" @mousedown="A_mousedow($event)" @mouseup="A_moouseup($event)"
|
|
86
|
+ <div v-if="fangxiangV_num==2" @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)"
|
86
|
87
|
title="长按右键调整线条角度" id="jinzhen_fangxiang_V" class="mark-target mark-target-v mark-target-vdccz"
|
87
|
88
|
:style="{left: item.left+'px', top: item.top+'px', width: 14+'px', height: 14+'px', background: 'rgb(53, 162, 231)', 'border-radius': 50+'%', position: 'absolute', cursor: 'move',}">
|
88
|
89
|
<span class="mark-line mark-line-cczv" data-rotate="20" style="width:50px;transform:rotate(20deg);">
|
89
|
90
|
<b class="xtgl-ccz-arrow xtgl-ccz-arrow-v"
|
90
|
91
|
style="position: absolute;width: 7px;height: 7px;border-left-width: 2px;border-left-style: solid;border-top-width: 2px;border-top-style: solid;top: -3px;right: 0;transform: rotate(138deg);">
|
91
|
92
|
</b></span></div></div>
|
92
|
|
- <!-- 辅助工具 :style="{transform: rotate(30deg)}" xuanzhuan_a ,'background-img': 'url(' + require('../../assets/evaluate/tool-a.png') + ')' -->
|
|
93
|
+ <!-- 辅助工具 :style="{transform: rotate(30deg)}" xuanzhuan_a , @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)"-->
|
93
|
94
|
<div v-for="item in fuzhuA">
|
94
|
|
- <div v-if="fuzhuA_num==2"
|
95
|
|
- class="jinzhen-jiaodu-target jinzhen-jiaodu-target-A" id="jinzhen-jiaodu-target-A" :style="{position: 'absolute',top:item.a_top+'px',left:item.a_left+'px'}" @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)">
|
|
95
|
+ <div v-if="fuzhuA_num==2"
|
|
96
|
+ class="jinzhen-jiaodu-target jinzhen-jiaodu-target-A" id="jinzhen-jiaodu-target-A" @mousedown="fuzhuA_down"
|
|
97
|
+ :style="{position: 'absolute',top:item.a_top+'px',left:item.a_left+'px'}" >
|
96
|
98
|
<div class="frame-box actives" :style="{'transform': `scale(${scalea_num})`}" >
|
97
|
|
- <div class="frame-image" data-rotate="0" :style="{transform: `rotate(${item.A_rotate}deg)`}">
|
|
99
|
+ <div class="frame-image" data-rotate="0" :style="{transform: `rotate(${item.A_rotate}deg)`,margin:'auto'}">
|
98
|
100
|
<img src="../../assets/evaluate/tool-a.png" alt="" srcset="" style="margin: 6px 0 0 0px;">
|
99
|
101
|
</div>
|
100
|
102
|
<div class="drag-elem bottom right" @click="imga_click"></div>
|
|
@@ -102,10 +104,10 @@
|
102
|
104
|
</div>
|
103
|
105
|
</div></div>
|
104
|
106
|
<div v-for="item in fuzhuV"><!--scalev_num item.scalev-->
|
105
|
|
- <div v-if="fuzhuV_num==2" :style="{position: 'absolute',top:item.v_top+'px',left:item.v_left+'px'}" @mousedown.self="A_mousedow($event)" @mouseup.self="A_moouseup($event)"
|
|
107
|
+ <div v-if="fuzhuV_num==2" :style="{position: 'absolute',top:item.v_top+'px',left:item.v_left+'px'}" @mousedown="fuzhuV_down"
|
106
|
108
|
class="jinzhen-jiaodu-target jinzhen-jiaodu-target-V" id="jinzhen-jiaodu-target-V">
|
107
|
109
|
<div class="frame-box actives" :style="{'transform': `scale(${item.v_scalev})`}" >
|
108
|
|
- <div id="v_img" class="frame-image" data-rotate="0" :style="{'transform': `rotate(${item.V_rotate}deg)`}">
|
|
110
|
+ <div id="v_img" class="frame-image" data-rotate="0" :style="{'transform': `rotate(${item.V_rotate}deg)`,margin:'auto'}">
|
109
|
111
|
<img id="image" src="../../assets/evaluate/tool-a.png" alt="" srcset="" style="margin: 6px 0 0 0px;">
|
110
|
112
|
</div>
|
111
|
113
|
<div class="drag-elem bottom right" @click="imgv_click"></div>
|
|
@@ -318,8 +320,32 @@ export default{
|
318
|
320
|
|
319
|
321
|
patientID:0,
|
320
|
322
|
id:0,
|
|
323
|
+ texts:null,
|
|
324
|
+ disX: 0,
|
|
325
|
+ disY: 0,
|
|
326
|
+ styleObj: {
|
|
327
|
+ left: 0,
|
|
328
|
+ top: 0
|
|
329
|
+ },
|
|
330
|
+ isdow:false
|
321
|
331
|
}
|
322
|
332
|
},
|
|
333
|
+ created(){
|
|
334
|
+ const id = this.$route.params && this.$route.params.id;
|
|
335
|
+ this.patientID = parseInt(id);
|
|
336
|
+
|
|
337
|
+ // this.getPatientSitemap(this.patientID)
|
|
338
|
+ },
|
|
339
|
+ mounted(){
|
|
340
|
+ // console.log('valuse',this.fangxiangA,);
|
|
341
|
+ // this.editor = new Quill(this.$refs.imageWrapper, {
|
|
342
|
+ // modules:{toolbar:false},
|
|
343
|
+ // theme: 'snow',
|
|
344
|
+ // });
|
|
345
|
+ // console.log('111111',this.fileList);
|
|
346
|
+ // this.$refs.text_cc.addEventListener('mousemove',this.A_mousedow)
|
|
347
|
+ // this.$refs.text_cc.addEventListener('mousemove',this.A_moouseup)
|
|
348
|
+ },
|
323
|
349
|
methods:{
|
324
|
350
|
add(){
|
325
|
351
|
if(this.append == false){
|
|
@@ -409,7 +435,6 @@ export default{
|
409
|
435
|
// }
|
410
|
436
|
}
|
411
|
437
|
},
|
412
|
|
-
|
413
|
438
|
// v_item(e,val){
|
414
|
439
|
// const V_div =document.getElementsByClassName('point-mark-v-item')
|
415
|
440
|
// console.log('1111',val,e.target.className);
|
|
@@ -471,7 +496,7 @@ export default{
|
471
|
496
|
const endy=event.clientY-av_bky;
|
472
|
497
|
_target.style.left = endx+'px'
|
473
|
498
|
_target.style.top = endy+'px'
|
474
|
|
-
|
|
499
|
+
|
475
|
500
|
console.log('x',endx,'y',endy);
|
476
|
501
|
// console.log('121',Alen.length);
|
477
|
502
|
// console.log('3333',len,e.target.innerText,_target.innerText);
|
|
@@ -489,14 +514,14 @@ export default{
|
489
|
514
|
// Vlen[i].top=endy
|
490
|
515
|
// }
|
491
|
516
|
// }
|
492
|
|
- for(let i=0;i<textlen.length;i++){
|
493
|
|
- const textsle=e.target.innerText.split('\n')[0]
|
494
|
|
- if(textlen[i].text == textsle){
|
495
|
|
- console.log('3333');
|
496
|
|
- textlen[i].left=endx
|
497
|
|
- textlen[i].top=endy
|
498
|
|
- }
|
499
|
|
- }
|
|
517
|
+ // for(let i=0;i<textlen.length;i++){
|
|
518
|
+ // const textsle=e.target.innerText.split('\n')[0]
|
|
519
|
+ // if(textlen[i].text == textsle){
|
|
520
|
+ // console.log('3333');
|
|
521
|
+ // textlen[i].left=endx
|
|
522
|
+ // textlen[i].top=endy
|
|
523
|
+ // }
|
|
524
|
+ // }
|
500
|
525
|
for(let i=0;i<fx_alen.length;i++){
|
501
|
526
|
if(e.target.id=='jinzhen_fangxiang_A'){
|
502
|
527
|
fx_alen[0].left=endx
|
|
@@ -509,18 +534,18 @@ export default{
|
509
|
534
|
fx_vlen[0].top=endy
|
510
|
535
|
}
|
511
|
536
|
}
|
512
|
|
- for(let i=0;i<FZ_alen.length;i++){
|
513
|
|
- if(e.target.id=='jinzhen-jiaodu-target-A'){
|
514
|
|
- FZ_alen[i].a_left=endx
|
515
|
|
- FZ_alen[i].a_top=endy
|
516
|
|
- }
|
517
|
|
- }
|
518
|
|
- for(let i=0;i<FZ_vlen.length;i++){
|
519
|
|
- if(e.target.id=='jinzhen-jiaodu-target-V'){
|
520
|
|
- FZ_vlen[i].v_left=endx
|
521
|
|
- FZ_vlen[i].v_top=endy
|
522
|
|
- }
|
523
|
|
- }
|
|
537
|
+ // for(let i=0;i<FZ_alen.length;i++){
|
|
538
|
+ // if(e.target.id=='jinzhen-jiaodu-target-A'){
|
|
539
|
+ // FZ_alen[i].a_left=endx
|
|
540
|
+ // FZ_alen[i].a_top=endy
|
|
541
|
+ // }
|
|
542
|
+ // }
|
|
543
|
+ // for(let i=0;i<FZ_vlen.length;i++){
|
|
544
|
+ // if(e.target.id=='jinzhen-jiaodu-target-V'){
|
|
545
|
+ // FZ_vlen[i].v_left=endx
|
|
546
|
+ // FZ_vlen[i].v_top=endy
|
|
547
|
+ // }
|
|
548
|
+ // }
|
524
|
549
|
for(let i=0;i<aleng.length;i++){
|
525
|
550
|
if(aleng[i].markNum ==e.target.innerText && e.target.id=='mark-target-a'){
|
526
|
551
|
console.log('3333');
|
|
@@ -543,11 +568,98 @@ export default{
|
543
|
568
|
// console.log('0000',val);
|
544
|
569
|
document.onmousemove =null
|
545
|
570
|
},
|
|
571
|
+ mousedown(e){
|
|
572
|
+ // this.texts = document.getElementsByClassName('text')[0]
|
|
573
|
+ const tet=document.getElementsByClassName('text')
|
|
574
|
+ const evetext=e.target.innerText.split('\n')[0]
|
|
575
|
+ var textlen=this.text_arr
|
|
576
|
+ console.log('ZXCBVCB',textlen);
|
|
577
|
+ for(let i=0;i<tet.length;i++){
|
|
578
|
+ const textsle = tet[i].innerText.split('\n')[0]
|
|
579
|
+ if(evetext == textsle){
|
|
580
|
+ this.disX = e.clientX - tet[i].offsetLeft;
|
|
581
|
+ this.disY = e.clientY - tet[i].offsetTop;
|
|
582
|
+ this.isdow=true
|
|
583
|
+ document.onmousemove = (el) =>{
|
|
584
|
+ if(this.isdow==false){
|
|
585
|
+ return
|
|
586
|
+ }
|
|
587
|
+ let moveX = el.clientX - this.disX;
|
|
588
|
+ let moveY = el.clientY - this.disY;
|
|
589
|
+ tet[i].style.left = moveX + "px";
|
|
590
|
+ tet[i].style.top = moveY + "px";
|
|
591
|
+ for(let i=0;i<textlen.length;i++){
|
|
592
|
+ // const textsle=e.target.innerText.split('\n')[0]
|
|
593
|
+ if(textlen[i].text == textsle){
|
|
594
|
+ console.log('3333');
|
|
595
|
+ textlen[i].left=moveX
|
|
596
|
+ textlen[i].top=moveY
|
|
597
|
+ }
|
|
598
|
+ }
|
|
599
|
+ console.log('2222222',tet[i].style.left);
|
|
600
|
+ }
|
|
601
|
+ document.onmouseup = () => {
|
|
602
|
+ document.onmousemove = null;
|
|
603
|
+ };
|
|
604
|
+ }
|
|
605
|
+ }
|
|
606
|
+ },
|
|
607
|
+ fuzhuA_down(e){
|
|
608
|
+ const fuzhuA= document.getElementById('jinzhen-jiaodu-target-A')
|
|
609
|
+ const fuzhua_x =e.clientX - fuzhuA.offsetLeft
|
|
610
|
+ const fuzhua_y =e.clientY - fuzhuA.offsetTop
|
|
611
|
+ const fuzhu_A =true
|
|
612
|
+ var FZ_alen=this.fuzhuA
|
|
613
|
+
|
|
614
|
+ document.onmousemove=(el)=>{
|
|
615
|
+ if(fuzhu_A==false){
|
|
616
|
+ return ''
|
|
617
|
+ }
|
|
618
|
+ const moveX = el.clientX - fuzhua_x;
|
|
619
|
+ const moveY = el.clientY - fuzhua_y;
|
|
620
|
+ fuzhuA.style.left = moveX + "px";
|
|
621
|
+ fuzhuA.style.top = moveY + "px";
|
|
622
|
+ for(let i=0;i<FZ_alen.length;i++){
|
|
623
|
+ if(e.target.id=='jinzhen-jiaodu-target-A'){
|
|
624
|
+ FZ_alen[i].a_left=moveX
|
|
625
|
+ FZ_alen[i].a_top=moveY
|
|
626
|
+ }
|
|
627
|
+ }
|
|
628
|
+ }
|
|
629
|
+ document.onmouseup =() =>{
|
|
630
|
+ document.onmousemove =null
|
|
631
|
+ }
|
|
632
|
+ },
|
|
633
|
+ fuzhuV_down(e){
|
|
634
|
+ const fuzhuV= document.getElementById('jinzhen-jiaodu-target-V')
|
|
635
|
+ const fuzhuv_x =e.clientX - fuzhuV.offsetLeft
|
|
636
|
+ const fuzhuv_y =e.clientY - fuzhuV.offsetTop
|
|
637
|
+ const fuzhu_V =true
|
|
638
|
+ var FZ_vlen=this.fuzhuV
|
|
639
|
+ document.onmousemove=(el)=>{
|
|
640
|
+ if(fuzhu_V==false){
|
|
641
|
+ return ''
|
|
642
|
+ }
|
|
643
|
+ const moveX = el.clientX - fuzhuv_x;
|
|
644
|
+ const moveY = el.clientY - fuzhuv_y;
|
|
645
|
+ fuzhuV.style.left = moveX + "px";
|
|
646
|
+ fuzhuV.style.top = moveY + "px";
|
|
647
|
+ for(let i=0;i<FZ_vlen.length;i++){
|
|
648
|
+ if(e.target.id=='jinzhen-jiaodu-target-V'){
|
|
649
|
+ FZ_vlen[i].v_left=moveX
|
|
650
|
+ FZ_vlen[i].v_top=moveY
|
|
651
|
+ }
|
|
652
|
+ }
|
|
653
|
+ }
|
|
654
|
+ document.onmouseup =() =>{
|
|
655
|
+ document.onmousemove =null
|
|
656
|
+ }
|
|
657
|
+ },
|
546
|
658
|
punctureclick(e,val){
|
547
|
659
|
console.log('event',e,'value',val);
|
548
|
660
|
const text=e.target
|
549
|
661
|
const textlen=this.text_arr.length
|
550
|
|
-
|
|
662
|
+
|
551
|
663
|
if(text.innerText == val.text){
|
552
|
664
|
this.text_num=2
|
553
|
665
|
const obj={text:'',left:'',top:'',width:''}
|
|
@@ -558,6 +670,7 @@ export default{
|
558
|
670
|
obj.width=e.target.offsetWidth
|
559
|
671
|
this.text_arr.push(obj)
|
560
|
672
|
}
|
|
673
|
+
|
561
|
674
|
console.log('this.text_arr',this.text_arr);
|
562
|
675
|
},
|
563
|
676
|
input_deldte(e,val){
|
|
@@ -575,7 +688,7 @@ export default{
|
575
|
688
|
var obj ={markNum:'',left:'',top:''}
|
576
|
689
|
obj.markNum = 'A'
|
577
|
690
|
obj.left= this.fangxiangA_left
|
578
|
|
- obj.top=this.fangxiangA_top
|
|
691
|
+ obj.top=this.fangxiangA_top
|
579
|
692
|
this.fangxiangA.push(obj)
|
580
|
693
|
console.log('asdfdfgfd',this.fangxiangA);
|
581
|
694
|
return this.fangxiangA_num = 2
|
|
@@ -590,7 +703,7 @@ export default{
|
590
|
703
|
var obj ={markNum:'',left:'',top:''}
|
591
|
704
|
obj.markNum = 'V'
|
592
|
705
|
obj.left= this.fangxiangV_left
|
593
|
|
- obj.top=this.fangxiangV_top
|
|
706
|
+ obj.top=this.fangxiangV_top
|
594
|
707
|
this.fangxiangV.push(obj)
|
595
|
708
|
console.log('asdfdfgfd',this.fangxiangV);
|
596
|
709
|
return this.fangxiangV_num = 2
|
|
@@ -604,7 +717,7 @@ export default{
|
604
|
717
|
console.log('辅助工具a111');
|
605
|
718
|
this.obj_a.a_markNum = 'A'
|
606
|
719
|
this.obj_a.a_left= this.fuzhuA_left
|
607
|
|
- this.obj_a.a_top=this.fuzhuA_top
|
|
720
|
+ this.obj_a.a_top=this.fuzhuA_top
|
608
|
721
|
this.fuzhuA.push(this.obj_a)
|
609
|
722
|
console.log('asdfdfgfd',this.fuzhuA);
|
610
|
723
|
return this.fuzhuA_num = 2
|
|
@@ -618,7 +731,7 @@ export default{
|
618
|
731
|
// var obj ={markNum:'',left:'',top:''}
|
619
|
732
|
this.obj_v.v_markNum = 'V'
|
620
|
733
|
this.obj_v.v_left= this.fuzhuV_left
|
621
|
|
- this.obj_v.v_top=this.fuzhuV_top
|
|
734
|
+ this.obj_v.v_top=this.fuzhuV_top
|
622
|
735
|
this.fuzhuV.push(this.obj_v)
|
623
|
736
|
console.log('辅助工具v1111',this.fuzhuV);
|
624
|
737
|
return this.fuzhuV_num = 2
|
|
@@ -681,7 +794,7 @@ export default{
|
681
|
794
|
this.fuzhuV.shift()
|
682
|
795
|
return this.img_v =false
|
683
|
796
|
}
|
684
|
|
-
|
|
797
|
+
|
685
|
798
|
},
|
686
|
799
|
imga_click(){
|
687
|
800
|
if(this.img_a==false){
|
|
@@ -704,7 +817,7 @@ export default{
|
704
|
817
|
}
|
705
|
818
|
},
|
706
|
819
|
beforeAvatarUpload(file) {
|
707
|
|
-
|
|
820
|
+
|
708
|
821
|
var fileType = file.type
|
709
|
822
|
const isJPG = fileType.indexOf('image') > -1
|
710
|
823
|
const isLt2M = file.size / 1024 / 1024 < 5
|
|
@@ -782,7 +895,7 @@ export default{
|
782
|
895
|
saveimg(){
|
783
|
896
|
// this.A_left=this.endx
|
784
|
897
|
// this.A_top=this.endy
|
785
|
|
-
|
|
898
|
+
|
786
|
899
|
var is_append = 2
|
787
|
900
|
|
788
|
901
|
if(this.append == true){
|
|
@@ -818,7 +931,7 @@ export default{
|
818
|
931
|
console.log("text_arr",this.text_arr)
|
819
|
932
|
|
820
|
933
|
if(this.A_left!=null && this.A_left.length >0){
|
821
|
|
-
|
|
934
|
+
|
822
|
935
|
for(let i=0;i<this.A_left.length;i++){
|
823
|
936
|
this.A_left[i].a_num = parseInt(this.A_left[i].a_num)? parseInt(this.A_left[i].a_num):0
|
824
|
937
|
this.A_left[i].markNum = parseInt(this.A_left[i].markNum)?parseInt(this.A_left[i].markNum):0
|
|
@@ -826,7 +939,7 @@ export default{
|
826
|
939
|
}
|
827
|
940
|
|
828
|
941
|
if(this.fangxiangA!=null && this.fangxiangA.length>0){
|
829
|
|
-
|
|
942
|
+
|
830
|
943
|
for(let i=0;i<this.fangxiangA.length;i++){
|
831
|
944
|
this.fangxiangA[i].left = parseInt(this.fangxiangA[i].left)?parseInt(this.fangxiangA[i].left):0
|
832
|
945
|
this.fangxiangA[i].markNum = parseInt(this.fangxiangA[i].markNum)?parseInt(this.fangxiangA[i].markNum):0
|
|
@@ -835,17 +948,17 @@ export default{
|
835
|
948
|
}
|
836
|
949
|
|
837
|
950
|
if(this.fangxiangV!=null && this.fangxiangV.length>0){
|
838
|
|
-
|
|
951
|
+
|
839
|
952
|
for(let i=0;i<this.fangxiangV.length;i++){
|
840
|
953
|
this.fangxiangV[i].left = parseInt(this.fangxiangV[i].left)?parseInt(this.fangxiangV[i].left):0
|
841
|
954
|
this.fangxiangV[i].markNum = parseInt(this.fangxiangV[i].markNum)?parseInt(this.fangxiangV[i].markNum):0
|
842
|
955
|
this.fangxiangV[i].top = parseInt(this.fangxiangV[i].top)?parseInt(this.fangxiangV[i].top):0
|
843
|
956
|
}
|
844
|
957
|
}
|
845
|
|
-
|
|
958
|
+
|
846
|
959
|
|
847
|
960
|
if(this.fuzhuV!=null && this.fuzhuV.length>0){
|
848
|
|
-
|
|
961
|
+
|
849
|
962
|
for(let i=0;i<this.fuzhuV.length;i++){
|
850
|
963
|
this.fuzhuV[i].v_markNum = parseInt(this.fuzhuV[i].v_markNum)?parseInt(this.fuzhuV[i].v_markNum):0
|
851
|
964
|
this.fuzhuV[i].v_left = parseInt(this.fuzhuV[i].v_left)?parseInt(this.fuzhuV[i].v_left):0
|
|
@@ -854,7 +967,7 @@ export default{
|
854
|
967
|
}
|
855
|
968
|
|
856
|
969
|
if(this.fuzhuA!=null && this.fuzhuA.length>0){
|
857
|
|
-
|
|
970
|
+
|
858
|
971
|
for(let i=0;i<this.fuzhuA.length;i++){
|
859
|
972
|
this.fuzhuA[i].a_markNum = parseInt(this.fuzhuA[i].a_markNum)?parseInt(this.fuzhuA[i].a_markNum):0
|
860
|
973
|
this.fuzhuA[i].a_left = parseInt(this.fuzhuA[i].a_left)?parseInt(this.fuzhuA[i].a_left):0
|
|
@@ -863,7 +976,7 @@ export default{
|
863
|
976
|
}
|
864
|
977
|
|
865
|
978
|
if(this.text_arr!=null && this.text_arr.length>0){
|
866
|
|
-
|
|
979
|
+
|
867
|
980
|
for(let i=0;i<this.text_arr.length;i++){
|
868
|
981
|
this.text_arr[i].left = parseInt(this.text_arr[i].left)?parseInt(this.text_arr[i].left):0
|
869
|
982
|
this.text_arr[i].top = parseInt(this.text_arr[i].top)?parseInt(this.text_arr[i].top):0
|
|
@@ -872,7 +985,7 @@ export default{
|
872
|
985
|
}
|
873
|
986
|
|
874
|
987
|
if(this.V_left!=null && this.V_left.length>0){
|
875
|
|
-
|
|
988
|
+
|
876
|
989
|
for(let i=0;i<this.V_left.length;i++){
|
877
|
990
|
this.V_left[i].markNum = parseInt(this.V_left[i].markNum)?parseInt(this.V_left[i].markNum):0
|
878
|
991
|
this.V_left[i].v_num = parseInt(this.V_left[i].v_num)?parseInt(this.V_left[i].v_num):0
|
|
@@ -952,11 +1065,11 @@ export default{
|
952
|
1065
|
}else{
|
953
|
1066
|
this.is_img_a = false
|
954
|
1067
|
}
|
955
|
|
-
|
|
1068
|
+
|
956
|
1069
|
this.id = sitemap.id
|
957
|
1070
|
|
958
|
1071
|
|
959
|
|
-
|
|
1072
|
+
|
960
|
1073
|
this.A_top = sitemap.a_top
|
961
|
1074
|
this.av_bkx = sitemap.av_bkx
|
962
|
1075
|
this.av_bky = sitemap.av_bky
|
|
@@ -996,7 +1109,7 @@ export default{
|
996
|
1109
|
this.text_arr = sitemap.DeviceValsualTextArr
|
997
|
1110
|
|
998
|
1111
|
}
|
999
|
|
-
|
|
1112
|
+
|
1000
|
1113
|
}
|
1001
|
1114
|
})
|
1002
|
1115
|
},
|
|
@@ -1118,16 +1231,7 @@ export default{
|
1118
|
1231
|
// return this.$refs.myQuillEditor.quill;
|
1119
|
1232
|
// }
|
1120
|
1233
|
},
|
1121
|
|
- mounted(){
|
1122
|
|
- // console.log('valuse',this.fangxiangA,);
|
1123
|
|
- // this.editor = new Quill(this.$refs.imageWrapper, {
|
1124
|
|
- // modules:{toolbar:false},
|
1125
|
|
- // theme: 'snow',
|
1126
|
|
- // });
|
1127
|
|
- // console.log('111111',this.fileList);
|
1128
|
|
- // this.$refs.text_cc.addEventListener('mousemove',this.A_mousedow)
|
1129
|
|
- // this.$refs.text_cc.addEventListener('mousemove',this.A_moouseup)
|
1130
|
|
- }
|
|
1234
|
+
|
1131
|
1235
|
|
1132
|
1236
|
}
|
1133
|
1237
|
</script>
|
|
@@ -1195,7 +1299,7 @@ export default{
|
1195
|
1299
|
z-index: -1;
|
1196
|
1300
|
}
|
1197
|
1301
|
}
|
1198
|
|
-
|
|
1302
|
+
|
1199
|
1303
|
b.xtgl-ccz-arrow-a {
|
1200
|
1304
|
border-left-color: #E73535;
|
1201
|
1305
|
border-top-color: #E73535;
|
|
@@ -1246,7 +1350,7 @@ export default{
|
1246
|
1350
|
user-select: none;
|
1247
|
1351
|
-webkit-user-select: none;
|
1248
|
1352
|
// position: relative;
|
1249
|
|
- position: absolute;
|
|
1353
|
+ // position: absolute;
|
1250
|
1354
|
display: block;
|
1251
|
1355
|
left: 0;
|
1252
|
1356
|
top: 0;
|
|
@@ -1255,7 +1359,7 @@ export default{
|
1255
|
1359
|
// background-image: url('../../assets/evaluate/tool-a.png');
|
1256
|
1360
|
}
|
1257
|
1361
|
div.frame-image {
|
1258
|
|
- position: absolute;
|
|
1362
|
+ // position: absolute;
|
1259
|
1363
|
overflow: hidden;
|
1260
|
1364
|
top: 0px;
|
1261
|
1365
|
left: 5px;
|
|
@@ -1322,7 +1426,6 @@ export default{
|
1322
|
1426
|
.frame-box .drag-elem.bottom {
|
1323
|
1427
|
top: calc(100% + 6px);
|
1324
|
1428
|
}
|
1325
|
|
-
|
1326
|
1429
|
.frame-box .drag-elem {
|
1327
|
1430
|
width: 10px;
|
1328
|
1431
|
height: 10px;
|
|
@@ -1352,29 +1455,34 @@ div.add-mark-text-wrap {
|
1352
|
1455
|
line-height: 24px;
|
1353
|
1456
|
z-index: 1005;
|
1354
|
1457
|
display: inline-block;
|
1355
|
|
-
|
|
1458
|
+ .el-input {
|
|
1459
|
+ /* position: relative; */
|
|
1460
|
+ font-size: 14px;
|
|
1461
|
+ display: inline-block;
|
|
1462
|
+ width: 100%;
|
|
1463
|
+ }
|
1356
|
1464
|
}
|
1357
|
1465
|
div.add-mark-text-wrap input.mark-text-ipt {
|
1358
|
1466
|
cursor: default;
|
1359
|
1467
|
}
|
1360
|
|
-div.add-mark-text-wrap input {
|
1361
|
|
- width: 100px;
|
1362
|
|
- width: 60px;
|
1363
|
|
- max-width: 400px;
|
1364
|
|
- border: 1px solid transparent;
|
1365
|
|
- padding: 4px;
|
1366
|
|
- color: #333;
|
1367
|
|
- height: 24px;
|
1368
|
|
- cursor: pointer;
|
1369
|
|
- background-color: #fcfcfc;
|
1370
|
|
- position: absolute;
|
1371
|
|
- left: 0;
|
1372
|
|
- top: 0;
|
1373
|
|
- font-size: 13px;
|
1374
|
|
- z-index: 1002;
|
1375
|
|
- border-radius: 2px !important;
|
1376
|
|
- outline: none;
|
1377
|
|
-}
|
|
1468
|
+// div.add-mark-text-wrap input {
|
|
1469
|
+// width: 100px;
|
|
1470
|
+// width: 60px;
|
|
1471
|
+// max-width: 400px;
|
|
1472
|
+// border: 1px solid transparent;
|
|
1473
|
+// padding: 4px;
|
|
1474
|
+// color: #333;
|
|
1475
|
+// height: 24px;
|
|
1476
|
+// cursor: pointer;
|
|
1477
|
+// background-color: #fcfcfc;
|
|
1478
|
+// // position: absolute;
|
|
1479
|
+// // left: 0;
|
|
1480
|
+// // top: 0;
|
|
1481
|
+// font-size: 13px;
|
|
1482
|
+// z-index: 1002;
|
|
1483
|
+// border-radius: 2px !important;
|
|
1484
|
+// outline: none;
|
|
1485
|
+// }
|
1378
|
1486
|
input, button, textarea, select, optgroup, option {
|
1379
|
1487
|
font-family: inherit;
|
1380
|
1488
|
font-size: inherit;
|