Commit 78ea6110a9c5b789d242fd89cdcd4a1274fb99ce
1 parent
203ff41a
设备导出提示
Showing
1 changed file
with
14 additions
and
13 deletions
src/views/standard/device/index.vue
... | ... | @@ -5,17 +5,18 @@ |
5 | 5 | <span>设备管理</span> |
6 | 6 | </template> |
7 | 7 | <template slot="btns"> |
8 | - <el-tooltip effect="dark" content="导出报表" placement="bottom"> | |
9 | - <el-button | |
10 | - v-if="tableData.length" | |
11 | - type="primary" | |
12 | - size="mini" | |
13 | - plain | |
14 | - circle | |
15 | - icon="fa fa-cloud-download" | |
16 | - @click="downExl" | |
17 | - ></el-button> | |
18 | - </el-tooltip> | |
8 | + <template v-if="tableData.length"> | |
9 | + <el-tooltip effect="dark" content="设备导出" placement="bottom"> | |
10 | + <el-button | |
11 | + type="primary" | |
12 | + icon="fa fa-cloud-download" | |
13 | + size="mini" | |
14 | + plain | |
15 | + circle | |
16 | + @click="downExl" | |
17 | + ></el-button> | |
18 | + </el-tooltip> | |
19 | + </template> | |
19 | 20 | <template v-if="role == 'ROLE_XUEXIAO' && type == 1"> |
20 | 21 | <el-tooltip effect="dark" content="设备导入" placement="bottom"> |
21 | 22 | <el-button |
... | ... | @@ -261,7 +262,7 @@ |
261 | 262 | v-model="query.sn" |
262 | 263 | class="input-with-select" |
263 | 264 | clearable |
264 | - @input.native="query.studentName=''" | |
265 | + @input.native="query.studentName = ''" | |
265 | 266 | @keyup.enter.native="_QueryData(true)" |
266 | 267 | > |
267 | 268 | <el-button |
... | ... | @@ -275,7 +276,7 @@ |
275 | 276 | v-model="query.studentName" |
276 | 277 | class="input-with-select" |
277 | 278 | clearable |
278 | - @input.native="query.sn=''" | |
279 | + @input.native="query.sn = ''" | |
279 | 280 | @keyup.enter.native="_QueryData(true)" |
280 | 281 | > |
281 | 282 | <el-button | ... | ... |