Commit 90e84082 by 周志凯

deleted log

1 parent 003e8dd9
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
<!-- import JavaScript --> <!-- import JavaScript -->
<script src="./js/index.js"></script> <script src="./js/index.js"></script>
<script src="js/common.js" type="text/javascript" charset="utf-8"></script> <script src="js/common.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/socket.js"></script>
</head> </head>
<body> <body>
...@@ -1139,7 +1138,6 @@ ...@@ -1139,7 +1138,6 @@
watch: { watch: {
accountVal: { accountVal: {
handler: function (val) { handler: function (val) {
console.log('accountVal-------->', val)
if(val && val.length) { if(val && val.length) {
this.query.accountVal = val this.query.accountVal = val
} }
...@@ -1161,7 +1159,6 @@ ...@@ -1161,7 +1159,6 @@
'rematchPerson': this.rematchPersonType 'rematchPerson': this.rematchPersonType
} }
this.footerText = val === 'compare' ? '数据对比' : this.dateLevelList.find(item => item.label === val).name this.footerText = val === 'compare' ? '数据对比' : this.dateLevelList.find(item => item.label === val).name
console.log(this.socket)
this.socket && this.socket.close() this.socket && this.socket.close()
this.results.length && (this.results = []) this.results.length && (this.results = [])
this.query.type = typeof typeHandler[val] === 'undefined' this.query.type = typeof typeHandler[val] === 'undefined'
...@@ -1179,7 +1176,6 @@ ...@@ -1179,7 +1176,6 @@
} }
}, },
created: function() { created: function() {
console.log('apiUrl-----', apiUrl)
this.locationHref = this.locationHref =
location.href.indexOf("?super") != -1 ? true : false; location.href.indexOf("?super") != -1 ? true : false;
this.getAccount(); this.getAccount();
...@@ -1878,7 +1874,6 @@ ...@@ -1878,7 +1874,6 @@
const { const {
dateVal, mallVal, type dateVal, mallVal, type
} = query } = query
console.log('onSearchClick dateFormat', dateFormat)
var urlPath = TAB_API[dateFormat](type) var urlPath = TAB_API[dateFormat](type)
var scheduleType = dateFormat + type var scheduleType = dateFormat + type
var parameter = { var parameter = {
...@@ -1907,7 +1902,6 @@ ...@@ -1907,7 +1902,6 @@
var self = this, var self = this,
wsUrl = webSockUrl || window.location.host, wsUrl = webSockUrl || window.location.host,
socketUrl = "ws://" + wsUrl + "/recal/schedule/" + scheduleType socketUrl = "ws://" + wsUrl + "/recal/schedule/" + scheduleType
console.log('[socketUrl]:', socketUrl)
if ("WebSocket" in window) { if ("WebSocket" in window) {
self.socket = new WebSocket(socketUrl); self.socket = new WebSocket(socketUrl);
} else if ("MozWebSocket" in window) { } else if ("MozWebSocket" in window) {
...@@ -1940,29 +1934,6 @@ ...@@ -1940,29 +1934,6 @@
} catch (error) { } catch (error) {
console.log('onSocketConnect:', error) console.log('onSocketConnect:', error)
} }
// self.socket = new ws(socketUrl)
// self.socket.onconnecting = function (ev) {
// console.log('socket:onconnecting', ev)
// }
// self.socket.onopen = function(ev) {
// console.log('socket:onopen', ev)
// self.startTiming = +new Date()
// self.fetchApi(callbackUrlPath, callbackParam)
// }
// self.socket.onclose = function(ev) {
// console.log('socket:onclose', ev)
// // log('WebSocket Closed!!')
// }
// self.socket.onmessage = function(ev) {
// console.log('socket:onmessage', ev)
// var msg = JSON.parse(ev.data)
// console.log('[onmessage]:', msg)
// self.dealMessage(msg)
// if (msg.stepCount === 1) {
// self.endTiming = +new Date()
// self.socket.close()
// }
// }
}, },
fetchApi(urlPath, parameter) { fetchApi(urlPath, parameter) {
const { const {
...@@ -2028,7 +1999,6 @@ ...@@ -2028,7 +1999,6 @@
self.results.push(resObj) self.results.push(resObj)
resObj = {} resObj = {}
} }
console.log(self.results)
// 滚动至底部 // 滚动至底部
// this.$nextTick(() => { // this.$nextTick(() => {
// this.$refs.scrollbarRef.wrap.scrollTop = this.$refs.scrollbarRef.wrap.scrollHeight // this.$refs.scrollbarRef.wrap.scrollTop = this.$refs.scrollbarRef.wrap.scrollHeight
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!