Browse Source

[完善]新增预案甄选列表页

master
邵佳豪 4 years ago
parent
commit
c5d9eaa53a
  1. 2
      src/app/app-routing.module.ts
  2. 10
      src/app/ui/similar-plans/similar-plans.component.html

2
src/app/app-routing.module.ts

@ -29,7 +29,7 @@ const routes: Routes = [
{path:'plan', component:planComponent}, //平面图
{path:'similarPlans', component:CollectionToolsComponent}, //预案甄选
{path:'planAssistance', component:PlanAssistanceComponent}, //预案赋能
// {path:'similarPlans', component:SimilarPlansComponent}, //预案甄选 表格
{path:'similarPlansList', component:SimilarPlansComponent}, //预案甄选 表格
];
@NgModule({

10
src/app/ui/similar-plans/similar-plans.component.html

@ -43,13 +43,21 @@
<td style="width:20%;">详情</td>
</thead>
<tbody id="shujubody" >
<tr>
<td style="color: #FFFFFF;">贵港油库</td>
<td style="color: #FFFFFF;">2004-10-04</td>
<td style="color: #FFFFFF;">柴油</td>
<td style="color: #FFFFFF;">3#储罐</td>
<td class="tdyanse78">80%</td>
<td style="color: #CC5D13;cursor: pointer;" (click)="openDeatails()">查看详情</td>
</tr>
<tr *ngFor="let leisi of leisiYuan">
<td style="color: #FFFFFF;">{{leisi.danweiName}}</td>
<td style="color: #FFFFFF;">{{leisi.year}}</td>
<td style="color: #FFFFFF;">{{leisi.zhoahuo}}</td>
<td style="color: #FFFFFF;">{{leisi.weizhi}}</td>
<td [ngClass]="{'tdyanse56':leisi.xiangjin>=50&&leisi.xiangjin<=60,'tdyanse78':leisi.xiangjin>60,'tdyanse':leisi.xiangjin<50}">{{leisi.xiangjin}}%</td>
<td style="color: #CC5D13;cursor: pointer;" (click)="openDeatails()">查看详情</td>
<td style="color: #CC5D13;cursor: pointer;">查看详情</td>
</tr>
</tbody>
</table>

Loading…
Cancel
Save