招标解析页面优化
This commit is contained in:
parent
6e702626e7
commit
c6fef5519c
|
|
@ -89,10 +89,6 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
tenderDocumentKey: {
|
|
||||||
type: String,
|
|
||||||
default: ''
|
|
||||||
},
|
|
||||||
bidDocumentUrl: {
|
bidDocumentUrl: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
|
|
@ -100,18 +96,6 @@ export default {
|
||||||
bidDocumentTitle: {
|
bidDocumentTitle: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
|
||||||
bidDocumentKey: {
|
|
||||||
type: String,
|
|
||||||
default: ''
|
|
||||||
},
|
|
||||||
viewMode: {
|
|
||||||
type: String,
|
|
||||||
default: 'view'
|
|
||||||
},
|
|
||||||
viewType: {
|
|
||||||
type: String,
|
|
||||||
default: 'desktop'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
@ -144,12 +128,6 @@ export default {
|
||||||
this.$emit('document-switch', current?.id || 'none')
|
this.$emit('document-switch', current?.id || 'none')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSearch() {
|
|
||||||
this.$emit('search')
|
|
||||||
},
|
|
||||||
handleError(error) {
|
|
||||||
this.$emit('error', error)
|
|
||||||
},
|
|
||||||
resolveViewerType(url, title) {
|
resolveViewerType(url, title) {
|
||||||
const value = (url || title || '').toLowerCase()
|
const value = (url || title || '').toLowerCase()
|
||||||
if (!value) {
|
if (!value) {
|
||||||
|
|
@ -205,27 +183,6 @@ export default {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.panel-header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
align-items: center;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border-bottom: 1px solid #EBEEF5;
|
|
||||||
background: #fff;
|
|
||||||
|
|
||||||
.header-actions {
|
|
||||||
.search-btn {
|
|
||||||
padding: 8px;
|
|
||||||
font-size: 18px;
|
|
||||||
color: #606266;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #409EFF;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-content {
|
.panel-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue