bug
This commit is contained in:
@@ -303,7 +303,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: '菜单管理',
|
title: '菜单管理',
|
||||||
path: '/menuManage',
|
path: '/menuManage',
|
||||||
menuId: '82665e94d406c6fc0d1f627e5880230b'
|
menuId: '87b8b4f5817a7829696e63185c744d52'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '链接管理',
|
title: '链接管理',
|
||||||
|
|||||||
@@ -1915,7 +1915,9 @@ export default {
|
|||||||
synopsis: '',
|
synopsis: '',
|
||||||
// replaceStandNumCope: '',
|
// replaceStandNumCope: '',
|
||||||
replacedStandNum: '',
|
replacedStandNum: '',
|
||||||
orderBy:''
|
orderBy:'',
|
||||||
|
nowOrder: '',
|
||||||
|
nowOrderBy: '',
|
||||||
}, // 分页查询过程中用到的对象
|
}, // 分页查询过程中用到的对象
|
||||||
configStandList: [],
|
configStandList: [],
|
||||||
configStandtotal: 0,
|
configStandtotal: 0,
|
||||||
@@ -1931,6 +1933,8 @@ export default {
|
|||||||
delLoading: false,
|
delLoading: false,
|
||||||
standState: '',
|
standState: '',
|
||||||
orderBy :'',
|
orderBy :'',
|
||||||
|
nowOrder: '',
|
||||||
|
nowOrderBy: '',
|
||||||
textStatusMap: {} // 文本状态id与name对应
|
textStatusMap: {} // 文本状态id与name对应
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2698,17 +2702,37 @@ export default {
|
|||||||
},
|
},
|
||||||
// 表格排序
|
// 表格排序
|
||||||
sortChange (sortObj) {
|
sortChange (sortObj) {
|
||||||
|
console.log(sortObj, '升降序')
|
||||||
debugger
|
debugger
|
||||||
if (sortObj.column.order !== 'normal') {
|
if (sortObj.column.order !== 'normal') {
|
||||||
switch (sortObj.column.property) {
|
switch (sortObj.prop) {
|
||||||
case 'issueTime' :
|
case 'issueTime' :
|
||||||
// 后台联调
|
// 后台联调
|
||||||
this.orderBy = 'issueTime ' + sortObj.order
|
this.nowOrderBy = '1'
|
||||||
break
|
break;
|
||||||
|
case 'xcxssrq' :
|
||||||
|
// 后台联调
|
||||||
|
this.nowOrderBy = '2'
|
||||||
|
break;
|
||||||
|
case 'zccssrq' :
|
||||||
|
// 后台联调
|
||||||
|
this.nowOrderBy = '3'
|
||||||
|
break;
|
||||||
|
case 'textStatus' :
|
||||||
|
// 后台联调
|
||||||
|
this.nowOrderBy = '4'
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
switch (sortObj.order) {
|
||||||
|
case 'ascending' :
|
||||||
|
this.nowOrder = '2'
|
||||||
|
break;
|
||||||
|
case 'descending' :
|
||||||
|
this.nowOrder = '1'
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.getDomesticStandardTable(this.tableFlag)
|
this.getDomesticStandardTable(this.tableFlag)
|
||||||
|
|
||||||
},
|
},
|
||||||
// 修改成表格样式后,选择项勾选改变
|
// 修改成表格样式后,选择项勾选改变
|
||||||
standSelectChange (data) {
|
standSelectChange (data) {
|
||||||
@@ -3128,7 +3152,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 排序
|
// 排序
|
||||||
formData.orderBy = this.orderBy
|
formData.nowOrder = this.nowOrder
|
||||||
|
formData.nowOrderBy = this.nowOrderBy
|
||||||
|
// formData.orderBy = this.orderBy
|
||||||
// 处理我的收藏和个性化标签传参
|
// 处理我的收藏和个性化标签传参
|
||||||
if (this.selectSarMenu.id === 'wdsc') {
|
if (this.selectSarMenu.id === 'wdsc') {
|
||||||
formData.menuId = undefined
|
formData.menuId = undefined
|
||||||
@@ -3831,12 +3857,28 @@ export default {
|
|||||||
switch (sortObj.prop) {
|
switch (sortObj.prop) {
|
||||||
case 'issueTime' :
|
case 'issueTime' :
|
||||||
// 后台联调
|
// 后台联调
|
||||||
this.sarConfigStandSearch.orderBy = 'issueTime ' + sortObj.order
|
this.sarConfigStandSearch.nowOrderBy = '1'
|
||||||
break
|
break;
|
||||||
case 'XCXSSRQ' :
|
case 'xcxssrq' :
|
||||||
// 后台联调
|
// 后台联调
|
||||||
this.sarConfigStandSearch.orderBy = 'XCXSSRQ ' + sortObj.order
|
this.sarConfigStandSearch.nowOrderBy = '2'
|
||||||
break
|
break;
|
||||||
|
case 'zccssrq' :
|
||||||
|
// 后台联调
|
||||||
|
this.sarConfigStandSearch.nowOrderBy = '3'
|
||||||
|
break;
|
||||||
|
case 'textStatus' :
|
||||||
|
// 后台联调
|
||||||
|
this.sarConfigStandSearch.nowOrderBy = '4'
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
switch (sortObj.order) {
|
||||||
|
case 'ascending' :
|
||||||
|
this.sarConfigStandSearch.nowOrder = '2'
|
||||||
|
break;
|
||||||
|
case 'descending' :
|
||||||
|
this.sarConfigStandSearch.nowOrder = '1'
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.selectConfiguraStand()
|
this.selectConfiguraStand()
|
||||||
|
|||||||
Reference in New Issue
Block a user