Commit b8fcbd6a authored by wangxl's avatar wangxl
parents ccc7f9f6 ce5a9b10
...@@ -340,7 +340,7 @@ export default { ...@@ -340,7 +340,7 @@ export default {
this.loading = false this.loading = false
}).catch(() => { this.loading = false }) }).catch(() => { this.loading = false })
} else { } else {
this.$message.warn('请填写信息后再保存!') this.$message.warn('请至少填写评审意见后再保存!')
} }
}, },
checkInfo () { checkInfo () {
...@@ -406,4 +406,3 @@ export default { ...@@ -406,4 +406,3 @@ export default {
} }
} }
</style> </style>
ant-tabs
\ No newline at end of file
...@@ -274,6 +274,7 @@ td { ...@@ -274,6 +274,7 @@ td {
text-align: left; text-align: left;
line-height: 25px; line-height: 25px;
height: 25px; height: 25px;
padding: 4px;
} }
.bg-title { .bg-title {
background-color: #f8fafc; background-color: #f8fafc;
......
This diff is collapsed.
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
<template slot="expertEvaluation" slot-scope="record"> <template slot="expertEvaluation" slot-scope="record">
<a-tag :color="evaluationColor(record)">{{evaluationText(record)}}</a-tag> <a-tag :color="evaluationColor(record)">{{evaluationText(record)}}</a-tag>
</template> </template>
<template slot="projClassInfo" slot-scope="record">
{{ record.projClass == 1 ? "一般项目" : "重点项目" }}
</template>
<template slot="option" slot-scope="record"> <template slot="option" slot-scope="record">
<a-button type="link" size="small" v-if="!!record.auditState && record.auditState == 2" @click="recordClick(record,'eView')">查看</a-button> <a-button type="link" size="small" v-if="!!record.auditState && record.auditState == 2" @click="recordClick(record,'eView')">查看</a-button>
<a-button type="link" size="small" v-if="isButten" @click="recordClick(record,'eva')">评分</a-button> <a-button type="link" size="small" v-if="isButten" @click="recordClick(record,'eva')">评分</a-button>
...@@ -71,8 +74,9 @@ export default { ...@@ -71,8 +74,9 @@ export default {
searchForm: { projName: null, appNo: null, assignYear: null, personId: null, projType: getType() }, searchForm: { projName: null, appNo: null, assignYear: null, personId: null, projType: getType() },
tableData: [], tableData: [],
columns: [ columns: [
{ title: "项目名称", scopedSlots: { customRender: 'projectName', colName: 'projName' }, align: 'left' },
{ title: '申请编号', dataIndex: 'appNo', align: 'center' }, { title: '申请编号', dataIndex: 'appNo', align: 'center' },
{ title: "项目名称", scopedSlots: { customRender: 'projectName', colName: 'projName' }, align: 'left' },
{ title: "项目类别", scopedSlots: { customRender: 'projClassInfo' }, align: 'center', width: 80 },
{ title: '评分', dataIndex: 'totalScore', align: 'center' }, { title: '评分', dataIndex: 'totalScore', align: 'center' },
{ title: '评审状态', scopedSlots: { customRender: 'expertEvaluation', colName: 'gradeScore' }, align: 'center' }, { title: '评审状态', scopedSlots: { customRender: 'expertEvaluation', colName: 'gradeScore' }, align: 'center' },
{ title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, }, { title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, },
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
<a-button type="primary" @click="onaAssignDetail">分配明细</a-button> <a-button type="primary" @click="onaAssignDetail">分配明细</a-button>
<a-button icon="download" type="primary" @click="exportEvaluationExcel">项目评审结果导出</a-button> <a-button icon="download" type="primary" @click="exportEvaluationExcel">项目评审结果导出</a-button>
<a-button icon="download" type="primary" @click="exportProjGroupScoreExcel">项目分组排名导出</a-button> <a-button icon="download" type="primary" @click="exportProjGroupScoreExcel">项目分组排名导出</a-button>
<a-tag :color="technology">{{ '技术专家' }}</a-tag>&nbsp;<a-tag :color="finance">{{ '财务专家' }}</a-tag>
</div> </div>
<a-table :dataSource="tableData2" :columns="columns2" rowKey="id" :pagination="false" :loading="loading" :row-selection="{ selectedRowKeys: projGroupSelectedRowKeys, onChange: onProjGroupSelectChange, type: selectType }" @expand="getInnerData" :expandedRowKeys="expandedRowKeys"> <a-table :dataSource="tableData2" :columns="columns2" rowKey="id" :pagination="false" :loading="loading" :row-selection="{ selectedRowKeys: projGroupSelectedRowKeys, onChange: onProjGroupSelectChange, type: selectType }" @expand="getInnerData" :expandedRowKeys="expandedRowKeys">
<template slot="groupName" slot-scope="record"> <template slot="groupName" slot-scope="record">
...@@ -46,7 +47,7 @@ ...@@ -46,7 +47,7 @@
</template> </template>
<template slot="assignInfo" slot-scope="record"> <template slot="assignInfo" slot-scope="record">
<a-tag v-if="!record.expertList||record.expertList.length===0" :color="'red'">未分配</a-tag> <a-tag v-if="!record.expertList||record.expertList.length===0" :color="'red'">未分配</a-tag>
<a-tag v-else v-for="data in record.expertList" :key="data.id" :color="'orange'" @click="evaluationView(data)">{{data.personName}}</a-tag> <a-tag v-else v-for="data in record.expertList" :key="data.id" :color="data.expertType == 1 ? technology : finance" @click="evaluationView(data)">{{data.personName}}</a-tag>
</template> </template>
<template slot="option" slot-scope="record"> <template slot="option" slot-scope="record">
<a-button type="link" size="small" @click="recordClick(record, 'edit')">修改</a-button> <a-button type="link" size="small" @click="recordClick(record, 'edit')">修改</a-button>
...@@ -159,7 +160,9 @@ export default { ...@@ -159,7 +160,9 @@ export default {
eTableData: [], eTableData: [],
eMergeList: [], eMergeList: [],
projectIntoGroupVisible: false, projectIntoGroupVisible: false,
projectIntoGroupTitle: null projectIntoGroupTitle: null,
technology: "#2db7f5",
finance: "#f50",
}; };
}, },
created () { created () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment