|
@@ -1,38 +1,28 @@
|
|
|
<template>
|
|
|
<div class="left-wrapper" style="background-color: #032d58;">
|
|
|
<div class="nb-table nb-table--bgc cmright1">
|
|
|
-
|
|
|
<file-name></file-name>
|
|
|
<search-sort></search-sort>
|
|
|
-
|
|
|
- <el-collapse v-model="collapseName">
|
|
|
- <el-collapse-item title="操作" name="1">
|
|
|
- <br>
|
|
|
- <div class="nb-toparea" >
|
|
|
- <button class="topbtn nb-toparea__leftbtn0" @click="oneKeyGenerate()">一键生成</button>
|
|
|
- <button class="topbtn nb-toparea__leftbtn1" @click="exportFile()">导出</button>
|
|
|
- <button class="top_bluebtn nb-toparea__leftbtn4" @click="openSettings()">搜索排序</button>
|
|
|
- </div>
|
|
|
- <br>
|
|
|
- </el-collapse-item>
|
|
|
- <el-collapse-item title="结果" name="2">
|
|
|
- <el-table :data="fileContent.result"
|
|
|
- border size="mini" :height="tableHeight" tooltip-effect="dark"
|
|
|
- :key="currentFileName" style="width: 100%"
|
|
|
- ref="alipayTable" highlight-current-row>
|
|
|
- <template v-for="(key, value) in fileContent.header">
|
|
|
- <el-table-column
|
|
|
- :prop="value"
|
|
|
- :label="key"
|
|
|
- :min-width="150"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
- :key="value">
|
|
|
- </el-table-column>
|
|
|
- </template>
|
|
|
- </el-table>
|
|
|
- <pagination :dataList="fileContent" :upParam="beforePayload" @loadMethod="loadSearchSortData"></pagination>
|
|
|
- </el-collapse-item>
|
|
|
- </el-collapse>
|
|
|
+ <div class="excel-btns">
|
|
|
+ <el-button type="primary" size="mini" @click="oneKeyGenerate()">一键生成</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="exportFile()">导出</el-button>
|
|
|
+ <el-button type="success" size="mini" @click="openSettings()">搜索排序</el-button>
|
|
|
+ </div>
|
|
|
+ <el-table :data="fileContent.result"
|
|
|
+ border size="mini" :height="tableHeight" tooltip-effect="dark"
|
|
|
+ :key="currentFileName" style="width: 100%"
|
|
|
+ ref="alipayTable" highlight-current-row>
|
|
|
+ <template v-for="(key, value) in fileContent.header">
|
|
|
+ <el-table-column
|
|
|
+ :prop="value"
|
|
|
+ :label="key"
|
|
|
+ :min-width="150"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ :key="value">
|
|
|
+ </el-table-column>
|
|
|
+ </template>
|
|
|
+ </el-table>
|
|
|
+ <pagination :dataList="fileContent" :upParam="beforePayload" @loadMethod="loadSearchSortData"></pagination>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -178,33 +168,10 @@
|
|
|
}
|
|
|
</style>
|
|
|
<style scoped>
|
|
|
-
|
|
|
- .nb-toparea__leftbtn0 {
|
|
|
- width: 150px;
|
|
|
- }
|
|
|
- .topbtn-width{
|
|
|
- width: 90px;
|
|
|
- margin-right: 10px;
|
|
|
- }
|
|
|
- .nb-toparea__leftbtn1 {
|
|
|
- width: 150px;
|
|
|
- left: 200px;
|
|
|
- }
|
|
|
- .nb-toparea__leftbtn2 {
|
|
|
- width: 150px;
|
|
|
- left: 380px;
|
|
|
- }
|
|
|
- .nb-toparea__leftbtn3 {
|
|
|
- width: 150px;
|
|
|
- left: 560px;
|
|
|
- }
|
|
|
- .nb-toparea__leftbtn4 {
|
|
|
- width: 150px;
|
|
|
- left: 740px;
|
|
|
- }
|
|
|
- .nb-toparea__leftbtn5 {
|
|
|
- width: 150px;
|
|
|
- left: 920px;
|
|
|
+ .excel-btns{
|
|
|
+ border: 2px outset wheat;
|
|
|
+ padding: 5px 2px;
|
|
|
+ text-align: left;
|
|
|
}
|
|
|
.cmright1{
|
|
|
position: relative;
|