xjc 3 rokov pred
rodič
commit
7119d64159
2 zmenil súbory, kde vykonal 7 pridanie a 8 odobranie
  1. 1 1
      src/views/Login.vue
  2. 6 7
      src/views/company/Grid.vue

+ 1 - 1
src/views/Login.vue

@@ -129,7 +129,7 @@ export default {
         password:'root',
         imgcode_id:'',
         imgcode:'',
-        utype:0
+        utype:2
       }
     }
   },

+ 6 - 7
src/views/company/Grid.vue

@@ -307,7 +307,7 @@
         <el-col :span="12">
           <div class="grid-item grid_chart">
             <h2 align="center" style="margin-bottom: 10vh">
-              安全生产网格化管理责任图
+              安全生产管理"一网通"
             </h2>
             <vue2-org-tree
               :data="treeData"
@@ -318,21 +318,21 @@
         </el-col>
       </el-row>
       <el-dialog
-        title="详情"
+        title="责任人信息"
         :visible.sync="dialogFormVisible3"
         width="600px"
       >
         <div>
           <el-row :gutter="10">
-            <el-col :span="12">
+            <el-col :span="8">
               <span>姓名:</span>
               <span>{{form1.charge_person_name}}</span>
             </el-col>
-            <el-col :span="12">
+            <el-col :span="8">
               <span>手机:</span>
               <span>{{form1.charge_person_phone}}</span>
             </el-col>
-            <el-col :span="12">
+            <el-col :span="8">
               <span>照片:</span>
               <img width="100px" :src="form1.charge_person_photo" alt="">
             </el-col>
@@ -389,8 +389,7 @@ export default {
       dptList: [],
       form1: {},
       gridList: [],
-      // utype: localStorage.getItem('utype',0),
-      utype: 2,
+      utype: localStorage.getItem('utype',0),
       treeData1: {
         value: 0,
         label: "公司主要负责人",