|
@@ -13,7 +13,7 @@
|
|
<div style="float:right;overflow:hidden;">
|
|
<div style="float:right;overflow:hidden;">
|
|
<el-button size="small" style="width: 80px;" @click="addDevice" icon="iconfont icon-tianjia">添加资产</el-button>
|
|
<el-button size="small" style="width: 80px;" @click="addDevice" icon="iconfont icon-tianjia">添加资产</el-button>
|
|
<el-button size="small" style="width: 80px;" @click="reset" icon="iconfont icon-shuaxin">刷新</el-button>
|
|
<el-button size="small" style="width: 80px;" @click="reset" icon="iconfont icon-shuaxin">刷新</el-button>
|
|
- <el-button size="small" style="width: 80px;" @click="undo" icon="iconfont icon-undo">撤销</el-button>
|
|
|
|
|
|
+ <el-button v-show="!onlyRead" size="small" style="width: 80px;" @click="undo" icon="iconfont icon-undo">撤销</el-button>
|
|
</div>
|
|
</div>
|
|
<div style="width:200px;color:gray;float:right;font-size:12px;">
|
|
<div style="width:200px;color:gray;float:right;font-size:12px;">
|
|
<span v-if="!onlyRead">隐藏自动填充的信息点:</span>
|
|
<span v-if="!onlyRead">隐藏自动填充的信息点:</span>
|
|
@@ -40,7 +40,7 @@
|
|
<div
|
|
<div
|
|
style="width:100px;cursor: pointer;float:right; font-size:14px;margin-right:10px"
|
|
style="width:100px;cursor: pointer;float:right; font-size:14px;margin-right:10px"
|
|
>
|
|
>
|
|
- <el-select v-model="onlyRead" @click="changeRead" size="small">
|
|
|
|
|
|
+ <el-select v-model="onlyRead" @change="changeRead" size="small">
|
|
<el-option
|
|
<el-option
|
|
v-for="item in options"
|
|
v-for="item in options"
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -233,7 +233,6 @@ export default {
|
|
mounted() { },
|
|
mounted() { },
|
|
methods: {
|
|
methods: {
|
|
changeRead() {
|
|
changeRead() {
|
|
- this.onlyRead = !this.onlyRead
|
|
|
|
console.log(this.onlyRead)
|
|
console.log(this.onlyRead)
|
|
this.getMain()
|
|
this.getMain()
|
|
},
|
|
},
|
|
@@ -293,7 +292,13 @@ export default {
|
|
ProjId: this.projectId
|
|
ProjId: this.projectId
|
|
}
|
|
}
|
|
if (this.mess.buildId == "all") {
|
|
if (this.mess.buildId == "all") {
|
|
- delete param.data.criteria.id
|
|
|
|
|
|
+ param.data.criteria.id = this.mess.ProjId
|
|
|
|
+ } else if (this.mess.buildId == "noKnow") {
|
|
|
|
+ param.data.criteria.id = this.mess.ProjId
|
|
|
|
+ param.data.directOnly = true
|
|
|
|
+ } else if (this.mess.floorId == "noKnow") {
|
|
|
|
+ param.data.criteria.id = this.mess.buildId
|
|
|
|
+ param.data.directOnly = true
|
|
} else if (this.mess.floorId && this.mess.floorId != "all") {
|
|
} else if (this.mess.floorId && this.mess.floorId != "all") {
|
|
param.data.criteria.id = this.mess.floorId
|
|
param.data.criteria.id = this.mess.floorId
|
|
} else if (this.mess.floorId == 'all') {
|
|
} else if (this.mess.floorId == 'all') {
|
|
@@ -301,6 +306,15 @@ export default {
|
|
} else {
|
|
} else {
|
|
param.data.criteria.id = this.mess.ProjId
|
|
param.data.criteria.id = this.mess.ProjId
|
|
}
|
|
}
|
|
|
|
+ // if (this.mess.buildId == "all") {
|
|
|
|
+ // delete param.data.criteria.id
|
|
|
|
+ // } else if (this.mess.floorId && this.mess.floorId != "all") {
|
|
|
|
+ // param.data.criteria.id = this.mess.floorId
|
|
|
|
+ // } else if (this.mess.floorId == 'all') {
|
|
|
|
+ // param.data.criteria.id = this.mess.buildId
|
|
|
|
+ // } else {
|
|
|
|
+ // param.data.criteria.id = this.mess.ProjId
|
|
|
|
+ // }
|
|
getBillPropList(param, res => {
|
|
getBillPropList(param, res => {
|
|
if (res.Content.length) {
|
|
if (res.Content.length) {
|
|
let list = []
|
|
let list = []
|