Browse Source

新分支

28169 1 year ago
parent
commit
3b72a8e1da

+ 29 - 18
src/xt_pages/device/airDisinfectTwo.vue View File

@@ -916,22 +916,24 @@
916 916
          total:0,
917 917
          tableData: [],
918 918
          hiddenShow:false,
919
-         disInfectionWaterList:[
920
-         { id: 1, name: "0.22%季铵盐" },
921
-         { id: 2, name: "500mg/l含氯消毒剂" },
922
-         { id: 3, name: "1000mg/l含氯消毒剂" },
923
-         { id: 4, name: "1500mg/l含氯消毒剂" },
924
-         { id: 5, name: "消毒湿巾" },
925
-         { id:6, name:"75%酒精"}
926
-         ],
927
-         DisinfectionMode: [
928
-            { id: 1, name: "紫外线" },
929
-            { id: 2, name: "等离子" },
930
-            { id: 3, name: "臭氧" },
931
-            {id:4,name:"含氯剂喷洒500mg/L"},
932
-            {id:5,name:"含氯剂喷洒1000mg/L"},
933
-            {id:6,name:"通风"}
934
-         ],
919
+        //  disInfectionWaterList:[
920
+        //  { id: 1, name: "0.22%季铵盐" },
921
+        //  { id: 2, name: "500mg/l含氯消毒剂" },
922
+        //  { id: 3, name: "1000mg/l含氯消毒剂" },
923
+        //  { id: 4, name: "1500mg/l含氯消毒剂" },
924
+        //  { id: 5, name: "消毒湿巾" },
925
+        //  { id:6, name:"75%酒精"}
926
+        //  ],
927
+        disInfectionWaterList:[],
928
+        //  DisinfectionMode: [
929
+        //     { id: 1, name: "紫外线" },
930
+        //     { id: 2, name: "等离子" },
931
+        //     { id: 3, name: "臭氧" },
932
+        //     {id:4,name:"含氯剂喷洒500mg/L"},
933
+        //     {id:5,name:"含氯剂喷洒1000mg/L"},
934
+        //     {id:6,name:"通风"}
935
+        //  ],
936
+         DisinfectionMode:[],
935 937
          operators: [],
936 938
          operatorMaps:{},
937 939
          firststart:'',
@@ -944,8 +946,17 @@
944 946
         }
945 947
       },
946 948
       created(){
947
-        this.disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
948
-        console.log("disinfection_fluid",this.disinfection_fluid)
949
+        var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
950
+        console.log("disinfection_fluid",disinfection_fluid)
951
+        for(let i=0;i<disinfection_fluid.length;i++){
952
+          this.disInfectionWaterList.push(disinfection_fluid[i])
953
+        }
954
+
955
+        var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
956
+        console.log("disinfection_methods",disinfection_methods)
957
+        for(let i=0;i<disinfection_methods.length;i++){
958
+          this.DisinfectionMode.push(disinfection_methods[i])
959
+        }
949 960
         this.getAllDoctorList()
950 961
         this.getNewAirDisinfectList()
951 962
         var time=moment(this.form.first_start_time).format("HH:mm");

+ 21 - 9
src/xt_pages/device/objectTableDisinfectTwo.vue View File

@@ -1069,6 +1069,7 @@
1069 1069
         updateObjectTableDisinfect, 
1070 1070
         deleteObjectTableDisinfect
1071 1071
     } from "@/api/device"
1072
+    import { getManageMentDataConfig } from '@/utils/data'
1072 1073
     import { uParseTime } from '@/utils/tools'
1073 1074
     const moment = require('moment')
1074 1075
     export default {
@@ -1158,17 +1159,17 @@
1158 1159
          tableData: [],
1159 1160
          hiddenShow:false,
1160 1161
          disInfectionWaterList:[
1161
-         { id: 1, name: "0.22%季铵盐" },
1162
-         { id: 2, name: "500mg/l含氯消毒剂" },
1163
-         { id: 3, name: "1000mg/l含氯消毒剂" },
1164
-         { id: 4, name: "1500mg/l含氯消毒剂" },
1165
-         { id: 5, name: "消毒湿巾" },
1166
-         {  id:6, name:"75%酒精"}
1162
+        //  { id: 1, name: "0.22%季铵盐" },
1163
+        //  { id: 2, name: "500mg/l含氯消毒剂" },
1164
+        //  { id: 3, name: "1000mg/l含氯消毒剂" },
1165
+        //  { id: 4, name: "1500mg/l含氯消毒剂" },
1166
+        //  { id: 5, name: "消毒湿巾" },
1167
+        //  {  id:6, name:"75%酒精"}
1167 1168
          ],
1168 1169
          DisinfectionMode: [
1169
-            { id: 1, name: "擦拭" },
1170
-            { id: 2, name: "浸泡" },
1171
-            { id: 3, name: "喷洒" }
1170
+            // { id: 1, name: "擦拭" },
1171
+            // { id: 2, name: "浸泡" },
1172
+            // { id: 3, name: "喷洒" }
1172 1173
          ],
1173 1174
          operators: [],
1174 1175
          operatorMaps:{},
@@ -1176,6 +1177,17 @@
1176 1177
         }
1177 1178
       },
1178 1179
       created(){
1180
+        var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
1181
+        console.log("disinfection_fluid",disinfection_fluid)
1182
+        for(let i=0;i<disinfection_fluid.length;i++){
1183
+          this.disInfectionWaterList.push(disinfection_fluid[i])
1184
+        }
1185
+
1186
+        var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
1187
+        console.log("disinfection_methods",disinfection_methods)
1188
+        for(let i=0;i<disinfection_methods.length;i++){
1189
+          this.DisinfectionMode.push(disinfection_methods[i])
1190
+        }
1179 1191
         this.getAllDoctorList()
1180 1192
         this.getObjectTableDisInfectList()
1181 1193
       },

+ 6 - 2
src/xt_pages/user/Sitemap.vue View File

@@ -344,7 +344,7 @@ export default{
344 344
       av_bkx:0,
345 345
       av_bky:0,
346 346
       
347
-      fileList:[],
347
+      fileList:[{img_url:"",desc:"",id:0}],
348 348
       uploadData: { token: '', key: '' },
349 349
       qiniuDomain: 'https://images.shengws.com/',
350 350
       puncture_text:[{text:'穿刺角度',width:70},{text:'卡夫距导管出口距离cm',width:158},{text:'动脉端向心穿刺',width:116},{text:'动脉端离心穿刺',width:116},
@@ -1137,6 +1137,9 @@ export default{
1137 1137
          
1138 1138
             this.xuanzhuan_a = sitemap.xuanzhuan_a
1139 1139
             this.xuanzhuan_v = sitemap.xuanzhuan_v
1140
+           
1141
+            console.log("wowowowowowowowowoowow",sitemap.img_url)
1142
+            this.fileList[0].img_url =  sitemap.img_url
1140 1143
             
1141 1144
             this.A_right = []
1142 1145
             
@@ -1220,7 +1223,8 @@ export default{
1220 1223
               }
1221 1224
              }
1222 1225
           
1223
-             this.fileList[0].img_url =  sitemap.img_url
1226
+            
1227
+             
1224 1228
             }
1225 1229
 
1226 1230
          }