陈鹏飞 4 years ago
parent
commit
8dbd776b0e
  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:'plan', component:planComponent}, //平面图
{path:'similarPlans', component:CollectionToolsComponent}, //预案甄选 {path:'similarPlans', component:CollectionToolsComponent}, //预案甄选
{path:'planAssistance', component:PlanAssistanceComponent}, //预案赋能 {path:'planAssistance', component:PlanAssistanceComponent}, //预案赋能
// {path:'similarPlans', component:SimilarPlansComponent}, //预案甄选 表格 {path:'similarPlansList', component:SimilarPlansComponent}, //预案甄选 表格
]; ];
@NgModule({ @NgModule({

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

@ -43,13 +43,21 @@
<td style="width:20%;">详情</td> <td style="width:20%;">详情</td>
</thead> </thead>
<tbody id="shujubody" > <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"> <tr *ngFor="let leisi of leisiYuan">
<td style="color: #FFFFFF;">{{leisi.danweiName}}</td> <td style="color: #FFFFFF;">{{leisi.danweiName}}</td>
<td style="color: #FFFFFF;">{{leisi.year}}</td> <td style="color: #FFFFFF;">{{leisi.year}}</td>
<td style="color: #FFFFFF;">{{leisi.zhoahuo}}</td> <td style="color: #FFFFFF;">{{leisi.zhoahuo}}</td>
<td style="color: #FFFFFF;">{{leisi.weizhi}}</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 [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> </tr>
</tbody> </tbody>
</table> </table>

Loading…
Cancel
Save