|
@@ -60,7 +60,13 @@ export default {
|
|
label: '评价星级',
|
|
label: '评价星级',
|
|
prop: 'evaluation',
|
|
prop: 'evaluation',
|
|
format (val) {
|
|
format (val) {
|
|
- return val + '星';
|
|
|
|
|
|
+
|
|
|
|
+ if (val != null) {
|
|
|
|
+ return val + '星';
|
|
|
|
+ } else {
|
|
|
|
+ return '无评价'
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -71,7 +77,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
- debugger
|
|
|
|
|
|
+
|
|
this.mixins_dataUrl = '/czc-community/royalty/detailPage';
|
|
this.mixins_dataUrl = '/czc-community/royalty/detailPage';
|
|
this.mixins_query = { id: this.params.row.id };
|
|
this.mixins_query = { id: this.params.row.id };
|
|
this.mixins_search();
|
|
this.mixins_search();
|