时间类型对应

main
weitingdong 11 months ago
parent d96a528870
commit d50314b958
  1. 49
      src/views/leger/equipmentledgerDetail.vue
  2. 53
      src/views/leger/toolinventoryrecordDetail.vue
  3. 3
      src/views/smart/workpermit.vue
  4. 66
      src/views/smart/workpermitDetail.vue

@ -6,14 +6,15 @@
<span >
<el-col >
审核状态:
<el-select v-model="checkStatusValue">
<el-option
v-for="item in optionCheckStatus"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<avue-input v-model="form" placeholder="" class="frame_class1" style = "width: 100px"></avue-input>
<!-- <el-select v-model="checkStatusValue">-->
<!-- <el-option-->
<!-- v-for="item in optionCheckStatus"-->
<!-- :key="item.value"-->
<!-- :label="item.label"-->
<!-- :value="item.value">-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-col>
</span>
</div>
@ -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; /* 将子元素推到容器的末端 */
}
</style>

@ -6,14 +6,15 @@
<span >
<el-col >
审核状态:
<el-select v-model="checkStatusValue">
<el-option
v-for="item in optionCheckStatus"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<avue-input v-model="form" placeholder="" class="frame_class1" style = "width: 100px"></avue-input>
<!-- <el-select v-model="checkStatusValue">-->
<!-- <el-option-->
<!-- v-for="item in optionCheckStatus"-->
<!-- :key="item.value"-->
<!-- :label="item.label"-->
<!-- :value="item.value">-->
<!-- </el-option>-->
<!-- </el-select>-->
</el-col>
</span>
</div>
@ -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; /* 将子元素推到容器的末端 */
}
</style>

@ -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,
},
{

@ -6,14 +6,7 @@
<span >
<el-col >
审核状态:
<el-select v-model="checkStatusValue">
<el-option
v-for="item in optionCheckStatus"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<avue-input v-model="form" placeholder="" class="frame_class1" style = "width: 100px"></avue-input>
</el-col>
</span>
</div>
@ -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; /* 将子元素推到容器的末端 */
}
</style>

Loading…
Cancel
Save