Commit f459ba3f authored by jingnan's avatar jingnan 👀

架次查询排序修改

parent a488c686
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
*/ */
getAddRecursion() { getAddRecursion() {
this.sortiesLoading = true this.sortiesLoading = true
const params = { searchItems: { items: [{ fieldName: 'aircraftTypeId', operator: 'EQ', value: this.form.model }] }, sortItem: [{ fieldName: 'modifyTime', sortOrder: 'asc' }] } const params = { searchItems: { items: [{ fieldName: 'aircraftTypeId', operator: 'EQ', value: this.form.model }] }, sortItem: [{ fieldName: 'defCode', sortOrder: 'asc' }] }
params.openProps = [{ name: 'aircraftType' }] params.openProps = [{ name: 'aircraftType' }]
this.$api this.$api
.searchApi('AircraftSorties', params) .searchApi('AircraftSorties', params)
......
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
this.sortiesData = [] this.sortiesData = []
this.sorties = null this.sorties = null
} }
const params = { searchItems: { items: [{ fieldName: 'aircraftTypeId', operator: 'EQ', value: this.form.model }] }, sortItem: [{ fieldName: 'modifyTime', sortOrder: 'asc' }] } const params = { searchItems: { items: [{ fieldName: 'aircraftTypeId', operator: 'EQ', value: this.form.model }] }, sortItem: [{ fieldName: 'defCode', sortOrder: 'asc' }] }
params.openProps = [{ name: 'aircraftType' }] params.openProps = [{ name: 'aircraftType' }]
this.$api this.$api
.searchApi('AircraftSorties', params) .searchApi('AircraftSorties', params)
......
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
*/ */
getAddRecursion() { getAddRecursion() {
this.sortiesLoading = true this.sortiesLoading = true
const params = { searchItems: { items: [{ fieldName: 'aircraftTypeId', operator: 'EQ', value: this.form.model }] }, sortItem: [{ fieldName: 'modifyTime', sortOrder: 'asc' }] } const params = { searchItems: { items: [{ fieldName: 'aircraftTypeId', operator: 'EQ', value: this.form.model }] }, sortItem: [{ fieldName: 'defCode', sortOrder: 'asc' }] }
params.openProps = [{ name: 'aircraftType' }] params.openProps = [{ name: 'aircraftType' }]
this.$api this.$api
.searchApi('AircraftSorties', params) .searchApi('AircraftSorties', params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment