108 lines
3.5 KiB
Vue
108 lines
3.5 KiB
Vue
<template>
|
|
<div class="panoramaPlan">
|
|
<div class="table-box">
|
|
<el-table class="tables" :data="tableData">
|
|
<!-- 标段名称 -->
|
|
<el-table-column prop="projectfName" :label="$t('message.projectInfo.sectionName')"></el-table-column>
|
|
<!-- 版本类型 -->
|
|
<el-table-column prop="versionType" :label="$t('message.projectInfo.versionType')"></el-table-column>
|
|
<!-- 版本 -->
|
|
<el-table-column prop="planVersion" :label="$t('message.projectInfo.version')"></el-table-column>
|
|
<!-- 项目身份证 -->
|
|
<el-table-column prop="pbnum" :label="$t('message.projectInfo.projectIDNumber')"></el-table-column>
|
|
<!-- 项目分期身份证 -->
|
|
<el-table-column prop="opnum" :label="$t('message.projectInfo.projectByStagesIDNumber')"></el-table-column>
|
|
<!-- 是否失效 -->
|
|
<el-table-column prop="isDeleted" :label="$t('message.projectInfo.isLoseEfficacy')">
|
|
<template slot-scope="scope">
|
|
{{scope.row.isDeleted == 0?$t('message.projectInfo.valid'):$t('message.projectInfo.invalid') }}
|
|
</template>
|
|
</el-table-column>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
selectProgressPlanBidSectionListApi
|
|
} from "@/assets/js/api/dataBoard.js"
|
|
import moment from "moment";
|
|
export default {
|
|
data(){
|
|
return{
|
|
projectSn: "",
|
|
tableData:[],
|
|
}
|
|
},
|
|
created(){
|
|
this.projectSn = this.$store.state.projectSn;
|
|
this.selectProgressPlanBidSectionList()
|
|
},
|
|
methods:{
|
|
selectProgressPlanBidSectionList(){
|
|
selectProgressPlanBidSectionListApi({projectSn: this.$store.state.projectSn}).then( res => {
|
|
this.tableData = res.result
|
|
console.log(res.result);//projectfName
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.panoramaPlan{
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #fff;
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
.header-box{
|
|
margin-bottom: 20px;
|
|
padding-left: 10px;
|
|
.search-item{
|
|
display: inline-flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
margin-right: 20px;
|
|
/deep/.el-input{
|
|
width: 200px;
|
|
}
|
|
}
|
|
}
|
|
.delete-btn{
|
|
color: #F56C6C;
|
|
}
|
|
.dialogFormBox{
|
|
width: 100%;
|
|
padding: 0 30px;
|
|
box-sizing: border-box;
|
|
/deep/.el-form-item{
|
|
display: inline-block;
|
|
width: 50%;
|
|
.el-select{
|
|
width: 260px !important;
|
|
}
|
|
.el-date-picker{
|
|
width: 260px !important;
|
|
}
|
|
.el-cascader{
|
|
width: 260px !important;
|
|
}
|
|
.el-input{
|
|
width: 260px !important;
|
|
}
|
|
}
|
|
}
|
|
.dialog-content{
|
|
/*height: 360px;*/
|
|
margin-bottom: 60px;
|
|
}
|
|
.dialog-btn{
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
}
|
|
</style>
|