src/views/deviceManager/maintainStandard.vue
@@ -559,7 +559,11 @@ } } }, activated() { window.addEventListener('resize', this.getHeight) this.getHeight() }, created() { activated() { window.addEventListener('resize', this.getHeight) this.getHeight() }, created() { this.handleRequest() }, mounted() { @@ -710,6 +714,10 @@ return this.$message.info('设备关联保养项信息不能为空!') } if (this.tableDataDialog.filter(i => !i.repairitem_code).length > 0) { return this.$message.info('设备关联保养项信息不能为空!') } this.$refs.dialogForm.validate(valid => { if (valid) { this.$store.state.app.buttonIsDisabled = true