From d66eccc722b46fbb4b57bf28736b6f63a5ed0504 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 02 二月 2024 14:37:50 +0800
Subject: [PATCH] Mr.Shi
---
company/src/components/enterprise/OperaInsuranceApplyWindow.vue | 28 ++++++++++++++++++++--------
1 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/company/src/components/enterprise/OperaInsuranceApplyWindow.vue b/company/src/components/enterprise/OperaInsuranceApplyWindow.vue
index d31b415..fa9d0fd 100644
--- a/company/src/components/enterprise/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/enterprise/OperaInsuranceApplyWindow.vue
@@ -24,11 +24,13 @@
<el-date-picker
@change="getTimeVal"
v-model="form.applyStartTime"
- type="date"
+ type="datetime"
+ class="date_picker"
+ default-time="00:00:00"
:disabled="!form.solutionId"
:picker-options="pickerOptions"
- value-format="yyyy-MM-dd"
- format="yyyy 骞� MM 鏈� dd 鏃�"
+ value-format="yyyy-MM-dd hh:mm:ss"
+ format="yyyy-MM-dd hh:mm:ss"
placeholder="閫夋嫨鏃ユ湡">
</el-date-picker>
<span style="color: #F95601; font-size: 14px;">锛堟鏃ョ敓鏁堟姇淇濊浜�17:30鍓嶆彁浜わ紝瓒呮椂鎻愪氦浠ヤ繚闄╁崟涓哄噯锛�</span>
@@ -38,9 +40,10 @@
<el-date-picker
disabled
v-model="form.applyEndTime"
- type="date"
- value-format="yyyy-MM-dd"
- format="yyyy 骞� MM 鏈� dd 鏃�"
+ type="datetime"
+ default-time="00:00:00"
+ value-format="yyyy-MM-dd hh:mm:ss"
+ format="yyyy-MM-dd hh:mm:ss"
placeholder="閫夋嫨鏃ユ湡">
</el-date-picker>
</el-form-item>
@@ -189,8 +192,11 @@
this.form.applyStartTime = ''
this.form.applyEndTime = ''
if (target && target.id) {
- this.form.id = target.id
- this.getDetails()
+ this.$nextTick(() => {
+ this.$refs.form.resetFields()
+ this.form.id = target.id
+ this.getDetails()
+ })
} else {
this.$nextTick(() => {
this.$refs.form.resetFields()
@@ -465,6 +471,12 @@
}
</script>
+<style>
+ .el-picker-panel__footer .el-button--text.el-picker-panel__link-btn {
+ display: none;
+ }
+</style>
+
<style lang="scss" scoped>
.list {
width: 100%;
--
Gitblit v1.9.3