commit
7e48d84740
|
@ -123,7 +123,6 @@
|
||||||
<script>
|
<script>
|
||||||
import devicePlayer from './dialog/devicePlayer.vue'
|
import devicePlayer from './dialog/devicePlayer.vue'
|
||||||
import uiHeader from '../layout/UiHeader.vue'
|
import uiHeader from '../layout/UiHeader.vue'
|
||||||
import moment from "moment";
|
|
||||||
import DeviceService from "./service/DeviceService";
|
import DeviceService from "./service/DeviceService";
|
||||||
import DeviceTree from "./common/DeviceTree";
|
import DeviceTree from "./common/DeviceTree";
|
||||||
|
|
||||||
|
@ -290,8 +289,8 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getSnap: function (row) {
|
getSnap: function (row) {
|
||||||
let url = (process.env.NODE_ENV === 'development'? "debug": "") + '/api/device/query/snap/' + row.deviceId + '/' + row.channelId
|
let baseUrl = window.baseUrl ? window.baseUrl : "";
|
||||||
return url
|
return ((process.env.NODE_ENV === 'development') ? process.env.BASE_API : baseUrl) + '/api/device/query/snap/' + row.deviceId + '/' + row.channelId;
|
||||||
},
|
},
|
||||||
getBigSnap: function (row) {
|
getBigSnap: function (row) {
|
||||||
return [this.getSnap(row)]
|
return [this.getSnap(row)]
|
||||||
|
|
Loading…
Reference in New Issue