|
|
|
@ -5,7 +5,57 @@
|
|
|
|
|
<section>
|
|
|
|
|
<el-table v-loading="loading" border class="tabTwo-table" :data="tableData" :row-class-name="tableRowClassName" :max-height="tabHeader">
|
|
|
|
|
<el-table-column type="index" width="55" label="序号"/>
|
|
|
|
|
<el-table-column label="年份" prop="projectYear" />
|
|
|
|
|
<el-table-column label="项目名称" prop="projectName" />
|
|
|
|
|
<el-table-column label="项目分类" prop="projectClassify">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag :options="dict.type.jjh_project_type" :value="scope.row.projectClassify"/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="状态" prop="status" class-name="table-status">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<p class="statusisZero" v-if="scope.row.status === 0">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>待填报</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisThree" v-if="scope.row.status === 1">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>初审中</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisThree" v-if="scope.row.status === 2">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>复审中</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisTwo" v-if="scope.row.status === 3">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>终审中</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisOne" v-if="scope.row.status === 5">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>评审通过</span>
|
|
|
|
|
</p>
|
|
|
|
|
<!-- <p class="statusisNine" v-if="scope.row.status === 6">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>上级评审不通过</span>
|
|
|
|
|
</p> -->
|
|
|
|
|
<p class="statusisNine" v-if="scope.row.status === 7">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>复审不通过</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisThree" v-if="scope.row.status === 8">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>初审不通过</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisNine" v-if="scope.row.status === 9">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>终审不通过</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="statusisNine" v-if="scope.row.status === 10">
|
|
|
|
|
<span></span>
|
|
|
|
|
<span>初审驳回</span>
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" prop="userId" class-name="table-operation">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span class="look-info" @click="goInfo(scope.row)">查看详情</span>
|
|
|
|
@ -30,6 +80,7 @@ import { jProject } from "@/api/jin_ji_hu/project/index"
|
|
|
|
|
export default {
|
|
|
|
|
components:{myPagination},
|
|
|
|
|
name:"tabThree",
|
|
|
|
|
dicts: ['jjh_project_type', 'bms_approval_status'],
|
|
|
|
|
props:{
|
|
|
|
|
creditCode:{
|
|
|
|
|
type:String,
|
|
|
|
@ -45,7 +96,7 @@ export default {
|
|
|
|
|
pagination: {
|
|
|
|
|
current:1,
|
|
|
|
|
size:10,
|
|
|
|
|
creditCode: this.creditCode,
|
|
|
|
|
creditCode: this.creditCode || this.$store.state.user.name,
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -75,8 +126,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
goInfo(row){
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'Project',
|
|
|
|
|
params: { projectName: row.projectName }
|
|
|
|
|
name: 'projectInfo',
|
|
|
|
|
query: { userId: row.id }
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 修改table背景色
|
|
|
|
|