| | |
| | | grid: { |
| | | x: 30, |
| | | y: 30, |
| | | x2: 35, |
| | | y2: 53 |
| | | x2: 37, |
| | | y2: 60 |
| | | }, |
| | | |
| | | series: [{ |
| | |
| | | planYear: "2000", |
| | | maxYear: "2000", |
| | | //当前的评分周期 |
| | | thisPeiod: '2000/1-1', |
| | | thisPeriod: '2000/1-1', |
| | | //评估历史 |
| | | historys: [] |
| | | }, |
| | |
| | | this.setData({ |
| | | planYear: `${year}年`, |
| | | maxYear: year, |
| | | thisPeiod: period, |
| | | thisPeriod: period, |
| | | deadline: deadline |
| | | }) |
| | | }, |
| | |
| | | let lastOne = data[0] |
| | | let date = moment(lastOne.updateDate) |
| | | let period = `${date.year()}/${date.month()+1}-${date.month()+1}` |
| | | if (period == that.data.thisPeiod) { |
| | | if (period == that.data.thisPeriod) { |
| | | that.setData({ |
| | | score: lastOne.totalPoint, |
| | | text1: "很棒!", |
| | |
| | | case "0": |
| | | //去测评或者查看详情 |
| | | if (this.data.score) { |
| | | url = `/pages/gradereport/gradereport?period=${this.data.thisPeiod}` |
| | | url = `/pages/gradereport/gradereport?period=${this.data.thisPeriod}` |
| | | } else { |
| | | url = `/pages/grade/grade?record=false` |
| | | } |