修改已知bug
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
<div class="text-left-select" v-if="item.field_show_type == '4'">
|
||||
<span class="text-sel">{{item.db_field_txt}}</span>
|
||||
<j-multi-select-tag class="text-select" v-model="queryParam[item.db_field_name]"
|
||||
:db_field_name="item.db_field_name"
|
||||
:placeholder="$t('PleaseSelect')+item.db_field_txt" :type="'select'"
|
||||
:triggerChange="false" :dictCode="item.dict_field"/>
|
||||
</div>
|
||||
@@ -62,8 +63,8 @@
|
||||
<div class="text-right">
|
||||
<div class="search-text-list">
|
||||
<div class="search-text-title">
|
||||
<span>检索范围:</span>
|
||||
<span>纯电动</span>
|
||||
<span>{{$t('searchScope')}}:</span>
|
||||
<span>{{queryParamSeach}}</span>
|
||||
<div class="search-header-right">
|
||||
<a-icon type="appstore" class="header-list" :title="$t('list')"
|
||||
:class="{'header-list-active':isTrue }"
|
||||
@@ -289,7 +290,8 @@
|
||||
loading: false,
|
||||
selectModel: '',
|
||||
fileList: [],
|
||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download'
|
||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
||||
queryParamSeach: ''
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -320,8 +322,8 @@
|
||||
selectListModel(val) {
|
||||
this.isTrue = val == 'list' ? true : false
|
||||
},
|
||||
onSelectChange() {
|
||||
|
||||
onSelectChange(selectedRowKeys) {
|
||||
this.selectedRowKeys = selectedRowKeys
|
||||
},
|
||||
checkedClick(item) {
|
||||
if (item.checked) {
|
||||
@@ -414,6 +416,11 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
searchReset() {
|
||||
this.pageNo = 1
|
||||
this.queryParam = {}
|
||||
this.getInfoList()
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.getInfoList()
|
||||
@@ -423,13 +430,20 @@
|
||||
this.selectModel = selectModel
|
||||
this.getInfoList()
|
||||
},
|
||||
searchDataTwo(value) {
|
||||
this.queryParam.selectValueTwo = value
|
||||
this.getInfoList()
|
||||
},
|
||||
getInfoList() {
|
||||
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
||||
this.queryParamSeach = ''
|
||||
Object.keys(queryParam).forEach(val => {
|
||||
if (queryParam[val] instanceof Array) {
|
||||
queryParam[val] = queryParam[val].join(',')
|
||||
}
|
||||
this.queryParamSeach = this.queryParamSeach + queryParam[val] + ','
|
||||
})
|
||||
this.queryParamSeach = this.queryParamSeach.substr(0, this.queryParamSeach.length - 1)
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
@@ -451,11 +465,7 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
searchReset() {
|
||||
this.pageNo = 1
|
||||
this.queryParam = {}
|
||||
this.getInfoList()
|
||||
},
|
||||
|
||||
fileNameClick(row) {
|
||||
this.fileList = row.file_name || []
|
||||
if (this.fileList.length > 0) {
|
||||
@@ -476,7 +486,7 @@
|
||||
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
|
||||
window.open(url, '_blank')
|
||||
} else {
|
||||
downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id })
|
||||
downloadFile('/sys/common/downLoadFile', fileQuery.fileName, { id: fileQuery.id })
|
||||
}
|
||||
},
|
||||
titleClick(item) {
|
||||
|
||||
Reference in New Issue
Block a user