Commit 4a10c024 authored by 廖旭伟's avatar 廖旭伟

Merge remote-tracking branch 'origin/master'

parents 36f62b76 4b4caef2
...@@ -16,9 +16,8 @@ ...@@ -16,9 +16,8 @@
:height="height" :height="height"
style="width: 100%" style="width: 100%"
> >
<template v-for="column in columns">
<el-table-column <el-table-column
v-if="column.show" v-for="column in columns"
:key="column.prop" :key="column.prop"
:type="column.type" :type="column.type"
:index="handleIndexMethod" :index="handleIndexMethod"
...@@ -46,7 +45,6 @@ ...@@ -46,7 +45,6 @@
:formatter="sunColumn.formatter" :formatter="sunColumn.formatter"
/> />
</el-table-column> </el-table-column>
</template>
</el-table> </el-table>
</template> </template>
......
...@@ -346,6 +346,7 @@ export default { ...@@ -346,6 +346,7 @@ export default {
this.tableData.staff.refreshDate, this.tableData.staff.refreshDate,
6 6
); );
this.$refs.layoutTable.showType = "tableSelect";
}, },
}, },
data() { data() {
...@@ -367,6 +368,7 @@ export default { ...@@ -367,6 +368,7 @@ export default {
url: process.env.VUE_APP_API_BASE_URL + "/staff/importData", url: process.env.VUE_APP_API_BASE_URL + "/staff/importData",
}, },
config: { config: {
showType: "tableSelect",
search: [ search: [
{ {
name: "name", name: "name",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment