Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-09-18 14:20:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1f7dc45888e49bd98650650abd9db126341d19a4
1f7dc458
1 parent
dff41081
modify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/index.vue
src/views/index.vue
View file @
1f7dc45
...
...
@@ -43,7 +43,7 @@
</el-form>
<el-row class="card2">
<el-col :span="1" v-for="item in fltBox" :key="item.fltNo">
<div class="fltBox" @click="rowClick({ fltNo: item.fltNo, fltDate: item.fltDate, route: '' })"
<div class="fltBox" @click="rowClick({ fltNo: item.fltNo, fltDate: item.fltDate
? item.fltDate : selectData.fltDate
, route: '' })"
:style="{ backgroundColor: (item.percentage * 100).toFixed(2) >= 90 ? '#13ce66' : (item.percentage * 100).toFixed(2) >= 75 ? '#ffba00' : '#ff4949' }">
<div class="fltName">{{ item.fltNo }}</div>
<div class="fltWeight">{{ (item.percentage == 0 ? 0 : ((item.percentage) * 100).toFixed(2)) + '%' }}
...
...
Please
register
or
login
to post a comment