| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | 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: { |
| | |
| | | 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) { |
| | |
| | | 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) { |
| | |
| | | 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, |