Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -42,8 +42,8 @@ module.exports = { | ... | @@ -42,8 +42,8 @@ module.exports = { |
| 42 | /** | 42 | /** |
| 43 | * logout | 43 | * logout |
| 44 | */ | 44 | */ |
| 45 | - logoutURL: 'https://test-myapps.secure.fedex.com/L2/iMAC/',//uat | 45 | + loginURL: 'https://test-myapps.secure.fedex.com/L2/iMAC/', |
| 46 | - // logoutURL: 'https://myapps.secure.fedex.com/iMAC/',//生产 | 46 | + logoutURL: 'https://test-myapps.secure.fedex.com/logout/', |
| 47 | 47 | ||
| 48 | /** | 48 | /** |
| 49 | * 后端接口 | 49 | * 后端接口 | ... | ... |
| ... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
| 44 | <el-row class="card2"> | 44 | <el-row class="card2"> |
| 45 | <el-col :span="1" v-for="item in fltBox"> | 45 | <el-col :span="1" v-for="item in fltBox"> |
| 46 | <div class="fltBox" @click="rowClick({ fltNo: item.fltNo, fltDate: item.fltDate, route: '' })" | 46 | <div class="fltBox" @click="rowClick({ fltNo: item.fltNo, fltDate: item.fltDate, route: '' })" |
| 47 | - :style="{ backgroundColor: (item.percentage * 100).toFixed(2) >= 100 ? '#13ce66' : (item.percentage * 100).toFixed(2) >= 75 ? '#ffba00' : '#ff4949' }"> | 47 | + :style="{ backgroundColor: (item.percentage * 100).toFixed(2) >= 90 ? '#13ce66' : (item.percentage * 100).toFixed(2) >= 75 ? '#ffba00' : '#ff4949' }"> |
| 48 | <div class="fltName">{{ item.fltNo }}</div> | 48 | <div class="fltName">{{ item.fltNo }}</div> |
| 49 | <div class="fltWeight">{{ (item.percentage == 0 ? 0 : ((item.percentage) * 100).toFixed(2)) + '%' }} | 49 | <div class="fltWeight">{{ (item.percentage == 0 ? 0 : ((item.percentage) * 100).toFixed(2)) + '%' }} |
| 50 | </div> | 50 | </div> |
| ... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
| 59 | @currentChange="currentChange" @rowClick="rowClick"> | 59 | @currentChange="currentChange" @rowClick="rowClick"> |
| 60 | <template v-slot:percentage="scope"> | 60 | <template v-slot:percentage="scope"> |
| 61 | <el-progress stroke-width="100" | 61 | <el-progress stroke-width="100" |
| 62 | - :color="(scope.row.percentage * 100).toFixed(2) >= 100 ? '#13ce66' : (scope.row.percentage * 100).toFixed(2) >= 75 ? '#ffba00' : '#ff4949'" | 62 | + :color="(scope.row.percentage * 100).toFixed(2) >= 90 ? '#13ce66' : (scope.row.percentage * 100).toFixed(2) >= 75 ? '#ffba00' : '#ff4949'" |
| 63 | :stroke-width="18" | 63 | :stroke-width="18" |
| 64 | :percentage="scope.row.percentage == 0 ? 0 : Number((scope.row.percentage * 100).toFixed(2))"> | 64 | :percentage="scope.row.percentage == 0 ? 0 : Number((scope.row.percentage * 100).toFixed(2))"> |
| 65 | </el-progress> | 65 | </el-progress> | ... | ... |
-
Please register or login to post a comment