zhulizhen1111 5 năm trước cách đây
mục cha
commit
d4714c7715
2 tập tin đã thay đổi với 20 bổ sung6 xóa
  1. 0 1
      src/views/strategy/animationBox.vue
  2. 20 5
      src/views/strategy/bomBox.vue

+ 0 - 1
src/views/strategy/animationBox.vue

@@ -81,7 +81,6 @@ export default {
     },
     methods:{
         isShowDraw(){
-            
             if((Object.keys(this.chillerCommandQ).length>0 && this.chillerCommandQ.isNew) || (Object.keys(this.chillerCommandQ).length>0 && !this.chillerCommandQ.isExecuted)){
                 this.showDraw = true
             }else{

+ 20 - 5
src/views/strategy/bomBox.vue

@@ -54,7 +54,7 @@
                 </div>
             </div>
             <div class='bomb-right-bottom'>
-                <el-input placeholder='你可以在此处填写备注信息' v-model='remarks' @blur='saveRemarks'></el-input>
+                <el-input placeholder='你可以在此处填写备注信息' v-model='remarks' @blur='saveRemarks'  prefix-icon='el-icon-edit'></el-input>
             </div>
         </div>
     </div>
@@ -98,6 +98,23 @@ export default {
             var circleEcharts = echarts.init(document.getElementById('circleEcharts'))
             let option = {
                 color: ['#E1F2FF', '#0091FF'],
+                graphic: [
+                {
+                    type: 'text', 
+                    left: 'center',
+                    top: '45%',
+                    style: {
+                        text: this.circle2 + '%',
+                        textAlign: 'center',
+                        fill: '#000', //文字的颜色
+                        width: 30,
+                        height: 30,
+                        fontSize: 18,
+                        color: '#4d4f5c',
+                        fontFamily: 'Microsoft YaHei'
+                    }
+                }
+                ],
                 series: [
                     {
                         name: '',
@@ -109,9 +126,6 @@ export default {
                             normal: {
                                 show: true,
                                 position: 'center',
-                                formatter: function(formatter) {
-                                    return formatter.percent + '%'
-                                }
                             }
                         },
                         labelLine: {
@@ -172,7 +186,8 @@ export default {
                 font-size:14px;
                 font-family:MicrosoftYaHei;
                 color:rgba(35,123,25,1);
-                padding: 2px 6px;
+                padding: 2px 8px;
+                margin-left: 6px;
             }
         }
         .bomb-left2 {