|
|
|
@ -163,8 +163,9 @@ |
|
|
|
console.log("=========== 扫码返回 ===========") |
|
|
|
console.log(res) |
|
|
|
//TODO 判断是否是市监 |
|
|
|
if(isHttpLink(res)){ |
|
|
|
getEnterpriseInfoBySj({"url":res},success =>{ |
|
|
|
if(isHttpLink(res.resultStr)){ |
|
|
|
|
|
|
|
getEnterpriseInfoBySj({"url":res.resultStr},success =>{ |
|
|
|
if (success.success) { |
|
|
|
router.push({ |
|
|
|
path: "/enterpriseScanPreview", |
|
|
|
@ -180,6 +181,7 @@ |
|
|
|
}) |
|
|
|
} |
|
|
|
},error =>{}) |
|
|
|
|
|
|
|
}else{ |
|
|
|
const scanObj = JSON.parse(res.resultStr); |
|
|
|
// 判断二维码是否过期, 如果已过期则跳转提示页 |
|
|
|
@ -288,7 +290,6 @@ const isHttpLink = (url) =>{ |
|
|
|
<script> |
|
|
|
//不扫码企业筛选弹窗 |
|
|
|
import Popup from '@/views/enforce/noScanFilter.vue'; |
|
|
|
import { error } from "echarts/types/src/util/log.js"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
|