From 7ec657a86d2d6c3f91ed7ab241c603ea2e3b7b4d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 17 Sep 2021 15:24:32 +0800
Subject: [PATCH] ct
---
vue.config.js | 2 +-
public/securityInfo.html | 18 ++++++------------
src/views/securityUnit/data.js | 6 +++---
3 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/public/securityInfo.html b/public/securityInfo.html
index 959d4a6..9199529 100644
--- a/public/securityInfo.html
+++ b/public/securityInfo.html
@@ -29,11 +29,11 @@
height: 224px;
/* background-color: aquamarine; */
- background: #00d2ff;
+ background: #0BB9C8;
/* fallback for old browsers */
- background: -webkit-linear-gradient(to left, #00d2ff, #13b0ee, #13b0ee, #00d2ff);
+ background: -webkit-linear-gradient(to left, #0BB9C8, #0cd9e7, #0cd9e7, #0BB9C8);
/* Chrome 10-25, Safari 5.1-6 */
- background: linear-gradient(to left, #00d2ff, #13b0ee, #13b0ee, #00d2ff);
+ background: linear-gradient(to left, #0BB9C8, #0cd9e7, #0cd9e7, #0BB9C8);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
@@ -63,9 +63,9 @@
}
.content {
- margin-top: 5px;
- width: 90%;
- height: 500px;
+ margin: 5px 0;
+ padding: 5px;
+ width: 95%;
background-color: rgba(65, 64, 66, 0.1);
border-radius: 5px;
display: flex;
@@ -184,11 +184,6 @@
</div>
<div class="row-content">
- <span class="title">是否派遣</span></span>
- <span> ${data.dispatch == 0 ? '已派遣' : '未派遣'}</span>
- </div>
-
- <div class="row-content">
<span class="title">联系电话</span>
<span> ${data.phone}</span>
</div>
@@ -202,7 +197,6 @@
<span class="title">保安证编号</span>
<span> ${data.securitynumber}</span>
</div>
-
</div>`
diff --git a/src/views/securityUnit/data.js b/src/views/securityUnit/data.js
index 276af6d..0384fae 100644
--- a/src/views/securityUnit/data.js
+++ b/src/views/securityUnit/data.js
@@ -106,7 +106,7 @@
overHidden: true,
type: "date",
format: "yyyy-MM-dd",
- valueFormat: "timestamp",
+ valueFormat: "yyyy-MM-dd",
},
{
@@ -313,7 +313,7 @@
span: s,
type: "date",
format: "yyyy-MM-dd",
- valueFormat: "timestamp",
+ valueFormat: "yyyy-MM-dd",
rules: [{
required: true,
message: "请输入注册时间",
@@ -530,7 +530,7 @@
prop: "capitaltime",
type: "date",
format: "yyyy-MM-dd",
- valueFormat: "timestamp",
+ valueFormat: "yyyy-MM-dd",
labelWidth: w,
span: s,
rules: [{
diff --git a/vue.config.js b/vue.config.js
index 326f500..3a4fc9f 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -41,4 +41,4 @@
}
}
}
-};
\ No newline at end of file
+};
--
Gitblit v1.9.3