Browse Source

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/ssti-CollegeManage

Q-ABAB 2 years ago
parent
commit
1afe11c38b
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/projectSettlement/projectSettlement1.vue

+ 5 - 4
src/views/projectSettlement/projectSettlement1.vue

@@ -205,7 +205,7 @@
                         label: '创意组',
                         label: '创意组',
                       },
                       },
                        {
                        {
-                        value: '1',
+                        value: 1,
                         label: '初创组',
                         label: '初创组',
                       }
                       }
                     ]}, 
                     ]}, 
@@ -321,9 +321,10 @@
                     .then(res=>{
                     .then(res=>{
                       // this.select.sortOptions=res.data[0]
                       // this.select.sortOptions=res.data[0]
                       this.select.sortOptions[0].value=res.data[0][0].id
                       this.select.sortOptions[0].value=res.data[0][0].id
-                    this.select.sortOptions[0].label=res.data[0][0].name
-                    this.select.sortOptions[1].value=res.data[0][1].id
-                    this.select.sortOptions[1].label=res.data[0][1].name
+                      this.select.sortOptions[0].label=res.data[0][0].name
+                      this.select.sortOptions[1].value=res.data[0][1].id
+                      this.select.sortOptions[1].label=res.data[0][1].name
+                      // console.log(this.select.sortOptions);
                     },err=>{
                     },err=>{
                       console.log(err);
                       console.log(err);
                     })
                     })