|
|
@ -184,11 +184,13 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
//判断用户是否登录 |
|
|
|
|
|
model.getEvaluationNews({ bookNo: this.getParam("bookNo") }).then(res => { |
|
|
|
|
|
let code = res.code; |
|
|
|
|
|
if (code == 0) { |
|
|
|
|
|
|
|
|
//判断用户是否登录 this.getParam("bookNo") BD180726031513504110 |
|
|
|
|
|
model.getEvaluationNews({ bookNo: this.getParam("bookNo")}).then(res => { |
|
|
|
|
|
//let code = res.code; |
|
|
|
|
|
console.log(res) |
|
|
|
|
|
|
|
|
|
|
|
if (res.code == 0) { |
|
|
|
|
|
this.statusShow = false; |
|
|
this.cleanerName = res.response.cleanerName |
|
|
this.cleanerName = res.response.cleanerName |
|
|
var times = '' |
|
|
var times = '' |
|
|
if (res.response.timeType == 1) { |
|
|
if (res.response.timeType == 1) { |
|
|
@ -209,7 +211,7 @@ export default { |
|
|
} else { |
|
|
} else { |
|
|
this.isCanEvaluation = true; |
|
|
this.isCanEvaluation = true; |
|
|
} |
|
|
} |
|
|
} else if (code == 1) { |
|
|
|
|
|
|
|
|
} else if (res.code == 1) { |
|
|
if (res.msg == "已过期" ) { |
|
|
if (res.msg == "已过期" ) { |
|
|
//已过期 |
|
|
//已过期 |
|
|
this.code = 3; |
|
|
this.code = 3; |
|
|
|