0509新功能优化
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
class="-mb-15px"
|
||||
label-width="88px"
|
||||
>
|
||||
<el-form-item label="工程名称" prop="projectName">
|
||||
<el-form-item label="项目名称" prop="projectName">
|
||||
<el-input
|
||||
v-model="queryParams.projectName"
|
||||
class="!w-240px"
|
||||
clearable
|
||||
placeholder="请输入工程名称"
|
||||
placeholder="请输入项目名称"
|
||||
@keyup.enter="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
@@ -97,12 +97,18 @@
|
||||
highlight-current-row
|
||||
@current-change="handleCurrentProjectChange"
|
||||
>
|
||||
<el-table-column align="center" label="项目ID" prop="id" width="88" />
|
||||
<el-table-column align="center" label="工程名称" min-width="220" prop="projectName" />
|
||||
<el-table-column
|
||||
:index="getProjectRowIndex"
|
||||
align="center"
|
||||
label="序号"
|
||||
type="index"
|
||||
width="80"
|
||||
/>
|
||||
<el-table-column align="center" label="项目名称" min-width="220" prop="projectName" />
|
||||
<el-table-column align="center" label="项目经理" min-width="140" prop="projectManagerName" />
|
||||
<el-table-column
|
||||
align="center"
|
||||
label="项目负责人"
|
||||
label="工程负责人"
|
||||
min-width="140"
|
||||
prop="engineeringPrincipalName"
|
||||
/>
|
||||
@@ -124,6 +130,7 @@
|
||||
{{ formatDate(scope.row.createTime as any) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="排序" prop="sortNo" width="80" />
|
||||
<el-table-column align="center" fixed="right" label="操作" width="150">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@@ -160,7 +167,7 @@
|
||||
<div class="mt-4px text-13px text-[var(--el-text-color-secondary)]">
|
||||
建设单位:{{ currentProject.constructionUnitName || '-' }},项目经理:{{
|
||||
currentProject.projectManagerName || '-'
|
||||
}},项目负责人:{{ currentProject.engineeringPrincipalName || '-' }}
|
||||
}},工程负责人:{{ currentProject.engineeringPrincipalName || '-' }}
|
||||
</div>
|
||||
</div>
|
||||
<el-button
|
||||
@@ -177,7 +184,7 @@
|
||||
<el-row :gutter="16">
|
||||
<el-col :span="8">
|
||||
<el-descriptions :column="1" border title="项目概况">
|
||||
<el-descriptions-item label="工程名称">{{ currentProject.projectName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称">{{ currentProject.projectName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="工程类型">
|
||||
{{ getProjectTypeText(currentProject.projectType) }}
|
||||
</el-descriptions-item>
|
||||
@@ -187,10 +194,10 @@
|
||||
<el-descriptions-item label="合同签订日期">
|
||||
{{ currentProject.contractSigningDate || '-' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人">
|
||||
<el-descriptions-item label="建设单位联系人">
|
||||
{{ currentProject.contactName || '-' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="联系电话">
|
||||
<el-descriptions-item label="建设单位联系电话">
|
||||
{{ currentProject.contactPhone || '-' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目状态">
|
||||
@@ -211,7 +218,7 @@
|
||||
>
|
||||
{{ currentProject.terminateReason || '-' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="合同金额(元)">
|
||||
<el-descriptions-item label="合同产值(元)">
|
||||
{{ formatAmountText(currentProject.contractAmount) }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="工程总面积(m²)">
|
||||
@@ -222,9 +229,10 @@
|
||||
|
||||
<el-col :span="16">
|
||||
<el-table v-loading="planningLoading" :data="planningList">
|
||||
<el-table-column align="center" label="序号" type="index" width="70" />
|
||||
<el-table-column
|
||||
align="center"
|
||||
label="规划内容"
|
||||
label="项目任务包"
|
||||
min-width="260"
|
||||
prop="planningContent"
|
||||
show-overflow-tooltip
|
||||
@@ -234,7 +242,17 @@
|
||||
{{ getOwnershipTypeText(scope.row.ownershipType) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="规划金额(元)" width="130">
|
||||
<el-table-column align="center" label="合同产值数量" width="130">
|
||||
<template #default="scope">
|
||||
{{ scope.row.contractValueQuantity ?? '-' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="合同产值单价" width="130">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.contractValueUnitPrice) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="分项合同产值(元)" width="130">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.planningAmount) }}
|
||||
</template>
|
||||
@@ -249,13 +267,29 @@
|
||||
{{ formatAmountText(scope.row.managementFee) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="增值税率" width="100">
|
||||
<template #default="scope">
|
||||
{{ formatPercentText(scope.row.vatRate) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="增值税(元)" width="120">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.vatAmount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="项目预算产值(元)" width="140">
|
||||
<template #default="scope">
|
||||
{{ formatAmountText(scope.row.projectBudgetOutputValue) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
label="实施团队"
|
||||
label="意向实施团队"
|
||||
min-width="140"
|
||||
prop="implementationTeam"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
<el-table-column align="center" label="排序" prop="sortNo" width="80" />
|
||||
<el-table-column align="center" fixed="right" label="操作" width="140">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
@@ -373,6 +407,9 @@ const queryParams = reactive<ProjectApi.ProjectPageReqVO>({
|
||||
createTime: []
|
||||
})
|
||||
|
||||
const getProjectRowIndex = (index: number) =>
|
||||
((queryParams.pageNo ?? 1) - 1) * (queryParams.pageSize ?? 10) + index + 1
|
||||
|
||||
const queryProjectStartYearValue = computed({
|
||||
get: () => (queryParams.projectStartYear ? String(queryParams.projectStartYear) : undefined),
|
||||
set: (value?: string) => {
|
||||
|
||||
Reference in New Issue
Block a user