|
@@ -25,24 +25,6 @@
|
|
<div class="tableLeft" v-show="tableData && tableData.length">
|
|
<div class="tableLeft" v-show="tableData && tableData.length">
|
|
<handson-table ref="table"></handson-table>
|
|
<handson-table ref="table"></handson-table>
|
|
</div>
|
|
</div>
|
|
- <div class="tableRight">
|
|
|
|
- <div v-show="isTableRightShow">
|
|
|
|
- <div class="table_right_box"><span class="iconfont close_right" @click="handleCloseRight"></span></div>
|
|
|
|
- <h5>管理需要关联的元空间</h5>
|
|
|
|
- <p style="margin-bottom: 10px;">以下为关联的元空间id</p>
|
|
|
|
- <el-input
|
|
|
|
- type="textarea"
|
|
|
|
- :autosize="{ minRows: 6, maxRows: 10}"
|
|
|
|
- :disabled="onlyRead"
|
|
|
|
- placeholder="请输入元空间id,以“,”分割"
|
|
|
|
- v-model="spaceList">
|
|
|
|
- </el-input>
|
|
|
|
- <el-row class="right" v-show="!onlyRead">
|
|
|
|
- <el-button @click="handleCloseRight">取消</el-button>
|
|
|
|
- <el-button @click="saveSpaceList" type="primary">保存</el-button>
|
|
|
|
- </el-row>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
<el-pagination
|
|
<el-pagination
|
|
class="right"
|
|
class="right"
|
|
@@ -75,7 +57,6 @@ import tools from "@/utils/scan/tools"
|
|
import handsonUtils from "@/utils/hasontableUtils"
|
|
import handsonUtils from "@/utils/hasontableUtils"
|
|
import showTools from "@/utils/handsontable/notShow"
|
|
import showTools from "@/utils/handsontable/notShow"
|
|
import text from "@/utils/handsontable/mainText"
|
|
import text from "@/utils/handsontable/mainText"
|
|
-
|
|
|
|
import cenoteType from "@/components/ledger/lib/cenoteType";
|
|
import cenoteType from "@/components/ledger/lib/cenoteType";
|
|
import handsonTable from "@/components/common/handsontable";
|
|
import handsonTable from "@/components/common/handsontable";
|
|
import { getDataDictionary, getCenoteTableData, updataCenoteTableData, deleteCenoteTableData, saveCenoteRelateSpace, BeatchQueryParam } from "@/api/scan/request"
|
|
import { getDataDictionary, getCenoteTableData, updataCenoteTableData, deleteCenoteTableData, saveCenoteRelateSpace, BeatchQueryParam } from "@/api/scan/request"
|
|
@@ -89,7 +70,6 @@ export default {
|
|
return {
|
|
return {
|
|
cenoteId: "",//竖井类型id
|
|
cenoteId: "",//竖井类型id
|
|
shaftId: "",//要操作的竖井id
|
|
shaftId: "",//要操作的竖井id
|
|
- isTableRightShow: false,
|
|
|
|
spaceList: "",
|
|
spaceList: "",
|
|
options: [{
|
|
options: [{
|
|
value: true,
|
|
value: true,
|
|
@@ -297,11 +277,6 @@ export default {
|
|
this.cenoteId = value.Id
|
|
this.cenoteId = value.Id
|
|
this.getTableHeader()
|
|
this.getTableHeader()
|
|
},
|
|
},
|
|
- //关闭右侧关联元空间输入按钮
|
|
|
|
- handleCloseRight() {
|
|
|
|
- this.isTableRightShow = false
|
|
|
|
- this.spaceList = ""
|
|
|
|
- },
|
|
|
|
//切换每页显示多少条数据
|
|
//切换每页显示多少条数据
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
this.page.pageSize = val
|
|
this.page.pageSize = val
|
|
@@ -372,8 +347,11 @@ export default {
|
|
this.shaftId = infos.ShaftID //要操作的数据id
|
|
this.shaftId = infos.ShaftID //要操作的数据id
|
|
//点击关联的元空间
|
|
//点击关联的元空间
|
|
if (val === "SpaceCount") {
|
|
if (val === "SpaceCount") {
|
|
- this.spaceList = infos.SpaceList
|
|
|
|
- this.isTableRightShow = true
|
|
|
|
|
|
+ infos.onlyRead = this.onlyRead;
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path:'/ledger/relatedSpace',
|
|
|
|
+ query:{infos: infos}
|
|
|
|
+ })
|
|
return false
|
|
return false
|
|
} else if (val === "OtheRelations") {
|
|
} else if (val === "OtheRelations") {
|
|
this.$router.push({
|
|
this.$router.push({
|