소스 검색

新分支

28169 1 년 전
부모
커밋
9f95f0dd05
3개의 변경된 파일15개의 추가작업 그리고 15개의 파일을 삭제
  1. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  2. 6 6
      src/xt_pages/management/components/PlanForm.vue
  3. 7 7
      src/xt_pages/role/admin.vue

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue 파일 보기

@@ -1142,8 +1142,8 @@ export default {
1142 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 1147
         // console.log("arriooowo",arr)
1148 1148
         // if(arr!=null && arr.length >0){
1149 1149
   

+ 6 - 6
src/xt_pages/management/components/PlanForm.vue 파일 보기

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

+ 7 - 7
src/xt_pages/role/admin.vue 파일 보기

@@ -187,12 +187,12 @@
187 187
           @click="toSendInformaton">发送短信验证码</el-button>  -->
188 188
        
189 189
           
190
-        <!-- <el-button
190
+          <!--<el-button
191 191
           type="primary"
192 192
           size="small"
193 193
           icon="el-icon-circle-plus-outline"
194 194
           style="float:left"
195
-          @click="toSavePDFInformation">生成PDF</el-button> -->
195
+          @click="toSavePDFInformation">生成PDF</el-button>-->
196 196
 
197 197
 
198 198
         <!-- <el-button
@@ -1071,11 +1071,11 @@ export default {
1071 1071
            
1072 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 1080
            const blob = this.base64ToBlob(orderId, 'application/pdf');
1081 1081
            this.openPdf(blob);