|
@@ -143,25 +143,45 @@ export default {
|
|
|
goDetail() {
|
|
|
sessionStorage.setItem('active_modules',JSON.stringify(this.message.modules))
|
|
|
console.log(this.message.link)
|
|
|
+ console.log(this.message)
|
|
|
/* this.$router.push(this.message.link.listPath)*/
|
|
|
- if (this.message.link.detail) {
|
|
|
+ if (this.message.objectname === 'sat_orderclueuploadbill'){
|
|
|
setTimeout(() => {
|
|
|
- this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ this.$store.dispatch('changeDetailDrawer',false)
|
|
|
let route = this.$route
|
|
|
- if (route.path !== this.message.link.detail.slice(0)) {
|
|
|
- this.oldRoute = {path:route.path,query:route.query}
|
|
|
- this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
- }
|
|
|
+
|
|
|
+ this.oldRoute = {path:route.path,query:route.query}
|
|
|
+ this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
+
|
|
|
this.$router.push({
|
|
|
- path:this.message.link.detail,
|
|
|
+ path:'/clue_public',
|
|
|
query:{
|
|
|
id:this.message.objectid,
|
|
|
portrait:''
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
+ }else {
|
|
|
+ if (this.message.link.detail) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$store.dispatch('changeDetailDrawer',true)
|
|
|
+ let route = this.$route
|
|
|
+ if (route.path !== this.message.link.detail.slice(0)) {
|
|
|
+ this.oldRoute = {path:route.path,query:route.query}
|
|
|
+ this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
+ }
|
|
|
+ this.$router.push({
|
|
|
+ path:this.message.link.detail,
|
|
|
+ query:{
|
|
|
+ id:this.message.objectid,
|
|
|
+ portrait:''
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+
|
|
|
},
|
|
|
isCategory(data) {
|
|
|
JSON.parse(sessionStorage.getItem('module_info')).forEach(item1 => {
|