修复文件接引
This commit is contained in:
parent
9b4c7b7107
commit
299b832c11
|
@ -46,16 +46,16 @@
|
|||
</div>
|
||||
|
||||
<!-- table区域-begin -->
|
||||
<div class="linese"></div>
|
||||
<div class="linese"></div>
|
||||
<!-- 表格区域 -->
|
||||
<div style="height:calc(100vh - 316px);background: #e6e9f1;overflow:hidden;padding: 15px;">
|
||||
<a-table size="middle" bordered :columns="columns" :data-source="dataSource" :loading="loading"
|
||||
:pagination="pagination" :scroll="{ x: 1200, y: 'calc(100vh - 450px)' }" rowKey="序号"
|
||||
@change="handleTableChange">
|
||||
<template slot="operation" slot-scope="text, record">
|
||||
<a-button type="primary" @click="handelEdit(record)">编辑</a-button>
|
||||
</template>
|
||||
</a-table>
|
||||
<a-table size="middle" bordered :columns="columns" :data-source="dataSource" :loading="loading"
|
||||
:pagination="pagination" :scroll="{ x: 1200, y: 'calc(100vh - 450px)' }" rowKey="序号"
|
||||
@change="handleTableChange">
|
||||
<template slot="operation" slot-scope="text, record">
|
||||
<a-button type="primary" @click="handelEdit(record)">编辑</a-button>
|
||||
</template>
|
||||
</a-table>
|
||||
</div>
|
||||
<div class="linese"></div>
|
||||
|
||||
|
@ -138,7 +138,7 @@ export default {
|
|||
for (let key in res.result) {
|
||||
this.modeList.push({ id: key, value: key, children: res.result[key] })
|
||||
}
|
||||
console.log('sfaf', this.modeList)
|
||||
if (this.modeList.length > 0) handleTypeChange(this.modeList[0].id)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -152,6 +152,9 @@ export default {
|
|||
for (let key in tableArr.children) {
|
||||
this.tableNameList.push({ id: tableArr.children[key], value: tableArr.children[key] })
|
||||
}
|
||||
if (this.tableNameList.length > 0) {
|
||||
this.queryParam.tableName = this.tableNameList[0].id
|
||||
}
|
||||
},
|
||||
onChangeTime(date, dateString) {
|
||||
if (date.length == 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user