|
@@ -937,7 +937,8 @@
|
937
|
937
|
>
|
938
|
938
|
</i>
|
939
|
939
|
<template slot-scope="{ item }">
|
940
|
|
- <span class="addr">{{ item.name }}</span>
|
|
940
|
+ <span class="addr">{{ item.name }}</span>
|
|
941
|
+ <span class="addr">{{ item.id }}</span>
|
941
|
942
|
</template>
|
942
|
943
|
</el-autocomplete> -->
|
943
|
944
|
</el-form-item>
|
|
@@ -1011,7 +1012,7 @@
|
1011
|
1012
|
</el-col>
|
1012
|
1013
|
<el-col :span="8">
|
1013
|
1014
|
<el-form-item label="使用次数:">
|
1014
|
|
- <el-input style="width:180px" v-model="userform.user_total"></el-input>
|
|
1015
|
+ <el-input style="width:180px" v-model="userform.user_total" :disabled="true"></el-input>
|
1015
|
1016
|
</el-form-item>
|
1016
|
1017
|
</el-col>
|
1017
|
1018
|
<el-col :span="8">
|
|
@@ -1217,7 +1218,7 @@
|
1217
|
1218
|
<el-radio-group v-model="userform.dialysis_concentration">
|
1218
|
1219
|
<el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in potency" :key="index">{{gender.name}}</el-radio>
|
1219
|
1220
|
</el-radio-group>
|
1220
|
|
- <!-- <span style="color:red">您已一个月未更换,请注意检测</span> -->
|
|
1221
|
+ <span class="warn" v-show="warnShow">您已一个月未更换,请注意检测</span>
|
1221
|
1222
|
</el-form-item>
|
1222
|
1223
|
</el-col>
|
1223
|
1224
|
</el-row>
|
|
@@ -1225,8 +1226,9 @@
|
1225
|
1226
|
<el-col :span="3">
|
1226
|
1227
|
<el-form-item label="细菌过滤器:"></el-form-item>
|
1227
|
1228
|
</el-col>
|
1228
|
|
- <el-col :span="2">
|
|
1229
|
+ <el-col :span="7">
|
1229
|
1230
|
<el-checkbox v-model="userform.germ_checked">更换</el-checkbox>
|
|
1231
|
+ <span class="warn" v-show="warnShowTwo">您已一个月未更换,请注意检测</span>
|
1230
|
1232
|
</el-col>
|
1231
|
1233
|
<el-col :span="8">
|
1232
|
1234
|
<el-form-item label="名称:">
|
|
@@ -1253,7 +1255,7 @@
|
1253
|
1255
|
</el-col>
|
1254
|
1256
|
<el-col :span="10">
|
1255
|
1257
|
<el-checkbox v-model="userform.clean">清洁:</el-checkbox>
|
1256
|
|
- <!-- <span style="color:red">您已一个月未清洁,请检查</span> -->
|
|
1258
|
+ <span class="warn" v-show="warnShowThree">您已一个月未清洁,请检查</span>
|
1257
|
1259
|
</el-col>
|
1258
|
1260
|
<el-col :span="10">
|
1259
|
1261
|
<el-form-item label="签名:" required prop="sign_name">
|
|
@@ -1559,17 +1561,18 @@
|
1559
|
1561
|
</el-row>
|
1560
|
1562
|
<el-row>
|
1561
|
1563
|
<el-col :span="8">
|
1562
|
|
- <el-form-item label="实际Na+(mmol/L):">
|
|
1564
|
+ <!-- <span>Na<sup>+</sup></span> -->
|
|
1565
|
+ <el-form-item label="实际Na﹢(mmol/L):">
|
1563
|
1566
|
<el-input style="width:100px" v-model="qualityFormThree.actual_na"></el-input>
|
1564
|
1567
|
</el-form-item>
|
1565
|
1568
|
</el-col>
|
1566
|
1569
|
<el-col :span="8">
|
1567
|
|
- <el-form-item label="配方Na+(mmol/L):">
|
|
1570
|
+ <el-form-item label="配方Na﹢(mmol/L):">
|
1568
|
1571
|
<el-input style="width:100px" v-model="qualityFormThree.actual_pna"></el-input>
|
1569
|
1572
|
</el-form-item>
|
1570
|
1573
|
</el-col>
|
1571
|
1574
|
<el-col :span="8">
|
1572
|
|
- <el-form-item label="K+ (mmol/L):">
|
|
1575
|
+ <el-form-item label="K﹢(mmol/L):">
|
1573
|
1576
|
<el-input style="width:100px" v-model="qualityFormThree.actual_k"></el-input>
|
1574
|
1577
|
</el-form-item>
|
1575
|
1578
|
</el-col>
|
|
@@ -1577,24 +1580,24 @@
|
1577
|
1580
|
</el-row>
|
1578
|
1581
|
<el-row>
|
1579
|
1582
|
<el-col :span="8">
|
1580
|
|
- <el-form-item label="Ca2+(mmol/L):">
|
|
1583
|
+ <el-form-item label="Ca2﹢(mmol/L):">
|
1581
|
1584
|
<el-input style="width:100px" v-model="qualityFormThree.actual_ca"></el-input>
|
1582
|
1585
|
</el-form-item>
|
1583
|
1586
|
</el-col>
|
1584
|
1587
|
<el-col :span="8">
|
1585
|
|
- <el-form-item label="CI-(mmol/L):">
|
|
1588
|
+ <el-form-item label="CI¯(mmol/L):">
|
1586
|
1589
|
<el-input style="width:100px" v-model="qualityFormThree.actual_ci"></el-input>
|
1587
|
1590
|
</el-form-item>
|
1588
|
1591
|
</el-col>
|
1589
|
1592
|
<el-col :span="8">
|
1590
|
|
- <el-form-item label="HCO3-(mmol/L):">
|
|
1593
|
+ <el-form-item label="HCO3¯(mmol/L):">
|
1591
|
1594
|
<el-input style="width:100px" v-model="qualityFormThree.actual_hco"></el-input>
|
1592
|
1595
|
</el-form-item>
|
1593
|
1596
|
</el-col>
|
1594
|
1597
|
</el-row>
|
1595
|
1598
|
<el-row>
|
1596
|
1599
|
<el-col :span="8">
|
1597
|
|
- <el-form-item label="Mg2+(mmol/L):">
|
|
1600
|
+ <el-form-item label="Mg2﹢(mmol/L):">
|
1598
|
1601
|
<el-input style="width:100px" v-model="qualityFormThree.actual_mg"></el-input>
|
1599
|
1602
|
</el-form-item>
|
1600
|
1603
|
</el-col>
|
|
@@ -1836,6 +1839,24 @@
|
1836
|
1839
|
</el-tab-pane>
|
1837
|
1840
|
</el-tabs>
|
1838
|
1841
|
</div>
|
|
1842
|
+
|
|
1843
|
+ <!-- <el-autocomplete
|
|
1844
|
+ popper-class="my-autocomplete"
|
|
1845
|
+ v-model="state"
|
|
1846
|
+ :fetch-suggestions="querySearch"
|
|
1847
|
+ placeholder="请输入内容"
|
|
1848
|
+ @select="handleSelect">
|
|
1849
|
+ <i
|
|
1850
|
+ class="el-icon-edit el-input__icon"
|
|
1851
|
+ slot="suffix"
|
|
1852
|
+ @click="handleIconClick">
|
|
1853
|
+ </i>
|
|
1854
|
+ <template slot-scope="{ item }">
|
|
1855
|
+ <div class="name">{{ item.value }}</div>
|
|
1856
|
+ <span class="addr">{{ item.address }}</span>
|
|
1857
|
+ </template>
|
|
1858
|
+ </el-autocomplete> -->
|
|
1859
|
+
|
1839
|
1860
|
</el-main>
|
1840
|
1861
|
</el-container>
|
1841
|
1862
|
</el-container>
|
|
@@ -1845,7 +1866,7 @@
|
1845
|
1866
|
<plan-form ref="planForm" :equimentid="equimentid" v-on:getAllPlan="getAllPlan" v-on:getAllPlanDetail="getAllPlanDetail"></plan-form>
|
1846
|
1867
|
<!-- <edit-machine-form ref="editmachineform" :planid="planid" ></edit-machine-form> -->
|
1847
|
1868
|
<!-- 综合查询 -->
|
1848
|
|
- <multiple-form ref="multipleform"></multiple-form>
|
|
1869
|
+ <multiple-form ref="multipleform" :equimentid="equimentid"></multiple-form>
|
1849
|
1870
|
<!-- 编辑消毒计划 -->
|
1850
|
1871
|
<el-dialog title="编辑消毒计划" :visible.sync="dialogVisible" width="50%" center>
|
1851
|
1872
|
<el-form :model="machineform" ref="machineform">
|
|
@@ -1975,7 +1996,7 @@
|
1975
|
1996
|
import { getAllSubregion, getAllMachine, getMachineDetailById,
|
1976
|
1997
|
UpdateMachineInfo, getAllPlan, getAllPlanDetail, DeletePlans,
|
1977
|
1998
|
getAllEquimentName, EditPlanDetail, UpdatePlanInfo, SaveInformation, getPatientInfo,
|
1978
|
|
- ChangeClass, getAllOrganization, getUserRegister, SaveQualityControl, getOrgName, SaveRepair, SaveBacteria, SaveLincomycin,getAutoData,getAllEquitType,UpdateMacheineTwo } from '@/api/manage'
|
|
1999
|
+ ChangeClass, getAllOrganization, getUserRegister, SaveQualityControl, getOrgName, SaveRepair, SaveBacteria, SaveLincomycin,getAutoData,getAllEquitType,UpdateMacheineTwo,getTotalNumber,getTimeWarning } from '@/api/manage'
|
1979
|
2000
|
import { uParseTime } from '@/utils/tools'
|
1980
|
2001
|
import { getToken } from '@/api/qiniu'
|
1981
|
2002
|
import PlanForm from './components/PlanForm'
|
|
@@ -2427,6 +2448,9 @@ export default {
|
2427
|
2448
|
disableFour:true,
|
2428
|
2449
|
disableFive:true,
|
2429
|
2450
|
runDisable:true,
|
|
2451
|
+ warnShow:false,
|
|
2452
|
+ warnShowTwo:false,
|
|
2453
|
+ warnShowThree:false,
|
2430
|
2454
|
}
|
2431
|
2455
|
},
|
2432
|
2456
|
methods: {
|
|
@@ -2525,6 +2549,8 @@ export default {
|
2525
|
2549
|
this.getUserRegister(val.id)
|
2526
|
2550
|
//病人下机后插入数据
|
2527
|
2551
|
this.getAutoData(val.id)
|
|
2552
|
+ this.getTotalNumber(val.id)
|
|
2553
|
+ this.getTimeWarning(val.id)
|
2528
|
2554
|
},
|
2529
|
2555
|
getAutoData(id){
|
2530
|
2556
|
getAutoData(id).then(response=>{
|
|
@@ -3341,6 +3367,9 @@ export default {
|
3341
|
3367
|
getTimes(time) {
|
3342
|
3368
|
return uParseTime(time, '{y}-{m}-{d} {h}:{i}')
|
3343
|
3369
|
},
|
|
3370
|
+ getTime(time) {
|
|
3371
|
+ return uParseTime(time, '{y}-{m}-{d}')
|
|
3372
|
+ },
|
3344
|
3373
|
|
3345
|
3374
|
SaveInformation(formName) {
|
3346
|
3375
|
|
|
@@ -3711,6 +3740,20 @@ export default {
|
3711
|
3740
|
},
|
3712
|
3741
|
SaveLincomycin(formName) {
|
3713
|
3742
|
this.$refs[formName].validate((valid) => {
|
|
3743
|
+ if(this.qualityFormTwo.specimenb === ""){
|
|
3744
|
+ this.qualityFormTwo.specimenb = 0
|
|
3745
|
+ }
|
|
3746
|
+
|
|
3747
|
+ var specimen = this.qualityFormTwo.specimenb
|
|
3748
|
+ var specimenb = parseInt(specimen)
|
|
3749
|
+ this.qualityFormTwo.specimenb = specimenb
|
|
3750
|
+
|
|
3751
|
+ if(this.qualityFormTwo.sampling_locationb === ""){
|
|
3752
|
+ this.qualityFormTwo.sampling_locationb = 0
|
|
3753
|
+ }
|
|
3754
|
+ var sampling = this.qualityFormTwo.sampling_locationb
|
|
3755
|
+ var samplings = parseInt(sampling)
|
|
3756
|
+ this.qualityFormTwo.sampling_locationb = samplings
|
3714
|
3757
|
if (valid) {
|
3715
|
3758
|
SaveLincomycin(this.equimentid, this.qualityFormTwo).then(response => {
|
3716
|
3759
|
if (response.data.state === 1) {
|
|
@@ -3911,10 +3954,13 @@ export default {
|
3911
|
3954
|
PostSearch(key).then(response => {
|
3912
|
3955
|
if (response.data.state == 1) {
|
3913
|
3956
|
searchArray = response.data.data.patient
|
3914
|
|
- console.log("ser=================",searchArray)
|
|
3957
|
+ // console.log("ser=================",searchArray)
|
|
3958
|
+
|
3915
|
3959
|
cb(searchArray)
|
3916
|
3960
|
}
|
3917
|
3961
|
})
|
|
3962
|
+
|
|
3963
|
+ return searchArray
|
3918
|
3964
|
},
|
3919
|
3965
|
createFilter(queryString) {
|
3920
|
3966
|
return (searchArray) => {
|
|
@@ -3932,7 +3978,42 @@ export default {
|
3932
|
3978
|
this.DeviceType = addmacher;
|
3933
|
3979
|
}
|
3934
|
3980
|
});
|
3935
|
|
- }
|
|
3981
|
+ },
|
|
3982
|
+ getTotalNumber(){
|
|
3983
|
+ getTotalNumber(this.equimentid).then(response=>{
|
|
3984
|
+ if(response.data.state === 1){
|
|
3985
|
+ var total = response.data.data.total
|
|
3986
|
+ if(total === ""){
|
|
3987
|
+ this.userform.user_total = ""
|
|
3988
|
+ }
|
|
3989
|
+ this.userform.user_total = total
|
|
3990
|
+ }else{
|
|
3991
|
+ this.$message.error("数据返回失败")
|
|
3992
|
+ }
|
|
3993
|
+ })
|
|
3994
|
+ },
|
|
3995
|
+ getTimeWarning(id){
|
|
3996
|
+ getTimeWarning(id).then(response=>{
|
|
3997
|
+ if(response.data.state === 1){
|
|
3998
|
+ var information = response.data.data.information
|
|
3999
|
+ var time = this.userform.date - information.date
|
|
4000
|
+ if(time >= 2678400){
|
|
4001
|
+ this.warnShow = true
|
|
4002
|
+ }
|
|
4003
|
+ var deviceInformation = response.data.data.deviceInformation
|
|
4004
|
+ console.log("细菌过滤器更换日期",information.date)
|
|
4005
|
+ var timetwo = this.userform.date - deviceInformation.date
|
|
4006
|
+ if(timetwo >= 2678400){
|
|
4007
|
+ this.warnShowTwo = true
|
|
4008
|
+ }
|
|
4009
|
+ var clean = response.data.data.clean
|
|
4010
|
+ var timethree = this.userform.date - clean.date
|
|
4011
|
+ if(timethree >= 2678400){
|
|
4012
|
+ this.warnShowThree = true
|
|
4013
|
+ }
|
|
4014
|
+ }
|
|
4015
|
+ })
|
|
4016
|
+ },
|
3936
|
4017
|
},
|
3937
|
4018
|
created() {
|
3938
|
4019
|
this.getAllSubregion()
|
|
@@ -3947,6 +4028,9 @@ export default {
|
3947
|
4028
|
this.getOrgName()
|
3948
|
4029
|
this.getAllEquitType()
|
3949
|
4030
|
},
|
|
4031
|
+ mounted(){
|
|
4032
|
+ this.searchArray = this.querySearchAsync()
|
|
4033
|
+ }
|
3950
|
4034
|
}
|
3951
|
4035
|
</script>
|
3952
|
4036
|
<style lang="scss" scoped>
|
|
@@ -3992,6 +4076,10 @@ export default {
|
3992
|
4076
|
margin-left: 450px;
|
3993
|
4077
|
margin-top: 200px;
|
3994
|
4078
|
}
|
|
4079
|
+ .warn{
|
|
4080
|
+ color: red;
|
|
4081
|
+ font-size: 14px;
|
|
4082
|
+ }
|
3995
|
4083
|
|
3996
|
4084
|
</style>
|
3997
|
4085
|
<style lang="scss">
|