+
{{index+1}}
Final Decision Comment
@@ -1110,6 +1209,32 @@ export default {
}
},
methods: {
+ maxRepeatReviewCount() {
+ if (!this.reviewList || !Array.isArray(this.reviewList)) return null; // 边界处理:无数据返回null
+
+ // 遍历所有评审者,找到repeat数组长度最大的那条数据
+ const maxItem = this.reviewList.reduce((maxItem, currentItem) => {
+ // 计算当前项的repeat长度,非数组则视为0
+ const currentLen = Array.isArray(currentItem.repeat) ? currentItem.repeat.length : 0;
+ // 计算当前最大项的repeat长度,非数组则视为0
+ const maxLen = Array.isArray(maxItem.repeat) ? maxItem.repeat.length : 0;
+
+ // 如果当前项长度更大,则更新最大项
+ return currentLen > maxLen ? currentItem : maxItem;
+ }, {}); // 初始值设为一个空对象
+ // console.log('maxItem at line 2142:', maxItem.repeat.length)
+ return maxItem && maxItem.repeat ? maxItem.repeat.length : 0;
+ },
+ handleClick(item){
+ console.log('item at line 1228:', item)
+ this.$router.push({
+ path: 'articleReviewerDetail',
+ query: {
+ id: item.art_rev_id
+ }
+ });
+ },
+
goReviewerDetail(id){
console.log('id at line 1112:', id)
this.$router.push({
@@ -1118,6 +1243,7 @@ export default {
id: id
}
});
+
},
getFinalList(){
@@ -1130,7 +1256,7 @@ getFinalList(){
if (res.status==1) {
if(res.status==1){
- this.finalList = res.data.final_review;
+ this.finalList = [...res.data.final_review,];
this.reviewList = res.data.review;
}
}
@@ -2028,8 +2154,39 @@ getFinalList(){
.art_author_coment>p>font,.commentfs>font {
display: block;
margin: 15px 0 5px 0;
- color: #006699;
+ color: #333;
font-weight: bold;
letter-spacing: -0.5px;
}
+ .review_table {
+ width: 100%;
+ background-color: #fff;
+ /* margin-top: 10px; */
+ border-collapse: collapse; /* 合并表格边框 */
+}
+
+.review_table th,
+td {
+ padding: 6px;
+ min-width: 70px;
+ border: 1px solid #ddd;
+
+ text-align: left;
+}
+
+.review_table th {
+ font-size: 14px;
+ background-color: #f0f0f0;
+}
+.review_table td {
+ font-size: 14px;
+ /* background-color: #f0f0f0; */
+}
+
+.review_table tr:hover {
+ /* background-color: #fff; */
+}
+.overflow-x-auto {
+ overflow-x: auto;
+}
diff --git a/src/components/page/edit_per_text_yq.vue b/src/components/page/edit_per_text_yq.vue
index 2e0a410..6da64f5 100644
--- a/src/components/page/edit_per_text_yq.vue
+++ b/src/components/page/edit_per_text_yq.vue
@@ -31,7 +31,7 @@
-
+
@@ -47,6 +47,46 @@
Decline final review
+