inl-ui 0.1.121 → 0.1.122-mtapi

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6169,7 +6169,7 @@ const VideoBox = vue.defineComponent({
6169
6169
  }]];
6170
6170
  const infos = vue.ref([]);
6171
6171
  const videoMove = async direction => {
6172
- await axios__default["default"].get("/api/vms/v1/control/hik/control", {
6172
+ await axios__default["default"].get("/mtapi/vms/v1/control/hik/control", {
6173
6173
  params: {
6174
6174
  cameraUuid: _prop.camera,
6175
6175
  command: direction
@@ -6184,7 +6184,7 @@ const VideoBox = vue.defineComponent({
6184
6184
  const arr = infos.value.map(info => {
6185
6185
  return {};
6186
6186
  });
6187
- const res = await axios__default["default"].get("/api/vms/v1/camera/getThingDevice", {
6187
+ const res = await axios__default["default"].get("/mtapi/vms/v1/camera/getThingDevice", {
6188
6188
  params: {
6189
6189
  cameraUuid: uuid
6190
6190
  },
@@ -6200,7 +6200,7 @@ const VideoBox = vue.defineComponent({
6200
6200
  };
6201
6201
  const camera = vue.ref({});
6202
6202
  const getVideoDetail = async val => {
6203
- const res = await axios__default["default"].get(`/api/vms/v1/camera/getByUuid?uuid=${val}`, {
6203
+ const res = await axios__default["default"].get(`/mtapi/vms/v1/camera/getByUuid?uuid=${val}`, {
6204
6204
  headers: {
6205
6205
  token: sessionStorage.getItem("token") || ""
6206
6206
  }
@@ -6231,7 +6231,7 @@ const VideoBox = vue.defineComponent({
6231
6231
  immediate: true
6232
6232
  });
6233
6233
  const changeStream = async code => {
6234
- const res = await axios__default["default"].get(`/api/vms/v1/camera/getWebrtcUrls`, {
6234
+ const res = await axios__default["default"].get(`/mtapi/vms/v1/camera/getWebrtcUrls`, {
6235
6235
  headers: {
6236
6236
  token: sessionStorage.getItem("token") || ""
6237
6237
  },
@@ -6462,7 +6462,7 @@ var Tree = vue.defineComponent({
6462
6462
  });
6463
6463
  const getQueryGroup = async params => {
6464
6464
  return new Promise(async resolve => {
6465
- const res = await axios__default["default"].get("/api/vms/v1/cameraGroup/tree", {
6465
+ const res = await axios__default["default"].get("/mtapi/vms/v1/cameraGroup/tree", {
6466
6466
  headers: {
6467
6467
  token: sessionStorage.getItem("token") || ""
6468
6468
  },
@@ -6480,7 +6480,7 @@ var Tree = vue.defineComponent({
6480
6480
  };
6481
6481
  const getGroup = async () => {
6482
6482
  return new Promise(async resolve => {
6483
- const res = await axios__default["default"].get("/api/vms/v1/cameraGroupType/findAll", {
6483
+ const res = await axios__default["default"].get("/mtapi/vms/v1/cameraGroupType/findAll", {
6484
6484
  headers: {
6485
6485
  token: sessionStorage.getItem("token") || ""
6486
6486
  }
@@ -6756,7 +6756,7 @@ const VideoBoxV2 = vue.defineComponent({
6756
6756
  showInfo.value = _prop.showInfo;
6757
6757
  });
6758
6758
  const videoMove = async direction => {
6759
- await axios__default["default"].get("/api/vms/v1/control/hik/control", {
6759
+ await axios__default["default"].get("/mtapi/vms/v1/control/hik/control", {
6760
6760
  params: {
6761
6761
  cameraUuid: _prop.camera,
6762
6762
  command: direction
@@ -6781,7 +6781,7 @@ const VideoBoxV2 = vue.defineComponent({
6781
6781
  if (tcpcArr.length === 0) {
6782
6782
  return;
6783
6783
  }
6784
- const res = await axios__default["default"].post("/api/mtip/thing/v2/thingClient/getPropertiesValueById", tcpcArr, {
6784
+ const res = await axios__default["default"].post("/mtapi/mtip/thing/v2/thingClient/getPropertiesValueById", tcpcArr, {
6785
6785
  headers: {
6786
6786
  token: sessionStorage.getItem("token")
6787
6787
  }
@@ -6802,7 +6802,7 @@ const VideoBoxV2 = vue.defineComponent({
6802
6802
  const arr = infos.value.map(info => {
6803
6803
  return {};
6804
6804
  });
6805
- const res = await axios__default["default"].post("/api/vms/v1/cameraRelThing/getByParam", {
6805
+ const res = await axios__default["default"].post("/mtapi/vms/v1/cameraRelThing/getByParam", {
6806
6806
  cameraUuid: uuid2
6807
6807
  }, {
6808
6808
  headers: {
@@ -6822,7 +6822,7 @@ const VideoBoxV2 = vue.defineComponent({
6822
6822
  };
6823
6823
  const camera = vue.ref({});
6824
6824
  const getVideoDetail = async val => {
6825
- const res = await axios__default["default"].get(`/api/vms/v1/camera/getByUuid?uuid=${val}`, {
6825
+ const res = await axios__default["default"].get(`/mtapi/vms/v1/camera/getByUuid?uuid=${val}`, {
6826
6826
  headers: {
6827
6827
  token: sessionStorage.getItem("token") || ""
6828
6828
  }
@@ -6939,7 +6939,7 @@ const VideoBoxV2 = vue.defineComponent({
6939
6939
  immediate: true
6940
6940
  });
6941
6941
  const changeStream = async code => {
6942
- const res = await axios__default["default"].get(`/api/vms/v1/camera/getWebrtcUrls`, {
6942
+ const res = await axios__default["default"].get(`/mtapi/vms/v1/camera/getWebrtcUrls`, {
6943
6943
  headers: {
6944
6944
  token: sessionStorage.getItem("token") || ""
6945
6945
  },
@@ -7546,7 +7546,7 @@ const VideoPlayerV1 = vue.defineComponent({
7546
7546
  videoInfo2.value = camera;
7547
7547
  init();
7548
7548
  } else if (camera && typeof camera === "string") {
7549
- const res = await axios__default["default"].post(`/api/sfvideo/v1/camera/getCameraByCameraId`, {
7549
+ const res = await axios__default["default"].post(`/mtapi/sfvideo/v1/camera/getCameraByCameraId`, {
7550
7550
  id: camera
7551
7551
  }, {
7552
7552
  headers: {
@@ -6143,7 +6143,7 @@ const VideoBox = defineComponent({
6143
6143
  }]];
6144
6144
  const infos = ref([]);
6145
6145
  const videoMove = async direction => {
6146
- await axios$2.get("/api/vms/v1/control/hik/control", {
6146
+ await axios$2.get("/mtapi/vms/v1/control/hik/control", {
6147
6147
  params: {
6148
6148
  cameraUuid: _prop.camera,
6149
6149
  command: direction
@@ -6158,7 +6158,7 @@ const VideoBox = defineComponent({
6158
6158
  const arr = infos.value.map(info => {
6159
6159
  return {};
6160
6160
  });
6161
- const res = await axios$2.get("/api/vms/v1/camera/getThingDevice", {
6161
+ const res = await axios$2.get("/mtapi/vms/v1/camera/getThingDevice", {
6162
6162
  params: {
6163
6163
  cameraUuid: uuid
6164
6164
  },
@@ -6174,7 +6174,7 @@ const VideoBox = defineComponent({
6174
6174
  };
6175
6175
  const camera = ref({});
6176
6176
  const getVideoDetail = async val => {
6177
- const res = await axios$2.get(`/api/vms/v1/camera/getByUuid?uuid=${val}`, {
6177
+ const res = await axios$2.get(`/mtapi/vms/v1/camera/getByUuid?uuid=${val}`, {
6178
6178
  headers: {
6179
6179
  token: sessionStorage.getItem("token") || ""
6180
6180
  }
@@ -6205,7 +6205,7 @@ const VideoBox = defineComponent({
6205
6205
  immediate: true
6206
6206
  });
6207
6207
  const changeStream = async code => {
6208
- const res = await axios$2.get(`/api/vms/v1/camera/getWebrtcUrls`, {
6208
+ const res = await axios$2.get(`/mtapi/vms/v1/camera/getWebrtcUrls`, {
6209
6209
  headers: {
6210
6210
  token: sessionStorage.getItem("token") || ""
6211
6211
  },
@@ -6436,7 +6436,7 @@ var Tree = defineComponent({
6436
6436
  });
6437
6437
  const getQueryGroup = async params => {
6438
6438
  return new Promise(async resolve => {
6439
- const res = await axios$2.get("/api/vms/v1/cameraGroup/tree", {
6439
+ const res = await axios$2.get("/mtapi/vms/v1/cameraGroup/tree", {
6440
6440
  headers: {
6441
6441
  token: sessionStorage.getItem("token") || ""
6442
6442
  },
@@ -6454,7 +6454,7 @@ var Tree = defineComponent({
6454
6454
  };
6455
6455
  const getGroup = async () => {
6456
6456
  return new Promise(async resolve => {
6457
- const res = await axios$2.get("/api/vms/v1/cameraGroupType/findAll", {
6457
+ const res = await axios$2.get("/mtapi/vms/v1/cameraGroupType/findAll", {
6458
6458
  headers: {
6459
6459
  token: sessionStorage.getItem("token") || ""
6460
6460
  }
@@ -6730,7 +6730,7 @@ const VideoBoxV2 = defineComponent({
6730
6730
  showInfo.value = _prop.showInfo;
6731
6731
  });
6732
6732
  const videoMove = async direction => {
6733
- await axios$2.get("/api/vms/v1/control/hik/control", {
6733
+ await axios$2.get("/mtapi/vms/v1/control/hik/control", {
6734
6734
  params: {
6735
6735
  cameraUuid: _prop.camera,
6736
6736
  command: direction
@@ -6755,7 +6755,7 @@ const VideoBoxV2 = defineComponent({
6755
6755
  if (tcpcArr.length === 0) {
6756
6756
  return;
6757
6757
  }
6758
- const res = await axios$2.post("/api/mtip/thing/v2/thingClient/getPropertiesValueById", tcpcArr, {
6758
+ const res = await axios$2.post("/mtapi/mtip/thing/v2/thingClient/getPropertiesValueById", tcpcArr, {
6759
6759
  headers: {
6760
6760
  token: sessionStorage.getItem("token")
6761
6761
  }
@@ -6776,7 +6776,7 @@ const VideoBoxV2 = defineComponent({
6776
6776
  const arr = infos.value.map(info => {
6777
6777
  return {};
6778
6778
  });
6779
- const res = await axios$2.post("/api/vms/v1/cameraRelThing/getByParam", {
6779
+ const res = await axios$2.post("/mtapi/vms/v1/cameraRelThing/getByParam", {
6780
6780
  cameraUuid: uuid2
6781
6781
  }, {
6782
6782
  headers: {
@@ -6796,7 +6796,7 @@ const VideoBoxV2 = defineComponent({
6796
6796
  };
6797
6797
  const camera = ref({});
6798
6798
  const getVideoDetail = async val => {
6799
- const res = await axios$2.get(`/api/vms/v1/camera/getByUuid?uuid=${val}`, {
6799
+ const res = await axios$2.get(`/mtapi/vms/v1/camera/getByUuid?uuid=${val}`, {
6800
6800
  headers: {
6801
6801
  token: sessionStorage.getItem("token") || ""
6802
6802
  }
@@ -6913,7 +6913,7 @@ const VideoBoxV2 = defineComponent({
6913
6913
  immediate: true
6914
6914
  });
6915
6915
  const changeStream = async code => {
6916
- const res = await axios$2.get(`/api/vms/v1/camera/getWebrtcUrls`, {
6916
+ const res = await axios$2.get(`/mtapi/vms/v1/camera/getWebrtcUrls`, {
6917
6917
  headers: {
6918
6918
  token: sessionStorage.getItem("token") || ""
6919
6919
  },
@@ -7520,7 +7520,7 @@ const VideoPlayerV1 = defineComponent({
7520
7520
  videoInfo2.value = camera;
7521
7521
  init();
7522
7522
  } else if (camera && typeof camera === "string") {
7523
- const res = await axios$2.post(`/api/sfvideo/v1/camera/getCameraByCameraId`, {
7523
+ const res = await axios$2.post(`/mtapi/sfvideo/v1/camera/getCameraByCameraId`, {
7524
7524
  id: camera
7525
7525
  }, {
7526
7526
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.121",
3
+ "version": "0.1.122-mtapi",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",