Pārlūkot izejas kodu

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

杨青 1 gadu atpakaļ
vecāks
revīzija
a60a2ebd83

+ 18 - 0
src/api/role/admin.js Parādīt failu

283
     data:data,
283
     data:data,
284
   })
284
   })
285
 }
285
 }
286
+
287
+export function CreateQianshuUserName(data){
288
+  
289
+  return request({
290
+    url:"/api/device/createqianshuusername",
291
+    method:"Post",
292
+    data:data,
293
+  })
294
+}
295
+
296
+export function CreateSKDSendInformation(data){
297
+  
298
+  return request({
299
+    url:"/api/device/createskdsendinformation",
300
+    method:"Post",
301
+    data:data,
302
+  })
303
+}

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Parādīt failu

2898
     },
2898
     },
2899
   },
2899
   },
2900
   created() {
2900
   created() {
2901
-    console.log("hhahahhahahahah=======",this.org_template_info.template_id)
2901
+    // console.log("hhahahhahahahah=======",this.org_template_info.template_id)
2902
     console.log("this.$store.getters.xt_user.org.id",this.$store.getters.xt_user.org.id)
2902
     console.log("this.$store.getters.xt_user.org.id",this.$store.getters.xt_user.org.id)
2903
     var schedule_type_selected = this.$store.getters.schedule_type_selected;
2903
     var schedule_type_selected = this.$store.getters.schedule_type_selected;
2904
     var zone_selected = this.$store.getters.zone_selected;
2904
     var zone_selected = this.$store.getters.zone_selected;

+ 3 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printThree.vue Parādīt failu

104
             </span>
104
             </span>
105
             <span style="position: absolute;top:250px;left:610px">{{ totalPrice.toFixed(2) }}</span>
105
             <span style="position: absolute;top:250px;left:610px">{{ totalPrice.toFixed(2) }}</span>
106
         </div> -->
106
         </div> -->
107
-        <div style="position: absolute;top:300px;left:80px">合计大写 {{ zhongwen }}</div>
108
-        <div style="position: absolute;top:300px;left:300px">合计小写 {{ list.psn_cash_money }}</div>
107
+<!--        <div style="position: absolute;top:300px;left:80px">{{ zhongwen }}</div>-->
108
+      <div style="position: absolute;top:300px;left:80px">总金额 {{ list.order.medfee_sumamt }}</div>
109
+        <div style="position: absolute;top:300px;left:300px">个人自费 {{ list.psn_cash_money }}</div>
109
         <div>
110
         <div>
110
             <!-- <div style="position: absolute;top:320px;left:120px">{{ org_name }}</div> -->
111
             <!-- <div style="position: absolute;top:320px;left:120px">{{ org_name }}</div> -->
111
             <div style="position: absolute;top:340px;left:120px">{{ paramsObj.chargeName }}</div>
112
             <div style="position: absolute;top:340px;left:120px">{{ paramsObj.chargeName }}</div>

+ 0 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Parādīt failu

967
     </el-dialog>
967
     </el-dialog>
968
 
968
 
969
   </div>
969
   </div>
970
-
971
 </template>
970
 </template>
972
 
971
 
973
 
972
 

+ 14 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Parādīt failu

2002
         }
2002
         }
2003
       }
2003
       }
2004
 
2004
 
2005
+      if(this.org_id == 0 || this.org_id == 10375){
2006
+        this.state1 = 607
2007
+      }
2008
+
2005
       if (info.id > 0) {
2009
       if (info.id > 0) {
2006
         this.doctorValue = info.doctor_id
2010
         this.doctorValue = info.doctor_id
2007
         this.departmentValue = info.departments
2011
         this.departmentValue = info.departments
2120
         }
2124
         }
2121
       }
2125
       }
2122
 
2126
 
2127
+      if(this.org_id == 0 || this.org_id == 10375){
2128
+        this.state1 = 607
2129
+      }
2130
+
2131
+
2123
       if (this.departmentValue == '' || this.departmentValue == 0) {
2132
       if (this.departmentValue == '' || this.departmentValue == 0) {
2124
         if (department.length > 0) {
2133
         if (department.length > 0) {
2125
           this.departmentValue = department[0].id
2134
           this.departmentValue = department[0].id
2221
         }
2230
         }
2222
       }
2231
       }
2223
 
2232
 
2233
+      if(this.org_id == 0 || this.org_id == 10375){
2234
+        this.state1 = 607
2235
+      }
2236
+
2237
+
2224
       if (this.departmentValue == '' || this.departmentValue == 0) {
2238
       if (this.departmentValue == '' || this.departmentValue == 0) {
2225
         if (this.department.length > 0) {
2239
         if (this.department.length > 0) {
2226
           this.departmentValue = this.department[0].id
2240
           this.departmentValue = this.department[0].id

+ 23 - 23
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue Parādīt failu

44
             </div>
44
             </div>
45
             <div style="margin-bottom: 10px" v-if="org_id != 10188">
45
             <div style="margin-bottom: 10px" v-if="org_id != 10188">
46
               <!-- 电话:{{ item.patient.phone }} -->
46
               <!-- 电话:{{ item.patient.phone }} -->
47
-              开方日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
47
+              开方日期:{{ getTime(item.pre_time) ? getTime(item.pre_time) : "" }}
48
             </div>
48
             </div>
49
             <div style="margin-bottom: 10px" v-else>
49
             <div style="margin-bottom: 10px" v-else>
50
               日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
50
               日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
59
             <div class="Rp">Rp:</div>
59
             <div class="Rp">Rp:</div>
60
             <div
60
             <div
61
               class="drugsBox"
61
               class="drugsBox"
62
-              v-for="(it, index) in item.advices" :key="index" 
62
+              v-for="(it, index) in item.advices" :key="index"
63
               :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
63
               :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
64
             >
64
             >
65
             <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
65
             <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
88
                     </div>
88
                     </div>
89
                     <div style="margin-bottom: 10px" v-if="org_id != 10188">
89
                     <div style="margin-bottom: 10px" v-if="org_id != 10188">
90
                       <!-- 电话:{{ item.patient.phone }} -->
90
                       <!-- 电话:{{ item.patient.phone }} -->
91
-                      开方日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
91
+                      开方日期:{{ getTime(item.pre_time) ? getTime(item.pre_time) : "" }}
92
                     </div>
92
                     </div>
93
                     <div style="margin-bottom: 10px" v-else>
93
                     <div style="margin-bottom: 10px" v-else>
94
                       日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
94
                       日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
126
                       </div>
126
                       </div>
127
                     </template>
127
                     </template>
128
                   </div>
128
                   </div>
129
-                  
129
+
130
                   <div style="margin-left: 70px">
130
                   <div style="margin-left: 70px">
131
                     用法:
131
                     用法:
132
                     <span v-if="(item.arr.length>0 && item.arr[0][0].groupno!=it.groupno)||item.arr.length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
132
                     <span v-if="(item.arr.length>0 && item.arr[0][0].groupno!=it.groupno)||item.arr.length==0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
175
                           : 0
175
                           : 0
176
                       }}元
176
                       }}元
177
                     </p>
177
                     </p>
178
-                    
178
+
179
                   </div>
179
                   </div>
180
                   <div class="actionBar" style="margin-bottom: 10px;">
180
                   <div class="actionBar" style="margin-bottom: 10px;">
181
-                    <p style="width:300px;">大额处方患者意见: 
181
+                    <p style="width:300px;">大额处方患者意见:
182
                       <el-radio v-model="radio" label="1">同意</el-radio>
182
                       <el-radio v-model="radio" label="1">同意</el-radio>
183
                       <el-radio v-model="radio" label="2">不同意</el-radio>
183
                       <el-radio v-model="radio" label="2">不同意</el-radio>
184
                     </p>
184
                     </p>
225
                 >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
225
                 >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
226
               </div>
226
               </div>
227
             </div>
227
             </div>
228
-            
228
+
229
             <div
229
             <div
230
               class="drugsBox"
230
               class="drugsBox"
231
               v-for="(it, i) in item.additionalcharge"
231
               v-for="(it, i) in item.additionalcharge"
239
             </div>
239
             </div>
240
             <div style="text-align: center">(以下空白)</div>
240
             <div style="text-align: center">(以下空白)</div>
241
           </div>
241
           </div>
242
-        
242
+
243
           <!-- <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
243
           <!-- <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
244
             <p v-if="org_id == 10217 || org_id == 0">
244
             <p v-if="org_id == 10217 || org_id == 0">
245
               医师:
245
               医师:
272
             <p style="text-align: right;">医师:{{ item.doctor ? item.doctor : "" }}</p>
272
             <p style="text-align: right;">医师:{{ item.doctor ? item.doctor : "" }}</p>
273
           </div>
273
           </div>
274
           <!-- <div style="display: flex;justify-content: space-around;border-bottom: 2px solid #000;">
274
           <!-- <div style="display: flex;justify-content: space-around;border-bottom: 2px solid #000;">
275
-            <p style="width:300px;">大额处方患者意见: 
275
+            <p style="width:300px;">大额处方患者意见:
276
               <el-radio v-model="radio" label="1">同意</el-radio>
276
               <el-radio v-model="radio" label="1">同意</el-radio>
277
               <el-radio v-model="radio" label="2">不同意</el-radio>
277
               <el-radio v-model="radio" label="2">不同意</el-radio>
278
             </p>
278
             </p>
293
             <p>
293
             <p>
294
               金额:{{
294
               金额:{{
295
                 getTotalOne(item.id).toFixed(2)
295
                 getTotalOne(item.id).toFixed(2)
296
-                  ? getTotalOne(item.id).toFixed(2) 
296
+                  ? getTotalOne(item.id).toFixed(2)
297
                   : 0
297
                   : 0
298
               }}元
298
               }}元
299
             </p>
299
             </p>
300
-            
300
+
301
           </div>
301
           </div>
302
           <div class="actionBar">
302
           <div class="actionBar">
303
-            <p style="width:300px;">大额处方患者意见: 
303
+            <p style="width:300px;">大额处方患者意见:
304
               <el-radio v-model="radio" label="1">同意</el-radio>
304
               <el-radio v-model="radio" label="1">同意</el-radio>
305
               <el-radio v-model="radio" label="2">不同意</el-radio>
305
               <el-radio v-model="radio" label="2">不同意</el-radio>
306
             </p>
306
             </p>
307
-            
307
+
308
             <p>收费员:</p>
308
             <p>收费员:</p>
309
           </div>
309
           </div>
310
           <div>
310
           <div>
311
             <p >患者签名:</p>
311
             <p >患者签名:</p>
312
           </div>
312
           </div>
313
-          
313
+
314
       </div>
314
       </div>
315
     </div>
315
     </div>
316
   </div>
316
   </div>
445
           var arr = new Array()
445
           var arr = new Array()
446
           var advicess = new Array()
446
           var advicess = new Array()
447
           var advicess=advicePrint[i].advices
447
           var advicess=advicePrint[i].advices
448
-          
448
+
449
          for(let j=0;j<advicess.length;j++){
449
          for(let j=0;j<advicess.length;j++){
450
             for(let x=j+1;x<advicess.length;x++){
450
             for(let x=j+1;x<advicess.length;x++){
451
               if(advicess[j].groupno == advicess[x].groupno){
451
               if(advicess[j].groupno == advicess[x].groupno){
453
               }
453
               }
454
             }
454
             }
455
           }
455
           }
456
-         
456
+
457
          this.advicePrint[i]["arr"]    = arr
457
          this.advicePrint[i]["arr"]    = arr
458
         //  for(let y=0;y<this.advicePrint[i].arr.length;y++){
458
         //  for(let y=0;y<this.advicePrint[i].arr.length;y++){
459
         //   console.log('6666666',this.advicePrint[i].arr[y]);
459
         //   console.log('6666666',this.advicePrint[i].arr[y]);
460
         //  }
460
         //  }
461
-          
462
-         
461
+
462
+
463
         }
463
         }
464
           console.log('4444444',this.advicePrint);
464
           console.log('4444444',this.advicePrint);
465
         //  console.log('55555555',this.arr);
465
         //  console.log('55555555',this.arr);
466
-         
466
+
467
           console.log(this.doctorList_1, "医生列表");
467
           console.log(this.doctorList_1, "医生列表");
468
           if (this.doctorList_1.length > 0) {
468
           if (this.doctorList_1.length > 0) {
469
             var operatorsLen = this.doctorList_1.length;
469
             var operatorsLen = this.doctorList_1.length;
633
     var xtuser = this.$store.getters.xt_user;
633
     var xtuser = this.$store.getters.xt_user;
634
     this.orgname = xtuser.org.org_name;
634
     this.orgname = xtuser.org.org_name;
635
     this.org_id = xtuser.org.id;
635
     this.org_id = xtuser.org.id;
636
-    
636
+
637
     // for(let j=0;j<this.advicess.length;j++){
637
     // for(let j=0;j<this.advicess.length;j++){
638
     //   console.log('44444444');
638
     //   console.log('44444444');
639
     //   for(let x=j+1;x<this.advicess.length;x++){
639
     //   for(let x=j+1;x<this.advicess.length;x++){
644
     // }
644
     // }
645
     // console.log('777777777',this.arr[0].advice_name);
645
     // console.log('777777777',this.arr[0].advice_name);
646
     // return this.arr
646
     // return this.arr
647
-    
647
+
648
   },
648
   },
649
-  
649
+
650
   watch: {
650
   watch: {
651
     ids: function (val) {
651
     ids: function (val) {
652
       this.ids = val;
652
       this.ids = val;
678
   margin-top: 10px;
678
   margin-top: 10px;
679
   line-height: 24px;
679
   line-height: 24px;
680
   padding: 0 10px;
680
   padding: 0 10px;
681
-  
681
+
682
 }
682
 }
683
 .infoTitle p {
683
 .infoTitle p {
684
   width: 200px;
684
   width: 200px;

+ 15 - 3
src/xt_pages/qcd/basicInformationAnalysis.vue Parādīt failu

174
                     <p>HDF+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
174
                     <p>HDF+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
175
                     <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
175
                     <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
176
                   </span>
176
                   </span>
177
-                  <span v-if="item.mode_id == 'HFHD+HP'">
178
-                      <p>HFHD+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
177
+                  <!-- <span v-if="item.mode_id == 'HFHD+HD'">
178
+                      <p>HFHD+HD:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
179
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
179
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
180
-                  </span>
180
+                  </span> -->
181
                    <span v-if="item.mode_id == '腹水回输'">
181
                    <span v-if="item.mode_id == '腹水回输'">
182
                       <p>腹水回输:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
182
                       <p>腹水回输:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
183
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
183
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
1032
             if(modedate[i].mode_id == 28){
1032
             if(modedate[i].mode_id == 28){
1033
               modedate[i].mode_id = "CVVHDF"
1033
               modedate[i].mode_id = "CVVHDF"
1034
             }
1034
             }
1035
+            if(modedate[i].mode_id == 29){
1036
+              modedate[i].mode_id = "PE"
1037
+            }
1038
+            if(modedate[i].mode_id == 30){
1039
+              modedate[i].mode_id = "血浆胆红素吸附+HP"
1040
+            }
1041
+            if(modedate[i].mode_id == 31){
1042
+              modedate[i].mode_id = "HPD"
1043
+            }
1044
+            if(modedate[i].mode_id == 32){
1045
+              modedate[i].mode_id = "HDP"
1046
+            }
1035
             this.modetype = modedate
1047
             this.modetype = modedate
1036
 
1048
 
1037
             // this.modesData.xAxis.push(modedate[i].mode_id)
1049
             // this.modesData.xAxis.push(modedate[i].mode_id)

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

177
           style="float:left"
177
           style="float:left"
178
           @click="toEnd">结束签署</el-button> -->
178
           @click="toEnd">结束签署</el-button> -->
179
            
179
            
180
+
181
+        
182
+         <!-- <el-button
183
+          type="primary"
184
+          size="small"
185
+          icon="el-icon-circle-plus-outline"
186
+          style="float:left"
187
+          @click="toSendInformaton">发送短信验证码</el-button>  -->
180
        
188
        
181
           
189
           
182
      </div>
190
      </div>
257
           <template slot-scope="scope">
265
           <template slot-scope="scope">
258
            
266
            
259
              
267
              
260
-            <!-- <span>
268
+           <!-- <span>
261
               <el-button type="primary" size="small" @click="toRenZhen(scope.row.user_id,scope.row.user_name)">
269
               <el-button type="primary" size="small" @click="toRenZhen(scope.row.user_id,scope.row.user_name)">
262
                     <span>CA个人认证</span>
270
                     <span>CA个人认证</span>
263
               </el-button>
271
               </el-button>
272
+            </span> -->
273
+
274
+            <!-- <span>
275
+              <el-button type="primary" size="small" @click="toQianShu(scope.row.user_id,scope.row.user_name)">
276
+                    <span>创建签署人用户</span>
277
+              </el-button>
264
             </span>
278
             </span>
265
 
279
 
266
             <span>
280
             <span>
271
 
285
 
272
             <span>
286
             <span>
273
               <el-button type="primary" size="small" @click="toShouQuan(scope.row.user_id,scope.row.user_name)">
287
               <el-button type="primary" size="small" @click="toShouQuan(scope.row.user_id,scope.row.user_name)">
274
-                    <span>授权用户企业印章</span>
288
+                    <span>创建企业印章</span>
275
               </el-button>
289
               </el-button>
276
             </span> -->
290
             </span> -->
277
             <el-tooltip
291
             <el-tooltip
470
 </template>
484
 </template>
471
 
485
 
472
 <script>
486
 <script>
473
-import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight,toTestNight,toTestTen,toTestElement,toTestThrityMent,saveEnterprise,getEnterPriseById,getMobileCode,savePersionEnterPrise,getPerseEnterPriseById,CreatePersionSeal,CreateNewEnterPrise,toTestThrity,toEndEnterPrise,getEnterPriseDetail} from "@/api/role/admin";
487
+import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight,toTestNight,toTestTen,toTestElement,toTestThrityMent,saveEnterprise,getEnterPriseById,getMobileCode,savePersionEnterPrise,getPerseEnterPriseById,CreatePersionSeal,CreateNewEnterPrise,toTestThrity,toEndEnterPrise,getEnterPriseDetail
488
+  ,CreateQianshuUserName,toSendInformaton,CreateSKDSendInformation} from "@/api/role/admin";
474
 import { getRoles } from "@/api/role/role";
489
 import { getRoles } from "@/api/role/role";
475
 
490
 
476
 import { parseTime } from "@/utils";
491
 import { parseTime } from "@/utils";
1015
       })
1030
       })
1016
     },
1031
     },
1017
    
1032
    
1033
+    toQianShu(){
1034
+      CreateQianshuUserName().then(response=>{
1035
+         if(response.data.state==1){
1036
+          var sign =  response.data.data.sign
1037
+          var userId =  response.data.data.userId
1038
+         }
1039
+      }) 
1040
+    },
1041
+
1042
+    toSendInformaton(){
1043
+      CreateSKDSendInformation().then(response=>{
1044
+        if(response.data.state==1){
1045
+          var information =  response.data.data.information
1046
+
1047
+          var orderId = response.data.data.orderId
1048
+        }
1049
+      })
1050
+    }
1018
   },
1051
   },
1019
   watch: {
1052
   watch: {
1020
     should_update_admins(should_change) {
1053
     should_update_admins(should_change) {

+ 1 - 1
src/xt_pages/user/Sitemap.vue Parādīt failu

896
       console.log("wowowowow",file)
896
       console.log("wowowowow",file)
897
       this.fileList.shift()
897
       this.fileList.shift()
898
       this.fileList.push({
898
       this.fileList.push({
899
-        img_url: this.qiniuDomain + res.url + '?imageView2/2/w/500/h/500/q/90',
899
+        img_url: this.qiniuDomain + res.url + '?imageView2/2/w/2000/h/2000/q/90',
900
         desc: '',
900
         desc: '',
901
         id: 0
901
         id: 0
902
       })
902
       })

+ 1 - 1
src/xt_pages/user/inspection.vue Parādīt failu

633
       console.log("RESPOWOWOWOWO",res)
633
       console.log("RESPOWOWOWOWO",res)
634
       console.log("wowowowow",file)
634
       console.log("wowowowow",file)
635
       this.form.imgs.push({
635
       this.form.imgs.push({
636
-        img_url: this.qiniuDomain + res.url + '?imageView2/2/w/500/h/500/q/90',
636
+        img_url: this.qiniuDomain + res.url + '?imageView2/2/w/2000/h/2000/q/90',
637
         desc: '',
637
         desc: '',
638
         id: 0
638
         id: 0
639
       })
639
       })

+ 1 - 1
src/xt_pages/user/inspectionCheck.vue Parādīt failu

508
     },
508
     },
509
     handleAvatarSuccess(res, file) {
509
     handleAvatarSuccess(res, file) {
510
       this.form.imgs.push({
510
       this.form.imgs.push({
511
-        img_url: this.qiniuDomain + res.url + '?imageView2/2/w/500/h/500/q/90',
511
+        img_url: this.qiniuDomain + res.url + '?imageView2/2/w/2000/h/2000/q/90',
512
         desc: '',
512
         desc: '',
513
         id: 0
513
         id: 0
514
       })
514
       })