| | |
| | | default() { |
| | | return true |
| | | } |
| | | }, |
| | | filterAbnormalDeviceKey: { |
| | | type: String, |
| | | default: '' |
| | | } |
| | | }, |
| | | components: { |
| | |
| | | queryTreeData() { |
| | | this.loading = true |
| | | this.cardLoading = true |
| | | this.QueryProduction().then(res => { |
| | | this.QueryProduction(this.filterAbnormalDeviceKey).then(res => { |
| | | if (res.success) { |
| | | this.dataList = [] |
| | | this.allTreeKeys = [] |
| | |
| | | // this.$message.warning('请选择一条记录!') |
| | | this.$notification.warning({ |
| | | message:'消息', |
| | | description:"请选择一条记录" |
| | | }); |
| | | description: '请选择一条记录' |
| | | }) |
| | | return |
| | | } else { |
| | | var that = this |
| | |
| | | deleteAction(that.url.deleteBatch, { ids: ids }).then((res) => { |
| | | if (res.success) { |
| | | that.$message.success(res.message) |
| | | that.queryTreeData(); |
| | | that.queryTreeData() |
| | | } else { |
| | | that.$message.warning(res.message) |
| | | } |
| | |
| | | } |
| | | }, |
| | | modalFormOk(val) { |
| | | console.log("mmm") |
| | | console.log('mmm') |
| | | // 新增/修改 成功时,重载列表 |
| | | this.queryTreeData() |
| | | // 新增/修改 成功时,重载列表 |
| | |
| | | watch: { |
| | | currSelected(val) { //监听currSelected 变化,将变化后的数值传递给 getCurrSelected 事件 |
| | | this.$emit('getCurrSelected', val) |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | height: 748px!important; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1680px) and (max-width: 1920px){ |
| | | .tree_con{ |
| | | height: 748px!important; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1400px) and (max-width: 1680px){ |
| | | .tree_con{ |
| | | height: 600px!important; |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 1280px) and (max-width: 1400px){ |
| | | .tree_con{ |
| | | height: 501px!important; |
| | | } |
| | | } |
| | | |
| | | @media screen and (max-width: 1280px){ |
| | | .tree_con{ |
| | | height: 501px!important; |