|
@@ -15,8 +15,8 @@
|
|
|
</el-select>
|
|
|
<!-- <el-button size="small" style='width: 80px;' @click="download" icon="iconfont icon-xiazai">下载</el-button> -->
|
|
|
<el-button size="small" style='width: 80px;' @click="addDevice">添加设备</el-button>
|
|
|
- <el-button size="small" @click="Batch" :disabled="batchDate">批量维护信息点</el-button>
|
|
|
- <el-button size="small" style='width: 80px;' @click="reset">刷新</el-button>
|
|
|
+ <el-button size="small" @click="Batch" v-show="!onlyRead" :disabled="!(tableData && tableData.length)">批量维护信息点</el-button>
|
|
|
+ <el-button size="small" style='width: 80px;' @click="reset">刷新</el-button>
|
|
|
<el-button size="small" style='width: 80px;' v-show="!onlyRead" @click="undo">撤销</el-button>
|
|
|
</div>
|
|
|
<!-- 二维码弹窗 -->
|
|
@@ -206,10 +206,10 @@ export default {
|
|
|
[{value: "Visible", label: '只看采集信息'}, {value: "all", label: '全部'}] :
|
|
|
[{value: "partInfo", label: '隐藏信息点'}, {value: "all", label: '全部'}, {value: "Visible", label: '只看采集信息'}]
|
|
|
},
|
|
|
- batchDate() {
|
|
|
- // return !(!this.onlyRead && this.copyMain)
|
|
|
- return !(!this.onlyRead && this.page.total > 1)
|
|
|
- },
|
|
|
+ // batchDate() {
|
|
|
+ // // return !(!this.onlyRead && this.copyMain)
|
|
|
+ // return !(!this.onlyRead && this.page.total > 1)
|
|
|
+ // },
|
|
|
batchDialogShow() {
|
|
|
return this.$refs.batchDialogs.batchDialog
|
|
|
}
|