diff --git a/supervise-report-ui/src/main.js b/supervise-report-ui/src/main.js index 35d827e8..af43b692 100644 --- a/supervise-report-ui/src/main.js +++ b/supervise-report-ui/src/main.js @@ -49,9 +49,9 @@ VueAMap.initAMapApiLoader({ Vue.config.productionTip = false -let token = null -// let token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiI4NWUwYWY0Yi1lMGJhLTQyM2UtOTIxMS1kYjI2MDg2NTgwM2YiLCJpc3MiOiJXQksiLCJleHAiOjE3MDAyOTk0NTN9.oZoMaHdDSGNsNf-3jd22RgvBYQkSemneihmQ4P12HCo' -token = GetQueryString('token') +// let token = null +let token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiI4NWUwYWY0Yi1lMGJhLTQyM2UtOTIxMS1kYjI2MDg2NTgwM2YiLCJpc3MiOiJXQksiLCJleHAiOjE3MDA0NDI3NDF9.ofDoXvqN58tdWomVV70gwpRxjYn6qeaNlbnd7qyy0AI' +// token = GetQueryString('token') if (token) { setStorage(token) const href = window.location.href diff --git a/supervise-report-ui/src/views/project/projectDaily.vue b/supervise-report-ui/src/views/project/projectDaily.vue index 81813fcd..a5007036 100644 --- a/supervise-report-ui/src/views/project/projectDaily.vue +++ b/supervise-report-ui/src/views/project/projectDaily.vue @@ -51,8 +51,7 @@ @@ -620,8 +619,19 @@ } }) }, - showView(row){ - window.open('https://supervise.yxtsoft.com/map365/#/mortgage'); + showView(row) { + console.log('showView: ', row) + var projectSid = row.projectSid + var projectName = row.projectName + var orderDate = row.orderDate + // 正式 + // window.open('https://supervise.yxtsoft.com/map365/#/mortgage'); + // 测试 + // window.open('https://supervise.yxtsoft.com/map365/#/mortgage'); + // 本地 + window.open('http://jg.yyundong.com/#/allData?projectSid=' + projectSid + '&projectName=' + projectName + + '&orderDate=' + orderDate); + }, sendMess(row) { req.sendMess(row.projectSid, row.orderDate).then(res => {