调整样式
This commit is contained in:
		| @@ -43,10 +43,10 @@ | ||||
|               </template> | ||||
|             </ai-search-bar> | ||||
|             <ai-table :tableData="gropList" :total="page.total" :current.sync="page.current" :size.sync="page.size" | ||||
|                       @getList="getTableData" :col-configs="colConfigs" :dict="dict"> | ||||
|                       @getList="getTableData" :col-configs="colConfigs" :dict="dict" height="calc(100% - 64px)"> | ||||
|               <el-table-column label="操作" slot="options" align="center" width="100"> | ||||
|                 <template v-slot="{row}"> | ||||
|                   <el-button type="text" @click="$router.push({hash:'#add',query:{id:row.id}})">详情</el-button> | ||||
|                   <el-button v-if="row.aiEnable==1" type="text" @click="$router.push({hash:'#add',query:{id:row.id}})">详情</el-button> | ||||
|                 </template> | ||||
|               </el-table-column> | ||||
|             </ai-table> | ||||
| @@ -60,9 +60,11 @@ | ||||
| <script> | ||||
| import {mapState} from 'vuex' | ||||
| import coDetail from "./coDetail.vue"; | ||||
| import AiCard from "dui/packages/layout/AiCard.vue"; | ||||
|  | ||||
| export default { | ||||
|   name: 'AppCorpOverview', | ||||
|   components: {AiCard}, | ||||
|   label: '企微概览', | ||||
|   props: { | ||||
|     dict: Object, | ||||
| @@ -132,7 +134,6 @@ export default { | ||||
|         if (res.data) { | ||||
|           res.data.map((item) => { | ||||
|             item.name = item.name + `(${item.total})` | ||||
|             item.leaf = !/0{10}$/.test(item.id) | ||||
|           }) | ||||
|           resolve(res.data) | ||||
|         } | ||||
| @@ -205,12 +206,12 @@ export default { | ||||
|           .ai-search-ba { | ||||
|             margin-top: 10px; | ||||
|           } | ||||
|  | ||||
|           .ai-table { | ||||
|             margin-top: 0 !important; | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|       .ai-table { | ||||
|         height: calc(100% - 44px); | ||||
|         margin-top: 0 !important; | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|  | ||||
| @@ -263,5 +264,13 @@ export default { | ||||
|       padding-bottom: 20px; | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   .table { | ||||
|     background: #fff; | ||||
|     box-shadow: 0 4px 6px -2px rgba(15, 15, 21, 0.15); | ||||
|     border-radius: 2px; | ||||
|     padding: 16px; | ||||
|     height: calc(100% - 133px); | ||||
|   } | ||||
| } | ||||
| </style> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user