修改禅道已知bug
This commit is contained in:
+7
-12
@@ -100,7 +100,7 @@
|
||||
{{item.targetMarket_dicText}}
|
||||
</div>
|
||||
<div class="content-box-button-text" v-if="item.showPermissions_dicText">
|
||||
<a-icon type="eye" />
|
||||
<a-icon type="eye"/>
|
||||
{{item.showPermissions_dicText}}
|
||||
</div>
|
||||
<div class="content-box-button-text">
|
||||
@@ -217,22 +217,17 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
let serial_number = localStorage.getItem('serial_number')
|
||||
let serial_number = this.$route.query.serial_number
|
||||
if (serial_number) {
|
||||
this.searchStr = serial_number
|
||||
localStorage.removeItem('serial_number')
|
||||
}
|
||||
this.isTrue = true
|
||||
let BaseQuery = localStorage.getItem('problemknowledgeBase')
|
||||
let BaseQuery = this.$route.query.id
|
||||
if (BaseQuery) {
|
||||
let content = JSON.parse(BaseQuery)
|
||||
if (content.id) {
|
||||
this.isTrue = false
|
||||
this.$nextTick(() => {
|
||||
this.$refs.problemKnowledgeBaseListViewRef.getData(JSON.parse(JSON.stringify(content)))
|
||||
})
|
||||
}
|
||||
localStorage.removeItem('problemknowledgeBase')
|
||||
this.isTrue = false
|
||||
this.$nextTick(() => {
|
||||
this.$refs.problemKnowledgeBaseListViewRef.getData({ id: BaseQuery })
|
||||
})
|
||||
}
|
||||
this.getList()
|
||||
this.replacePage()
|
||||
|
||||
@@ -29,7 +29,14 @@
|
||||
},
|
||||
methods: {
|
||||
callback(key) {
|
||||
|
||||
if (key == 'Country Card') {
|
||||
if (this.$route.query.serial_number || this.$route.query.id) {
|
||||
this.$router.push({
|
||||
path: '/problemknowledgeBase'
|
||||
})
|
||||
}
|
||||
}
|
||||
this.tabModel = key
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
<a-icon type="codepen"/>
|
||||
{{$t('DocumentSplitting')}}
|
||||
</div>
|
||||
<!-- <div @click="DocumentTranslationClick" v-has="'bussLog:translation'" class="operator-text-text"-->
|
||||
<!-- :title="$t('DocumentTranslation')">-->
|
||||
<!-- <a-icon type="file-pdf"/>-->
|
||||
<!-- {{$t('DocumentTranslation')}}-->
|
||||
<!-- </div>-->
|
||||
<!-- <div @click="DocumentTranslationClick" v-has="'bussLog:translation'" class="operator-text-text"-->
|
||||
<!-- :title="$t('DocumentTranslation')">-->
|
||||
<!-- <a-icon type="file-pdf"/>-->
|
||||
<!-- {{$t('DocumentTranslation')}}-->
|
||||
<!-- </div>-->
|
||||
<div @click="DocumentComparisonClick" v-has="'bussLog:comparison'" class="operator-text-text"
|
||||
:title="$t('DocumentComparison')">
|
||||
<a-icon type="wallet"/>
|
||||
@@ -405,9 +405,12 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
localStorage.setItem('serial_number',serial_number)
|
||||
// localStorage.setItem('serial_number',serial_number)
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/problemknowledgeBase',
|
||||
query: {
|
||||
serial_number: serial_number
|
||||
}
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
},
|
||||
@@ -466,7 +469,7 @@
|
||||
} else if (fileSuffix == '.xlsx' || fileSuffix == '.xls') {
|
||||
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
|
||||
window.open(url, '_blank')
|
||||
}else if(fileSuffix == '.png' || fileSuffix == '.jpeg' || fileSuffix == '.gif' || fileSuffix == '.jpg'){
|
||||
} else if (fileSuffix == '.png' || fileSuffix == '.jpeg' || fileSuffix == '.gif' || fileSuffix == '.jpg') {
|
||||
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadImgUrl + '/' + fileQuery.id + fileSuffix)
|
||||
window.open(url, '_blank')
|
||||
} else {
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
})
|
||||
},
|
||||
checkedClick(item) {
|
||||
localStorage.setItem('problemknowledgeBase',JSON.stringify(item))
|
||||
// localStorage.setItem('problemknowledgeBase',JSON.stringify(item))
|
||||
this.$router.push({
|
||||
path: '/problemknowledgeBase',
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user