Commit 930231ee authored by wangxl's avatar wangxl

333

parent aa39946c
<template> <template>
<div class="app-content"> <div class="app-content">
<a-form :form="form" :model="searchForm" layout="inline" class="search_form"> <a-form :form="form" :model="searchForm" layout="inline" class="search_form">
<a-form-item style="min-height:36px"> <!-- <a-form-item style="min-height:36px">
<unit-tree-select v-model="searchForm.treeCode" :unitType="2" /> <unit-tree-select v-model="searchForm.treeCode" :unitType="2" />
</a-form-item> </a-form-item> -->
<br />
<a-form-item> <a-form-item>
<a-input placeholder="申报单位" v-model="searchForm.appUnitName" :maxLength="100" style="width: 150px" /> <a-input placeholder="申报单位" v-model="searchForm.appUnitName" :maxLength="100" style="width: 150px" />
</a-form-item> </a-form-item>
...@@ -62,6 +61,9 @@ ...@@ -62,6 +61,9 @@
<a-tag :color="'#2db7f5'" v-if="obj.evaluationType==2">B类(建议修改)</a-tag> <a-tag :color="'#2db7f5'" v-if="obj.evaluationType==2">B类(建议修改)</a-tag>
<a-tag :color="'#f50'" v-if="obj.evaluationType==3">C类(不通过)</a-tag> <a-tag :color="'#f50'" v-if="obj.evaluationType==3">C类(不通过)</a-tag>
</template> </template>
<template slot="option" slot-scope="obj">
<a-button type="link" size="small" @click="recordClick(obj,'eView')">查看</a-button>
</template>
</a-table> </a-table>
</p> </p>
</a-table> </a-table>
...@@ -78,6 +80,9 @@ ...@@ -78,6 +80,9 @@
<a-modal v-model="taskFileInfoView" title="查看项目任务书" :width="'60%'" :maskClosable="false" :footer="null" destroyOnClose class="sc_modal"> <a-modal v-model="taskFileInfoView" title="查看项目任务书" :width="'60%'" :maskClosable="false" :footer="null" destroyOnClose class="sc_modal">
<task-file-info v-model="ProjId" @close="() => this.taskFileInfoView = false" /> <task-file-info v-model="ProjId" @close="() => this.taskFileInfoView = false" />
</a-modal> </a-modal>
<a-modal v-model="visibleEvaluationView" title="专家评分" width="90%" :dialog-style="{ top: '8%' }" :footer="null" destroyOnClose>
<score-view v-model="assignId" @close="() => this.visibleEvaluationView = false" />
</a-modal>
</div> </div>
</template> </template>
...@@ -91,11 +96,12 @@ import audit from '@/views/audit/project/audit' ...@@ -91,11 +96,12 @@ import audit from '@/views/audit/project/audit'
import projectView from '@/views/report/project/components/projectView' import projectView from '@/views/report/project/components/projectView'
import unitTreeSelect from '@/views/components/common/unitTreeSelect' import unitTreeSelect from '@/views/components/common/unitTreeSelect'
import taskFileInfo from '@/views/report/task/components/taskFileInfo' import taskFileInfo from '@/views/report/task/components/taskFileInfo'
import scoreView from '@/views/evaluation/components/scoreView'
export default { export default {
name: "projectFinal", name: "projectFinal",
components: { components: {
projectView, paraSelect, audit, unitTreeSelect, projectAssignDetail, taskFileInfo projectView, paraSelect, audit, unitTreeSelect, projectAssignDetail, taskFileInfo, scoreView
}, },
data () { data () {
return { return {
...@@ -150,6 +156,7 @@ export default { ...@@ -150,6 +156,7 @@ export default {
{ title: "评审意见", dataIndex: "remark", align: 'center' }, { title: "评审意见", dataIndex: "remark", align: 'center' },
{ title: '评分', dataIndex: 'totalScore', align: 'center' }, { title: '评分', dataIndex: 'totalScore', align: 'center' },
{ title: '评审结果', scopedSlots: { customRender: 'evaluationType' }, align: 'center' }, { title: '评审结果', scopedSlots: { customRender: 'evaluationType' }, align: 'center' },
{ title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: 120, },
], ],
excelCol: [ excelCol: [
{ title: "项目名称", scopedSlots: { customRender: 'projName' } }, { title: "项目名称", scopedSlots: { customRender: 'projName' } },
...@@ -177,9 +184,11 @@ export default { ...@@ -177,9 +184,11 @@ export default {
// 弹窗标志 // 弹窗标志
visibleAudit: false, visibleAudit: false,
visibleView: false, visibleView: false,
visibleEvaluationView: false,
isButten: false, isButten: false,
description: '', description: '',
id: null, id: null,
assignId: null,
objectId: null, objectId: null,
taskFileInfoView: false, taskFileInfoView: false,
ProjId: null, ProjId: null,
...@@ -287,6 +296,9 @@ export default { ...@@ -287,6 +296,9 @@ export default {
} else if (type === 'viewProjectTask') { } else if (type === 'viewProjectTask') {
this.ProjId = record.auditObjectId this.ProjId = record.auditObjectId
this.taskFileInfoView = true; this.taskFileInfoView = true;
} else if (type === 'eView') {
this.assignId = record.id
this.visibleEvaluationView = true
} }
}, },
callback (key) { callback (key) {
......
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