|
@@ -18,7 +18,7 @@
|
|
|
<span>选择版本:</span>
|
|
|
</el-col>
|
|
|
<el-col :span="10" class="div_top">
|
|
|
- <el-table
|
|
|
+<!-- <el-table
|
|
|
:data="versionList"
|
|
|
height="300px"
|
|
|
:cell-style="{height:'40px',color:'#666666',fontWeight:'400'}"
|
|
@@ -31,13 +31,23 @@
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
+ prop="operation"
|
|
|
label="操作"
|
|
|
width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<input type="radio" :checked="scope.row.checkRow" @click="onCheck(scope.row)"></input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- </el-table>
|
|
|
+ </el-table>-->
|
|
|
+ <tableLayout :layout="tablecolsVersion" :data="versionList" :opwidth="200" :custom="true" height="370px" fixedName="operation" @rowClick="rowClick">
|
|
|
+ <template v-slot:customcol="scope">
|
|
|
+ <span v-if="scope.column.columnname === 'operation'" ></span>
|
|
|
+ <p v-else>{{scope.column.data[scope.column.columnname] || '--'}}</p>
|
|
|
+ </template>
|
|
|
+ <template v-slot:opreation="scope">
|
|
|
+ <input type="radio" :checked="scope.data.checkRow" @click="onCheck(scope.data)"></input>
|
|
|
+ </template>
|
|
|
+ </tableLayout>
|
|
|
</el-col>
|
|
|
<el-col :span="14" class="div_top">
|
|
|
<el-table
|
|
@@ -143,6 +153,7 @@ export default {
|
|
|
},
|
|
|
tablecolsAccount:[],
|
|
|
tablecolsMain:[],
|
|
|
+ tablecolsVersion:[],
|
|
|
list:[],
|
|
|
param:{
|
|
|
"classname": "system.payorder.payorder",
|
|
@@ -315,6 +326,7 @@ export default {
|
|
|
created() {
|
|
|
this.tablecolsAccount = this.tool.tabelCol(this.$route.name).accountTable.tablecols
|
|
|
this.tablecolsMain = this.tool.tabelCol(this.$route.name).mainBodyTable.tablecols
|
|
|
+ this.tablecolsVersion = this.tool.tabelCol(this.$route.name).versionTable.tablecols
|
|
|
}
|
|
|
}
|
|
|
</script>
|