|
@@ -7,11 +7,11 @@
|
|
|
<el-table-column :label="`${inSpaceType}名称`" show-overflow-tooltip min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{scope.row.SysLocalName||scope.row.SysName||''}}
|
|
|
+ {{scope.row.localName||scope.row.name||''}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="SysLocalID" :label="`${inSpaceType}本地编码`" show-overflow-tooltip min-width="100"></el-table-column>
|
|
|
+ <el-table-column prop="localId" :label="`${inSpaceType}本地编码`" show-overflow-tooltip min-width="100"></el-table-column>
|
|
|
<el-table-column prop="action" label="操作" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="mini" @click="toDetail(scope.$index, scope.row)" type="primary" plain>查看详情</el-button>
|
|
@@ -68,13 +68,13 @@ export default {
|
|
|
savaRelation() {
|
|
|
let pa = {
|
|
|
data: {
|
|
|
- SpaceId: this.spaceId,
|
|
|
- SysIdList: []
|
|
|
+ spaceId: this.spaceId,
|
|
|
+ sysIdList: []
|
|
|
},
|
|
|
type: this.zone
|
|
|
}
|
|
|
this.selections.map(t => {
|
|
|
- pa.data.SysIdList.push(t.SysID)
|
|
|
+ pa.data.sysIdList.push(t.id)
|
|
|
})
|
|
|
syInSpaceCreate(pa, res => {
|
|
|
this.$message.success('关联成功');
|
|
@@ -86,14 +86,14 @@ export default {
|
|
|
getTableData() {
|
|
|
let pa = {
|
|
|
data: {
|
|
|
- PageSize: 200,
|
|
|
- Orders: 'SysID asc'
|
|
|
+ pageSize: 200,
|
|
|
+ orders: 'id asc'
|
|
|
},
|
|
|
type: this.zone,
|
|
|
spaceId: this.spaceId
|
|
|
}
|
|
|
notSyInSpaceQuery(pa, res => {
|
|
|
- this.tableData = res.Content;
|
|
|
+ this.tableData = res.content;
|
|
|
})
|
|
|
},
|
|
|
// 查看详情
|