Browse Source

1.添加测评条件判断

王鹏鹏 2 years ago
parent
commit
141a413a01

+ 1 - 1
home/src/main/java/com/yingyangfly/home/entity/ReviewTask.kt

@@ -2,5 +2,5 @@ package com.yingyangfly.home.entity
 
 class ReviewTask {
     var type: String = ""
-    var stasts: String = ""
+    var status: String = ""
 }

+ 1 - 1
home/src/main/java/com/yingyangfly/home/evaluation/EvaluationViewModel.kt

@@ -44,7 +44,7 @@ class EvaluationViewModel : BaseViewModel() {
     ) = launchFlow(true) {
         val requestBean = ReviewTask().apply {
             type = method
-            stasts = stast
+            status = stast
         }
         val body = XUtils.createJson(GsonUtil.GsonString(requestBean))
         HOME_API.getReviewTaskList(body)