|
|
@@ -33,58 +33,37 @@
|
|
|
return {
|
|
|
tindex:0,
|
|
|
keyword:'',
|
|
|
- receiveList:[
|
|
|
- {
|
|
|
- status:0,
|
|
|
- title:'GW+MC PREILL36测评题库版本',
|
|
|
- teamName:'甜梦巧克力有限公司',
|
|
|
- endTime:'2025-05-28 24:00:00'
|
|
|
- },
|
|
|
- {
|
|
|
- status:1,
|
|
|
- title:'GW+MC PREILL36测评题库版本',
|
|
|
- teamName:'甜梦巧克力有限公司',
|
|
|
- endTime:'2025-05-28 24:00:00'
|
|
|
- },
|
|
|
- ],
|
|
|
- createList:[
|
|
|
- {
|
|
|
- status:0,
|
|
|
- title:'GW+MC PREILL36测评题库版本',
|
|
|
- teamName:'甜梦巧克力有限公司',
|
|
|
- yzdNum:0,
|
|
|
- sum:1,
|
|
|
- endTime:'2025-05-28 24:00:00'
|
|
|
- },
|
|
|
- {
|
|
|
- status:1,
|
|
|
- title:'GW+MC PREILL36测评题库版本',
|
|
|
- teamName:'甜梦巧克力有限公司',
|
|
|
- yzdNum:5,
|
|
|
- sum:15,
|
|
|
- endTime:'2025-05-28 24:00:00'
|
|
|
- },
|
|
|
- {
|
|
|
- status:2,
|
|
|
- title:'GW+MC PREILL36测评题库版本',
|
|
|
- teamName:'甜梦巧克力有限公司',
|
|
|
- yzdNum:15,
|
|
|
- sum:15,
|
|
|
- endTime:'2025-05-28 24:00:00'
|
|
|
- },
|
|
|
- ],
|
|
|
+ receiveList:[],
|
|
|
+ createList:[],
|
|
|
teamUserShow:false,
|
|
|
}
|
|
|
},
|
|
|
+ onLoad() {
|
|
|
+ this.getReceiveList();
|
|
|
+ },
|
|
|
methods:{
|
|
|
changeTab(index){
|
|
|
+ if(this.tindex===index) return
|
|
|
this.tindex = index;
|
|
|
+ if(index===0){
|
|
|
+ this.receiveList = [];
|
|
|
+ this.getReceiveList();
|
|
|
+ }else if(index===1){
|
|
|
+ this.createList = [];
|
|
|
+ this.getCreateList();
|
|
|
+ }
|
|
|
},
|
|
|
getReceiveList(){
|
|
|
-
|
|
|
+ this.$api.get('/core/teammember/que/listByUser',{queType:1,teamName:this.keyword}).then(({data:res})=>{
|
|
|
+ if(res.code!==0) return this.$showToast(res.msg)
|
|
|
+ this.receiveList = res.data
|
|
|
+ })
|
|
|
},
|
|
|
getCreateList(){
|
|
|
-
|
|
|
+ this.$api.get('/core/teammember/que/listByUser',{queType:0,teamName:this.keyword}).then(({data:res})=>{
|
|
|
+ if(res.code!==0) return this.$showToast(res.msg)
|
|
|
+ this.createList = res.data
|
|
|
+ })
|
|
|
},
|
|
|
receiveScrolltolower(){
|
|
|
console.log(1);
|