xiaojincai %!s(int64=5) %!d(string=hai) anos
pai
achega
87e54657ba
Modificáronse 3 ficheiros con 5 adicións e 4 borrados
  1. 2 1
      src/views/CompanyData.vue
  2. 2 2
      src/views/Login.vue
  3. 1 1
      src/views/task/Danger.vue

+ 2 - 1
src/views/CompanyData.vue

@@ -234,7 +234,7 @@
                 <table cellpadding='0' cellspacing='0'>
                   <!-- <thead><td>序号</td><td>企业名称</td><td>告警次数</td></thead> -->
                   <tr v-for="(item,index) in data.latest_warning" :key='index'>
-                    <td style="width:40px">{{item.riskpoint_name}}</td>
+                    <td style="width:100px">{{item.riskpoint_name}}</td>
                     <td>{{item.monit_name}}</td><td>{{item.ctime}}</td></tr>
                 </table>
               </div>
@@ -394,6 +394,7 @@ export default {
             for(let i=0;i<data.riskpoint_count_data.length;i++){
               fxd_name.push(data.riskpoint_count_data[i].name)
             }
+            //风险点任务
             var option4 = {
                 backgroundColor:'rgba(0,0,0,0)',
                 // color:['#3398dc'],

+ 2 - 2
src/views/Login.vue

@@ -9,7 +9,7 @@
   .login{
     height: 100vh;
     min-height: 450px;
-    background: url(../images/zfbg.png) no-repeat;
+    background: url(../images/bg.png) no-repeat;
     background-size: 100%;
     background-position: center top; 
     // background: #1F315D;
@@ -129,7 +129,7 @@ export default {
         password:'root',
         imgcode_id:'',
         imgcode:'',
-        utype:1
+        utype:0
       }
     }
   },

+ 1 - 1
src/views/task/Danger.vue

@@ -129,7 +129,7 @@
                     <el-form-item label="备注">
                         <el-input :rows="4" type="textarea" v-model="form.remark"></el-input>
                     </el-form-item>
-                    <el-form-item label="二维码" v-if='curNode.children.length<=0'>
+                    <el-form-item label="二维码">
                         <img  width="150" :src="form.qrcode" alt="">
                     </el-form-item>
                     <el-form-item v-if='utype!=2'>