|
|
@@ -205,24 +205,16 @@ export default {
|
|
|
}
|
|
|
this.listLoading = true
|
|
|
getMonthScoreByList(this.conditions).then((resp) => {
|
|
|
- const { code, msg, data } = resp
|
|
|
- if (code === 200) {
|
|
|
- this.monthScoreList = data
|
|
|
- } else {
|
|
|
- this.$message.error(msg)
|
|
|
- }
|
|
|
+ const { data } = resp
|
|
|
+ this.monthScoreList = data
|
|
|
}).catch((error) => {
|
|
|
console.log(error)
|
|
|
})
|
|
|
|
|
|
getAssessMonthRecordByList(this.conditions).then((resp) => {
|
|
|
this.listLoading = false
|
|
|
- const { code, msg, data } = resp
|
|
|
- if (code === 200) {
|
|
|
- this.recordList = data
|
|
|
- } else {
|
|
|
- this.$message.error(msg)
|
|
|
- }
|
|
|
+ const { data } = resp
|
|
|
+ this.recordList = data
|
|
|
}).catch((error) => {
|
|
|
console.log(error)
|
|
|
})
|