|
@@ -1,8 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="apply-form" v-loading="loading">
|
|
<div class="apply-form" v-loading="loading">
|
|
|
- <h3 class="page-title">科德集团</h3>
|
|
|
|
|
-
|
|
|
|
|
- <h3 class="page-title" style="margin-bottom: 10px;">{{ getDocTile }}</h3>
|
|
|
|
|
|
|
+ <h3 class="page-title" style="height: 60px; line-height: 60px; margin: 0;">{{ teantData.tenantName }}</h3>
|
|
|
|
|
+ <h3 class="page-title" style="margin: 5px 0 16px;">{{ getDocTile }}</h3>
|
|
|
<div class="project-basic-info">
|
|
<div class="project-basic-info">
|
|
|
<div class="info-row">{{ `研发项目名称:${ formData.xmmc || '' }` }}</div>
|
|
<div class="info-row">{{ `研发项目名称:${ formData.xmmc || '' }` }}</div>
|
|
|
<div class="info-row">{{ `项目负责人:${ getXmfzrName || '' }` }}</div>
|
|
<div class="info-row">{{ `项目负责人:${ getXmfzrName || '' }` }}</div>
|
|
@@ -204,6 +203,8 @@ import { add, update, getDetail } from "@/api/projectManage/projectList";
|
|
|
import moment from "moment";
|
|
import moment from "moment";
|
|
|
import { deepClone } from "@/util/util";
|
|
import { deepClone } from "@/util/util";
|
|
|
import Decimal from "decimal.js";
|
|
import Decimal from "decimal.js";
|
|
|
|
|
+import { mapGetters } from "vuex";
|
|
|
|
|
+import { getDetail as getTenantDetail } from '@/api/system/tenant';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
@@ -237,8 +238,10 @@ export default {
|
|
|
// 经济目标
|
|
// 经济目标
|
|
|
economicObjectivesList: [],
|
|
economicObjectivesList: [],
|
|
|
|
|
|
|
|
- xmsqdwName: ''
|
|
|
|
|
|
|
+ xmsqdwName: '',
|
|
|
|
|
|
|
|
|
|
+ // 租户信息
|
|
|
|
|
+ teantData: {}
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
@@ -261,6 +264,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
|
|
+ ...mapGetters(["userInfo"]),
|
|
|
isEdit() {
|
|
isEdit() {
|
|
|
return this.operateType == 'edit';
|
|
return this.operateType == 'edit';
|
|
|
},
|
|
},
|
|
@@ -374,6 +378,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
|
|
+ this.getTenantDetailFunc(this.userInfo.tenant_id);
|
|
|
this.getDictList("study_type", "studyTypeList");
|
|
this.getDictList("study_type", "studyTypeList");
|
|
|
this.getDictList("project_source", "projectSourceList");
|
|
this.getDictList("project_source", "projectSourceList");
|
|
|
this.getDictList("implementation_format", "implementFormatList");
|
|
this.getDictList("implementation_format", "implementFormatList");
|
|
@@ -384,6 +389,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // 获取租户详情信息
|
|
|
|
|
+ getTenantDetailFunc(tenantId) {
|
|
|
|
|
+ getTenantDetail(tenantId).then(({ data }) => {
|
|
|
|
|
+ if (data.code == 200) {
|
|
|
|
|
+ this.teantData = data.data;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
handleSecondUnitChange(val, nameArr) {
|
|
handleSecondUnitChange(val, nameArr) {
|
|
|
this.xmsqdwName = nameArr.join('/');
|
|
this.xmsqdwName = nameArr.join('/');
|
|
|
},
|
|
},
|