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