|
@@ -15,9 +15,14 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+<!-- <el-input style="width:200px;" placeholder="搜索" :suffix-icon="param.content.where.condition?param.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="param.content.where.condition" @keyup.native.enter="listData(param.content.pageNumber = 1)" @clear="listData(param.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
+ </el-input>-->
|
|
|
<tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :fixedName="'operation'" height="calc(100vh - 390px)">
|
|
|
<template v-slot:customcol="scope">
|
|
|
- <p>{{scope.column.data[scope.column.columnname]}}</p>
|
|
|
+ <div v-if="scope.column.columnname === 'type'">
|
|
|
+ {{scope.column.data[scope.column.columnname] === 1?'收入':'支出'}}
|
|
|
+ </div>
|
|
|
+ <p v-else>{{scope.column.data[scope.column.columnname]}}</p>
|
|
|
</template>
|
|
|
<template v-slot:opreation="scope">
|
|
|
<editPrice v-if="tool.checkAuth($route.name,'update')" class="inline-16" :data="scope.data"/>
|
|
@@ -61,7 +66,10 @@ export default {
|
|
|
"content": {
|
|
|
"pageNumber":1,
|
|
|
"pageSize":20,
|
|
|
- "sa_accountclassid":""
|
|
|
+ "sa_accountclassid":"",
|
|
|
+ /*"where": {
|
|
|
+ "condition": ""
|
|
|
+ }*/
|
|
|
}
|
|
|
},
|
|
|
total:0
|