From d50314b958b4d133ad81a27d61fb991b10c2bff2 Mon Sep 17 00:00:00 2001
From: weitingdong <2480899115@qq.com>
Date: Wed, 17 Jul 2024 17:23:36 +0800
Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E7=B1=BB=E5=9E=8B=E5=AF=B9?=
=?UTF-8?q?=E5=BA=94?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/leger/equipmentledgerDetail.vue | 49 +++++++++-----
src/views/leger/toolinventoryrecordDetail.vue | 53 +++++++++------
src/views/smart/workpermit.vue | 3 -
src/views/smart/workpermitDetail.vue | 66 +++++++++++--------
4 files changed, 107 insertions(+), 64 deletions(-)
diff --git a/src/views/leger/equipmentledgerDetail.vue b/src/views/leger/equipmentledgerDetail.vue
index 4a5f855..ae37848 100644
--- a/src/views/leger/equipmentledgerDetail.vue
+++ b/src/views/leger/equipmentledgerDetail.vue
@@ -6,14 +6,15 @@
审核状态:
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -699,6 +700,19 @@
this.frame_class = null;
this.checkStatusValue = 4;
}
+ switch (this.$route.query.checkstatus){
+ case 1:
+ this.form = "审核中";
+ break;
+ case 2:
+ this.form = "已审核";
+ break;
+ case 3:
+ this.form = "未通过";
+ break;
+ default:
+ this.form =" ";
+ }
},
methods: {
handleFormSubmit() {
@@ -1011,15 +1025,19 @@
background-color: #3366cc !important;
color: #FFFFFF !important;
}
-.frame_class1 input.el-input__inner {
+
+.frame_class1 .el-input__inner,
+.frame_class1 .el-textarea__inner {
border: none;
box-shadow: none;
outline: none;
pointer-events: none;
}
+
.frame_class1 .el-input__icon {
display: none;
}
+
.frame_class1 .el-input--prefix .el-input__inner {
padding-left: 15px;
}
@@ -1034,15 +1052,16 @@
justify-content: flex-end; /* 将子元素推到容器的末端 */
}
-.check_status_class {
- display: flex;
- justify-content: flex-end; /* 将子元素推到容器的末端 */
-}
-
-.check_status_class input.el-input__inner {
+.frame_class1 div.el-select--small {
border: none;
box-shadow: none;
outline: none;
pointer-events: none;
}
+
+.check_status_class {
+ display: flex;
+ justify-content: flex-end; /* 将子元素推到容器的末端 */
+}
+
diff --git a/src/views/leger/toolinventoryrecordDetail.vue b/src/views/leger/toolinventoryrecordDetail.vue
index c6401ef..f63c323 100644
--- a/src/views/leger/toolinventoryrecordDetail.vue
+++ b/src/views/leger/toolinventoryrecordDetail.vue
@@ -6,14 +6,15 @@
审核状态:
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -629,6 +630,19 @@ export default {
this.frame_class = null;
this.checkStatusValue = 4;
}
+ switch (this.$route.query.checkstatus){
+ case 1:
+ this.form = "审核中";
+ break;
+ case 2:
+ this.form = "已审核";
+ break;
+ case 3:
+ this.form = "未通过";
+ break;
+ default:
+ this.form =" ";
+ }
},
methods: {
handleFormSubmit() {
@@ -1011,18 +1025,14 @@ export default {
color: #FFFFFF !important;
}
-.frame_class1 input.el-input__inner {
+.frame_class1 .el-input__inner,
+.frame_class1 .el-textarea__inner {
border: none;
box-shadow: none;
outline: none;
pointer-events: none;
}
-.frame_class1 input::placeholder {
- color: transparent;
- display: none; /* 默认隐藏 */
-}
-
.frame_class1 .el-input__icon {
display: none;
}
@@ -1031,20 +1041,25 @@ export default {
padding-left: 15px;
}
-.container {
- display: flex;
- justify-content: flex-end; /* 将子元素推到容器的末端 */
+.frame_class1 input::placeholder {
+ color: transparent;
+ display: none; /* 默认隐藏 */
}
-.check_status_class {
+.container {
display: flex;
justify-content: flex-end; /* 将子元素推到容器的末端 */
}
-.check_status_class input.el-input__inner {
+.frame_class1 div.el-select--small {
border: none;
box-shadow: none;
outline: none;
pointer-events: none;
}
+
+.check_status_class {
+ display: flex;
+ justify-content: flex-end; /* 将子元素推到容器的末端 */
+}
diff --git a/src/views/smart/workpermit.vue b/src/views/smart/workpermit.vue
index 1337648..8c664f9 100644
--- a/src/views/smart/workpermit.vue
+++ b/src/views/smart/workpermit.vue
@@ -260,7 +260,6 @@
prop: "planStartDate",
type: "date",
format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
search: true,
rules: [{
required: true,
@@ -285,7 +284,6 @@
prop: "planEndDate",
type: "date",
format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
rules: [{
required: true,
message: "请输入计划结束时间",
@@ -299,7 +297,6 @@
prop: "actualEndDate",
type: "date",
format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
span:8,
},
{
diff --git a/src/views/smart/workpermitDetail.vue b/src/views/smart/workpermitDetail.vue
index 98099ea..1343291 100644
--- a/src/views/smart/workpermitDetail.vue
+++ b/src/views/smart/workpermitDetail.vue
@@ -6,14 +6,7 @@
审核状态:
-
-
-
-
+
@@ -105,6 +98,7 @@
data () {
return {
checkStatusValue: this.$route.query.checkstatus,
+ form:{},
optionCheckStatus: [{
value: 1,
label: '审核中'
@@ -305,9 +299,9 @@
message: "请输入计划开始时间",
trigger: "blur"
}],
- type: "date",
- format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
+ type: "datetime",
+ format: 'yyyy年MM月dd日 HH时mm分',
+ valueFormat: "yyyy/MM/dd HH:mm:ss",
span:8
},
{
@@ -318,9 +312,9 @@
message: "请输入计划结束时间",
trigger: "blur"
}],
- type: "date",
- format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
+ type: "datetime",
+ format: 'yyyy年MM月dd日 HH时mm分',
+ valueFormat: "yyyy/MM/dd HH:mm:ss",
span:8
},
{
@@ -336,9 +330,9 @@
{
label: "实际结束时间",
prop: "actualEndDate",
- type: "date",
- format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
+ type: "datetime",
+ format: 'yyyy年MM月dd日 HH时mm分',
+ valueFormat: "yyyy/MM/dd HH:mm:ss",
span:8
},
{
@@ -355,9 +349,9 @@
{
label: "计划延期时间",
prop: "plannedExtensionDate",
- type: "date",
- format: 'yyyy/MM/dd',
- valueFormat: "yyyyMMdd",
+ type: "datetime",
+ format: 'yyyy年MM月dd日 HH时mm分',
+ valueFormat: "yyyy/MM/dd HH:mm:ss",
span:8
},
{
@@ -547,6 +541,20 @@
create_date.display = false;
const ticketCode = this.findObject(this.optionParam.column, "ticketCode");
ticketCode.display = false;
+
+ switch (this.$route.query.checkstatus){
+ case 1:
+ this.form = "审核中";
+ break;
+ case 2:
+ this.form = "已审核";
+ break;
+ case 3:
+ this.form = "未通过";
+ break;
+ default:
+ this.form =" ";
+ }
},
methods: {
handleFormSubmit() {
@@ -786,15 +794,19 @@
background-color: #1e9fff !important;
color: #FFFFFF !important;
}
-.frame_class1 input.el-input__inner {
+
+.frame_class1 .el-input__inner,
+.frame_class1 .el-textarea__inner {
border: none;
box-shadow: none;
outline: none;
pointer-events: none;
}
+
.frame_class1 .el-input__icon {
display: none;
}
+
.frame_class1 .el-input--prefix .el-input__inner {
padding-left: 15px;
}
@@ -809,15 +821,15 @@
justify-content: flex-end; /* 将子元素推到容器的末端 */
}
-.check_status_class {
- display: flex;
- justify-content: flex-end; /* 将子元素推到容器的末端 */
-}
-
-.check_status_class input.el-input__inner {
+.frame_class1 div.el-select--small {
border: none;
box-shadow: none;
outline: none;
pointer-events: none;
}
+
+.check_status_class {
+ display: flex;
+ justify-content: flex-end; /* 将子元素推到容器的末端 */
+}