|
@@ -43,7 +43,7 @@
|
|
|
<th>企业所属行业</th>
|
|
|
<td>{{info.industry}}</td>
|
|
|
<th>国家自主创新示范区企业</th>
|
|
|
- <td>{{info.innovateFlag}}</td>
|
|
|
+ <td>{{innovateFlag}}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>技术分配人</th>
|
|
@@ -58,7 +58,7 @@
|
|
|
<table class="table_view">
|
|
|
<tr>
|
|
|
<th>是否跨年</th>
|
|
|
- <td>{{info.overYearFlag}}</td>
|
|
|
+ <td>{{overYearFlag}}</td>
|
|
|
<th>项目期限</th>
|
|
|
<td>{{info.projectTime}}</td>
|
|
|
</tr>
|
|
@@ -69,7 +69,7 @@
|
|
|
<table class="table_view">
|
|
|
<tr>
|
|
|
<th>是否科技型中小企业</th>
|
|
|
- <td>{{info.smallFlag}}</td>
|
|
|
+ <td>{{smallFlag}}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<h3 class="toolbar mt20">
|
|
@@ -78,7 +78,7 @@
|
|
|
<table class="table_view">
|
|
|
<tr>
|
|
|
<th>企业是否高新技术</th>
|
|
|
- <td>{{info.techFlag}}</td>
|
|
|
+ <td>{{techFlag}}</td>
|
|
|
<th>高新技术企业所属技术领域</th>
|
|
|
<td>{{info.techScope}}</td>
|
|
|
</tr>
|
|
@@ -94,6 +94,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { getProjectInfoCommonApi } from "@/api/enterprise/project/project"
|
|
|
+ import {getLabel,yesOrNoOptions} from '@/utils/dataFormat'
|
|
|
export default {
|
|
|
name: 'projectInfo',
|
|
|
data () {
|
|
@@ -112,6 +113,20 @@
|
|
|
this.getData()
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ innovateFlag() {
|
|
|
+ return getLabel(yesOrNoOptions, this.info.innovateFlag)
|
|
|
+ },
|
|
|
+ overYearFlag() {
|
|
|
+ return getLabel(yesOrNoOptions, this.info.overYearFlag)
|
|
|
+ },
|
|
|
+ smallFlag() {
|
|
|
+ return getLabel(yesOrNoOptions, this.info.smallFlag)
|
|
|
+ },
|
|
|
+ techFlag() {
|
|
|
+ return getLabel(yesOrNoOptions, this.info.techFlag)
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
getData() {
|
|
|
getProjectInfoCommonApi(this.id).then(res => {
|