-
-
-
+
+
+
@@ -77,7 +77,7 @@
{
for (let i = 0; i < response.data.result.length; i++) {
- response.data.result[i].考核状态 = parseInt(response.data.result[i].考核状态) - 2
- if (response.data.result[i].传递时间 !== undefined || response.data.result[i].hasOwnProperty('传递时间')) {
- response.data.result[i].传递时间 = response.data.result[i].传递时间.split(' ', 2)[0]
+ if (response.data.result[i].考核状态 === 3) {
+ response.data.result[i].考核状态 = 1
+ } else if (response.data.result[i].考核状态 === 4) {
+ response.data.result[i].考核状态 = 2
+ } else if (response.data.result[i].考核状态 === 5) {
+ response.data.result[i].考核状态 = 2
+ } else if (response.data.result[i].考核状态 === 6) {
+ response.data.result[i].考核状态 = 3
+ } else if (response.data.result[i].考核状态 === 7) {
+ response.data.result[i].考核状态 = 4
+ } else if (response.data.result[i].考核状态 === 8) {
+ response.data.result[i].考核状态 = 5
}
}
this.loading0 = false