diff --git a/src/views/deviceConfig/components/editDigConfig.vue b/src/views/deviceConfig/components/editDigConfig.vue index 00cc7d0..09a6e62 100644 --- a/src/views/deviceConfig/components/editDigConfig.vue +++ b/src/views/deviceConfig/components/editDigConfig.vue @@ -231,6 +231,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editDigConfig.vue b/src/views/deviceConfig/components/editDigConfig.vue index 00cc7d0..09a6e62 100644 --- a/src/views/deviceConfig/components/editDigConfig.vue +++ b/src/views/deviceConfig/components/editDigConfig.vue @@ -231,6 +231,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editGasConfig.vue b/src/views/deviceConfig/components/editGasConfig.vue index 1f16f3e..be81b66 100644 --- a/src/views/deviceConfig/components/editGasConfig.vue +++ b/src/views/deviceConfig/components/editGasConfig.vue @@ -197,6 +197,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editDigConfig.vue b/src/views/deviceConfig/components/editDigConfig.vue index 00cc7d0..09a6e62 100644 --- a/src/views/deviceConfig/components/editDigConfig.vue +++ b/src/views/deviceConfig/components/editDigConfig.vue @@ -231,6 +231,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editGasConfig.vue b/src/views/deviceConfig/components/editGasConfig.vue index 1f16f3e..be81b66 100644 --- a/src/views/deviceConfig/components/editGasConfig.vue +++ b/src/views/deviceConfig/components/editGasConfig.vue @@ -197,6 +197,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editHarmfulConfig.vue b/src/views/deviceConfig/components/editHarmfulConfig.vue index 9b9b7c3..bbbdf63 100644 --- a/src/views/deviceConfig/components/editHarmfulConfig.vue +++ b/src/views/deviceConfig/components/editHarmfulConfig.vue @@ -172,6 +172,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editDigConfig.vue b/src/views/deviceConfig/components/editDigConfig.vue index 00cc7d0..09a6e62 100644 --- a/src/views/deviceConfig/components/editDigConfig.vue +++ b/src/views/deviceConfig/components/editDigConfig.vue @@ -231,6 +231,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editGasConfig.vue b/src/views/deviceConfig/components/editGasConfig.vue index 1f16f3e..be81b66 100644 --- a/src/views/deviceConfig/components/editGasConfig.vue +++ b/src/views/deviceConfig/components/editGasConfig.vue @@ -197,6 +197,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editHarmfulConfig.vue b/src/views/deviceConfig/components/editHarmfulConfig.vue index 9b9b7c3..bbbdf63 100644 --- a/src/views/deviceConfig/components/editHarmfulConfig.vue +++ b/src/views/deviceConfig/components/editHarmfulConfig.vue @@ -172,6 +172,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editLiquidConfig.vue b/src/views/deviceConfig/components/editLiquidConfig.vue index 3729f5a..373e5fa 100644 --- a/src/views/deviceConfig/components/editLiquidConfig.vue +++ b/src/views/deviceConfig/components/editLiquidConfig.vue @@ -197,6 +197,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editDigConfig.vue b/src/views/deviceConfig/components/editDigConfig.vue index 00cc7d0..09a6e62 100644 --- a/src/views/deviceConfig/components/editDigConfig.vue +++ b/src/views/deviceConfig/components/editDigConfig.vue @@ -231,6 +231,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editGasConfig.vue b/src/views/deviceConfig/components/editGasConfig.vue index 1f16f3e..be81b66 100644 --- a/src/views/deviceConfig/components/editGasConfig.vue +++ b/src/views/deviceConfig/components/editGasConfig.vue @@ -197,6 +197,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editHarmfulConfig.vue b/src/views/deviceConfig/components/editHarmfulConfig.vue index 9b9b7c3..bbbdf63 100644 --- a/src/views/deviceConfig/components/editHarmfulConfig.vue +++ b/src/views/deviceConfig/components/editHarmfulConfig.vue @@ -172,6 +172,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editLiquidConfig.vue b/src/views/deviceConfig/components/editLiquidConfig.vue index 3729f5a..373e5fa 100644 --- a/src/views/deviceConfig/components/editLiquidConfig.vue +++ b/src/views/deviceConfig/components/editLiquidConfig.vue @@ -197,6 +197,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice() diff --git a/src/views/deviceConfig/components/editTempConfig.vue b/src/views/deviceConfig/components/editTempConfig.vue index b054bea..a1da5c4 100644 --- a/src/views/deviceConfig/components/editTempConfig.vue +++ b/src/views/deviceConfig/components/editTempConfig.vue @@ -201,6 +201,7 @@ initDialog: function(dialogStatus, dialogFormVisible, row = null) { this.dialogStatus = dialogStatus this.dialogFormVisible = dialogFormVisible + this.canEdit = true if (dialogStatus === 'create') { // 如果是新增,清除验证 this.resetForm() this.fetchDevice()