Commit 42e0c134 authored by 赵啸非's avatar 赵啸非

修改站点请求地址

parent 4827577f
......@@ -319,12 +319,14 @@ export default {
},
changeStat(val, enabled) {
let param={"siteId":this.siteId}
param = Object.assign(param, { deviceStatus: val });
//去除其它条件
delete this.query["productId"]
delete this.query["deviceName"]
delete this.query["deviceCode"]
this.query = Object.assign(this.query, { deviceStatus: val });
if (!enabled) {
this.query = Object.assign(param, {
this.query = Object.assign(this.query, {
deviceStatusList: [1, 2],
enabled: enabled,
});
......
......@@ -501,7 +501,6 @@ public class DeviceApiController {
ProductVersionEntity productVersionEntity = productVersionService.selectOne(productVersionQuery);
if (ObjectUtils.isEmpty(productVersionEntity)) {
throw new AppException(DEVICE_VERSION_UNEXIST, DEVICE_VERSION_UNEXIST_CONTENT);
}
ProductVersionInfo productVersionInfo = new ProductVersionInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment