|
@@ -106,8 +106,11 @@
|
106
|
106
|
</el-dropdown>
|
107
|
107
|
</div>
|
108
|
108
|
<div style="width: 40%;float:left">
|
109
|
|
- <div style="width: 100%;">
|
110
|
|
- <el-button type="success" size="mini" @click="toPrev()" style="margin-left: 65%">上一个</el-button>
|
|
109
|
+ <div style="width: 100%;text-align: right">
|
|
110
|
+ <el-button :type="dvhCardCheck.status.message==='正常'?'success':'danger'" size="mini" @click="openDvhCheckView">
|
|
111
|
+ {{ dvhCardCheck.status.message }}
|
|
112
|
+ </el-button>
|
|
113
|
+ <el-button type="success" size="mini" @click="toPrev()">上一个</el-button>
|
111
|
114
|
<el-button type="success" size="mini" @click="toNext()">下一个</el-button>
|
112
|
115
|
</div>
|
113
|
116
|
<p class="solutionTopTitle solutionTopTitle2_1">
|
|
@@ -521,6 +524,9 @@ export default {
|
521
|
524
|
wellId: '',
|
522
|
525
|
//给一个默认的检索时间
|
523
|
526
|
time: '',
|
|
527
|
+ status:{
|
|
528
|
+ message:'待校核'
|
|
529
|
+ }
|
524
|
530
|
},
|
525
|
531
|
form: {
|
526
|
532
|
name: '',//作业区
|
|
@@ -587,19 +593,26 @@ export default {
|
587
|
593
|
this.form.name4 = dateTime//开始日期
|
588
|
594
|
// this.form.name5 = [dateTime]//开始日期
|
589
|
595
|
},
|
|
596
|
+ //获取低压测试状态
|
|
597
|
+ getDycsStatus(){
|
|
598
|
+ setTimeout(()=>{
|
|
599
|
+ this.dvhCardCheck.status.message='正常'
|
|
600
|
+ },2000)
|
|
601
|
+ },
|
|
602
|
+ async openDvhCheckView() {
|
|
603
|
+ this.dvhCardCheck.wellId = await this.confirmWellExist()
|
|
604
|
+ if (this.form.name4)
|
|
605
|
+ this.dvhCardCheck.time = Util.dateFormat(Util.dateMinus(new Date(this.form.name4 + " 00:00:00"),
|
|
606
|
+ 1, 'd'), 'yyyy-MM-dd');
|
|
607
|
+ this.dvhCardCheck.visible = true
|
|
608
|
+ },
|
590
|
609
|
handleClick(type) {//更多工具选中
|
591
|
610
|
if (type === 1) {
|
592
|
611
|
this.changeWork()
|
593
|
612
|
} else if (type === 2) {
|
594
|
613
|
this.changeWork2()
|
595
|
614
|
} else if (type === 3) {
|
596
|
|
- this.confirmWellExist().then(re => {
|
597
|
|
- this.dvhCardCheck.wellId = re
|
598
|
|
- })
|
599
|
|
- if (this.form.name4)
|
600
|
|
- this.dvhCardCheck.time = Util.dateFormat(Util.dateMinus(new Date(this.form.name4 + " 00:00:00"),
|
601
|
|
- 1, 'd'), 'yyyy-MM-dd');
|
602
|
|
- this.dvhCardCheck.visible = true
|
|
615
|
+ this.openDvhCheckView()
|
603
|
616
|
}
|
604
|
617
|
},
|
605
|
618
|
getDataForSingleInfoPage() {//查询按钮
|