luowei 2 роки тому
батько
коміт
bb35159a65
1 змінених файлів з 15 додано та 15 видалено
  1. 15 15
      src/views/system/device/index.vue

+ 15 - 15
src/views/system/device/index.vue

@@ -1,9 +1,12 @@
 <template>
   <div class="app-container">
-    <layoutCom>
-      <org-tree slot="leftBar" v-model="queryParams.orgId" @defaultKey="defaultKeys" @checkChange="checkChange"
-        @click="handleNodeClick" businessTree></org-tree>
-      <el-row slot="rightBar">
+    <el-row :gutter="20">
+  <!--机构数据-->
+  <el-col :span="4" :xs="24">
+                  <org-tree v-model="queryParams.orgId" @defaultKey="getDefaultKey" @defaultOrg="getDefaultOrg" @checkChange="checkChange"
+                    @click="clickTreeNode"></org-tree>
+      </el-col>
+     
         <el-col :span="20" :xs="24">
           <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
             label-width="68px">
@@ -39,14 +42,7 @@
               <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
                 v-hasPermi="['system:device:add']">新增</el-button>
             </el-col>
-            <!--   <el-col :span="1.5">
-            <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
-              v-hasPermi="['system:device:edit']">修改</el-button>
-          </el-col>
-          <el-col :span="1.5">
-            <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
-              v-hasPermi="['system:device:remove']">删除</el-button>
-          </el-col>-->
+         
             <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
           </el-row>
 
@@ -89,9 +85,13 @@
           <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
             :limit.sync="queryParams.pageSize" @pagination="getList" />
         </el-col>
-      </el-row>
-    </layoutCom>
-
+   
+    </el-row>
+   
+  
+    
+   
+ 
 
     <!-- 添加或修改【请填写功能名称】对话框 -->
     <el-dialog :title="title" :visible="open" width="800px" append-to-body @close="cancel">