浏览代码

新分支

28169 1年前
父节点
当前提交
9f95f0dd05

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue 查看文件

1142
           this.advices = tableAdvice;
1142
           this.advices = tableAdvice;
1143
         }
1143
         }
1144
 
1144
 
1145
-        // var arr = [] 
1146
-        // arr = this.unique(this.advices)
1145
+        var arr = [] 
1146
+        arr = this.unique(this.advices)
1147
         // console.log("arriooowo",arr)
1147
         // console.log("arriooowo",arr)
1148
         // if(arr!=null && arr.length >0){
1148
         // if(arr!=null && arr.length >0){
1149
   
1149
   

+ 6 - 6
src/xt_pages/management/components/PlanForm.vue 查看文件

41
                 default-first-option
41
                 default-first-option
42
                 placeholder="请选择时间"
42
                 placeholder="请选择时间"
43
                 style="width: 135px;"
43
                 style="width: 135px;"
44
-               
44
+
45
               >
45
               >
46
                 <el-option
46
                 <el-option
47
                   v-for="item in this.timeType"
47
                   v-for="item in this.timeType"
251
         { id: 1, name: "床单" },
251
         { id: 1, name: "床单" },
252
         { id: 2, name: "被套" },
252
         { id: 2, name: "被套" },
253
         { id: 3, name: "枕套" },
253
         { id: 3, name: "枕套" },
254
-      
254
+
255
       ],
255
       ],
256
       DeviceType: [],
256
       DeviceType: [],
257
       planid: 0,
257
       planid: 0,
272
       });
272
       });
273
     },
273
     },
274
     savePlan(formName) {
274
     savePlan(formName) {
275
-      
275
+
276
       var equimentid = this.equimentid;
276
       var equimentid = this.equimentid;
277
       // console.log('equimentid', equimentid);
277
       // console.log('equimentid', equimentid);
278
       var devicetype = this.form.device_type;
278
       var devicetype = this.form.device_type;
300
           var msg = response.data.data.msg;
300
           var msg = response.data.data.msg;
301
           // console.log('msg', msg);
301
           // console.log('msg', msg);
302
           this.$message.success("保存成功");
302
           this.$message.success("保存成功");
303
-          
303
+
304
           this.dialogVisible = false;
304
           this.dialogVisible = false;
305
           this.$refs['form'].resetFields()
305
           this.$refs['form'].resetFields()
306
           this.$emit("getAllPlan");
306
           this.$emit("getAllPlan");
308
           // 如果保存成功通过状态值改变父组键表格的值
308
           // 如果保存成功通过状态值改变父组键表格的值
309
           this.plandata = 1;
309
           this.plandata = 1;
310
           this.$emit("func", this.plandata);
310
           this.$emit("func", this.plandata);
311
-          
311
+
312
         } else {
312
         } else {
313
           this.$message.error("该消毒计划已存在");
313
           this.$message.error("该消毒计划已存在");
314
         }
314
         }
315
       });
315
       });
316
-      
316
+
317
     },
317
     },
318
     getAllEquitType() {
318
     getAllEquitType() {
319
       getAllEquitType().then(response => {
319
       getAllEquitType().then(response => {

+ 7 - 7
src/xt_pages/role/admin.vue 查看文件

187
           @click="toSendInformaton">发送短信验证码</el-button>  -->
187
           @click="toSendInformaton">发送短信验证码</el-button>  -->
188
        
188
        
189
           
189
           
190
-        <!-- <el-button
190
+          <!--<el-button
191
           type="primary"
191
           type="primary"
192
           size="small"
192
           size="small"
193
           icon="el-icon-circle-plus-outline"
193
           icon="el-icon-circle-plus-outline"
194
           style="float:left"
194
           style="float:left"
195
-          @click="toSavePDFInformation">生成PDF</el-button> -->
195
+          @click="toSavePDFInformation">生成PDF</el-button>-->
196
 
196
 
197
 
197
 
198
         <!-- <el-button
198
         <!-- <el-button
1071
            
1071
            
1072
            var orderId = response.data.data.orderId
1072
            var orderId = response.data.data.orderId
1073
            
1073
            
1074
-           var base64Img = 'data:image/png;base64'+","+orderId
1075
-           console.log("base64Img",base64Img)
1076
-           var imgFile = this.base64ImgtoFile(base64Img)
1077
-           this.downloadBlob(imgFile, 'test.png')
1078
-           console.log("imgFilewoowow",imgFile)
1074
+          //  var base64Img = 'data:image/png;base64'+","+orderId
1075
+          //  console.log("base64Img",base64Img)
1076
+          //  var imgFile = this.base64ImgtoFile(base64Img)
1077
+          //  this.downloadBlob(imgFile, 'test.png')
1078
+          //  console.log("imgFilewoowow",imgFile)
1079
 
1079
 
1080
            const blob = this.base64ToBlob(orderId, 'application/pdf');
1080
            const blob = this.base64ToBlob(orderId, 'application/pdf');
1081
            this.openPdf(blob);
1081
            this.openPdf(blob);