Browse Source

优化

master
陈裕财 3 years ago
parent
commit
a0d6408ce9
  1. 8
      src/views/xm/core/components/XmIterationSelect.vue
  2. 8
      src/views/xm/core/components/XmProductSelect.vue
  3. 8
      src/views/xm/core/components/XmProjectSelect.vue
  4. 8
      src/views/xm/core/crowd/XmTaskCrowdMng.vue
  5. 14
      src/views/xm/core/wiki/archive/WikiList.vue
  6. 14
      src/views/xm/core/xmAttachment/XmAttachmentMng.vue
  7. 14
      src/views/xm/core/xmBranchState/XmBranchStateMng.vue
  8. 14
      src/views/xm/core/xmBranchStateHis/XmBranchStateHisMng.vue
  9. 14
      src/views/xm/core/xmBranchTaskTypeState/XmBranchTaskTypeStateMng.vue
  10. 10
      src/views/xm/core/xmBudgetLabor/XmBudgetLaborMng.vue
  11. 10
      src/views/xm/core/xmBudgetNlabor/XmBudgetNlaborMng.vue
  12. 16
      src/views/xm/core/xmContract/XmContractMng.vue
  13. 10
      src/views/xm/core/xmCostNlabor/XmCostNlaborMng.vue
  14. 14
      src/views/xm/core/xmEnvList/XmEnvListMng.vue
  15. 14
      src/views/xm/core/xmFile/XmFileMng.vue
  16. 10
      src/views/xm/core/xmFunc/XmFuncMng.vue
  17. 10
      src/views/xm/core/xmFunc/XmFuncSelect.vue
  18. 18
      src/views/xm/core/xmGroup/XmGroupMng.vue
  19. 14
      src/views/xm/core/xmGroupState/XmGroupStateMng.vue
  20. 14
      src/views/xm/core/xmGroupUser/XmGroupUserMng.vue
  21. 14
      src/views/xm/core/xmIteration/XmIterationBox.vue
  22. 14
      src/views/xm/core/xmIteration/XmIterationMng.vue
  23. 14
      src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue
  24. 14
      src/views/xm/core/xmIterationState/XmIterationStateMng.vue
  25. 14
      src/views/xm/core/xmIterationState/XmIterationStateShow.vue
  26. 14
      src/views/xm/core/xmIterationStateHis/XmIterationStateHisMng.vue
  27. 18
      src/views/xm/core/xmMenu/XmEpicFeatures.vue
  28. 8
      src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue
  29. 18
      src/views/xm/core/xmMenu/XmMenuMng.vue
  30. 8
      src/views/xm/core/xmMenu/XmMenuSelect.vue
  31. 14
      src/views/xm/core/xmMenu/XmMenuWithPlan.vue
  32. 6
      src/views/xm/core/xmMenuComment/comment-area.vue
  33. 14
      src/views/xm/core/xmMenuState/XmMenuStateMng.vue
  34. 14
      src/views/xm/core/xmMenuTemplate/XmMenuTemplateMng.vue
  35. 10
      src/views/xm/core/xmMyFocus/XmMyFocusList.vue
  36. 10
      src/views/xm/core/xmMyFocus/XmMyFocusMng.vue
  37. 16
      src/views/xm/core/xmProduct/XmProductMng.vue
  38. 10
      src/views/xm/core/xmProduct/XmProductRecycle.vue
  39. 16
      src/views/xm/core/xmProduct/XmProductTplMng.vue
  40. 18
      src/views/xm/core/xmProductProjectLink/XmProductProjectLinkMng.vue
  41. 14
      src/views/xm/core/xmProductState/XmProductStateMng.vue
  42. 14
      src/views/xm/core/xmProductStateHis/XmProductStateHisMng.vue
  43. 14
      src/views/xm/core/xmProductTemplate/XmProductTemplateMng.vue
  44. 8
      src/views/xm/core/xmProject/XmProjectForLink.vue
  45. 16
      src/views/xm/core/xmProject/XmProjectMng.vue
  46. 10
      src/views/xm/core/xmProject/XmProjectRecycle.vue
  47. 14
      src/views/xm/core/xmProject/XmProjectTplMng.vue
  48. 14
      src/views/xm/core/xmProjectKpi/XmProjectKpiMng.vue
  49. 14
      src/views/xm/core/xmProjectKpiHis/XmProjectKpiHisMng.vue
  50. 14
      src/views/xm/core/xmProjectState/XmCockpit.vue
  51. 14
      src/views/xm/core/xmProjectState/XmProjectStateMng.vue
  52. 14
      src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue
  53. 14
      src/views/xm/core/xmProjectTaskTypeState/XmProjectTaskTypeStateMng.vue
  54. 10
      src/views/xm/core/xmProjectTemplate/XmProjectTemplateList.vue
  55. 14
      src/views/xm/core/xmProjectTemplate/XmProjectTemplateMng.vue
  56. 14
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  57. 14
      src/views/xm/core/xmQuestionHandle/XmQuestionHandleMng.vue
  58. 14
      src/views/xm/core/xmRecord/XmRecord.vue
  59. 10
      src/views/xm/core/xmRecordVisit/XmRecordVisitMng.vue
  60. 10
      src/views/xm/core/xmRptConfig/XmRptConfigMng.vue
  61. 14
      src/views/xm/core/xmTask/XmPhase.vue
  62. 8
      src/views/xm/core/xmTask/XmPhaseSelect.vue
  63. 8
      src/views/xm/core/xmTask/XmTaskList.vue
  64. 8
      src/views/xm/core/xmTask/XmTaskListForMenu.vue
  65. 14
      src/views/xm/core/xmTask/XmTaskMng.vue
  66. 10
      src/views/xm/core/xmTaskEval/XmTaskEvalMng.vue
  67. 14
      src/views/xm/core/xmTaskExecuser/XmTaskExecuserForTask.vue
  68. 14
      src/views/xm/core/xmTaskExecuser/XmTaskExecuserMng.vue
  69. 8
      src/views/xm/core/xmTaskExecuser/XmTaskExecuserSelect.vue
  70. 10
      src/views/xm/core/xmTaskOrder/XmTaskOrderMng.vue
  71. 14
      src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue
  72. 10
      src/views/xm/core/xmTaskSbillDetail/XmTaskSbillDetailMng.vue
  73. 14
      src/views/xm/core/xmTaskSkill/XmTaskSkillMng.vue
  74. 10
      src/views/xm/core/xmTaskTemplate/XmTaskTemplateMng.vue
  75. 10
      src/views/xm/core/xmTestCase/XmTestCaseMng.vue
  76. 10
      src/views/xm/core/xmTestCase/XmTestCaseSelect.vue
  77. 10
      src/views/xm/core/xmTestCasedb/XmTestCasedbMng.vue
  78. 10
      src/views/xm/core/xmTestPlan/XmTestPlanMng.vue
  79. 4
      src/views/xm/core/xmTestPlan/rpt/biz/questionSort.vue
  80. 10
      src/views/xm/core/xmTestPlanCase/XmTestPlanCaseMng.vue
  81. 8
      src/views/xm/core/xmTestPlanCase/XmTestPlanCaseSelect.vue
  82. 8
      src/views/xm/core/xmWorkload/XmTaskSbillSelect.vue
  83. 16
      src/views/xm/core/xmWorkload/XmWorkloadInfo.vue
  84. 14
      src/views/xm/core/xmWorkload/XmWorkloadList.vue
  85. 16
      src/views/xm/core/xmWorkload/XmWorkloadMng.vue
  86. 14
      src/views/xm/core/xmWorkload/XmWorkloadSimpleList.vue
  87. 16
      src/views/xm/core/xmWorkload/XmWorkloadSimpleListForBizDate.vue
  88. 4
      src/views/xm/rpt/product/menuSort.vue
  89. 4
      src/views/xm/rpt/product/questionSort.vue
  90. 4
      src/views/xm/rpt/project/taskSort.vue

8
src/views/xm/core/components/XmIterationSelect.vue

@ -182,7 +182,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -238,7 +238,7 @@
this.getXmIterations();
},
searchXmIterations(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterations();
},
// XmIteration
@ -247,7 +247,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -278,7 +278,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmIterations = res.data.data;
if(this.productId){
map.set(this.productId,this.xmIterations)

8
src/views/xm/core/components/XmProductSelect.vue

@ -252,7 +252,7 @@ export default {
//
total: 0, //0>0
pageSize: 10, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: [], // ['sex','student_id']
orderDirs: [], // asc,desc ['asc','desc']
@ -313,7 +313,7 @@ export default {
this.getXmProducts();
},
searchXmProducts() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmProducts();
},
// XmProduct
@ -322,7 +322,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -358,7 +358,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
this.xmProducts = res.data.data;
if (this.iterationId) {
map.set(this.iterationId, this.xmProducts);

8
src/views/xm/core/components/XmProjectSelect.vue

@ -252,7 +252,7 @@ export default {
//
total: 0, //0>0
pageSize: 10, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: [], // ['sex','student_id']
orderDirs: [], // asc,desc ['asc','desc']
@ -310,7 +310,7 @@ export default {
this.getXmProjects();
},
searchXmProjects() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmProjects();
},
// XmProject
@ -319,7 +319,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -355,7 +355,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
this.xmProjects = res.data.data;
if (this.linkIterationId) {
map.set(this.linkIterationId, this.xmProjects);

8
src/views/xm/core/crowd/XmTaskCrowdMng.vue

@ -691,7 +691,7 @@ export default {
//
total: 0, //0>0
pageSize: this.queryScope==='plan' || this.queryScope==='planTask'?50:20, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["create_time"], // ['sex','student_id']
orderDirs: ["desc"], // asc,desc ['asc','desc']
@ -853,7 +853,7 @@ export default {
this.getXmTasks();
},
searchXmTasks() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks();
},
// XmTask xm_task
@ -862,7 +862,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -884,7 +884,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
var xmTasks = res.data.data;
this.xmTasks = xmTasks;
if (this.editForm != null) {

14
src/views/xm/core/wiki/archive/WikiList.vue

@ -229,7 +229,7 @@
...util,
handleSizeChange(pageSize) {
this.pageInfo.pageSize=pageSize;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getArchives();
},
@ -253,7 +253,7 @@
},
searchArchives(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getArchives();
},
// Archive
@ -261,7 +261,7 @@
let params = {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,countSql:this.pageInfo.countSql,
total: this.pageInfo.total,count:this.pageInfo.count,
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -307,7 +307,7 @@
this.load.list=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.data.total;this.pageInfo.countSql=false;
this.pageInfo.total = res.data.data.total;this.pageInfo.count=false;
this.archives = res.data.data;
}else{
this.$message({ message: tips.msg, type: 'error' });
@ -346,7 +346,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.categoryTree.refreshTree=!this.categoryTree.refreshTree
this.getArchives();
},
@ -373,7 +373,7 @@
this.load.del = false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getArchives();
this.categoryTree.refreshTree=!this.categoryTree.refreshTree
}
@ -395,7 +395,7 @@
this.load.del = false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getArchives();
this.categoryTree.refreshTree=!this.categoryTree.refreshTree
}

14
src/views/xm/core/xmAttachment/XmAttachmentMng.vue

@ -64,7 +64,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -113,7 +113,7 @@
this.getXmAttachments();
},
searchXmAttachments(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmAttachments();
},
// XmAttachment xm_attachment
@ -122,7 +122,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -141,7 +141,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmAttachments = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -162,7 +162,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmAttachments();
},
afterEditSubmit(){
@ -183,7 +183,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmAttachments();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -201,7 +201,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmAttachments();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmBranchState/XmBranchStateMng.vue

@ -130,7 +130,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -180,7 +180,7 @@
this.getXmBranchStates();
},
searchXmBranchStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStates();
},
// XmBranchState
@ -189,7 +189,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -207,7 +207,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmBranchStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -228,7 +228,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStates();
},
afterEditSubmit(){
@ -249,7 +249,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -272,7 +272,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmBranchStateHis/XmBranchStateHisMng.vue

@ -130,7 +130,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -180,7 +180,7 @@
this.getXmBranchStateHiss();
},
searchXmBranchStateHiss(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStateHiss();
},
// XmBranchStateHis
@ -189,7 +189,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -207,7 +207,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmBranchStateHiss = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -228,7 +228,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStateHiss();
},
afterEditSubmit(){
@ -249,7 +249,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -272,7 +272,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmBranchTaskTypeState/XmBranchTaskTypeStateMng.vue

@ -77,7 +77,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -128,7 +128,7 @@
this.getXmBranchTaskTypeStates();
},
searchXmBranchTaskTypeStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchTaskTypeStates();
},
// XmBranchTaskTypeState
@ -137,7 +137,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -156,7 +156,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmBranchTaskTypeStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -177,7 +177,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchTaskTypeStates();
},
afterEditSubmit(){
@ -198,7 +198,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchTaskTypeStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -216,7 +216,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBranchTaskTypeStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmBudgetLabor/XmBudgetLaborMng.vue

@ -127,7 +127,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -180,7 +180,7 @@
this.getXmBudgetLabors();
},
searchXmBudgetLabors(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBudgetLabors();
},
// XmBudgetLabor
@ -189,7 +189,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -207,7 +207,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmBudgetLabors = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -228,7 +228,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBudgetLabors();
},
afterEditSubmit(){

10
src/views/xm/core/xmBudgetNlabor/XmBudgetNlaborMng.vue

@ -122,7 +122,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -175,7 +175,7 @@
this.getXmBudgetNlabors();
},
searchXmBudgetNlabors(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBudgetNlabors();
},
// XmBudgetNlabor
@ -184,7 +184,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -215,7 +215,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmBudgetNlabors = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -236,7 +236,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmBudgetNlabors();
},
afterEditSubmit(){

16
src/views/xm/core/xmContract/XmContractMng.vue

@ -87,7 +87,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -112,7 +112,7 @@
//contractCard
detailForm: {
htId:'',draftId:'',cpId:'',cpName:'',linkName:'',linkPhone:'',cpAddress:'',cpOpenBank:'',cpBankAccountSql:'',htName:'',htSn:'',htGrossAmount:'',htKaiPiaoAmount:'',htReceivedAmount:'',htReceivableAmount:'',htPayedAmount:'',htPayableAmount:'',htFile:'',htEffectDate:'',htFzUserid:'',htFzUsername:'',htParentType:'',htType:'',htSignDate:'',htExpireDate:'',htStatus:'',htDemand:'',htParty:'',htPartyName:'',htImportantClause:'',branchId:'',createTime:'',createUserId:'',createUserName:''
htId:'',draftId:'',cpId:'',cpName:'',linkName:'',linkPhone:'',cpAddress:'',cpOpenBank:'',cpBankAccount:'',htName:'',htSn:'',htGrossAmount:'',htKaiPiaoAmount:'',htReceivedAmount:'',htReceivableAmount:'',htPayedAmount:'',htPayableAmount:'',htFile:'',htEffectDate:'',htFzUserid:'',htFzUsername:'',htParentType:'',htType:'',htSignDate:'',htExpireDate:'',htStatus:'',htDemand:'',htParty:'',htPartyName:'',htImportantClause:'',branchId:'',createTime:'',createUserId:'',createUserName:''
},
/**begin 自定义属性请在下面加 请加备注**/
tableHeight:300,
@ -143,7 +143,7 @@
this.getXmContracts();
},
searchXmContracts(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmContracts();
},
// XmContract xm_project_contract
@ -152,7 +152,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -192,7 +192,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmContracts = res.data.data;
console.log(res.data.data);
}else{
@ -219,7 +219,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmContracts();
},
afterEditSubmit(){
@ -240,7 +240,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmContracts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -258,7 +258,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmContracts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmCostNlabor/XmCostNlaborMng.vue

@ -125,7 +125,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -178,7 +178,7 @@
this.getXmCostNlabors();
},
searchXmCostNlabors(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmCostNlabors();
},
// XmCostNlabor
@ -187,7 +187,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -205,7 +205,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmCostNlabors = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -226,7 +226,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmCostNlabors();
},
afterEditSubmit(){

14
src/views/xm/core/xmEnvList/XmEnvListMng.vue

@ -73,7 +73,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['end_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -137,7 +137,7 @@
this.getXmEnvLists();
},
searchXmEnvLists(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmEnvLists();
},
// XmEnvList xm_env_list
@ -146,7 +146,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -172,7 +172,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmEnvLists = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -193,7 +193,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmEnvLists();
},
afterEditSubmit(){
@ -215,7 +215,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmEnvLists();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -233,7 +233,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmEnvLists();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmFile/XmFileMng.vue

@ -70,7 +70,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -122,7 +122,7 @@
this.getXmFiles();
},
searchXmFiles(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFiles();
},
// XmFile xm_file
@ -131,7 +131,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -151,7 +151,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmFiles = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -174,7 +174,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFiles();
},
afterEditSubmit(){
@ -196,7 +196,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFiles();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -213,7 +213,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFiles();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmFunc/XmFuncMng.vue

@ -108,7 +108,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -161,7 +161,7 @@ export default {
this.getXmFuncs();
},
searchXmFuncs(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFuncs();
},
// XmFunc
@ -170,7 +170,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -188,7 +188,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmFuncs = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -209,7 +209,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFuncs();
},
afterEditSubmit(){

10
src/views/xm/core/xmFunc/XmFuncSelect.vue

@ -85,7 +85,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -139,7 +139,7 @@ export default {
this.getXmFuncs();
},
searchXmFuncs(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFuncs();
},
// XmFunc
@ -148,7 +148,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -169,7 +169,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmFuncs = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -211,7 +211,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmFuncs();
},
afterEditSubmit(){

18
src/views/xm/core/xmGroup/XmGroupMng.vue

@ -325,7 +325,7 @@ XmTaskExecuserSelect,
pageInfo:{//
total:0,//0>0
pageSize:50,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -391,7 +391,7 @@ XmTaskExecuserSelect,
this.getXmGroups();
},
searchXmGroups(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroups();
},
loadNexGroup(){
@ -415,7 +415,7 @@ XmTaskExecuserSelect,
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
var childrens = res.data.data;
childrens=childrens.filter(i=>!this.xmGroups.some(k=>k.id==i.id))
this.xmGroups.push(...childrens)
@ -434,7 +434,7 @@ XmTaskExecuserSelect,
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -471,7 +471,7 @@ XmTaskExecuserSelect,
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmGroups = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -542,7 +542,7 @@ XmTaskExecuserSelect,
},
afterAddSubmit(group){
this.addFormVisible=false;
//this.pageInfo.countSql=true;
//this.pageInfo.count=true;
this.groupOperSelectVisible=false;
this.xmGroups.push(group)
//this.getXmGroups();
@ -568,7 +568,7 @@ XmTaskExecuserSelect,
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroups();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -587,7 +587,7 @@ XmTaskExecuserSelect,
this.groupOperSelectVisible=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroups();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});
@ -761,7 +761,7 @@ XmTaskExecuserSelect,
var tips=res.data.tips;
if(tips.isOk){
this.groupOperSelectVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroups();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });

14
src/views/xm/core/xmGroupState/XmGroupStateMng.vue

@ -81,7 +81,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -134,7 +134,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
this.getXmGroupStates();
},
searchXmGroupStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupStates();
},
// XmGroupState ,
@ -143,7 +143,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -173,7 +173,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmGroupStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -194,7 +194,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupStates();
},
afterEditSubmit(){
@ -215,7 +215,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -233,7 +233,7 @@ import XmGroupStateOverview from './XmGroupStateOverview.vue';
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmGroupUser/XmGroupUserMng.vue

@ -93,7 +93,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -143,7 +143,7 @@
this.getXmGroupUsers();
},
searchXmGroupUsers(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupUsers();
},
// XmGroupUser xm_group_user
@ -152,7 +152,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -183,7 +183,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmGroupUsers = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -204,7 +204,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupUsers();
},
afterEditSubmit(){
@ -225,7 +225,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupUsers();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -243,7 +243,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmGroupUsers();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmIteration/XmIterationBox.vue

@ -166,7 +166,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -235,7 +235,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
this.getXmIterations();
},
searchXmIterations(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterations();
},
// XmIteration
@ -244,7 +244,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -290,7 +290,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmIterations = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -321,7 +321,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
},
afterAddSubmit(xmIteration){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
if(this.xmProduct){//
this.onXmIterationSelect(xmIteration);
}else{
@ -358,7 +358,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterations();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -379,7 +379,7 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterations();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmIteration/XmIterationMng.vue

@ -359,7 +359,7 @@ export default {
//
total: 0, //0>0
pageSize: 10, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: [], // ['sex','student_id']
orderDirs: [], // asc,desc ['asc','desc']
@ -489,7 +489,7 @@ export default {
this.getXmIterations();
},
searchXmIterations() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmIterations();
},
// XmIteration
@ -498,7 +498,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -558,7 +558,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
this.xmIterations = res.data.data;
} else {
this.$notify({
@ -589,7 +589,7 @@ export default {
},
afterAddSubmit(xmIteration) {
this.addFormVisible = false;
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmIterations();
},
afterEditSubmit() {
@ -633,7 +633,7 @@ export default {
this.load.del = false;
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmIterations();
}
this.$notify({
@ -666,7 +666,7 @@ export default {
this.load.del = false;
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmIterations();
}
this.$notify({

14
src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue

@ -115,7 +115,7 @@
pageInfo:{//
total:0,//0>0
pageSize:20,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -178,7 +178,7 @@
this.getXmIterationMenus();
},
searchXmIterationMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationMenus();
},
// XmIterationMenu
@ -187,7 +187,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -213,7 +213,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmIterationMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -234,7 +234,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationMenus();
},
afterEditSubmit(){
@ -255,7 +255,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -279,7 +279,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmIterationState/XmIterationStateMng.vue

@ -98,7 +98,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -148,7 +148,7 @@
this.getXmIterationStates();
},
searchXmIterationStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
},
// XmIterationState
@ -157,7 +157,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -175,7 +175,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmIterationStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -196,7 +196,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
},
afterEditSubmit(){
@ -217,7 +217,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -240,7 +240,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmIterationState/XmIterationStateShow.vue

@ -77,7 +77,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -128,7 +128,7 @@
this.getXmIterationStates();
},
searchXmIterationStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
},
// XmIterationState
@ -137,7 +137,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -159,7 +159,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmIterationStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -180,7 +180,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
},
afterEditSubmit(){
@ -201,7 +201,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -219,7 +219,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmIterationStateHis/XmIterationStateHisMng.vue

@ -98,7 +98,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -148,7 +148,7 @@
this.getXmIterationStateHiss();
},
searchXmIterationStateHiss(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStateHiss();
},
// XmIterationStateHis
@ -157,7 +157,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -175,7 +175,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmIterationStateHiss = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -196,7 +196,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStateHiss();
},
afterEditSubmit(){
@ -217,7 +217,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -240,7 +240,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmIterationStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

18
src/views/xm/core/xmMenu/XmEpicFeatures.vue

@ -220,7 +220,7 @@
pageInfo:{//
total:0,//0>0
pageSize:100,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -314,7 +314,7 @@
this.getXmMenus();
},
searchXmMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
},
getParams(params){
@ -406,7 +406,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
//this.xmMenus=[]
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
@ -424,7 +424,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -505,7 +505,7 @@
},
afterAddSubmit(row){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
//this.getXmMenus();
this.xmMenus.push(row);
if(this.parentMenu){
@ -557,7 +557,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
@ -579,7 +579,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});
@ -765,7 +765,7 @@
this.load.edit=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.xmMenus=[];
this.getXmMenus();
}
@ -773,7 +773,7 @@
}).catch( err => this.load.edit=false );
},
searchSubMenus(row,index){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.searchXmMenus();
},
clearFiltersTag(tag){

8
src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue

@ -117,7 +117,7 @@
pageInfo:{//
total:0,//0>0
pageSize:100,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -181,7 +181,7 @@
this.getXmMenus();
},
searchXmMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
},
getParams(params){
@ -273,7 +273,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
//this.xmMenus=[]
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
@ -294,7 +294,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });

18
src/views/xm/core/xmMenu/XmMenuMng.vue

@ -499,7 +499,7 @@
pageInfo:{//
total:0,//0>0
pageSize:20,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -590,7 +590,7 @@
this.getXmMenus();
},
searchXmMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
},
getParams(params){
@ -719,7 +719,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
//this.xmMenus=[]
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
@ -737,7 +737,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -807,7 +807,7 @@
},
afterAddSubmit(row){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.xmMenus.push(row);
if(this.parentMenu){
this.parentMenu.childrenCnt=this.parentMenu.childrenCnt?this.parentMenu.childrenCnt+1:1;
@ -849,7 +849,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
@ -871,7 +871,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});
@ -1050,7 +1050,7 @@
this.load.edit=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.xmMenus=[];
this.getXmMenus();
}
@ -1064,7 +1064,7 @@
this.productVisible=true;
},
searchSubMenus(row,index){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.searchXmMenus();
},
clearFiltersTag(tag){

8
src/views/xm/core/xmMenu/XmMenuSelect.vue

@ -264,7 +264,7 @@ import XmEpicFeatures from './XmEpicFeaturesSelect.vue';
pageInfo:{//
total:0,//0>0
pageSize:50,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['seq_no'],// ['sex','student_id']
orderDirs:['asc']// asc,desc ['asc','desc']
@ -320,7 +320,7 @@ import XmEpicFeatures from './XmEpicFeaturesSelect.vue';
this.getXmMenus();
},
searchXmMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
},
getParams(params){
@ -431,7 +431,7 @@ import XmEpicFeatures from './XmEpicFeaturesSelect.vue';
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -456,7 +456,7 @@ import XmEpicFeatures from './XmEpicFeaturesSelect.vue';
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });

14
src/views/xm/core/xmMenu/XmMenuWithPlan.vue

@ -210,7 +210,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -281,7 +281,7 @@
this.getXmMenus();
},
searchXmMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
},
@ -352,7 +352,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -369,7 +369,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -390,7 +390,7 @@
this.load.edit=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -404,7 +404,7 @@
this.load.add=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -421,7 +421,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

6
src/views/xm/core/xmMenuComment/comment-area.vue

@ -53,7 +53,7 @@ export default {
pageInfo: {//
total: 0,//0>0
pageSize: 10,//
countSql:true,//
count:true,//
pageNum: 1,//1
orderFields: ['CDATE'],// ['sex','student_id']
orderDirs: ['desc']// asc,desc ['asc','desc']
@ -128,7 +128,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
menuId: this.targetId,
pidIsNull: "1",
};
@ -144,7 +144,7 @@ export default {
let tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
let list = res.data.data;
this.commentsList = list;
if (res.data.children && res.data.children.length > 0) {

14
src/views/xm/core/xmMenuState/XmMenuStateMng.vue

@ -188,7 +188,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -246,7 +246,7 @@
this.getXmMenus();
},
searchXmMenus(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
},
// XmMenu xm_project_menu
@ -255,7 +255,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -273,7 +273,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenus = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -294,7 +294,7 @@
this.load.edit=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -308,7 +308,7 @@
this.load.add=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -325,7 +325,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenus();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmMenuTemplate/XmMenuTemplateMng.vue

@ -79,7 +79,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -133,7 +133,7 @@
this.getXmMenuTemplates();
},
searchXmMenuTemplates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenuTemplates();
},
// XmMenuTemplate xm_project_menu
@ -142,7 +142,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -165,7 +165,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMenuTemplates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -198,7 +198,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.parentMenu=null;
this.getXmMenuTemplates();
},
@ -224,7 +224,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenuTemplates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -242,7 +242,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMenuTemplates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmMyFocus/XmMyFocusList.vue

@ -113,7 +113,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -166,7 +166,7 @@ export default {
this.getXmMyFocuss();
},
searchXmMyFocuss:function(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMyFocuss();
},
// XmMyFocus
@ -176,7 +176,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -195,7 +195,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMyFocuss = res.data.data;
localStorage.setItem('xm-my-focus-list',JSON.stringify( this.xmMyFocuss ))
}else{
@ -237,7 +237,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMyFocuss();
},
afterEditSubmit(){

10
src/views/xm/core/xmMyFocus/XmMyFocusMng.vue

@ -108,7 +108,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -161,7 +161,7 @@ export default {
this.getXmMyFocuss();
},
searchXmMyFocuss(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMyFocuss();
},
// XmMyFocus
@ -170,7 +170,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -188,7 +188,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmMyFocuss = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -209,7 +209,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmMyFocuss();
},
afterEditSubmit(){

16
src/views/xm/core/xmProduct/XmProductMng.vue

@ -440,7 +440,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -508,7 +508,7 @@
this.getXmProducts();
},
searchXmProducts(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
},
showProductState(row){
@ -523,7 +523,7 @@
this.load.edit=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -535,7 +535,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -581,7 +581,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProducts = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -607,7 +607,7 @@
},
afterAddSubmit(xmProduct){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
if(this.xmIteration){//
this.onXmProductSelect(xmProduct);
}else{
@ -644,7 +644,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -671,7 +671,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmProduct/XmProductRecycle.vue

@ -168,7 +168,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -224,7 +224,7 @@
this.getXmProducts();
},
searchXmProducts(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
},
// XmProduct
@ -233,7 +233,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -281,7 +281,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProducts = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -332,7 +332,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });

16
src/views/xm/core/xmProduct/XmProductTplMng.vue

@ -157,7 +157,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -220,7 +220,7 @@
this.getXmProducts();
},
searchXmProducts(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
},
showProductState(row){
@ -235,7 +235,7 @@
this.load.edit=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -247,7 +247,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -268,7 +268,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProducts = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -289,7 +289,7 @@
},
afterAddSubmit(xmProduct){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
if(this.xmIteration){//
this.onXmProductSelect(xmProduct);
}else{
@ -323,7 +323,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -345,7 +345,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProducts();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

18
src/views/xm/core/xmProductProjectLink/XmProductProjectLinkMng.vue

@ -83,7 +83,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['seq'],// ['sex','student_id']
orderDirs:['asc']// asc,desc ['asc','desc']
@ -136,7 +136,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
this.getXmProductProjectLinks();
},
searchXmProductProjectLinks(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductProjectLinks();
},
// XmProductProjectLink
@ -145,7 +145,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -168,7 +168,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProductProjectLinks = res.data.data;
}else{
this.$notify({ message: tips.msg, type: 'error' });
@ -189,7 +189,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductProjectLinks();
},
afterEditSubmit(){
@ -210,7 +210,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductProjectLinks();
}
this.$notify({ message: tips.msg, type: tips.isOk?'success':'error' });
@ -228,7 +228,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductProjectLinks();
}
this.$notify({ message: tips.msg, type: tips.isOk?'success':'error'});
@ -252,7 +252,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductProjectLinks();
}
this.$notify({ message: tips.msg, type: tips.isOk?'success':'error'});
@ -270,7 +270,7 @@ import XmProjectSelect from '@/views/xm/core/components/XmProjectSelect.vue'
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductProjectLinks();
}
this.$notify({ message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProductState/XmProductStateMng.vue

@ -110,7 +110,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -160,7 +160,7 @@
this.getXmProductStates();
},
searchXmProductStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStates();
},
// XmProductState ,
@ -169,7 +169,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -187,7 +187,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProductStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -208,7 +208,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStates();
},
afterEditSubmit(){
@ -229,7 +229,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -252,7 +252,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProductStateHis/XmProductStateHisMng.vue

@ -110,7 +110,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -160,7 +160,7 @@
this.getXmProductStateHiss();
},
searchXmProductStateHiss(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStateHiss();
},
// XmProductStateHis ,
@ -169,7 +169,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -187,7 +187,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProductStateHiss = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -208,7 +208,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStateHiss();
},
afterEditSubmit(){
@ -229,7 +229,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -252,7 +252,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProductTemplate/XmProductTemplateMng.vue

@ -71,7 +71,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -120,7 +120,7 @@
this.getXmProductTemplates();
},
searchXmProductTemplates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductTemplates();
},
// XmProductTemplate
@ -129,7 +129,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -150,7 +150,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProductTemplates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -171,7 +171,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductTemplates();
},
afterEditSubmit(){
@ -192,7 +192,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductTemplates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -210,7 +210,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProductTemplates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

8
src/views/xm/core/xmProject/XmProjectForLink.vue

@ -83,7 +83,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -133,7 +133,7 @@
this.getXmProjects();
},
searchXmProjects(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
},
// XmProject xm_project
@ -142,7 +142,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
};
if(this.xmProduct){
@ -172,7 +172,7 @@
if(tips.isOk){
console.log(res.data);
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjects = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });

16
src/views/xm/core/xmProject/XmProjectMng.vue

@ -410,7 +410,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -474,7 +474,7 @@
this.getXmProjects();
},
searchXmProjects(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
},
// XmProject xm_project
@ -483,7 +483,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
};
if(this.filters.key!==""){
//params.xxx=this.filters.key
@ -520,7 +520,7 @@
if(tips.isOk){
console.log(res.data);
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjects = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -588,7 +588,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
},
afterEditSubmit(){
@ -611,7 +611,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -635,7 +635,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});
@ -876,7 +876,7 @@
this.load.edit=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.searchXmProjects();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmProject/XmProjectRecycle.vue

@ -66,7 +66,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -118,7 +118,7 @@
this.getXmProjects();
},
searchXmProjects(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
},
// XmProject xm_project
@ -127,7 +127,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
};
if(this.filters.key){
@ -148,7 +148,7 @@
if(tips.isOk){
console.log(res.data);
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjects = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -172,7 +172,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });

14
src/views/xm/core/xmProject/XmProjectTplMng.vue

@ -137,7 +137,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -198,7 +198,7 @@
this.getXmProjects();
},
searchXmProjects(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
},
// XmProject xm_project
@ -207,7 +207,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
};
if(this.filters.key!==""){
params.key='%'+this.filters.key+'%';
@ -237,7 +237,7 @@
if(tips.isOk){
console.log(res.data);
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjects = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -268,7 +268,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
},
afterEditSubmit(){
@ -290,7 +290,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -314,7 +314,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjects();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProjectKpi/XmProjectKpiMng.vue

@ -83,7 +83,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -133,7 +133,7 @@
this.getXmProjectKpis();
},
searchXmProjectKpis(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpis();
},
// XmProjectKpi xm_project_kpi
@ -142,7 +142,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -166,7 +166,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectKpis = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -187,7 +187,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpis();
},
afterEditSubmit(){
@ -208,7 +208,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpis();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -226,7 +226,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpis();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProjectKpiHis/XmProjectKpiHisMng.vue

@ -74,7 +74,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -123,7 +123,7 @@
this.getXmProjectKpiHiss();
},
searchXmProjectKpiHiss(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpiHiss();
},
// XmProjectKpiHis xm_project_kpi_his
@ -132,7 +132,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -151,7 +151,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectKpiHiss = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -172,7 +172,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpiHiss();
},
afterEditSubmit(){
@ -193,7 +193,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpiHiss();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -211,7 +211,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectKpiHiss();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProjectState/XmCockpit.vue

@ -128,7 +128,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -179,7 +179,7 @@
this.getXmProjectStates();
},
searchXmProjectStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
},
// XmProjectState
@ -188,7 +188,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -207,7 +207,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -228,7 +228,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
},
afterEditSubmit(){
@ -249,7 +249,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -267,7 +267,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProjectState/XmProjectStateMng.vue

@ -130,7 +130,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -180,7 +180,7 @@
this.getXmProjectStates();
},
searchXmProjectStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
},
// XmProjectState
@ -189,7 +189,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -207,7 +207,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -228,7 +228,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
},
afterEditSubmit(){
@ -249,7 +249,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -272,7 +272,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStates();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue

@ -130,7 +130,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -180,7 +180,7 @@
this.getXmProjectStateHiss();
},
searchXmProjectStateHiss(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStateHiss();
},
// XmProjectStateHis
@ -189,7 +189,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -207,7 +207,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectStateHiss = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -228,7 +228,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStateHiss();
},
afterEditSubmit(){
@ -249,7 +249,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -272,7 +272,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectStateHiss();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmProjectTaskTypeState/XmProjectTaskTypeStateMng.vue

@ -78,7 +78,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -130,7 +130,7 @@
this.getXmProjectTaskTypeStates();
},
searchXmProjectTaskTypeStates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTaskTypeStates();
},
// XmProjectTaskTypeState
@ -139,7 +139,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -158,7 +158,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectTaskTypeStates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -179,7 +179,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTaskTypeStates();
},
afterEditSubmit(){
@ -200,7 +200,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTaskTypeStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -218,7 +218,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTaskTypeStates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmProjectTemplate/XmProjectTemplateList.vue

@ -70,7 +70,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -124,7 +124,7 @@
this.getXmProjectTemplates();
},
searchXmProjectTemplates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTemplates();
},
// XmProjectTemplate xm_project_template
@ -133,7 +133,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -151,7 +151,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectTemplates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -172,7 +172,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTemplates();
},
afterEditSubmit(){

14
src/views/xm/core/xmProjectTemplate/XmProjectTemplateMng.vue

@ -84,7 +84,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -138,7 +138,7 @@
this.getXmProjectTemplates();
},
searchXmProjectTemplates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTemplates();
},
// XmProjectTemplate xm_project_template
@ -147,7 +147,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -164,7 +164,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmProjectTemplates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -185,7 +185,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTemplates();
},
afterEditSubmit(){
@ -206,7 +206,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTemplates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -224,7 +224,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmProjectTemplates();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmQuestion/XmQuestionMng.vue

@ -295,7 +295,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['ltime'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -405,7 +405,7 @@
this.getXmQuestions();
},
searchXmQuestions(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestions();
},
// XmQuestion xm_question
@ -415,7 +415,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -519,7 +519,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmQuestions = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -589,7 +589,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestions();
},
afterEditSubmit(){
@ -611,7 +611,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestions();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -632,7 +632,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestions();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmQuestionHandle/XmQuestionHandleMng.vue

@ -60,7 +60,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['last_update_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -114,7 +114,7 @@
this.getXmQuestionHandles();
},
searchXmQuestionHandles(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestionHandles();
},
// XmQuestionHandle xm_question_handle
@ -123,7 +123,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -145,7 +145,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmQuestionHandles = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -166,7 +166,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestionHandles();
},
afterEditSubmit(){
@ -187,7 +187,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestionHandles();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -205,7 +205,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmQuestionHandles();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmRecord/XmRecord.vue

@ -86,7 +86,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:["oper_time"],// ['sex','student_id']
orderDirs:["desc"]// asc,desc ['asc','desc']
@ -136,7 +136,7 @@
this.getXmRecords();
},
searchXmRecords(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRecords();
},
// XmRecord xm_record
@ -145,7 +145,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -171,7 +171,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmRecords = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -192,7 +192,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRecords();
},
afterEditSubmit(){
@ -213,7 +213,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRecords();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -231,7 +231,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRecords();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmRecordVisit/XmRecordVisitMng.vue

@ -138,7 +138,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -191,7 +191,7 @@ export default {
this.getXmRecordVisits();
},
searchXmRecordVisits(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRecordVisits();
},
// XmRecordVisit 访
@ -200,7 +200,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -218,7 +218,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmRecordVisits = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -239,7 +239,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRecordVisits();
},
afterEditSubmit(){

10
src/views/xm/core/xmRptConfig/XmRptConfigMng.vue

@ -113,7 +113,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -166,7 +166,7 @@ export default {
this.getXmRptConfigs();
},
searchXmRptConfigs(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRptConfigs();
},
// XmRptConfig
@ -175,7 +175,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -193,7 +193,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmRptConfigs = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -214,7 +214,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmRptConfigs();
},
afterEditSubmit(){

14
src/views/xm/core/xmTask/XmPhase.vue

@ -399,7 +399,7 @@ export default {
//
total: 0, //0>0
pageSize: 100, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["sort_level"], // ['sex','student_id']
orderDirs: ["asc"], // asc,desc ['asc','desc']
@ -564,7 +564,7 @@ export default {
this.getXmTasks();
},
searchXmTasks() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks();
},
// XmTask xm_task
@ -573,7 +573,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -608,7 +608,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
var xmTasks = res.data.data;
this.xmTasks = xmTasks;
if (this.editForm != null) {
@ -750,7 +750,7 @@ export default {
},
afterAddSubmit(row) {
this.addFormVisible = false;
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks()
},
afterEditSubmit() {
@ -782,7 +782,7 @@ export default {
this.load.del = false;
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks()
}
this.$notify({
@ -809,7 +809,7 @@ export default {
this.load.del = false;
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.searchXmTasks()
}
this.$notify({

8
src/views/xm/core/xmTask/XmPhaseSelect.vue

@ -168,7 +168,7 @@ export default {
//
total: 0, //0>0
pageSize: 100, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["sort_level"], // ['sex','student_id']
orderDirs: ["asc"], // asc,desc ['asc','desc']
@ -291,7 +291,7 @@ export default {
this.getXmTasks();
},
searchXmTasks() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks();
},
// XmTask xm_task
@ -300,7 +300,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -321,7 +321,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
var xmTasks = res.data.data;
this.xmTasks = xmTasks;
if (this.editForm != null) {

8
src/views/xm/core/xmTask/XmTaskList.vue

@ -138,7 +138,7 @@
pageInfo:{//
total:0,//0>0
pageSize:20,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -216,7 +216,7 @@
this.getXmTasks();
},
searchXmTasks(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTasks();
},
// XmTask xm_task
@ -225,7 +225,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -265,7 +265,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
var xmTasks=res.data.data;
this.xmTasks=xmTasks;
}else{

8
src/views/xm/core/xmTask/XmTaskListForMenu.vue

@ -123,7 +123,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -191,7 +191,7 @@
this.getXmTasks();
},
searchXmTasks(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTasks();
},
// XmTask xm_task
@ -200,7 +200,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -229,7 +229,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
var xmTasks=res.data.data;
this.xmTasks=xmTasks;
}else{

14
src/views/xm/core/xmTask/XmTaskMng.vue

@ -1001,7 +1001,7 @@ export default {
//
total: 0, //0>0
pageSize: 20, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ['menu_id',"start_time"], // ['sex','student_id']
orderDirs: ["asc","desc"], // asc,desc ['asc','desc']
@ -1130,7 +1130,7 @@ export default {
this.getXmTasks();
},
searchXmTasks() {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks();
},
// XmTask xm_task
@ -1139,7 +1139,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if (
this.pageInfo.orderFields != null &&
@ -1181,7 +1181,7 @@ export default {
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.total = res.data.total;
this.pageInfo.countSql = false;
this.pageInfo.count = false;
var xmTasks = res.data.data;
this.xmTasks = xmTasks;
if (this.editForm != null) {
@ -1417,7 +1417,7 @@ export default {
},
afterAddSubmit(row) {
this.addFormVisible = false;
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.xmTasks.push(row)
//this.getXmTasks()
//treeTool.reloadChildren(this.$refs.table,this.maps,row.parentTaskid,'parentTaskid',this.loadXmTaskLazy)
@ -1453,7 +1453,7 @@ export default {
this.load.del = false;
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.getXmTasks()
//treeTool.reloadChildren(this.$refs.table,this.maps,row.parentTaskid,'parentTaskid',this.loadXmTaskLazy)
}
@ -1481,7 +1481,7 @@ export default {
this.load.del = false;
var tips = res.data.tips;
if (tips.isOk) {
this.pageInfo.countSql = true;
this.pageInfo.count = true;
this.searchXmTasks()
//treeTool.reloadAllChildren(this.$refs.table,this.maps,this.sels,'parentTaskid',this.loadXmTaskLazy)
}

10
src/views/xm/core/xmTaskEval/XmTaskEvalMng.vue

@ -158,7 +158,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -211,7 +211,7 @@ export default {
this.getXmTaskEvals();
},
searchXmTaskEvals(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskEvals();
},
// XmTaskEval xm_task_eval
@ -220,7 +220,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -238,7 +238,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskEvals = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -259,7 +259,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskEvals();
},
afterEditSubmit(){

14
src/views/xm/core/xmTaskExecuser/XmTaskExecuserForTask.vue

@ -169,7 +169,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -237,7 +237,7 @@
this.getXmTaskExecusers();
},
searchXmTaskExecusers(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskExecusers();
},
// XmTaskExecuser xm_task_execuser
@ -246,7 +246,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -274,7 +274,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskExecusers = res.data.data;
this.$emit("loadExecUserList",this.xmTaskExecusers);
}else{
@ -326,7 +326,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.$emit("after-add-submit",this.addForm);
this.getXmTaskExecusers();
@ -356,7 +356,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.afterDeleteSubmit();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -373,7 +373,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.afterDeleteSubmit();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmTaskExecuser/XmTaskExecuserMng.vue

@ -221,7 +221,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['res.create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -290,7 +290,7 @@
this.getXmTaskExecusers();
},
searchXmTaskExecusers(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskExecusers();
},
// XmTaskExecuser xm_task_execuser
@ -299,7 +299,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -338,7 +338,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskExecusers = res.data.data;
this.$emit("loadExecUserList",this.xmTaskExecusers);
}else{
@ -390,7 +390,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.$emit("after-add-submit",this.addForm);
this.getXmTaskExecusers();
@ -420,7 +420,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.afterDeleteSubmit();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -437,7 +437,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.afterDeleteSubmit();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

8
src/views/xm/core/xmTaskExecuser/XmTaskExecuserSelect.vue

@ -126,7 +126,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:['res.create_time'],// ['sex','student_id']
orderDirs:['desc']// asc,desc ['asc','desc']
@ -181,7 +181,7 @@
this.getXmTaskExecusers();
},
searchXmTaskExecusers(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskExecusers();
},
// XmTaskExecuser xm_task_execuser
@ -190,7 +190,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -226,7 +226,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskExecusers = res.data.data;
this.$emit("loadExecUserList",this.xmTaskExecusers);
}else{

10
src/views/xm/core/xmTaskOrder/XmTaskOrderMng.vue

@ -328,7 +328,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -381,7 +381,7 @@ export default {
this.getXmTaskOrders();
},
searchXmTaskOrders(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskOrders();
},
// XmTaskOrder
@ -390,7 +390,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -408,7 +408,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskOrders = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -429,7 +429,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskOrders();
},
afterEditSubmit(){

14
src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue

@ -184,7 +184,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -243,7 +243,7 @@
this.getXmTaskSbills();
},
searchXmTaskSbills(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbills();
},
// XmTaskSbill
@ -252,7 +252,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -288,7 +288,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskSbills = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -309,7 +309,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbills();
},
afterEditSubmit(){
@ -330,7 +330,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbills();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -348,7 +348,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbills();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmTaskSbillDetail/XmTaskSbillDetailMng.vue

@ -278,7 +278,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -349,7 +349,7 @@
this.getXmTaskSbillDetails();
},
searchXmTaskSbillDetails(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbillDetails();
},
// XmTaskSbillDetail
@ -358,7 +358,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -394,7 +394,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskSbillDetails = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -415,7 +415,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbillDetails();
},
afterEditSubmit(){

14
src/views/xm/core/xmTaskSkill/XmTaskSkillMng.vue

@ -76,7 +76,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -127,7 +127,7 @@
this.getXmTaskSkills();
},
searchXmTaskSkills(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSkills();
},
// XmTaskSkill xm_task_skill
@ -136,7 +136,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -156,7 +156,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskSkills = res.data.data;
let ids = [];
this.xmTaskSkills.forEach(i=>{
@ -185,7 +185,7 @@
// afterAddSubmit(){
// this.addFormVisible=false;
// this.pageInfo.countSql=true;
// this.pageInfo.count=true;
// this.getXmTaskSkills();
// },
@ -207,7 +207,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSkills();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' });
@ -225,7 +225,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSkills();
}
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error'});

10
src/views/xm/core/xmTaskTemplate/XmTaskTemplateMng.vue

@ -79,7 +79,7 @@
pageInfo:{//
total:0,//0>0
pageSize:20,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -130,7 +130,7 @@
this.getXmTaskTemplates();
},
searchXmTaskTemplates(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskTemplates();
},
// XmTaskTemplate xm_task_template
@ -139,7 +139,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -167,7 +167,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskTemplates = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: 'error' });
@ -203,7 +203,7 @@
afterAddSubmit(){
this.parentTaskTemplate=null;
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskTemplates();
},
afterEditSubmit(){

10
src/views/xm/core/xmTestCase/XmTestCaseMng.vue

@ -136,7 +136,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -190,7 +190,7 @@ export default {
this.getXmTestCases();
},
searchXmTestCases(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestCases();
},
// XmTestCase
@ -199,7 +199,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -234,7 +234,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTestCases = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -255,7 +255,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestCases();
},
afterEditSubmit(){

10
src/views/xm/core/xmTestCase/XmTestCaseSelect.vue

@ -111,7 +111,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -165,7 +165,7 @@ export default {
this.getXmTestCases();
},
searchXmTestCases(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestCases();
},
// XmTestCase
@ -174,7 +174,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -202,7 +202,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTestCases = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -223,7 +223,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestCases();
},
afterEditSubmit(){

10
src/views/xm/core/xmTestCasedb/XmTestCasedbMng.vue

@ -112,7 +112,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -165,7 +165,7 @@ export default {
this.getXmTestCasedbs();
},
searchXmTestCasedbs(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestCasedbs();
},
// XmTestCasedb
@ -174,7 +174,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -195,7 +195,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTestCasedbs = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -216,7 +216,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestCasedbs();
},
afterEditSubmit(){

10
src/views/xm/core/xmTestPlan/XmTestPlanMng.vue

@ -126,7 +126,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -180,7 +180,7 @@ export default {
this.getXmTestPlans();
},
searchXmTestPlans(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestPlans();
},
// XmTestPlan
@ -189,7 +189,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -211,7 +211,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTestPlans = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -236,7 +236,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestPlans();
},
afterEditSubmit(){

4
src/views/xm/core/xmTestPlan/rpt/biz/questionSort.vue

@ -137,7 +137,7 @@
//
total: 0, //0>0
pageSize: 20, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["value"], // ['sex','student_id']
orderDirs: ["desc"], // asc,desc ['asc','desc']
@ -178,7 +178,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
Object.assign(params,this.filters)

10
src/views/xm/core/xmTestPlanCase/XmTestPlanCaseMng.vue

@ -140,7 +140,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -194,7 +194,7 @@ export default {
this.getXmTestPlanCases();
},
searchXmTestPlanCases(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestPlanCases();
},
// XmTestPlanCase
@ -203,7 +203,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -237,7 +237,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTestPlanCases = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -258,7 +258,7 @@ export default {
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestPlanCases();
},
afterEditSubmit(){

8
src/views/xm/core/xmTestPlanCase/XmTestPlanCaseSelect.vue

@ -108,7 +108,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -162,7 +162,7 @@ export default {
this.getXmTestPlanCases();
},
searchXmTestPlanCases(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTestPlanCases();
},
// XmTestPlanCase
@ -171,7 +171,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -205,7 +205,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTestPlanCases = res.data.data;
}else{
this.$notify({ position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });

8
src/views/xm/core/xmWorkload/XmTaskSbillSelect.vue

@ -116,7 +116,7 @@ export default {
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -162,7 +162,7 @@ export default {
this.getXmTaskSbills();
},
searchXmTaskSbills(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmTaskSbills();
},
// XmTaskSbill
@ -172,7 +172,7 @@ export default {
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
projectId: this.projectId,
status:'0'
};
@ -202,7 +202,7 @@ export default {
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmTaskSbills = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });

16
src/views/xm/core/xmWorkload/XmWorkloadInfo.vue

@ -258,7 +258,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -318,7 +318,7 @@
this.getXmWorkloads();
},
searchXmWorkloads(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
// XmWorkload
@ -327,7 +327,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -383,7 +383,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmWorkloads = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -404,7 +404,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
afterEditSubmit(){
@ -425,7 +425,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -452,7 +452,7 @@
this.load.edit=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});
@ -475,7 +475,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmWorkload/XmWorkloadList.vue

@ -169,7 +169,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -250,7 +250,7 @@
this.getXmWorkloads();
},
searchXmWorkloads(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
// XmWorkload
@ -259,7 +259,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -296,7 +296,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmWorkloads = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -317,7 +317,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit',this.editForm)
},
@ -340,7 +340,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit',this.editForm)
}
@ -364,7 +364,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit')
}

16
src/views/xm/core/xmWorkload/XmWorkloadMng.vue

@ -315,7 +315,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -375,7 +375,7 @@
this.getXmWorkloads();
},
searchXmWorkloads(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
// XmWorkload
@ -384,7 +384,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql,
count:this.pageInfo.count,
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -439,7 +439,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmWorkloads = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -460,7 +460,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
afterEditSubmit(){
@ -481,7 +481,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error' });
@ -508,7 +508,7 @@
this.load.edit=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});
@ -531,7 +531,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

14
src/views/xm/core/xmWorkload/XmWorkloadSimpleList.vue

@ -141,7 +141,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -228,7 +228,7 @@
this.getXmWorkloads();
},
searchXmWorkloads(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
// XmWorkload
@ -237,7 +237,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -272,7 +272,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmWorkloads = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -293,7 +293,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit',this.editForm)
},
@ -316,7 +316,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit',this.editForm)
}
@ -340,7 +340,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit')
}

16
src/views/xm/core/xmWorkload/XmWorkloadSimpleListForBizDate.vue

@ -126,7 +126,7 @@
pageInfo:{//
total:0,//0>0
pageSize:10,//
countSql:true,//
count:true,//
pageNum:1,//1
orderFields:[],// ['sex','student_id']
orderDirs:[]// asc,desc ['asc','desc']
@ -221,7 +221,7 @@
this.getXmWorkloads();
},
searchXmWorkloads(){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
},
// XmWorkload
@ -230,7 +230,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql:this.pageInfo.countSql
count:this.pageInfo.count
};
if(this.pageInfo.orderFields!=null && this.pageInfo.orderFields.length>0){
let orderBys=[];
@ -281,7 +281,7 @@
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.total = res.data.total;
this.pageInfo.countSql=false;
this.pageInfo.count=false;
this.xmWorkloads = res.data.data;
}else{
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: 'error' });
@ -302,7 +302,7 @@
},
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit',this.editForm)
},
@ -325,7 +325,7 @@
this.load.del=false;
var tips=res.data.tips;
if(tips.isOk){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit',this.editForm)
}
@ -349,7 +349,7 @@
this.load.del=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
this.$emit('submit')
}
@ -391,7 +391,7 @@
this.load.edit=false;
var tips=res.data.tips;
if( tips.isOk ){
this.pageInfo.countSql=true;
this.pageInfo.count=true;
this.getXmWorkloads();
}
this.$notify({position:'bottom-left',showClose:true, message: tips.msg, type: tips.isOk?'success':'error'});

4
src/views/xm/rpt/product/menuSort.vue

@ -123,7 +123,7 @@
//
total: 0, //0>0
pageSize: this.queryScope==='plan' || this.queryScope==='planTask'?50:20, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["value"], // ['sex','student_id']
orderDirs: ["desc"], // asc,desc ['asc','desc']
@ -171,7 +171,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if(this.filters.dtype){
params.dtype=this.filters.dtype

4
src/views/xm/rpt/product/questionSort.vue

@ -136,7 +136,7 @@
//
total: 0, //0>0
pageSize: 20, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["value"], // ['sex','student_id']
orderDirs: ["desc"], // asc,desc ['asc','desc']
@ -184,7 +184,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if(this.filters.solution){
params.solution=this.filters.solution

4
src/views/xm/rpt/project/taskSort.vue

@ -120,7 +120,7 @@
//
total: 0, //0>0
pageSize: 20, //
countSql:true, //
count:true, //
pageNum: 1, //1
orderFields: ["value"], // ['sex','student_id']
orderDirs: ["desc"], // asc,desc ['asc','desc']
@ -168,7 +168,7 @@
pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum,
total: this.pageInfo.total,
countSql: this.pageInfo.countSql,
count: this.pageInfo.count,
};
if(this.filters.taskType){
params.taskType=this.filters.taskType

Loading…
Cancel
Save