|
|
|
@ -88,7 +88,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="capitalConditionTOP5-box">
|
|
|
|
|
<table-three :typeValue="typeValue" :yearsValue="yearsChange"></table-three>
|
|
|
|
|
<table-three :typeValue="typeValue" :yearsValue="yearsChange" :height="tabHeaderOne"></table-three>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pro-right-box">
|
|
|
|
@ -98,7 +98,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wancheng-project">
|
|
|
|
|
<section>
|
|
|
|
|
<el-table v-loading="loadingProject" :data="tableData" :height="tabHeader" border :header-cell-style="{background:'#E8F3FC'}">
|
|
|
|
|
<el-table v-loading="loadingProject" :data="tableData" :height="tabHeaderOne" border :header-cell-style="{background:'#E8F3FC'}">
|
|
|
|
|
<el-table-column label="项目名称" key="type" prop="type" align="center" width="180">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-name" @click="goProjectInfo(scope.row.id)"><dict-tag :options="dict.type.project_small_type" :value="scope.row.projectSmallType"/></div>
|
|
|
|
@ -127,7 +127,7 @@
|
|
|
|
|
<el-table v-loading="loadingTwo" :data="tableDataTWo" :height="tabHeaderTwo" border :header-cell-style="{background:'#E8F3FC'}">
|
|
|
|
|
<el-table-column label="项目名称" key="type" prop="type" align="center" width="180">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-name" @click="goProjectInfo(scope.row.id)"><dict-tag :options="dict.type.project_small_type" :value="scope.row.projectSmallType"/></div>
|
|
|
|
|
<div class="project-trace-table-name" @click="goProjectInfo(scope.row.id,1)"><dict-tag :options="dict.type.project_small_type" :value="scope.row.projectSmallType"/></div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="申报时间" key="createTime" prop="createTime" align="center" width="120">
|
|
|
|
@ -162,7 +162,7 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="备忘录类型" key="type" prop="type" align="center" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="project-trace-table-name" @click="goProjectInfo(scope.row.projectId)">{{ scope.row.type == 1 ? '企业备忘' : scope.row.type == 2 ? '项目备忘' : '' }}</div>
|
|
|
|
|
<div class="project-trace-table-name" @click="goProjectInfo(scope.row,2)">{{ scope.row.type == 1 ? '企业备忘' : scope.row.type == 2 ? '项目备忘' : '' }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
@ -365,7 +365,7 @@ export default {
|
|
|
|
|
yearsChange: 1,
|
|
|
|
|
typeValue: 2,
|
|
|
|
|
tableData:[],
|
|
|
|
|
tabHeader:null,
|
|
|
|
|
tabHeaderOne:null,
|
|
|
|
|
tableDataTWo:[],
|
|
|
|
|
tableDataThree:[],
|
|
|
|
|
tabHeaderTwo:null,
|
|
|
|
@ -418,11 +418,25 @@ export default {
|
|
|
|
|
this.loadingTwo = false;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
goProjectInfo(item){
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'projectInfo',
|
|
|
|
|
query: { userId: Number(item) }
|
|
|
|
|
})
|
|
|
|
|
goProjectInfo(item,id){
|
|
|
|
|
if(id == 1) {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'projectInfo',
|
|
|
|
|
query: { userId: Number(item) }
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
if(item.type == '1') {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'enterpriselibraryInfo',
|
|
|
|
|
query: { userId: Number(item.projectId) }
|
|
|
|
|
})
|
|
|
|
|
} else if(item.type == '2'){
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'projectInfo',
|
|
|
|
|
query: { userId: Number(item.projectId) }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 备忘录更新情况
|
|
|
|
|
getMemorandum(){
|
|
|
|
@ -585,7 +599,7 @@ export default {
|
|
|
|
|
const headerHeight = header.offsetHeight;
|
|
|
|
|
const elementHeightTwo = elementTwo.offsetHeight;
|
|
|
|
|
const headerHeightTwo = headerTwo.offsetHeight;
|
|
|
|
|
this.tabHeader = elementHeight - headerHeight - 23;
|
|
|
|
|
this.tabHeaderOne = elementHeight - headerHeight - 28;
|
|
|
|
|
this.tabHeaderTwo = elementHeightTwo - headerHeightTwo - 28;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|