From 7d58eae8a4d96845b56ef18d0de2f306324e9396 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 06 Jan 2026 02:26:32 +0000
Subject: [PATCH] 项目页添加出差天数;出差页添加关联项目信息;
---
eladmin-web-master/src/views/project/project/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/eladmin-web-master/src/views/project/project/index.vue b/eladmin-web-master/src/views/project/project/index.vue
index 9f49fc5..f382fc8 100644
--- a/eladmin-web-master/src/views/project/project/index.vue
+++ b/eladmin-web-master/src/views/project/project/index.vue
@@ -267,6 +267,7 @@
{{ scope.row.completedTaskTime }} / {{ scope.row.divideTaskTime }}
</template>
</el-table-column>
+ <el-table-column prop="totalTravelDuration" label="出差总工时" width="100" />
<el-table-column v-if="checkPer([permission.master])" label="报价">
<el-table-column :show-overflow-tooltip="true" prop="quotationPrice" label="单金" width="100">
<template slot-scope="scope">
@@ -449,7 +450,7 @@
import constant from '@/utils/constant'
import { downloadFile } from '@/utils/index'
-const defaultForm = { id: null, name: null, projectTypeId: null, projectDistinguish: null, companyId: null, requirement: null, unitCurrency: null, performanceObjectives: null, quotationPrice: null, performancePrice: null, contractPrice: null, contractPrePrice: null, projectPrice: null, liableUserId: null, liableUserIdList: [], planStartDate: null, planEndDate: null, projectStatus: null, approveStatus: null, remarks: null, createBy: null, createTime: null, updateBy: null, updateTime: null }
+const defaultForm = { id: null, name: null, projectTypeId: null, projectDistinguish: null, companyId: null, requirement: null, unitCurrency: null, performanceObjectives: null, quotationPrice: null, performancePrice: null, contractPrice: null, contractPrePrice: null, projectPrice: null, liableUserId: null, liableUserIdList: [], planStartDate: null, planEndDate: null, projectStatus: null, approveStatus: null, remarks: null, createBy: null, createTime: null, updateBy: null, updateTime: null, totalTravelDuration: null }
export default {
name: 'Project',
components: { pagination, crudOperation, rrOperation, udOperation },
@@ -845,7 +846,7 @@
}).catch(e => {
that.$message.error(e.message)
}).finally(() => {
- that.downloadProgressLoading = false;
+ that.downloadProgressLoading = false
})
}
}
--
Gitblit v1.9.3