|
@@ -210,7 +210,12 @@ export default {
|
|
|
var params = {
|
|
|
...this.queryParams,
|
|
|
searchQuery:this.$commonJS.objectToString(this.searchOption),//检索条件
|
|
|
- orderDTOList: this.sort,//排序
|
|
|
+ orderDTOList: [
|
|
|
+ {
|
|
|
+ "orderBy": "category_createTime",
|
|
|
+ "orderType": 1
|
|
|
+ }
|
|
|
+ ],//排序
|
|
|
}
|
|
|
this.loading = true
|
|
|
this.$api.queryProductCategory(params).then(response=>{
|
|
@@ -230,7 +235,12 @@ export default {
|
|
|
var params = {
|
|
|
...this.queryParams,
|
|
|
searchQuery:this.$commonJS.objectToString(this.searchOption),//检索条件
|
|
|
- orderDTOList: this.sort,//排序
|
|
|
+ orderDTOList: [
|
|
|
+ {
|
|
|
+ "orderBy": "product_createTime",
|
|
|
+ "orderType": 1
|
|
|
+ }
|
|
|
+ ],//排序
|
|
|
}
|
|
|
this.loading = true
|
|
|
this.$api.queryProduct(params).then(response=>{
|