|
@@ -255,7 +255,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
tableOption () {
|
|
tableOption () {
|
|
- //this.setTree()
|
|
|
|
|
|
+ // this.setTree()
|
|
if (!this.optionAlertShow) {
|
|
if (!this.optionAlertShow) {
|
|
this.options = {
|
|
this.options = {
|
|
alert: { show: true, clear: () => { this.selectedRowKeys = [] } },
|
|
alert: { show: true, clear: () => { this.selectedRowKeys = [] } },
|
|
@@ -295,7 +295,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleOk () {
|
|
handleOk () {
|
|
- //this.setTree()
|
|
|
|
|
|
+ // this.setTree()
|
|
this.$refs.table.refresh()
|
|
this.$refs.table.refresh()
|
|
},
|
|
},
|
|
onSelectChange (selectedRowKeys, selectedRows) {
|
|
onSelectChange (selectedRowKeys, selectedRows) {
|
|
@@ -313,7 +313,7 @@ export default {
|
|
base (record, queryParam = {}) {
|
|
base (record, queryParam = {}) {
|
|
this.visible = true
|
|
this.visible = true
|
|
this.modalTitle = '选择设备'
|
|
this.modalTitle = '选择设备'
|
|
- this.extraQueryParam = queryParam
|
|
|
|
|
|
+ this.queryParam = queryParam
|
|
if (this.isCreated) {
|
|
if (this.isCreated) {
|
|
console.log(this.$refs.table)
|
|
console.log(this.$refs.table)
|
|
this.$refs.table.clearSelected()
|
|
this.$refs.table.clearSelected()
|