南昌市物联网技防平台-前端
zengh
2021-02-03 c4bce8bbb141fc7cafd3e3dd005b0d18568913ec
接口地址修改
2 files modified
16 ■■■■ changed files
src/page/index/logo.vue 10 ●●●● patch | view | raw | blame | history
src/views/realTimePolice/real.vue 6 ●●●● patch | view | raw | blame | history
src/page/index/logo.vue
@@ -138,7 +138,7 @@
        var that = this;
        axios({
          url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/getLimit',
          url: '/api/blade-jfpts/alarm/alarm/getLimit',
          method: 'get',
        }).then(function (response) {
          that.deviceId = response.data.data[0].id;
@@ -152,7 +152,7 @@
        window.clearTimeout(window.realTimeQuery);
        window.realTimeQuery = setInterval(function () {
          axios({
            url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selecttx?id='+that.deviceId,
            url: '/api/blade-jfpts/alarm/alarm/selecttx?id='+that.deviceId,
            method: 'post',
          }).then(function (response) {
            if (response.data.data.length > 0){
@@ -181,7 +181,7 @@
          });
        }else{
          axios({
            url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/submit',
            url: '/api/blade-jfpts/jingdan/jingdan/submit',
            method: 'post',
            data: {
              rName: row.rname,
@@ -224,7 +224,7 @@
      revoke(row){
        var that = this;
        axios({
          url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/deletejj?id='+row.id,
          url: '/api/blade-jfpts/alarm/alarm/deletejj?id='+row.id,
          method: 'post',
        }).then(function () {
          that.dialogTableVisible = false;
@@ -236,7 +236,7 @@
      },updateJtyep(row){
        var that = this;
        axios({
          url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype?id='+row.id+"&czTime="+row.czTime+"&bz="+row.bz,
          url: '/api/blade-jfpts/alarm/alarm/updateJtype?id='+row.id+"&czTime="+row.czTime+"&bz="+row.bz,
          method: 'post',
        }).then(function () {
        });
src/views/realTimePolice/real.vue
@@ -794,7 +794,7 @@
      } else {
        axios({
          url:
            "https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/submit",
            "/api/blade-jfpts/jingdan/jingdan/submit",
          method: "post",
          data: {
            rName: row.rname,
@@ -836,7 +836,7 @@
      var that = this;
      axios({
        url:
          "https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/deletejj?id=" +
          "/api/blade-jfpts/alarm/alarm/deletejj?id=" +
          row.id,
        method: "post"
      }).then(function() {
@@ -848,7 +848,7 @@
      var that = this;
      axios({
        url:
          "https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
          "/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
          row.id +
          "&czTime=" +
          row.czTime +