From b0177342c52cd312e4b677fb9b66594c5c295b78 Mon Sep 17 00:00:00 2001
From: liutong <836164388@qq.com>
Date: Thu, 17 Apr 2025 17:14:16 +0800
Subject: [PATCH] =?UTF-8?q?feat(api):=20=E6=B7=BB=E5=8A=A0=E8=80=83?=
=?UTF-8?q?=E5=8B=A4=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=B9=B6=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0=E5=90=88=E5=90=8C=E5=88=97=E8=A1=A8=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在 api/common.js 中添加了考勤列表和考勤请假接口
- 重构了 pages/common/contract_list.vue 中的合同列表项样式- 增加了合同下载按钮和详细的合同信息展示
---
api/common.js | 19 +++++++++
pages/common/contract_list.vue | 73 +++++++++++++++++++++-------------
2 files changed, 64 insertions(+), 28 deletions(-)
diff --git a/api/common.js b/api/common.js
index c1394d3..c2ec5aa 100644
--- a/api/common.js
+++ b/api/common.js
@@ -58,6 +58,25 @@ export default {
},
+ //考勤列表 --分页
+ clocking_list(data) {
+ let url = `/member/clocking_list`
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+
+ //考勤-请假
+ clockingRest(data) {
+ let url = `/member/clocking_rest`
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+
+
+
+
}
\ No newline at end of file
diff --git a/pages/common/contract_list.vue b/pages/common/contract_list.vue
index f117194..4bdbeb8 100644
--- a/pages/common/contract_list.vue
+++ b/pages/common/contract_list.vue
@@ -16,16 +16,24 @@
:key="k"
@click="openViewArticleInfo(v)"
>
- {{v.title}}
-
-
-
-
-
-
-
-
- {{v.show_time}}
+
+ 企业合同
+ 下载合同
+
+
+
+ 合同名称:
+ 海口晟誉网络科技有限责任公司入驻协议
+
+
+ 签署方:
+ 共商同祺(北京)商务有限公司(刘天吴)
+
+
+ 签署方:
+ 海口晟誉网络科技有限责任公司(王泽彦)
+
+
@@ -187,29 +195,38 @@ export default {
margin-bottom: 38rpx;
display: flex;
flex-direction: column;
-
padding: 32rpx 24rpx;
border-radius: 14rpx;
- background-color: rgba(255,255,255,1);
- border: 2rpx solid rgba(187,187,187,1);
-
- color: #4F4F4F;
- font-size: 32rpx;
-
- .title{
- }
- .img_box{
- margin-top: 30rpx;
- width: 100%;
- }
- .content{
- margin-top: 30rpx;
+ background-color: #434544;
+ color: #fff;
+ .top{
+ font-size: 28rpx;
+ display: flex;
+ justify-content: space-between;
+ .btn{
+ display: flex;
+ align-items: center;
+ color: #29D3B4;
+ }
}
- .time{
+ .bottom{
+ font-size: 26rpx;
+ margin-top: 25rpx;
display: flex;
- justify-content: flex-end;
- margin-top: 36rpx;
+ flex-direction: column;
+ gap: 15rpx;
+ .box{
+ display: flex;
+ justify-content: space-between;
+ .title{
+ width: 180rpx;
+ }
+ .content{
+ width: 100%;
+ }
+ }
}
+
}
}