|
|
@@ -73,74 +73,75 @@
|
|
|
recommendUrl: "",
|
|
|
userId : 1,
|
|
|
treeScore: 55.0,
|
|
|
- tableData: [
|
|
|
- {
|
|
|
- name: "软件需求",
|
|
|
- score: 55,
|
|
|
- skills: [10, 2, 6, 4, 5, 4],
|
|
|
- disposition: [
|
|
|
- { name: "细心", score: 55 },
|
|
|
- { name: "责任心", score: 55 },
|
|
|
- { name: "耐心",score: 35},
|
|
|
- ],
|
|
|
- children: [
|
|
|
- {
|
|
|
- name: "需求验证",
|
|
|
- score: 25,
|
|
|
- skills: [5, 1, 2, 1, 2, 3],
|
|
|
- disposition: [
|
|
|
- { name: "细心", score: 20 },
|
|
|
- { name: "责任心", score: 20 },
|
|
|
- { name: "耐心",score: 10},
|
|
|
- ],
|
|
|
- children: [
|
|
|
- {
|
|
|
- name: "原型法",
|
|
|
- score: 20,
|
|
|
- skills: [5, 1, 2, 1, 2, 3],
|
|
|
- disposition: [
|
|
|
- { name: "细心", score: 20 },
|
|
|
- { name: "责任心", score: 20 },
|
|
|
- { name: "耐心",score: 10},
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- name: "需求分析",
|
|
|
- score: 20,
|
|
|
- skills: [3, 2, 3, 4, 5, 3],
|
|
|
- disposition: [
|
|
|
- { name: "细心", score: 15 },
|
|
|
- { name: "责任心", score: 25 },
|
|
|
- { name: "耐心", score: 10 },
|
|
|
- ],
|
|
|
- children: [
|
|
|
- {
|
|
|
- name: "需求分类",
|
|
|
- score: 25,
|
|
|
- skills: [3, 2, 3, 4, 5, 3],
|
|
|
- disposition: [
|
|
|
- { name: "细心", score: 15 },
|
|
|
- { name: "责任心", score: 25 },
|
|
|
- { name: "耐心", score: 10 },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- name: "软件需求基础",
|
|
|
- score: 22,
|
|
|
- skills: [4, 3, 2, 5, 5, 4],
|
|
|
- disposition: [
|
|
|
- { name: "细心", score: 20 },
|
|
|
- { name: "责任心", score: 15 },
|
|
|
- { name: "耐心", score: 20 },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
+ tableData:[],
|
|
|
+ // tableData: [
|
|
|
+ // {
|
|
|
+ // name: "软件需求",
|
|
|
+ // score: 55,
|
|
|
+ // skills: [10, 2, 6, 4, 5, 4],
|
|
|
+ // disposition: [
|
|
|
+ // { name: "细心", score: 55 },
|
|
|
+ // { name: "责任心", score: 55 },
|
|
|
+ // { name: "耐心",score: 35},
|
|
|
+ // ],
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // name: "需求验证",
|
|
|
+ // score: 25,
|
|
|
+ // skills: [5, 1, 2, 1, 2, 3],
|
|
|
+ // disposition: [
|
|
|
+ // { name: "细心", score: 20 },
|
|
|
+ // { name: "责任心", score: 20 },
|
|
|
+ // { name: "耐心",score: 10},
|
|
|
+ // ],
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // name: "原型法",
|
|
|
+ // score: 20,
|
|
|
+ // skills: [5, 1, 2, 1, 2, 3],
|
|
|
+ // disposition: [
|
|
|
+ // { name: "细心", score: 20 },
|
|
|
+ // { name: "责任心", score: 20 },
|
|
|
+ // { name: "耐心",score: 10},
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: "需求分析",
|
|
|
+ // score: 20,
|
|
|
+ // skills: [3, 2, 3, 4, 5, 3],
|
|
|
+ // disposition: [
|
|
|
+ // { name: "细心", score: 15 },
|
|
|
+ // { name: "责任心", score: 25 },
|
|
|
+ // { name: "耐心", score: 10 },
|
|
|
+ // ],
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // name: "需求分类",
|
|
|
+ // score: 25,
|
|
|
+ // skills: [3, 2, 3, 4, 5, 3],
|
|
|
+ // disposition: [
|
|
|
+ // { name: "细心", score: 15 },
|
|
|
+ // { name: "责任心", score: 25 },
|
|
|
+ // { name: "耐心", score: 10 },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: "软件需求基础",
|
|
|
+ // score: 22,
|
|
|
+ // skills: [4, 3, 2, 5, 5, 4],
|
|
|
+ // disposition: [
|
|
|
+ // { name: "细心", score: 20 },
|
|
|
+ // { name: "责任心", score: 15 },
|
|
|
+ // { name: "耐心", score: 20 },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
|
|
|
// tableData: [
|
|
|
// {
|
|
|
@@ -404,7 +405,7 @@
|
|
|
// console.log(this.recommendUrl);
|
|
|
// console.log(this.res);
|
|
|
if(res.success){
|
|
|
- // this.tableData = res.content.tableData;
|
|
|
+ this.tableData = res.content.tableData;
|
|
|
this.userId = res.content.userId
|
|
|
}
|
|
|
// console.log("here");
|