Commit 930231ee authored by wangxl's avatar wangxl

333

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