|
@@ -45,18 +45,19 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
- <div style="height: 600px; display:flex;">
|
|
|
- <el-super-table
|
|
|
+ <!-- <div style="height: 600px; display:flex;"> -->
|
|
|
+ <el-super-ux-table
|
|
|
v-model="tableList"
|
|
|
:dict="dict"
|
|
|
- :columns="TableColumns"
|
|
|
:size="size"
|
|
|
pagination
|
|
|
:page="page"
|
|
|
+ :height="tableHeight"
|
|
|
+ :columns="TableColumns"
|
|
|
@pagination="useQuery(params, page)"
|
|
|
@row-dblclick="useSee"
|
|
|
>
|
|
|
- <el-table-column fixed="right" label="操作" width="150" align="center">
|
|
|
+ <ux-table-column fixed="right" title="操作" width="180" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" size="small" @click.stop="useSee(scope.row)">查看</el-button>
|
|
|
<el-button
|
|
@@ -64,7 +65,7 @@
|
|
|
type="text"
|
|
|
size="mini"
|
|
|
@click.stop="handleBack(scope.row)"
|
|
|
- >流程收回</el-button>
|
|
|
+ >收回</el-button>
|
|
|
<el-button
|
|
|
v-if="scope.row.oaId && scope.row.oaId !=''"
|
|
|
@click.stop="jumpFlow(scope.row)"
|
|
@@ -74,9 +75,9 @@
|
|
|
<el-button @click.stop="handleEdit(scope.row)" v-if="scope.row.status == 0 || scope.row.status == 3" type="text" size="small">编辑</el-button>
|
|
|
<el-button type="text" size="small" @click.stop="deleteRow(scope.row)" v-if="scope.row.status == 0 || scope.row.status == 3">删除</el-button>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- </el-super-table>
|
|
|
- </div>
|
|
|
+ </ux-table-column>
|
|
|
+ </el-super-ux-table>
|
|
|
+ <!-- </div> -->
|
|
|
</div>
|
|
|
</el-card>
|
|
|
|
|
@@ -97,6 +98,7 @@ export default {
|
|
|
BatchImport:() => import('./batchImport/index.vue'),
|
|
|
ElSuperTable: () => import("@/components/super-table/index.vue"),
|
|
|
ElSuperSearch: () => import("@/components/super-search/index.vue"),
|
|
|
+ ElSuperUxTable: () => import("@/components/super-ux-table/index.vue"),
|
|
|
},
|
|
|
|
|
|
data(){
|
|
@@ -231,6 +233,15 @@ export default {
|
|
|
},
|
|
|
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ tableHeight:{
|
|
|
+ get(){
|
|
|
+ console.log(window,'window');
|
|
|
+ return window.innerHeight - 220;
|
|
|
+ },
|
|
|
+ set(){},
|
|
|
+ }
|
|
|
+ },
|
|
|
created(){
|
|
|
this.params.code = this.$route.query.billCode
|
|
|
this.useQuery(this.params, this.page);
|