Pārlūkot izejas kodu

作业看板,线索数据、报价单、合同排序调整

qymljy 1 gadu atpakaļ
vecāks
revīzija
cc42de7c51

+ 18 - 1
src/HDrpManagement/dataanalysis/modules/clue.vue

@@ -108,7 +108,21 @@ export default {
       totalFollow:0,
       begindate:'',
       enddate:'',
-      select:'周'
+      select:'周',
+      sort:[
+        {
+          reversed : 0,
+          sorted: 1,
+          sortid: 207,
+          sortname: "新增,更新排序"
+        },
+        {
+          reversed : 0,
+          sorted: 1,
+          sortid: 208,
+          sortname: "跟进排序"
+        }
+      ]
     }
   },
   methods:{
@@ -119,6 +133,7 @@ export default {
       this.param.content.where.begindate = this.select ? '' :this.begindate
       this.param.content.where.enddate = this.select ? '' : this.enddate
       this.param.content.dateType = this.select
+      this.param.content.sort = [this.sort[0]]
       const res = await this.$api.requested(this.param)
       this.listAdd = res.data
       this.currentPageAdd = res.pageNumber
@@ -141,6 +156,7 @@ export default {
       this.param.content.where.begindate = this.select ? '' :this.begindate
       this.param.content.where.enddate = this.select ? '' : this.enddate
       this.param.content.dateType = this.select
+      this.param.content.sort = [this.sort[0]]
       const res = await this.$api.requested(this.param)
       this.listUpdate = res.data
       this.currentPageUpdate = res.pageNumber
@@ -163,6 +179,7 @@ export default {
       this.param.content.where.begindate = this.select ? '' :this.begindate
       this.param.content.where.enddate = this.select ? '' : this.enddate
       this.param.content.dateType = this.select
+      this.param.content.sort = [this.sort[1]]
       const res = await this.$api.requested(this.param)
       this.listFollow = res.data
       this.currentPageFollow = res.pageNumber

+ 17 - 1
src/HDrpManagement/dataanalysis/modules/documents.vue

@@ -90,7 +90,21 @@ export default {
       contractTotal:0,
       begindate:'',
       enddate:'',
-      select:''
+      select:'',
+      sort:[
+        {
+          reversed : 0,
+          sorted: 1,
+          sortid: 207,
+          sortname: "新增,更新排序"
+        },
+        {
+          reversed : 0,
+          sorted: 1,
+          sortid: 208,
+          sortname: "跟进排序"
+        }
+      ]
     }
   },
   methods: {
@@ -101,6 +115,7 @@ export default {
       this.param.content.where.begindate = this.select ? '' :this.begindate
       this.param.content.where.enddate = this.select ? '' : this.enddate
       this.param.content.dateType = this.select
+      this.param.content.sort = [this.sort[1]]
       const res = await this.$api.requested(this.param)
       this.quotationList = res.data
       this.quotationCurrentPage = res.pageNumber
@@ -123,6 +138,7 @@ export default {
       this.param.content.where.begindate = this.select ? '' :this.begindate
       this.param.content.where.enddate = this.select ? '' : this.enddate
       this.param.content.dateType = this.select
+      this.param.content.sort = [this.sort[1]]
       const res = await this.$api.requested(this.param)
       this.contractList = res.data
       this.contractCurrentPage = res.pageNumber