| | |
| | | |
| | | /*开发环境*/ |
| | | const dev = { |
| | | baseUrl: 'http://101.43.168.96:8082/admin', |
| | | //baseUrl: 'http://101.43.168.96:8082/admin', |
| | | baseUrl: 'http://localhost:8082/admin', |
| | | ftpUrl: 'https://echftp.jinmingyuan.com', |
| | | AccessTokenKey:'PC-ADMIN-TOKEN', // token |
| | | timeout: 15 // 请求超时时间、 |
| | |
| | | return { |
| | | codeUrl: "", |
| | | loginForm: { |
| | | username: "supervisor", |
| | | password: "123456", |
| | | username: "", |
| | | password: "", |
| | | rememberMe: false, |
| | | code: "", |
| | | uuid: "" |
New file |
| | |
| | | <template> |
| | | <iframe ref="iframe" :src="url" scrolling="auto" :style="{height:'calc(100% - 5px)',width:'100%',border:'none'}" /> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getToken } from '@/utils/auth'; |
| | | export default { |
| | | name: "", |
| | | data() { |
| | | return { |
| | | url: '', |
| | | height: 500 |
| | | } |
| | | }, |
| | | created() { |
| | | // const orgLv = this.$store.getters.info.orgLv |
| | | // const orgCode = this.$store.getters.info.orgNo |
| | | // this.url = globalConf.reportUrl + `/decision/view/report?viewlet=score_summary_branch.cpt&lv=${orgLv}&orgCode=${orgCode}` |
| | | // let token = 'Bearer ' + getToken(); |
| | | let token = getToken(); |
| | | this.url = globalConf.baseUrl + `/jmreport/view/ff9bd143582a6dfed897ba8b6f93b175?token=${token}` |
| | | this.height = window.screen.availHeight |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <iframe ref="iframe" :src="url" scrolling="auto" :style="{height:'calc(100% - 5px)',width:'100%',border:'none'}" /> |
| | | </template> |
| | | |
| | | <script> |
| | | import {getToken} from '@/utils/auth'; |
| | | |
| | | export default { |
| | | name: "", |
| | | data() { |
| | | return { |
| | | url: '', |
| | | height: 500 |
| | | } |
| | | }, |
| | | created() { |
| | | // const orgLv = this.$store.getters.info.orgLv |
| | | // const orgCode = this.$store.getters.info.orgNo |
| | | // this.url = globalConf.reportUrl + `/decision/view/report?viewlet=score_summary_branch.cpt&lv=${orgLv}&orgCode=${orgCode}` |
| | | let token = getToken(); |
| | | this.url = globalConf.baseUrl + `/jmreport/list?token=${token}` |
| | | this.height = window.screen.availHeight |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | |
| | | </style> |