|
@@ -129,6 +129,7 @@ import home from '@/api/knowledge/home'
|
|
|
import contentData from '@/api/knowledge/contentData'
|
|
|
import { encrypt, decrypt } from './DES.js'
|
|
|
import {mapState} from "vuex";
|
|
|
+import analysis from '@/api/knowledge/analysis'
|
|
|
export default {
|
|
|
props: {
|
|
|
item: {
|
|
@@ -190,13 +191,24 @@ export default {
|
|
|
secretType:data.secretType
|
|
|
}
|
|
|
home.viewApi(getData).then((res) => {
|
|
|
+ let datares = JSON.parse(res.data)
|
|
|
if(this.item.documentPath.indexOf('dcc系统')==0){
|
|
|
var encrypts = encrypt(this.user.userId);
|
|
|
- console.log(this.user);
|
|
|
- window.open(res.data+"&userId="+encrypts)
|
|
|
+ window.open(datares.url+"&userId="+encrypts)
|
|
|
}else{
|
|
|
- window.open(res.data)
|
|
|
+ window.open(datares.url)
|
|
|
}
|
|
|
+ let data={
|
|
|
+ module:'搜索服务',
|
|
|
+ subModule:'详情',
|
|
|
+ userId:this.user.userId,
|
|
|
+ companyId:this.user.companyId,
|
|
|
+ page:datares.url,
|
|
|
+ platform:datares.systemName,
|
|
|
+ }
|
|
|
+ analysis.pageTrack(data).then((res) => {
|
|
|
+
|
|
|
+ })
|
|
|
})
|
|
|
}
|
|
|
},
|