| | |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | return filterObj(param); |
| | | }, |
| | | getQueryField() { |
| | |
| | | this.$refs.modalForm.edit(record); |
| | | this.$refs.modalForm.title = "编辑"; |
| | | this.$refs.modalForm.disableSubmit = false; |
| | | |
| | | }, |
| | | handleAdd: function () { |
| | | this.$refs.modalForm.add(); |
| | |
| | | //清空列表选中 |
| | | this.onClearSelected() |
| | | }, |
| | | /** |
| | | * 点击表格中详情按钮事件 |
| | | * @param record 选中的当前行数据 |
| | | */ |
| | | handleDetail:function(record){ |
| | | this.$refs.modalForm.edit(record); |
| | | this.$refs.modalForm.title="详情"; |
| | | this.$refs.modalForm.disableSubmit = true; |
| | | // 打开详情抽屉时禁用设备编码、设备名称输入框 |
| | | this.$refs.modalForm.disSeach = true; |
| | | // 调用抽屉表单组件中的清除表单验证方法 |
| | | this.$refs.modalForm.removeValidate() |
| | | }, |
| | | /* 导出 */ |
| | | handleExportXls2(){ |