Merge branch 'master' of https://gitea.qinmian.online/2112A-ONE/cloud-ui
commit
4b04066d53
|
@ -356,77 +356,13 @@
|
|||
<div slot="header" class="clearfix">
|
||||
<span>选择资产集</span>
|
||||
<template>
|
||||
<!-- <el-table-->
|
||||
<!-- :data="tableOrigin"-->
|
||||
<!-- style="width: 100%">-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="主键"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.id }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="数据源ID"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.basicId }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="表名称"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.tableName }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="表备注"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.tableRemark }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="类型"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.type }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="数据量"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.dataNum }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="是否核心"-->
|
||||
<!-- width="180">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span style="margin-left: 10px">{{ scope.row.center }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
|
||||
<!-- <el-table-column label="操作">-->
|
||||
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- @click="handleEditSelect(scope.row)">选择-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
{{tableDatas}}
|
||||
<el-table>
|
||||
<el-table-column
|
||||
v-for="tableData in tableDatas"
|
||||
:key="key"
|
||||
v-for="tableData in tableDatas"
|
||||
:label="tableData.label"
|
||||
:prop="tableData.value"
|
||||
width="180">
|
||||
{{tableData.value}}
|
||||
</el-table-column>
|
||||
<el-table-column label="操作">
|
||||
|
||||
|
@ -569,7 +505,6 @@ export default {
|
|||
this.findById();
|
||||
this.findList()
|
||||
this.getDataOrigin()
|
||||
this.findTableValueByTableName();
|
||||
},
|
||||
//生命周期 - 挂载完成(可以访问DOM元素)",
|
||||
mounted() {
|
||||
|
@ -578,6 +513,8 @@ export default {
|
|||
methods: {
|
||||
//表数据
|
||||
handleEditSelect(data) {
|
||||
console.log(data.basicId);
|
||||
console.log(data.tableName);
|
||||
findTableValueByTableName(data.basicId, data.tableName).then(res => {
|
||||
console.log(res.data)
|
||||
this.tableDatas = res.data
|
||||
|
|
Loading…
Reference in New Issue