Commit b6db74b3 authored by wangxl's avatar wangxl

3333

parent 93cc7362
...@@ -101,8 +101,8 @@ export default { ...@@ -101,8 +101,8 @@ export default {
}, },
getIsSelect () { getIsSelect () {
let arr = [] let arr = []
arr.push({ title: '是', key: '' }) arr.push({ title: '是', key: '1' })
arr.push({ title: '否', key: '' }) arr.push({ title: '否', key: '0' })
this.selectArray = arr this.selectArray = arr
this.loadValue() this.loadValue()
}, },
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<btn-group :data="tabDate" :itemCount="itemCount" v-model="activekey" @change="callback" /> <btn-group :data="tabDate" :itemCount="itemCount" v-model="activekey" @change="callback" />
</div> </div>
<div style="display: inline-block;;width:50%;text-align: right;"> <div style="display: inline-block;;width:50%;text-align: right;">
<a-button type="primary" @click="projectKPI" icon="download">绩效指标表</a-button>
<a-button type="primary" style="margin-right:8px;" v-if="(display && isButten)" @click="createProject">新建项目</a-button> <a-button type="primary" style="margin-right:8px;" v-if="(display && isButten)" @click="createProject">新建项目</a-button>
<a-button type="primary" @click="exportData" icon="download">Excel</a-button> <a-button type="primary" @click="exportData" icon="download">Excel</a-button>
</div> </div>
...@@ -122,6 +123,9 @@ ...@@ -122,6 +123,9 @@
<a-modal v-model="visibleFileView" title="查看" width="1000px" :dialog-style="{ top: '10%' }" :footer="null" destroyOnClose> <a-modal v-model="visibleFileView" title="查看" width="1000px" :dialog-style="{ top: '10%' }" :footer="null" destroyOnClose>
<preview-file v-model="realurl.downloadUrl" :fileName="realurl.fileName"></preview-file> <preview-file v-model="realurl.downloadUrl" :fileName="realurl.fileName"></preview-file>
</a-modal> </a-modal>
<a-modal v-model="projectKPIView" title="查看项目KPI" width="1000px" :dialog-style="{ top: '10%' }" :footer="null" destroyOnClose>
<project-kpi></project-kpi>
</a-modal>
</div> </div>
</template> </template>
...@@ -137,11 +141,12 @@ import projectEditKey from "@/views/report/project/components/keyProject/project ...@@ -137,11 +141,12 @@ import projectEditKey from "@/views/report/project/components/keyProject/project
import projectView from '@/views/report/project/components/projectView' import projectView from '@/views/report/project/components/projectView'
import previewFile from '@/views/components/common/previewFile' import previewFile from '@/views/components/common/previewFile'
import axios from 'axios' import axios from 'axios'
import projectKpi from '@/views/report/project/components/projectKPI'
export default { export default {
name: 'reportProject', name: 'reportProject',
components: { components: {
projectView, projectCreate, projectEdit, paraMultiSelect, paraSelect, previewFile, projectEditKey projectView, projectCreate, projectEdit, paraMultiSelect, paraSelect, previewFile, projectEditKey, projectKpi
}, },
data () { data () {
return { return {
...@@ -210,7 +215,8 @@ export default { ...@@ -210,7 +215,8 @@ export default {
fileName: '项目合同书模板.doc', fileName: '项目合同书模板.doc',
}, },
realurl: null, realurl: null,
visibleFileView: false visibleFileView: false,
projectKPIView: false,
} }
}, },
created () { created () {
...@@ -412,6 +418,9 @@ export default { ...@@ -412,6 +418,9 @@ export default {
this.visibleFileView = true this.visibleFileView = true
} }
}, },
projectKPI() {
this.projectKPIView = true
}
} }
} }
</script> </script>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<a-row> <a-row>
<a-col :span="24" style="border-top: 0px"> <a-col :span="24" style="border-top: 0px">
<div class="tb-title"> <div class="tb-title">
<span>项目申报单位</span> <span>项目基本情况</span>
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
......
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