更新plc
This commit is contained in:
@@ -137,6 +137,18 @@ export default {
|
||||
case 'Omron':
|
||||
this.updataURL = 'OmronPlc'
|
||||
break
|
||||
case 'Inovance':
|
||||
this.model = 1
|
||||
this.$http({
|
||||
url: this.$http.adornUrl('api/server/plcCreate/list-DataFormat'),
|
||||
method: 'post'
|
||||
}).then(({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
this.options2 = data.data
|
||||
}
|
||||
})
|
||||
this.updataURL = 'InovancePlc'
|
||||
break
|
||||
default:
|
||||
this.model = 2
|
||||
this.updataURL = 'siemensPlc'
|
||||
|
||||
Reference in New Issue
Block a user