|
@@ -4,7 +4,9 @@ import { addLog } from '@/api/log'
|
|
|
|
|
|
export function jumpTo(type, id, name, url) {
|
|
|
if (url && url.indexOf('{USER_IDCARD}') > -1) {
|
|
|
- url = url.replace('{USER_IDCARD}', this.$store.getters.idCard)
|
|
|
+ const esouUrl = this.$store.getters.links.esouUrl
|
|
|
+ const encryptIdCard = esouUrl.substring(esouUrl.indexOf('idcard=') + 7, esouUrl.indexOf('&query'))
|
|
|
+ url = url.replace('{USER_IDCARD}', encryptIdCard)
|
|
|
}
|
|
|
addLog(type, id, name, url).then(res => {
|
|
|
}).catch(error => {
|