|
@@ -1347,7 +1347,9 @@
|
|
createGroupWay:'new',
|
|
createGroupWay:'new',
|
|
modGroupDialog:false,
|
|
modGroupDialog:false,
|
|
subTaskVisible:false,
|
|
subTaskVisible:false,
|
|
- orderList:[{id:"seq",name:this.$t('manuallydragthesequence'),isDesc:false},{id:"create_date",name:this.$t('creationtimeisthelatest'),isDesc:true},
|
|
|
|
|
|
+ orderList:[{id:"seq",name:this.$t('manuallydragthesequence'),isDesc:false},
|
|
|
|
+ {id:"create_date",name:this.$t('creationtimeisthelatest'),isDesc:true},
|
|
|
|
+ {id:"indate",name:'创建时间最早',isDesc:false},
|
|
{id:"end_date",name:this.$t('deadlineisthelatest'),isDesc:true},
|
|
{id:"end_date",name:this.$t('deadlineisthelatest'),isDesc:true},
|
|
{id:"task_level",name:this.$t('highestpriority'),isDesc:true}],
|
|
{id:"task_level",name:this.$t('highestpriority'),isDesc:true}],
|
|
order:"seq",
|
|
order:"seq",
|
|
@@ -3208,8 +3210,14 @@
|
|
},
|
|
},
|
|
viewChange(index, indexPath) {
|
|
viewChange(index, indexPath) {
|
|
this.groupType = 1;
|
|
this.groupType = 1;
|
|
- this.order = "create_date";
|
|
|
|
- this.isDesc = true;
|
|
|
|
|
|
+ if (this.user.companyId == 7757) {
|
|
|
|
+ this.order = "indate";
|
|
|
|
+ this.isDesc = false;
|
|
|
|
+ } else {
|
|
|
|
+ this.order = "create_date";
|
|
|
|
+ this.isDesc = true;
|
|
|
|
+ }
|
|
|
|
+
|
|
this.selectedGroup = this.viewList.filter(g=>g.id == index)[0];
|
|
this.selectedGroup = this.viewList.filter(g=>g.id == index)[0];
|
|
this.getViewTaskList();
|
|
this.getViewTaskList();
|
|
this.displayTable = true;
|
|
this.displayTable = true;
|
|
@@ -3218,8 +3226,14 @@
|
|
groupChange(index, indexPath) {
|
|
groupChange(index, indexPath) {
|
|
console.log('店家了')
|
|
console.log('店家了')
|
|
this.groupType = 0;
|
|
this.groupType = 0;
|
|
- this.order = "seq";
|
|
|
|
- this.isDesc = false;
|
|
|
|
|
|
+ if (this.user.companyId == 7757) {
|
|
|
|
+ this.order = "indate";
|
|
|
|
+ this.isDesc = false;
|
|
|
|
+ } else {
|
|
|
|
+ this.order = "seq";
|
|
|
|
+ this.isDesc = false;
|
|
|
|
+ }
|
|
|
|
+
|
|
this.selectedGroup = this.groupList.filter(g=>g.id == index)[0];
|
|
this.selectedGroup = this.groupList.filter(g=>g.id == index)[0];
|
|
this.groupResponsibleId = this.selectedGroup.inchargerId
|
|
this.groupResponsibleId = this.selectedGroup.inchargerId
|
|
this.getStageList();
|
|
this.getStageList();
|
|
@@ -4004,6 +4018,9 @@
|
|
mounted() {
|
|
mounted() {
|
|
this.curProjectId = parseInt(this.$route.params.id);
|
|
this.curProjectId = parseInt(this.$route.params.id);
|
|
this.activeName = this.$route.path.split("/")[1];
|
|
this.activeName = this.$route.path.split("/")[1];
|
|
|
|
+ if (this.user.companyId == 7757) {
|
|
|
|
+ this.order = "indate";
|
|
|
|
+ }
|
|
this.getDetail();
|
|
this.getDetail();
|
|
this.getUsers();
|
|
this.getUsers();
|
|
this.getMyProjectList();
|
|
this.getMyProjectList();
|