mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
Modify the main interface work card console vue warn
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div v-for="item in tableData" :key="item" class="text item">
|
<div v-for="item in tableData" :key="item" class="text item">
|
||||||
<el-row gutter="10">
|
<el-row :gutter="10">
|
||||||
<el-col :xs="0" :sm="4" :md="4" :lg="3" :xl="2" style="justify-content: center">
|
<el-col :xs="0" :sm="4" :md="4" :lg="3" :xl="2" style="justify-content: center">
|
||||||
<el-avatar style="background-color: #409eff" size="default">
|
<el-avatar style="background-color: #409eff" size="default">
|
||||||
<el-icon
|
<el-icon
|
||||||
@@ -42,13 +42,10 @@ import { SIZE_ICON_LG, SIZE_ICON_MD } from '@/constants/Common.constants'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
tableData: []
|
tableData: {
|
||||||
|
type: Array
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// data() {
|
|
||||||
// return {
|
|
||||||
// tableData: []
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
methods: {
|
methods: {
|
||||||
SIZE_ICON_LG() {
|
SIZE_ICON_LG() {
|
||||||
return SIZE_ICON_LG
|
return SIZE_ICON_LG
|
||||||
|
|||||||
@@ -2,18 +2,18 @@
|
|||||||
<div style="height: calc(100vh - 56px - 40px); min-height: calc(500px - 56px - 40px)">
|
<div style="height: calc(100vh - 56px - 40px); min-height: calc(500px - 56px - 40px)">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<work-card :table-data="tableData" />
|
<work-card :tableData="tableData" />
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<work-card :table-data="tableData" />
|
<work-card :tableData="tableData" />
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<work-card :table-data="tableData" />
|
<work-card :tableData="tableData" />
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<work-card :table-data="tableData" />
|
<work-card :tableData="tableData" />
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user