Commit 0b32561d authored by wangxl's avatar wangxl

22

parent 66881409
This diff is collapsed.
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<a-divider style="height: 1px; background-color: #e8e8e8;" /> <a-divider style="height: 1px; background-color: #e8e8e8;" />
<div class="submit-btn"> <div class="submit-btn">
<a-button type="primary" @click="exportData" icon="download">Excel</a-button> <a-button type="primary" @click="exportData" icon="download">Excel</a-button>
<a-button type="primary" @click="scoreClick" icon="download">评分</a-button>
</div> </div>
<a-table :dataSource="tableData" :columns="columns" :scroll="{ x: 'max-content' }" rowKey="id" :pagination="false" :loading="loading"> <a-table :dataSource="tableData" :columns="columns" :scroll="{ x: 'max-content' }" rowKey="id" :pagination="false" :loading="loading">
<template slot="projName" slot-scope="record"> <template slot="projName" slot-scope="record">
...@@ -39,6 +40,9 @@ ...@@ -39,6 +40,9 @@
<a-modal v-model="visibleView" v-if="visibleView" title="项目详情" width="94%" :footer="null" :dialog-style="{ top: '8%' }" destroyOnClose :maskClosable="false"> <a-modal v-model="visibleView" v-if="visibleView" title="项目详情" width="94%" :footer="null" :dialog-style="{ top: '8%' }" destroyOnClose :maskClosable="false">
<project-view v-model="id" @close="closeWindow"></project-view> <project-view v-model="id" @close="closeWindow"></project-view>
</a-modal> </a-modal>
<a-modal v-model="visibleScore" v-if="visibleScore" title="评分" width="94%" :footer="null" :dialog-style="{ top: '8%' }" destroyOnClose :maskClosable="false">
<score-edit />
</a-modal>
</div> </div>
</template> </template>
...@@ -47,13 +51,15 @@ import { getType } from '@/views/utils/auth' ...@@ -47,13 +51,15 @@ import { getType } from '@/views/utils/auth'
import moment from 'moment' import moment from 'moment'
import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common"; import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common";
import projectView from '@/views/report/project/components/projectView' import projectView from '@/views/report/project/components/projectView'
import scoreEdit from '@/views/evaluation/components/scoreEdit'
import paraSelect from '@/views/components/common/paraSelect' import paraSelect from '@/views/components/common/paraSelect'
import baseSelect from '@/views/components/common/baseSelect' import baseSelect from '@/views/components/common/baseSelect'
export default { export default {
name: 'queryProject', name: 'queryProject',
components: { components: {
projectView, projectView, scoreEdit, paraSelect, baseSelect
projectEdit, paraSelect, baseSelect
}, },
data () { data () {
return { return {
...@@ -77,6 +83,7 @@ export default { ...@@ -77,6 +83,7 @@ export default {
loading: false, loading: false,
// 弹窗标志 // 弹窗标志
visibleView: false, visibleView: false,
visibleScore: false,
id: null, id: null,
loadState: false loadState: false
} }
...@@ -84,6 +91,9 @@ export default { ...@@ -84,6 +91,9 @@ export default {
created () { created () {
}, },
methods: { methods: {
scoreClick () {
this.visibleScore = true
},
search () { search () {
this.pagination.pageIndex = 1 this.pagination.pageIndex = 1
this.getListByPage() this.getListByPage()
......
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