南昌市物联网技防平台-前端
Administrator
2021-03-16 519233ed33c84bdfc2617b8e68ff08ce4e9421fe
Ip域名修改
2 files modified
16 ■■■■ changed files
public/map/widgets/analysisAndJudgment/AnalysisAndJudgment1.js 12 ●●●● patch | view | raw | blame | history
vue.config.js 4 ●●●● patch | view | raw | blame | history
public/map/widgets/analysisAndJudgment/AnalysisAndJudgment1.js
@@ -450,9 +450,9 @@
        if (strDate >= 0 && strDate <= 9) {
          strDate = "0" + strDate;
        }
        var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
          + " " + date.getHours() + seperator2 + date.getMinutes()
          + seperator2 + date.getSeconds();
                var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate +
                    " " + date.getHours() + seperator2 + date.getMinutes() +
                    seperator2 + date.getSeconds();
        return currentdate;
      }
@@ -670,7 +670,7 @@
      dom.empty();
      var that = this;
      $.ajax({
        url: 'http://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
                url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -721,7 +721,7 @@
      dom.empty();
      var that = this;
      $.ajax({
        url: 'http://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj,
                url: 'http://web.byisf.com:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj,
        type: 'GET',
        dataType: 'JSON',
        success: function (data) {
@@ -755,7 +755,7 @@
      dom.empty();
      var that = this;
      $.ajax({
        url: 'http://web.byisf.com/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType,
                url: 'http://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType,
        type: 'GET',
        dataType: 'JSON',
        success: function (data) {
vue.config.js
@@ -34,8 +34,8 @@
        proxy: {
            '/api': {
                //本地服务接口地址
                target: 'http://localhost:82/',
                //target: 'https://web.byisf.com/api/',
                //target: 'http://localhost:82/',
                target: 'http://web.byisf.com:18001/api/',
                //远程演示服务地址,可用于直接启动项目
                //target: 'https://saber.bladex.vip/api',
                ws: true,