@@ -1,8 +1,8 @@
'use strict'
module.exports = {
NODE_ENV: '"production"',
- BASE_URL: '"http://172.16.0.239"', //测试iframe地址
- SSO_SERVER: '"http://192.168.20.101:8004"' //测试环境
- // BASE_URL: '"http://mbi.sagacloud.cn"', //线上iframe地址
- // SSO_SERVER: '"http://sso.sagacloud.cn"' //正式环境
+ // BASE_URL: '"http://172.16.0.239"', //测试iframe地址
+ // SSO_SERVER: '"http://192.168.20.101:8004"' //测试环境
+ BASE_URL: '"http://mbi.sagacloud.cn"', //线上iframe地址
+ SSO_SERVER: '"http://sso.sagacloud.cn"' //正式环境
}
@@ -55,14 +55,15 @@
return {
passWordArr: ['mqtt', 'amqp', 'opc'],
formData: {
- "ProtocolType": "", //协议类型
- "Name": "",
+ ProtocolType: "", //协议类型
+ ProtocolStandarded: true,
+ Name: "",
ProtocolInfo: {
- "Ip": "", //ip
- "Port": "", //端口号,有些协议类型没有该信息
- "User": "", //用户名
- "Password": "", //密码
- "ProgId": "", //progId
+ Ip: "", //ip
+ Port: "", //端口号,有些协议类型没有该信息
+ User: "", //用户名
+ Password: "", //密码
+ ProgId: "", //progId
},
Description: ""
@@ -233,6 +233,7 @@
responseType: 'blob'
}).then(function(res) {
+ console.log(res)
var blob = new Blob([res.data], {
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8'
});