fix 80262
This commit is contained in:
@@ -133,6 +133,7 @@ import { batchCloseInconformityItem } from '../../../api/projectLibraryApi'
|
||||
import InconformityItemDetailModal from './modules/InconformityItemDetailModal'
|
||||
import { StandardSource } from '../../../enums/commonEnums'
|
||||
import { mapGetters } from 'vuex'
|
||||
import { filterObj } from '../../../utils/util'
|
||||
|
||||
export default {
|
||||
name: 'InconformityItemList',
|
||||
@@ -312,7 +313,21 @@ export default {
|
||||
},
|
||||
handlePreview (record) {
|
||||
this.$refs.detailModal.open(record)
|
||||
}
|
||||
},
|
||||
getQueryParams () {
|
||||
// 获取查询条件
|
||||
const sqp = {}
|
||||
if (this.superQueryParams) {
|
||||
sqp.superQueryParams = encodeURI(this.superQueryParams)
|
||||
sqp.superQueryMatchType = this.superQueryMatchType
|
||||
}
|
||||
const param = Object.assign(sqp, this.queryParam, this.isorter, this.filters)
|
||||
param.field = this.getQueryField()
|
||||
param.pageNo = this.ipagination.current
|
||||
param.pageSize = this.ipagination.pageSize
|
||||
param.expectedTimeRange = param.expectedTimeRange ? param.expectedTimeRange.join(',') : null
|
||||
return filterObj(param)
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user