|
|
@@ -202,8 +202,13 @@ import {getGroupAnalysis,getGroupScore} from "@/api/analysis/devcloud.js";
|
|
|
|
|
|
export default {
|
|
|
name: "AnalysisGroupCard",
|
|
|
+ props:{
|
|
|
+ "num": {type:Number,default:1},
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
+ userId: this.num,
|
|
|
+
|
|
|
commitContribution: [
|
|
|
{ name: "zqq", times: 0, proportion: 0 },
|
|
|
{ name: "ty", times: 2, proportion: 0.4 },
|
|
|
@@ -300,7 +305,8 @@ export default {
|
|
|
let res = await getGroupAnalysis({
|
|
|
params: {
|
|
|
// user_id: this.$route.params.id,
|
|
|
- user_id: 1575,
|
|
|
+ // user_id: 1575,
|
|
|
+ user_id: this.userId,
|
|
|
},
|
|
|
});
|
|
|
// console.log(res);
|
|
|
@@ -329,7 +335,8 @@ export default {
|
|
|
let res1 = await getGroupScore({
|
|
|
params: {
|
|
|
// user_id: this.$route.params.id,
|
|
|
- user_id: 1575,
|
|
|
+ // user_id: 1575,
|
|
|
+ user_id: this.userId,
|
|
|
}
|
|
|
});
|
|
|
// console.log(res1);
|