|
@@ -34,8 +34,8 @@
|
|
|
v-model="form.checkCount" style="width:250px;">
|
|
|
<template slot="prepend" style="height:20px;">次</template>
|
|
|
<div slot="append" style="display: flex;flex-direction: column;">
|
|
|
- <p class="el-icon-arrow-up" @click="addNum" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
- <p class="el-icon-arrow-down" @click="reduceNum" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-up" @click="addCheckCount" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-down" @click="reduceCheckCount" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
</div>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -62,8 +62,8 @@
|
|
|
v-model="form.signTime" style="width:250px;">
|
|
|
<template slot="prepend" style="height:20px;">小时</template>
|
|
|
<div slot="append" style="display: flex;flex-direction: column;">
|
|
|
- <p class="el-icon-arrow-up" @click="addNumOne" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
- <p class="el-icon-arrow-down" @click="reduceNumOne" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-up" @click="addSignTime" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-down" @click="reduceSignTime" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
</div>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -94,8 +94,8 @@
|
|
|
v-model="form.inspectCheckCount" style="width:250px;">
|
|
|
<template slot="prepend" style="height:20px;">次</template>
|
|
|
<div slot="append" style="display: flex;flex-direction: column;">
|
|
|
- <p class="el-icon-arrow-up" @click="addNum" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
- <p class="el-icon-arrow-down" @click="reduceNum" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-up" @click="addInspectCheckCount" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-down" @click="reduceInspectCheckCount" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
</div>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -106,8 +106,8 @@
|
|
|
v-model="form.inspectSignTime" style="width:250px;">
|
|
|
<template slot="prepend" style="height:20px;">小时</template>
|
|
|
<div slot="append" style="display: flex;flex-direction: column;">
|
|
|
- <p class="el-icon-arrow-up" @click="addNumOne" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
- <p class="el-icon-arrow-down" @click="reduceNumOne" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-up" @click="addInspectSignTime" style="line-height:18px;width:30px;font-size:14px;text-align: center;border-bottom:1px solid #E0E0E0;cursor: pointer;"></p>
|
|
|
+ <p class="el-icon-arrow-down" @click="reduceInspectSignTime" style="line-height:19px;width:30px;font-size:14px;text-align: center;cursor: pointer;"></p>
|
|
|
</div>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -470,22 +470,42 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- addNum(){
|
|
|
+ addCheckCount(){
|
|
|
if(this.form.checkCount<99){
|
|
|
this.form.checkCount++
|
|
|
}
|
|
|
},
|
|
|
- reduceNum(){
|
|
|
+ reduceCheckCount(){
|
|
|
if(this.form.checkCount>2){
|
|
|
this.form.checkCount--
|
|
|
}
|
|
|
},
|
|
|
- addNumOne(){
|
|
|
+ addSignTime(){
|
|
|
+ if(this.form.signTime<99){
|
|
|
+ this.form.signTime++
|
|
|
+ }
|
|
|
+ },
|
|
|
+ reduceSignTime(){
|
|
|
+ if(this.form.signTime>2){
|
|
|
+ this.form.signTime--
|
|
|
+ }
|
|
|
+ },
|
|
|
+ addInspectCheckCount(){
|
|
|
+ if(this.form.inspectCheckCount<99){
|
|
|
+ this.form.inspectCheckCount++
|
|
|
+ }
|
|
|
+ },
|
|
|
+ reduceInspectCheckCount(){
|
|
|
+ if(this.form.inspectCheckCount>2){
|
|
|
+ this.form.inspectCheckCount--
|
|
|
+ }
|
|
|
+ },
|
|
|
+ addInspectSignTime(){
|
|
|
if(this.form.inspectSignTime<99){
|
|
|
this.form.inspectSignTime++
|
|
|
}
|
|
|
},
|
|
|
- reduceNumOne(){
|
|
|
+ reduceInspectSignTime(){
|
|
|
if(this.form.inspectSignTime>2){
|
|
|
this.form.inspectSignTime--
|
|
|
}
|