项目工程管理-联调
This commit is contained in:
parent
c8ec2b4f3f
commit
db877733c8
|
|
@ -4,10 +4,10 @@
|
|||
<el-descriptions :column="2" border :labelStyle="{ width: '120px' }">
|
||||
<el-descriptions-item label="项目名称">{{ formData.projectName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="业主单位">{{ formData.ownerUnit }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目地址">{{ formData.projectAddress }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目地址">{{ formData.address }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目金额(万元)">{{ formData.projectAmount }}</el-descriptions-item>
|
||||
<el-descriptions-item label="计划开工日期">{{ formData.planStartDate }}</el-descriptions-item>
|
||||
<el-descriptions-item label="计划竣工日期">{{ formData.planEndDate }}</el-descriptions-item>
|
||||
<el-descriptions-item label="计划开工日期">{{ formData.planStartTime }}</el-descriptions-item>
|
||||
<el-descriptions-item label="计划竣工日期">{{ formData.planEndTime }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目负责人">{{ formData.projectManager }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目规模">{{ formData.projectScale }}</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
|
@ -15,6 +15,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getDetailById } from '@/api/project-manage/index.js'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
row: {
|
||||
|
|
@ -27,10 +29,10 @@ export default {
|
|||
formData: {
|
||||
projectName: '', // 项目名称
|
||||
ownerUnit: '', // 业主单位
|
||||
projectAddress: '', // 项目地址
|
||||
address: '', // 项目地址
|
||||
projectAmount: '', // 项目金额(万元)
|
||||
planStartDate: '', // 计划开工日期
|
||||
planEndDate: '', // 计划竣工日期
|
||||
planStartTime: '', // 计划开工日期
|
||||
planEndTime: '', // 计划竣工日期
|
||||
projectManager: '', // 项目负责人
|
||||
projectScale: '', // 项目规模
|
||||
},
|
||||
|
|
@ -38,6 +40,7 @@ export default {
|
|||
},
|
||||
created() {
|
||||
console.log('🚀 ~ created ~ row:', this.row)
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
// 获取数据
|
||||
|
|
@ -46,7 +49,8 @@ export default {
|
|||
projectId: this.row.projectId,
|
||||
}
|
||||
try {
|
||||
// const res = await
|
||||
const res = await getDetailById(params)
|
||||
this.formData = res.data
|
||||
} catch (error) {
|
||||
console.error('获取数据失败:', error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue