南昌市物联网技防平台-前端
zengh
2021-02-03 a92b1075ba2a10efa6374d2477f28a90766d5778
客户列表
4 files modified
23 ■■■■■ changed files
src/page/index/logo.vue 10 ●●●● patch | view | raw | blame | history
src/views/clientManagement/clientManagement.vue 5 ●●●●● patch | view | raw | blame | history
src/views/realTimePolice/real.vue 6 ●●●● patch | view | raw | blame | history
vue.config.js 2 ●●● patch | view | raw | blame | history
src/page/index/logo.vue
@@ -138,7 +138,7 @@
        var that = this;
        axios({
          url: 'http://192.168.0.102:1888/api/blade-jfpts/alarm/alarm/page?current=1&size=1',
          url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/page?current=1&size=1',
          method: 'get',
        }).then(function (response) {
          that.deviceId = response.data.data.records[0].id;
@@ -152,7 +152,7 @@
        window.clearTimeout(window.realTimeQuery);
        window.realTimeQuery = setInterval(function () {
          axios({
            url: 'http://192.168.0.102:1888/api/blade-jfpts/alarm/alarm/selecttx?id='+that.deviceId,
            url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/selecttx?id='+that.deviceId,
            method: 'post',
          }).then(function (response) {
            if (response.data.data.length > 0){
@@ -181,7 +181,7 @@
          });
        }else{
          axios({
            url: 'http://192.168.0.102:1888/api/blade-jfpts/jingdan/jingdan/submit',
            url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/submit',
            method: 'post',
            data: {
              rName: row.rname,
@@ -224,7 +224,7 @@
      revoke(row){
        var that = this;
        axios({
          url: 'http://192.168.0.102:1888/api/blade-jfpts/alarm/alarm/deletejj?id='+row.id,
          url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/deletejj?id='+row.id,
          method: 'post',
        }).then(function () {
          that.dialogTableVisible = false;
@@ -236,7 +236,7 @@
      },updateJtyep(row){
        var that = this;
        axios({
          url: 'http://192.168.0.102:1888/api/blade-jfpts/alarm/alarm/updateJtype?id='+row.id+"&czTime="+row.czTime+"&bz="+row.bz,
          url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/updateJtype?id='+row.id+"&czTime="+row.czTime+"&bz="+row.bz,
          method: 'post',
        }).then(function () {
        });
src/views/clientManagement/clientManagement.vue
@@ -430,6 +430,11 @@
              data.records[i].dxzt = 1;
            }
          }
          data.records.sort((a,b)=>{
            return a.dxzt - b.dxzt;
          });
          this.data = data.records;
          this.loading = false;
          this.selectionClear();
src/views/realTimePolice/real.vue
@@ -780,7 +780,7 @@
      } else {
        axios({
          url:
            "http://192.168.0.102:1888/api/blade-jfpts/jingdan/jingdan/submit",
            "https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/submit",
          method: "post",
          data: {
            rName: row.rname,
@@ -822,7 +822,7 @@
      var that = this;
      axios({
        url:
          "http://192.168.0.102:1888/api/blade-jfpts/alarm/alarm/deletejj?id=" +
          "https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/deletejj?id=" +
          row.id,
        method: "post"
      }).then(function() {
@@ -834,7 +834,7 @@
      var that = this;
      axios({
        url:
          "http://192.168.0.102:1888/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
          "https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/updateJtype?id=" +
          row.id +
          "&czTime=" +
          row.czTime +
vue.config.js
@@ -34,7 +34,7 @@
    proxy: {
      '/api': {
        //本地服务接口地址
        target: 'http://192.168.0.102:82/',
        target: 'https://s16s652780.51mypc.cn/api/',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',
        ws: true,