Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 gadu atpakaļ
vecāks
revīzija
d52e891707

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue Parādīt failu

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 Parādīt failu

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 => {

+ 67 - 31
src/xt_pages/outpatientCharges/summary.vue Parādīt failu

283
               size="mini"
283
               size="mini"
284
               type="primary"
284
               type="primary"
285
               @click="confirmUploadInfo(scope.row)"
285
               @click="confirmUploadInfo(scope.row)"
286
-              v-if="$store.getters.xt_user.org_id == 10265"
286
+              v-if="$store.getters.xt_user.org_id == 10265 || $store.getters.xt_user.org_id == 10191"
287
             >
287
             >
288
               确认结算清单
288
               确认结算清单
289
             </el-button>
289
             </el-button>
290
+
290
             <el-button
291
             <el-button
291
               size="mini"
292
               size="mini"
292
               type="primary"
293
               type="primary"
848
     },
849
     },
849
     confirmUploadInfo(row){
850
     confirmUploadInfo(row){
850
       var that = this;
851
       var that = this;
851
-      axios
852
-        .get("http://127.0.0.1:9532/api/4102", {
853
-          params: {
854
-            order_id: row.id,
855
-            admin_user_id: this.$store.getters.xt_user.user.id,
856
-            stas_type: 1
857
-          },
858
-        })
859
-        .then(function (response) {
860
-          if (response.data.state == 0) {
861
-            that.$message.error(response.data.msg);
862
-            return false;
863
-          } else {
864
-            if (response.data.data.failed_code == -10) {
865
-              that
866
-                .$confirm(response.data.data.msg, "医保错误信息", {
867
-                  confirmButtonText: "确 定",
868
-                  type: "warning",
869
-                })
870
-                .then(() => {
871
-                })
872
-                .catch(() => {
873
-                });
852
+      if(this.$store.getters.xt_user.org_id == 10191){
853
+        axios
854
+          .get("http://127.0.0.1:9532/api/comfirm/upload", {
855
+            params: {
856
+              order_id: row.id,
857
+              admin_user_id: this.$store.getters.xt_user.user.id,
858
+              stas_type: 1
859
+            },
860
+          })
861
+          .then(function (response) {
862
+            if (response.data.state == 0) {
863
+              that.$message.error(response.data.msg);
864
+              return false;
865
+            } else {
866
+              if (response.data.data.failed_code == -10) {
867
+                that
868
+                  .$confirm(response.data.data.msg, "医保错误信息", {
869
+                    confirmButtonText: "确 定",
870
+                    type: "warning",
871
+                  })
872
+                  .then(() => {
873
+                  })
874
+                  .catch(() => {
875
+                  });
876
+              } else {
877
+                that.$message.success("确认成功");
878
+                row.result.id = response.data.data.result.id;
879
+              }
880
+            }
881
+          })
882
+          .catch(function (error) {
883
+          });
884
+      }else{
885
+        axios
886
+          .get("http://127.0.0.1:9532/api/4102", {
887
+            params: {
888
+              order_id: row.id,
889
+              admin_user_id: this.$store.getters.xt_user.user.id,
890
+              stas_type: 1
891
+            },
892
+          })
893
+          .then(function (response) {
894
+            if (response.data.state == 0) {
895
+              that.$message.error(response.data.msg);
896
+              return false;
874
             } else {
897
             } else {
875
-              that.$message.success("确认成功");
876
-              row.result.id = response.data.data.result.id;
898
+              if (response.data.data.failed_code == -10) {
899
+                that
900
+                  .$confirm(response.data.data.msg, "医保错误信息", {
901
+                    confirmButtonText: "确 定",
902
+                    type: "warning",
903
+                  })
904
+                  .then(() => {
905
+                  })
906
+                  .catch(() => {
907
+                  });
908
+              } else {
909
+                that.$message.success("确认成功");
910
+                row.result.id = response.data.data.result.id;
911
+              }
877
             }
912
             }
878
-          }
879
-        })
880
-        .catch(function (error) {
881
-        });
913
+          })
914
+          .catch(function (error) {
915
+          });
916
+
917
+      }
882
 
918
 
883
 
919
 
884
     },
920
     },
1280
                 name: order.patient.name,
1316
                 name: order.patient.name,
1281
                 id_card_no: order.patient.id_card_no,
1317
                 id_card_no: order.patient.id_card_no,
1282
                 year: "2023",
1318
                 year: "2023",
1283
-                month: "08",
1319
+                month: "09",
1284
                 code: data[b].code,
1320
                 code: data[b].code,
1285
                 pric: data[b].total ,
1321
                 pric: data[b].total ,
1286
                 item_name: data[b].name,
1322
                 item_name: data[b].name,

+ 7 - 7
src/xt_pages/role/admin.vue Parādīt failu

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);