Преглед изворни кода

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

杨青 пре 1 година
родитељ
комит
a60a2ebd83

+ 18 - 0
src/api/role/admin.js Прегледај датотеку

@@ -283,3 +283,21 @@ export function UploadPrintOrder(data){
283 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 Прегледај датотеку

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

+ 3 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printThree.vue Прегледај датотеку

@@ -104,8 +104,9 @@
104 104
             </span>
105 105
             <span style="position: absolute;top:250px;left:610px">{{ totalPrice.toFixed(2) }}</span>
106 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 110
         <div>
110 111
             <!-- <div style="position: absolute;top:320px;left:120px">{{ org_name }}</div> -->
111 112
             <div style="position: absolute;top:340px;left:120px">{{ paramsObj.chargeName }}</div>

+ 0 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Прегледај датотеку

@@ -967,7 +967,6 @@
967 967
     </el-dialog>
968 968
 
969 969
   </div>
970
-
971 970
 </template>
972 971
 
973 972
 

+ 14 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

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

+ 23 - 23
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue Прегледај датотеку

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

+ 15 - 3
src/xt_pages/qcd/basicInformationAnalysis.vue Прегледај датотеку

@@ -174,10 +174,10 @@
174 174
                     <p>HDF+HP:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
175 175
                     <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
176 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 179
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
180
-                  </span>
180
+                  </span> -->
181 181
                    <span v-if="item.mode_id == '腹水回输'">
182 182
                       <p>腹水回输:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
183 183
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
@@ -1032,6 +1032,18 @@ export default {
1032 1032
             if(modedate[i].mode_id == 28){
1033 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 1047
             this.modetype = modedate
1036 1048
 
1037 1049
             // this.modesData.xAxis.push(modedate[i].mode_id)

+ 36 - 3
src/xt_pages/role/admin.vue Прегледај датотеку

@@ -177,6 +177,14 @@
177 177
           style="float:left"
178 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 190
      </div>
@@ -257,10 +265,16 @@
257 265
           <template slot-scope="scope">
258 266
            
259 267
              
260
-            <!-- <span>
268
+           <!-- <span>
261 269
               <el-button type="primary" size="small" @click="toRenZhen(scope.row.user_id,scope.row.user_name)">
262 270
                     <span>CA个人认证</span>
263 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 278
             </span>
265 279
 
266 280
             <span>
@@ -271,7 +285,7 @@
271 285
 
272 286
             <span>
273 287
               <el-button type="primary" size="small" @click="toShouQuan(scope.row.user_id,scope.row.user_name)">
274
-                    <span>授权用户企业印章</span>
288
+                    <span>创建企业印章</span>
275 289
               </el-button>
276 290
             </span> -->
277 291
             <el-tooltip
@@ -470,7 +484,8 @@
470 484
 </template>
471 485
 
472 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 489
 import { getRoles } from "@/api/role/role";
475 490
 
476 491
 import { parseTime } from "@/utils";
@@ -1015,6 +1030,24 @@ export default {
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 1052
   watch: {
1020 1053
     should_update_admins(should_change) {

+ 1 - 1
src/xt_pages/user/Sitemap.vue Прегледај датотеку

@@ -896,7 +896,7 @@ export default{
896 896
       console.log("wowowowow",file)
897 897
       this.fileList.shift()
898 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 900
         desc: '',
901 901
         id: 0
902 902
       })

+ 1 - 1
src/xt_pages/user/inspection.vue Прегледај датотеку

@@ -633,7 +633,7 @@ export default {
633 633
       console.log("RESPOWOWOWOWO",res)
634 634
       console.log("wowowowow",file)
635 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 637
         desc: '',
638 638
         id: 0
639 639
       })

+ 1 - 1
src/xt_pages/user/inspectionCheck.vue Прегледај датотеку

@@ -508,7 +508,7 @@ export default {
508 508
     },
509 509
     handleAvatarSuccess(res, file) {
510 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 512
         desc: '',
513 513
         id: 0
514 514
       })