|
@@ -20,7 +20,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="choice" v-if="tobu == 2">
|
|
<view class="choice" v-if="tobu == 2">
|
|
|
- <Sever v-if="classData.length != 0" :classData="classData" @search="search"></Sever>
|
|
|
|
|
|
|
+ <Sever v-if="classData.length != 0" :classData="classData" @search="searchTwo"></Sever>
|
|
|
|
|
|
|
|
<div @click="timeShow=true" class="time-show">
|
|
<div @click="timeShow=true" class="time-show">
|
|
|
{{currentDateArray1[0]}}~{{currentDateArray2[0]}}
|
|
{{currentDateArray1[0]}}~{{currentDateArray2[0]}}
|
|
@@ -396,6 +396,7 @@
|
|
|
endTimeStr: this.currentDateArray2[0],
|
|
endTimeStr: this.currentDateArray2[0],
|
|
|
size: 999,
|
|
size: 999,
|
|
|
current: 1,
|
|
current: 1,
|
|
|
|
|
+ status: 1,
|
|
|
}
|
|
}
|
|
|
}).then(res=>{
|
|
}).then(res=>{
|
|
|
// console.log('res', res)
|
|
// console.log('res', res)
|
|
@@ -420,14 +421,25 @@
|
|
|
this.getData()
|
|
this.getData()
|
|
|
this.getStati()
|
|
this.getStati()
|
|
|
this.getList()
|
|
this.getList()
|
|
|
- this.getListTwo()
|
|
|
|
|
|
|
+ // this.getListTwo()
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ searchTwo(data){
|
|
|
|
|
+ console.log(data)
|
|
|
|
|
+ this.classId = data
|
|
|
|
|
+ this.getListTwo()
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
// 点击改变是否观察或者处理记录
|
|
// 点击改变是否观察或者处理记录
|
|
|
to(data){
|
|
to(data){
|
|
|
this.tobu = data
|
|
this.tobu = data
|
|
|
- this.getListTwo()
|
|
|
|
|
|
|
+ // this.getListTwo()
|
|
|
|
|
+ if(data == 1){
|
|
|
|
|
+ this.getList()
|
|
|
|
|
+ }else if(data == 2){
|
|
|
|
|
+ this.getListTwo()
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 跳转新增
|
|
// 跳转新增
|
|
@@ -464,7 +476,7 @@
|
|
|
this.getData()
|
|
this.getData()
|
|
|
this.getList()
|
|
this.getList()
|
|
|
this.getStati()
|
|
this.getStati()
|
|
|
- this.getListTwo()
|
|
|
|
|
|
|
+ // this.getListTwo()
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
onDayClicks1(data){
|
|
onDayClicks1(data){
|