| | |
| | | <div class="header-content"> |
| | | <div class="search"> |
| | | <span style="padding-right: 20px">筛选条件:</span> |
| | | <el-input v-model="context" placeholder="请输入" @change="getBayonetListData"></el-input> |
| | | <el-input |
| | | v-model="context" |
| | | placeholder="请输入" |
| | | @change="getBayonetListData" |
| | | ></el-input> |
| | | </div> |
| | | </div> |
| | | </header> |
| | | <main> |
| | | <div class="main-content"> |
| | | |
| | | <div class="main-title"> |
| | | <el-button |
| | | class="el-icon-plus button-addition" |
| | |
| | | @click="showDialog(false, null)" |
| | | >添加</el-button |
| | | > |
| | | <el-button @click="handleExport">导出卡口</el-button> |
| | | <el-button @click="handleExport" |
| | | type="primary">导出卡口</el-button> |
| | | </div> |
| | | </div> |
| | | </header> |
| | | <main> |
| | | <div class="main-content"> |
| | | <!-- 数据展示 --> |
| | | <MyTable :tableOption="tableOption" :get-table-list="getBayonetListData" :tableData="list" :pageShow="false"> |
| | | <MyTable |
| | | :tableOption="tableOption" |
| | | :get-table-list="getBayonetListData" |
| | | :tableData="list" |
| | | :pageShow="true" |
| | | > |
| | | <template #operation="info"> |
| | | <el-link |
| | | :underline="false" |
| | |
| | | .exportBayonetList({ |
| | | bayonetName: this.context, |
| | | current: this.current, |
| | | size: this.size |
| | | size: this.size, |
| | | }) |
| | | .then((res) => { |
| | | downloadFile(res); |
| | |
| | | // color: #4b9bb7; |
| | | border: 1px solid #ccc; |
| | | header { |
| | | background-color: white; |
| | | // background-color: white; |
| | | |
| | | .header-content { |
| | | padding: 0; |
| | |
| | | // } |
| | | } |
| | | } |
| | | |
| | | .main-title { |
| | | line-height: 60px; |
| | | padding: 10px 0px; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | // background-color: #09152f; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | |
| | | .main-title { |
| | | line-height: 60px; |
| | | padding: 10px 0px; |
| | | } |
| | | |
| | | .tools { |
| | | display: flex; |