+
{{ data.day.split('-').slice(1).join('-') }}
@@ -507,6 +486,7 @@ import {
ConstructionUserFileForm,
ConstructionUserFileQuery
} from '@/api/project/constructionUserFile/types';
+
import { ElLoadingService } from 'element-plus';
import type { CalendarDateType, CalendarInstance } from 'element-plus';
import { AttendanceMonthVO } from '@/api/project/attendance/types';
@@ -909,7 +889,7 @@ const downloadTemplate = async () => {
};
//导入资料
-const importInformation = async () => {};
+const importInformation = async () => { };
/** 人员迁移 */
const handleChange = async (row: ConstructionUserVO) => {
@@ -1087,10 +1067,12 @@ onMounted(() => {
margin: 0 15px;
position: relative;
font-size: 12px;
- > div {
+
+ >div {
margin: 0 15px;
position: relative;
font-size: 12px;
+
&::before {
position: absolute;
content: '';
@@ -1102,30 +1084,36 @@ onMounted(() => {
border-radius: 50%;
}
}
+
.red {
&::before {
background-color: red;
}
}
+
.gray {
&::before {
background-color: gray;
}
}
+
.orange {
&::before {
background-color: orange;
}
}
+
.green {
&::before {
background-color: green;
}
}
}
+
.monthDay {
padding: 8px;
- > div {
+
+ >div {
position: absolute;
width: 20px;
height: 20px;
@@ -1135,13 +1123,16 @@ onMounted(() => {
right: 0;
margin: auto;
}
+
.type2 {
background: rgb(255, 0, 0);
}
+
.type3 {
background: rgb(0, 128, 0);
}
}
+
.block_box {
border: 1px solid #9eccfa;
border-radius: 6px;
@@ -1155,10 +1146,12 @@ onMounted(() => {
font-size: 14px;
margin-bottom: 10px;
}
+
.image_upload {
border-bottom: 1px solid #e3e3d7;
padding-bottom: 4px;
}
+
.title {
font-size: 18px;
font-weight: 700;
@@ -1167,12 +1160,15 @@ onMounted(() => {
width: 100%;
font-family: cursive;
}
+
.information {
display: none;
}
+
.informationStatus:hover .information {
display: block;
}
+
::v-deep(.el-calendar) {
.el-calendar-day {
padding: 0;
From 396dcd5748b7f3e93d68901bc801c0245c660e04 Mon Sep 17 00:00:00 2001
From: tcy <1193318383@qq.com>
Date: Thu, 21 Aug 2025 15:40:59 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat(ctr):=20=E6=B7=BB=E5=8A=A0=E6=8B=9B?=
=?UTF-8?q?=E6=A0=87=E8=AE=A1=E5=88=92=E9=80=89=E6=8B=A9=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增获取招标计划的 API 接口
- 在合同创建页面添加招标计划选择功能
- 优化合同类型选择逻辑,增加相关提示
---
src/api/ctr/expensesContract/index.ts | 9 ++++++++
src/views/ctr/index.vue | 31 ++++++++++++++++++++++-----
2 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/src/api/ctr/expensesContract/index.ts b/src/api/ctr/expensesContract/index.ts
index 139324e..3b2c2bb 100644
--- a/src/api/ctr/expensesContract/index.ts
+++ b/src/api/ctr/expensesContract/index.ts
@@ -71,4 +71,13 @@ export const getFileList = (data) => {
method: 'get',
params: data
})
+}
+
+// 获取招标计划
+export const getTenderPlan = (data) => {
+ return request({
+ url: '/ctr/expensesContract/tender/list',
+ method: 'get',
+ params: data
+ })
}
\ No newline at end of file
diff --git a/src/views/ctr/index.vue b/src/views/ctr/index.vue
index d752aa2..d07b67f 100644
--- a/src/views/ctr/index.vue
+++ b/src/views/ctr/index.vue
@@ -64,6 +64,11 @@
:value="item.value" />
+
+
+
+ 选择招标
+
@@ -75,9 +80,7 @@
oninput="value=value.replace(/[^0-9.]/g,'').replace(/\.{2,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
v-model="form.amount" placeholder="请输入合同金额" />
-
-
-
+
@@ -131,15 +134,17 @@