修改UAT提出的优化点

This commit is contained in:
范强强
2023-07-05 11:54:00 +08:00
parent 372c22b836
commit c0b33d0f6f
8 changed files with 64 additions and 20 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ export function kkFileView(fileName, fileId) {
let fileSuffix = fileName.substring(index1, index2) let fileSuffix = fileName.substring(index1, index2)
if (fileSuffix == '.docx' || fileSuffix == '.doc' || fileSuffix == '.pdf' || fileSuffix == '.xlsx' || fileSuffix == '.xls') { if (fileSuffix == '.docx' || fileSuffix == '.doc' || fileSuffix == '.pdf' || fileSuffix == '.xlsx' || fileSuffix == '.xls') {
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(downLoadFileUrl + '/' + fileId + fileSuffix) let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(downLoadFileUrl + '/' + fileId + fileSuffix)
window.open(url) window.open(url,'_self')
} 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(downLoadImgUrl + '/' + fileId + fileSuffix) let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(downLoadImgUrl + '/' + fileId + fileSuffix)
window.open(url) window.open(url,'_self')
} else { } else {
Toast('当前格式不支持预览') Toast('当前格式不支持预览')
} }
+8
View File
@@ -289,4 +289,12 @@
width: 1rem; width: 1rem;
margin-right: 0.2rem; margin-right: 0.2rem;
} }
::v-deep .van-tabbar {
height: 74px !important;
align-items: baseline;
}
::v-deep .van-tabbar-item {
margin-top: 8px !important;
}
</style> </style>
@@ -452,8 +452,11 @@
} }
.header-buttom { .header-buttom {
margin-top: 0.36rem; margin-top: 0.16rem;
text-align: right; text-align: right;
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
} }
.header-buttom-text { .header-buttom-text {
@@ -467,11 +470,11 @@
opacity: 1; opacity: 1;
display: inline-block; display: inline-block;
margin-left: 0.2rem; margin-left: 0.2rem;
margin-bottom: 0.2rem;
} }
.problemName { .problemName {
display: flex; display: flex;
margin-top: 0.16rem;
height: 1rem; height: 1rem;
line-height: 1rem; line-height: 1rem;
} }
@@ -501,9 +504,14 @@
font-family: PingFang SC-Regular, PingFang SC; font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #040B29; color: #040B29;
width: 100%;
word-break: break-all; word-break: break-all;
} }
::v-deep .content img {
max-width: 100% !important;
}
.contentFile { .contentFile {
margin-top: 0.2rem; margin-top: 0.2rem;
} }
@@ -8,7 +8,7 @@
</div> </div>
<van-collapse class="collapse" v-model="activeNames"> <van-collapse class="collapse" v-model="activeNames">
<van-collapse-item :title="$t('essentialInformation')" name="1"> <van-collapse-item :title="$t('basicInformation')" name="1">
<div class="content-box-type"> <div class="content-box-type">
<span class="content-box-left">{{$t('entryName')}}</span> <span class="content-box-left">{{$t('entryName')}}</span>
<span class="content-box-text">{{queryForm.projectName+'-'+queryForm.projectVersion}}</span> <span class="content-box-text">{{queryForm.projectName+'-'+queryForm.projectVersion}}</span>
+11 -2
View File
@@ -6,8 +6,8 @@
</div> </div>
<div class="content-box"> <div class="content-box">
<form action="/"> <form action="/">
<van-search v-model="value" @search="onSearch" left-icon="none" right-icon="search" <van-search v-model="value" @search="onSearch" left-icon="none" right-icon="search"
:placeholder="$t('phoneSearch')"/> :placeholder="$t('phoneSearch')"/>
</form> </form>
</div> </div>
<div class="content-box-value"> <div class="content-box-value">
@@ -266,4 +266,13 @@
color: #00B3BE; color: #00B3BE;
margin-top: 0.22rem; margin-top: 0.22rem;
} }
::v-deep .van-tabbar {
height: 74px !important;
align-items: baseline;
}
::v-deep .van-tabbar-item {
margin-top: 8px !important;
}
</style> </style>
+9 -7
View File
@@ -317,9 +317,10 @@
this.getList() this.getList()
}, },
activeChange() { activeChange() {
this.searchValue = '' this.searchValue = this.value
this.value = '' // this.searchValue = ''
this.selectModelName = '' // this.value = ''
// this.selectModelName = ''
if (this.activeTab == 'whole') { if (this.activeTab == 'whole') {
this.list = [] this.list = []
} else if (this.activeTab == 'documentLibrary') { } else if (this.activeTab == 'documentLibrary') {
@@ -350,8 +351,8 @@
query: { query: {
id: item.id.slice(0, 32), id: item.id.slice(0, 32),
goRouter: '/phoneSearchList', goRouter: '/phoneSearchList',
searchValue:this.value, searchValue: this.value,
activeTab:this.activeTab activeTab: this.activeTab
} }
}) })
} else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') { } else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') {
@@ -362,8 +363,8 @@
query: { query: {
id: id, id: id,
goRouter: '/phoneSearchList', goRouter: '/phoneSearchList',
searchValue:this.value, searchValue: this.value,
activeTab:this.activeTab activeTab: this.activeTab
} }
}) })
} else if (item.module_type_flag == 'FGYB') { } else if (item.module_type_flag == 'FGYB') {
@@ -596,6 +597,7 @@
font-weight: 600; font-weight: 600;
color: #040B29; color: #040B29;
font-size: 0.42rem; font-size: 0.42rem;
word-break: break-all;
} }
.content-box-type { .content-box-type {
@@ -461,4 +461,13 @@
::v-deep .van-tabs__wrap--scrollable .van-tab { ::v-deep .van-tabs__wrap--scrollable .van-tab {
padding: 0 0.1rem; padding: 0 0.1rem;
} }
::v-deep .van-tabbar {
height: 74px !important;
align-items: baseline;
}
::v-deep .van-tabbar-item {
margin-top: 8px !important;
}
</style> </style>
+14 -6
View File
@@ -425,12 +425,12 @@
} }
}, },
activeChange() { activeChange() {
this.phoneQueryValue = '' // this.phoneQueryValue = ''
this.form = { // this.form = {
checked: false, // checked: false,
selectModel: '0', // selectModel: '0',
flowType:[], // flowType:[],
} // }
if (this.form.checked) { if (this.form.checked) {
this.form.mobileProcessing = '1' this.form.mobileProcessing = '1'
} else { } else {
@@ -1089,4 +1089,12 @@
background: #00B3BE; background: #00B3BE;
color: #fff; color: #fff;
} }
::v-deep .van-tabbar {
height: 74px !important;
align-items: baseline;
}
::v-deep .van-tabbar-item {
margin-top: 8px !important;
}
</style> </style>