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