diff --git a/niucloud/app/adminapi/controller/communication_records/CommunicationRecords.php b/niucloud/app/adminapi/controller/communication_records/CommunicationRecords.php
index c8bf5a89..19f22579 100644
--- a/niucloud/app/adminapi/controller/communication_records/CommunicationRecords.php
+++ b/niucloud/app/adminapi/controller/communication_records/CommunicationRecords.php
@@ -56,12 +56,12 @@ class CommunicationRecords extends BaseAdminController
["resource_type",""],
["communication_type",""],
["communication_result",""],
- ["communication_time","2025-05-19 13:11:39"],
+ ["communication_time",date('Y-m-d H:i:s')],
["remarks",""],
["tag",""],
]);
- $this->validate($data, 'app\validate\communication_records\CommunicationRecords.add');
+// $this->validate($data, 'app\validate\communication_records\CommunicationRecords.add');
return (new CommunicationRecordsService())->add($data);
}
@@ -76,12 +76,12 @@ class CommunicationRecords extends BaseAdminController
["resource_type",""],
["communication_type",""],
["communication_result",""],
- ["communication_time","2025-05-19 13:11:39"],
+ ["communication_time",date('Y-m-d H:i:s')],
["remarks",""],
["tag",""],
]);
- $this->validate($data, 'app\validate\communication_records\CommunicationRecords.edit');
+// $this->validate($data, 'app\validate\communication_records\CommunicationRecords.edit');
return (new CommunicationRecordsService())->edit($id, $data);
}
diff --git a/uniapp/components/study-plan-popup/study-plan-popup.vue b/uniapp/components/study-plan-popup/study-plan-popup.vue
index d14b3587..37278209 100644
--- a/uniapp/components/study-plan-popup/study-plan-popup.vue
+++ b/uniapp/components/study-plan-popup/study-plan-popup.vue
@@ -17,14 +17,22 @@
开始日期
-
+
+
+ {{ planData.start_date || '请选择开始日期' }}
+
+
结束日期
-
+
+
+ {{ planData.end_date || '请选择结束日期' }}
+
+
@@ -214,6 +222,16 @@ export default {
+ // 开始日期选择
+ onStartDateChange(e) {
+ this.planData.start_date = e.detail.value
+ },
+
+ // 结束日期选择
+ onEndDateChange(e) {
+ this.planData.end_date = e.detail.value
+ },
+
// 状态选择
onStatusChange(e) {
this.statusIndex = e.detail.value
@@ -328,11 +346,9 @@ export default {
padding: 20rpx;
color: #ffffff;
font-size: 28rpx;
-
- &:empty::before {
- content: attr(placeholder);
- color: #999999;
- }
+ min-height: 50rpx;
+ display: flex;
+ align-items: center;
}
.popup-footer {