<template>
    <div class="projectInfo">
        <el-row :gutter="24">
            <el-col :span="8">
                <div class="leftInfoBox">
                    <div class="titleBox">
                        {{projectName}}
                    </div>
                    <el-divider content-position="left">项目描述</el-divider>
                    <div class="desBox">
                        {{des}}
                    </div>
                    <el-divider content-position="left">对接人信息</el-divider>
                    <div class="joinBox">
                        <div class="partyAInfo">
                            <div class="partyATitle">甲方：</div>
                            <div class="partyAData">{{joinPeopleName}}</div>
                       </div>
                       <div class="jointInfo">
                            <div class="joinTitle">对接人：</div>
                            <div class="joinData">{{joinPeopleName}}</div>
                       </div>
                    </div>
                    <el-divider content-position="left">进度</el-divider>
                    <div class="scheduleBox">
                        <div class="scheduleTimelineBox">
                             <el-timeline>
                                <el-timeline-item
                                v-for="(activity, index) in activities"
                                :key="index"
                                :icon="activity.icon"
                                :type="activity.type"
                                :color="activity.color"
                                :size="activity.size"
                                :timestamp="activity.timestamp">
                                {{activity.content}}
                                </el-timeline-item>
                            </el-timeline>
                        </div>
                       
                    </div>
                </div>
            </el-col>
            <el-col :span="16">
                <div class="centerInfoBox">
                    <div class="projectFeedbackTable">
                        <el-table :data="feedbackList" height="350">
                            <el-table-column prop="initiateUserName" align="center" width="80" label="发起人">
                            </el-table-column>
                            <el-table-column prop="initiateUserTime" align="center" width="180" label="发起时间">
                            </el-table-column>
                            <el-table-column prop="targetUserName" align="center" width="120" label="指派人">
                            </el-table-column>
                            <el-table-column prop="type" align="center" width="50" label="类型">
                            </el-table-column>
                            <el-table-column prop="des" align="center" label="描述">
                            </el-table-column>
                        </el-table>
                    </div>
                    <el-divider content-position="left">编辑反馈</el-divider>
                    <div class="projectFeedbackAddBox">
                        <div class="projectFeedbackInputBox">
                            <el-input resize="none" type="textarea" :rows="4" placeholder="请输入内容" v-model="addFeedbackInfo.des">
                            </el-input>
                        </div>
                        <el-form ref="form" label-width="80px">
                            <el-form-item label="指派人">
                                <el-select size="mini" v-model="addFeedbackInfo.targetList" multiple collapse-tags style="margin-left: 20px;" placeholder="请选择">
                                    <el-option v-for="item in peopleList" :key="item.value" :label="item.label" :value="item.value">
                                    </el-option>
                                </el-select>
                            </el-form-item>
                             <el-form-item label="反馈类型">
                                 <el-radio-group v-model="addFeedbackInfo.type">
                                    <el-radio :label="1">修改</el-radio>
                                    <el-radio :label="2">投诉</el-radio>
                                    <el-radio :label="3">一般</el-radio>
                                </el-radio-group>
                            </el-form-item>
                        </el-form>
                        <div class="projectFeedbackSubmitBox">
                            <el-button size="mini" round>添加反馈</el-button>
                        </div>
                    </div>
                </div>
            </el-col>
        </el-row>
    </div>
</template>

<script>
export default {
    data() {
        return {
            projectName:"体育学院",
            pageUrlStr:"",
            createTime:"",
            des:"这是一段文字描述**************************************这是一段项目描述",
            nodeList:[],
            joinPeopleName:"张三",
            partyA:"测试的甲方名称",

            feedbackList:[{
                initiateUserName:"张三",
                initiateUserTime:"2011-08-00 00:00:00",
                targetUserName:"李四",
                type:"紧急",
                des:"这是一段描述xxxxxxxxxxxxxxxxxxxx描述"
            }],

            addFeedbackInfo:{//添加反馈
                des:"",
                targetList:[],
                type:1,
            },
            activities: [
                {
                    content: '尾款',
                    timestamp: '2018-04-12 20:46',
                    size: 'large',
                    type: 'primary'
                }, 
                {
                    content: '验收',
                    timestamp: '2018-04-03 20:46',
                    color: '#0bbd87'
                }, {
                    content: '测试',
                    timestamp: '2018-04-03 20:46',
                    size: 'large',
                    color: '#0bbd87'
                }, 
                {
                    content: '开发',
                    timestamp: '2018-04-03 20:46',
                     color: '#0bbd87',
                    size: 'large'
                }, 
                {
                    content: '设计稿',
                    timestamp: '2018-04-03 20:46',
                     color: '#0bbd87',
                    size: 'large'
                }, {
                    content: '立项',
                    timestamp: '2018-04-03 20:46',
                    color: '#0bbd87',
                    size: 'large'
                }],
            //员工
            peopleList:[{label:"张三", value:"zs"},{label:"李四", value:"ls"},{label:"王五", value:"ww"},{label:"赵六", value:"zl"}]

        }
    },
    methods:{
        
    }
}
</script>

<style>

.projectInfo {
    width: 100%;
    height: 700px;
}
.projectInfo .el-divider__text {
    border-radius: 10px;
    font-size: 15px !important;
}
.projectInfo .el-divider--horizontal {
    left: 15px;
    width: 90% !important;
}
/*  左边*/
.projectInfo .leftInfoBox {
    width: 100%;
    height: 700px;
     background-color: rgb(255 255 255 / 15%);
    border-radius: 15px;
    box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.699);
}
.projectInfo .leftInfoBox .titleBox {
    width: 100%;
    height: 40px;
    text-align: center;
    font:'黑体';
    font-weight: bold;
    font-size: 25px;
    color: rgb(255, 255, 255);
}
.projectInfo .leftInfoBox .desBox {
    width: 90%;
    margin: auto;
    height: 120px;
    font:'黑体';
    font-size: 18px;
    color: rgb(255, 255, 255);
}
.projectInfo .leftInfoBox .joinBox {
    width: 100%;
    height: 50px;
    font:'黑体';
    font-size: 18px;
    margin-left: 20px;
    color: rgb(255, 255, 255);
}
.projectInfo .leftInfoBox .scheduleBox{
    width: 100%;
    height: 350px;
}
.projectInfo .leftInfoBox .scheduleBox .scheduleTimelineBox {
    width: 75%;
    height: 300px;
    margin: auto;
    margin-top: 10px;
}
.projectInfo .leftInfoBox .scheduleBox .scheduleTimelineBox .el-timeline {
    overflow: auto;
    height: 300px;
    
}
.projectInfo .leftInfoBox .scheduleBox .scheduleTimelineBox ::-webkit-scrollbar{
    display: none;
}

.scheduleTimelineBox .el-timeline-item {
    left: 10px;
}
.scheduleTimelineBox .el-timeline-item__content {
    color: rgb(255, 255, 255);
}
.scheduleTimelineBox .el-timeline-item__timestamp {
    color: rgb(184, 250, 178);
}

.projectInfo .leftInfoBox .joinBox .jointInfo {
    width: 50%;
    height: 50px;
    display: inline-block;
}

.projectInfo .leftInfoBox .joinBox .joinTitle {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}
.projectInfo .leftInfoBox .joinBox .joinData {
    font-size: 20px;
    display: inline-block;
}
.projectInfo .leftInfoBox .joinBox .partyAInfo {
    width: 40%;
    height: 50px;
    display: inline-block;
}
.projectInfo .leftInfoBox .joinBox .partyATitle {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

.projectInfo .leftInfoBox .joinBox .partyAData {
    font-size: 20px;
    display: inline-block;
}

/* 中间 */
.projectInfo .centerInfoBox {
    width: 100%;
    height: 700px;
    background-color: rgb(255 255 255 / 15%);
    border-radius: 15px;
    box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.699);
}


.projectInfo .centerInfoBox.projectFeedbackTable {
    width: 66%;
    box-shadow: 0 2px 12px 0 rgba(252, 252, 252, 0.144);
    background-color: rgb(141, 141, 141);
    border-radius: 6px;
}
/*最外层透明*/
.projectInfo .centerInfoBox .projectFeedbackTable .el-table, .el-table__expanded-cell{
   background-color: transparent;
}
/* 表格内背景颜色 */
.projectInfo .centerInfoBox .projectFeedbackTable .el-table th, .el-table tr, .el-table td {
   background-color: transparent;
   color: aliceblue;
}
.projectInfo .centerInfoBox .projectFeedbackTable .el-table--enable-row-hover .el-table__body tr:hover>td {
    background-color: rgba(247, 247, 247, 0.205);
}

/* 中间问题编辑 */
.projectFeedbackAddBox {
    width: 100%;
    height: 120px;
}
.projectFeedbackAddBox .el-form-item__label{
    color: rgb(255, 255, 255);
}
.projectFeedbackAddBox .el-radio{
    color: aliceblue;
}
.projectFeedbackAddBox .el-button {
    background: rgba(247, 247, 247, 0.5);
}
.projectFeedbackInputBox {
    width: 95%;
    height: 120px;
    margin: auto;
}
.projectFeedbackInputBox .el-textarea__inner {
    background-color: rgba(119, 119, 119, 0.671);
    color: rgb(255, 255, 255);
}
.projectFeedbackSubmitBox {
    width: 95%;
    height: 40px;
    text-align: right;
}

/* .projectFeedbackTargetSelectBox {
    width: 100%;
}

.projectFeedbackTargetSelectBox .titleBox {
    color: rgb(255, 255, 255);
    font-size: 16px;
    display: inline-block;
}
.projectFeedbackTargetSelectBox .selectBox {
    width: 200px;
    height: 30px;
    display: inline-block;
} */

/* 右边 */
.projectInfo .rightInfoBox {
   width: 100%;
    height: 700px;
     background: rgba(255, 255, 255, 0.349);
    border-radius: 15px;
    box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.699);
}
</style>