import {Component, OnInit} from '@angular/core';
import {WorkService} from '../../../work/work.service';
import {CommonService} from '../../../shared/common/common.service';

@Component({
    selector: 'smart-look-project',
    templateUrl: './look-project.component.html',
    styles: []
})
export class LookProjectComponent implements OnInit {

    isVisible = false;
    title;
    obj;

    constructor(private workSer: WorkService, private commonSer: CommonService) {
    }

    ngOnInit() {
    }

    showModal(data) {
        this.title = '运维项目：' + data.name;
        this.obj = data;
        this.isVisible = true;
    }

    handleEditCancel() {
        this.isVisible = false;
    }

    downLoad() {

    }

}
