|
@@ -24,12 +24,12 @@
|
24
|
24
|
</div>
|
25
|
25
|
<div style="float:right;margin-bottom:10px;">
|
26
|
26
|
<el-button type="primary" @click="toSetting">设置</el-button>
|
27
|
|
- <el-button type="primary" @click="printCard" v-if="air_way==0 || air_way ==1">打印</el-button>
|
28
|
|
- <el-button type="primary" @click="printCardOne" v-if=" air_way ==2">打印</el-button>
|
29
|
|
- <el-button type="primary" @click="dialogFormVisible = true" v-if="air_way == 0 || air_way == 1">新增</el-button>
|
30
|
|
- <el-button type="primary" @click="newdialogFormVisible = true" v-if="air_way == 2">新增</el-button>
|
|
27
|
+ <el-button type="primary" @click="printCard" v-if="art_way_one==0 || art_way_one ==1">打印</el-button>
|
|
28
|
+ <el-button type="primary" @click="printCardOne" v-if=" art_way_one ==2">打印</el-button>
|
|
29
|
+ <el-button type="primary" @click="dialogFormVisible = true" v-if="art_way_one == 0 || art_way_one == 1">新增</el-button>
|
|
30
|
+ <el-button type="primary" @click="newdialogFormVisible = true" v-if="art_way_one == 2">新增</el-button>
|
31
|
31
|
</div>
|
32
|
|
- <div class="tab_air" v-if="air_way == 0 || air_way ==1">
|
|
32
|
+ <div class="tab_air" v-if="art_way_one == 0 || art_way_one ==1">
|
33
|
33
|
<el-table :data="tableData" :fit="true" stripe>
|
34
|
34
|
<el-table-column prop="year" label="名称" width="150" align="center">
|
35
|
35
|
<el-table-column prop="year" label="消毒时间" align="center" width="150">
|
|
@@ -140,7 +140,7 @@
|
140
|
140
|
</el-pagination>
|
141
|
141
|
</div>
|
142
|
142
|
|
143
|
|
- <div v-if="air_way == 2">
|
|
143
|
+ <div v-if="art_way_one == 2">
|
144
|
144
|
<el-table :data="tableDataOne" :fit="true" stripe style="width: 100%"
|
145
|
145
|
row-key="id"
|
146
|
146
|
border
|
|
@@ -1532,7 +1532,9 @@
|
1532
|
1532
|
disinfectionOfficeList:[],
|
1533
|
1533
|
tableDataOne:[],
|
1534
|
1534
|
hiddenShowOne:false,
|
|
1535
|
+ art_way_one:0,
|
1535
|
1536
|
}
|
|
1537
|
+
|
1536
|
1538
|
},
|
1537
|
1539
|
created(){
|
1538
|
1540
|
var disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
|
|
@@ -1554,6 +1556,7 @@
|
1554
|
1556
|
this.getAllDoctorList()
|
1555
|
1557
|
this.getObjectTableDisInfectList()
|
1556
|
1558
|
this.getObjectTableDisInfectWayList()
|
|
1559
|
+ this.getObjectWayDisinfect()
|
1557
|
1560
|
},
|
1558
|
1561
|
computed:{
|
1559
|
1562
|
firstdisinfection_time (){
|
|
@@ -2084,12 +2087,23 @@
|
2084
|
2087
|
if(response.data.state==1){
|
2085
|
2088
|
var objctSet = response.data.data.objctSet
|
2086
|
2089
|
if(objctSet!=undefined){
|
2087
|
|
- this.air_way = objctSet.air_way.toString()
|
|
2090
|
+ this.art_way_one = objctSet.air_way.toString()
|
2088
|
2091
|
}
|
2089
|
2092
|
this.setEditDialog = true
|
2090
|
2093
|
}
|
2091
|
2094
|
})
|
2092
|
2095
|
},
|
|
2096
|
+ getObjectWayDisinfect(){
|
|
2097
|
+ getObjectWayDisinfect().then(response=>{
|
|
2098
|
+ if(response.data.state==1){
|
|
2099
|
+ var objctSet = response.data.data.objctSet
|
|
2100
|
+ if(objctSet!=undefined){
|
|
2101
|
+ this.art_way_one = objctSet.air_way.toString()
|
|
2102
|
+ }
|
|
2103
|
+
|
|
2104
|
+ }
|
|
2105
|
+ })
|
|
2106
|
+ },
|
2093
|
2107
|
saveSetObjectTable(){
|
2094
|
2108
|
var params = {
|
2095
|
2109
|
air_way:parseInt(this.air_way)
|