Browse Source

新分支

28169 1 year ago
parent
commit
1f7b8f4be2

+ 26 - 1
src/api/role/admin.js View File

138
 export function toTestSeven(params){
138
 export function toTestSeven(params){
139
  
139
  
140
   return request({
140
   return request({
141
-    url:"api/sign/addcontractsignatory",
141
+    url:"/api/sign/addcontractsignatory",
142
     method:"Get",
142
     method:"Get",
143
     params:params
143
     params:params
144
   })
144
   })
151
     method:"Get",
151
     method:"Get",
152
     params:params,
152
     params:params,
153
   })
153
   })
154
+}
155
+
156
+export function toTestNight(params){
157
+  
158
+  return request({
159
+    url:"/api/sign/createbackstagesign",
160
+    method:"get",
161
+    params:params
162
+  })
163
+}
164
+
165
+export function toTestTen(params){
166
+  return request({
167
+    url:"/api/sign/getverificationcode",
168
+    method:"Get",
169
+    params:params,
170
+  })
171
+}
172
+
173
+export function toTestElement(params){
174
+  return request({
175
+    url:"/api/sign/totestelment",
176
+    method:"get",
177
+    params:params
178
+  })
154
 }
179
 }

+ 21 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue View File

69
                 </div>
69
                 </div>
70
70
71
               </div>
71
               </div>
72
-              <div class="inline_block">
72
+              <!-- <div class="inline_block">
73
                 门诊:
73
                 门诊:
74
                 <div class="under_line" style="width: 30px; text-align: center">
74
                 <div class="under_line" style="width: 30px; text-align: center">
75
                   <check-box :checked="record.patient.source == 1"></check-box>
75
                   <check-box :checked="record.patient.source == 1"></check-box>
76
                 </div>
76
                 </div>
77
+              </div> -->
78
+              <div class="inline_block" v-if="record.receive_assessment.condition == 2 || record.receive_assessment.condition == 0">
79
+                  门诊:
80
+                <div class="under_line" style="width: 30px; text-align: center">
81
+                  <check-box :checked="record.receive_assessment.condition == 2 || record.receive_assessment.condition == 0"></check-box>
82
+                </div>
83
+             </div>
84
+            <div class="inline_block" v-if="record.receive_assessment.condition == 1">
85
+              住院:
86
+              <div class="under_line" style="width: 30px; text-align: center">
87
+                <check-box :checked="record.receive_assessment.condition == 1"></check-box>
77
               </div>
88
               </div>
89
+            </div>
78
               <div class="inline_block">
90
               <div class="inline_block">
79
                 病区:
91
                 病区:
80
                 <div class="under_line" style="width: 50px; text-align: center">
92
                 <div class="under_line" style="width: 50px; text-align: center">
1880
                   </div>
1892
                   </div>
1881
1893
1882
                 </div>
1894
                 </div>
1883
-                <div class="inline_block">
1895
+                <div class="inline_block" v-if="record.receive_assessment.condition == 2 || record.receive_assessment.condition == 0">
1884
                   门诊:
1896
                   门诊:
1885
                   <div class="under_line" style="width: 30px; text-align: center">
1897
                   <div class="under_line" style="width: 30px; text-align: center">
1886
-                    <check-box :checked="record.patient.source == 1"></check-box>
1898
+                    <check-box :checked="record.receive_assessment.condition == 2 || record.receive_assessment.condition == 0"></check-box>
1899
+                  </div>
1900
+                </div>
1901
+                <div class="inline_block" v-if="record.receive_assessment.condition == 1">
1902
+                  住院:
1903
+                  <div class="under_line" style="width: 30px; text-align: center">
1904
+                    <check-box :checked="record.receive_assessment.condition == 1"></check-box>
1887
                   </div>
1905
                   </div>
1888
                 </div>
1906
                 </div>
1889
                 <div class="inline_block">
1907
                 <div class="inline_block">

+ 17 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue View File

65
             </div>
65
             </div>
66
66
67
           </div>
67
           </div>
68
-          <div class="inline_block">
69
-            门诊:
68
+          <div class="inline_block" v-if="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0">
69
+              门诊:
70
+              <div class="under_line" style="width: 30px; text-align: center">
71
+                <check-box :checked="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0"></check-box>
72
+              </div>
73
+            </div>
74
+          <div class="inline_block" v-if="receiverTreatmentAccess.condition == 1">
75
+            住院:
70
             <div class="under_line" style="width: 30px; text-align: center">
76
             <div class="under_line" style="width: 30px; text-align: center">
71
-              <check-box :checked="patientInfo_source_1"></check-box>
77
+              <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
72
             </div>
78
             </div>
73
           </div>
79
           </div>
74
           <div class="inline_block">
80
           <div class="inline_block">
1704
               </div>
1710
               </div>
1705
1711
1706
             </div>
1712
             </div>
1707
-            <div class="inline_block">
1713
+            <div class="inline_block" v-if="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0">
1708
               门诊:
1714
               门诊:
1709
               <div class="under_line" style="width: 30px; text-align: center">
1715
               <div class="under_line" style="width: 30px; text-align: center">
1710
-                <check-box :checked="patientInfo_source_1"></check-box>
1716
+                <check-box :checked="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0"></check-box>
1717
+              </div>
1718
+            </div>
1719
+            <div class="inline_block" v-if="receiverTreatmentAccess.condition == 1">
1720
+              住院:
1721
+              <div class="under_line" style="width: 30px; text-align: center">
1722
+                <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
1711
               </div>
1723
               </div>
1712
             </div>
1724
             </div>
1713
             <div class="inline_block">
1725
             <div class="inline_block">

+ 15 - 4
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue View File

39
                 <td>性别: {{ patientInfo_gender_1 ? "男" : "女" }}</td>
39
                 <td>性别: {{ patientInfo_gender_1 ? "男" : "女" }}</td>
40
                 <td>年龄:{{ getAge(patientInfo) }}岁</td>
40
                 <td>年龄:{{ getAge(patientInfo) }}岁</td>
41
                 <td>门诊号: {{
41
                 <td>门诊号: {{
42
-                    patientInfo.admission_number
43
-                      ? patientInfo.admission_number
42
+                    patientInfo.dialysis_no
43
+                      ? patientInfo.dialysis_no
44
                       : "/"
44
                       : "/"
45
                   }}</td>
45
                   }}</td>
46
               </tr>
46
               </tr>
131
                         }}次/分
131
                         }}次/分
132
                       </span>&nbsp;
132
                       </span>&nbsp;
133
                     BP <span>
133
                     BP <span>
134
-                        {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} mmHg/
134
+                        {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} /
135
                         {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}mmHg
135
                         {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}mmHg
136
                       </span>&nbsp;
136
                       </span>&nbsp;
137
                   </div>
137
                   </div>
488
                 </td>
488
                 </td>
489
                 <td width="8%">核对护士:</td>
489
                 <td width="8%">核对护士:</td>
490
                 <td width="10%">
490
                 <td width="10%">
491
-                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
491
+                  <span>{{getAdminUser(check==null?0:check.modifier)}}</span>
492
                   <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
492
                   <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
493
                 </td>
493
                 </td>
494
                 <td width="8%">下机护士:</td>
494
                 <td width="8%">下机护士:</td>
1313
           this.doctor_advices = doctor_advices_1;
1313
           this.doctor_advices = doctor_advices_1;
1314
           this.doctor_advices_2 = doctor_advices_2;
1314
           this.doctor_advices_2 = doctor_advices_2;
1315
         }
1315
         }
1316
+
1317
+        var docArr = []
1318
+        if(this.doctor_advices!=null && this.doctor_advices.length>0){
1319
+           for(let i=0;i<this.doctor_advices.length;i++){
1320
+             if(this.doctor_advices[i].delivery_way!='口服'){
1321
+                docArr.push(this.doctor_advices[i])
1322
+             }
1323
+           }
1324
+        }
1325
+        this.doctor_advices = [] 
1326
+        this.doctor_advices = docArr
1316
         // console.log(this.advice_groups);
1327
         // console.log(this.advice_groups);
1317
       } else {
1328
       } else {
1318
         this.loading = false;
1329
         this.loading = false;

+ 49 - 17
src/xt_pages/role/admin.vue View File

28
           size="small"
28
           size="small"
29
           icon="el-icon-circle-plus-outline"
29
           icon="el-icon-circle-plus-outline"
30
           style="float:left"
30
           style="float:left"
31
-          @click="toTestOne">创建个人用户实名</el-button> -->
31
+          @click="toTestOne">创建个人用户实名</el-button>
32
 
32
 
33
-          <!-- <el-button
33
+          <el-button
34
           type="primary"
34
           type="primary"
35
           size="small"
35
           size="small"
36
           icon="el-icon-circle-plus-outline"
36
           icon="el-icon-circle-plus-outline"
37
           style="float:left"
37
           style="float:left"
38
-          @click="toTestFive">创建企业用户并实名</el-button> -->
38
+          @click="toTestFive">创建企业用户并实名</el-button>
39
+
39
 
40
 
40
 
41
 
41
-          <!-- <el-button
42
+
43
+          <el-button
42
           type="primary"
44
           type="primary"
43
           size="small"
45
           size="small"
44
           icon="el-icon-circle-plus-outline"
46
           icon="el-icon-circle-plus-outline"
45
           style="float:left"
47
           style="float:left"
46
-          @click="toTestFour">添加企业成员</el-button> -->
48
+          @click="toTestFour">添加企业成员</el-button>
47
          
49
          
48
-          <!-- <el-button
50
+          <el-button
49
           type="primary"
51
           type="primary"
50
           size="small"
52
           size="small"
51
           icon="el-icon-circle-plus-outline"
53
           icon="el-icon-circle-plus-outline"
52
           style="float:left"
54
           style="float:left"
53
-          @click="toTestTwo">创建个人印章</el-button> -->
55
+          @click="toTestTwo">创建个人印章</el-button>
54
 
56
 
55
-           <!-- <el-button
57
+           <el-button
56
           type="primary"
58
           type="primary"
57
           size="small"
59
           size="small"
58
           icon="el-icon-circle-plus-outline"
60
           icon="el-icon-circle-plus-outline"
59
           style="float:left"
61
           style="float:left"
60
-          @click="toTestThree">创建合同</el-button>
62
+          @click="toTestThree">创建合同</el-button>  -->
61
 
63
 
62
-          <el-button
64
+         <!-- <el-button
63
           type="primary"
65
           type="primary"
64
           size="small"
66
           size="small"
65
           icon="el-icon-circle-plus-outline"
67
           icon="el-icon-circle-plus-outline"
66
           style="float:left"
68
           style="float:left"
67
           @click="toTestSeven">添加合同签署人</el-button> -->
69
           @click="toTestSeven">添加合同签署人</el-button> -->
68
 
70
 
71
+        <el-button 
72
+          type="primary"
73
+          size="small"
74
+          icon="el-icon-circle-plus-outline"
75
+          style="float:left"
76
+          @click="toTestTen"
77
+          >
78
+           短信验证码
79
+          </el-button> 
80
+
69
          
81
          
70
-         <!-- <el-button
82
+         <el-button
71
           type="primary"
83
           type="primary"
72
           size="small"
84
           size="small"
73
           icon="el-icon-circle-plus-outline"
85
           icon="el-icon-circle-plus-outline"
74
           style="float:left"
86
           style="float:left"
75
-          @click="toTestNight">后台签署</el-button> -->
87
+          @click="toTestNight">后台签署</el-button>
76
           
88
           
77
 
89
 
78
-          <!-- <el-button   type="primary"
90
+          <el-button
91
+          type="primary"
79
           size="small"
92
           size="small"
80
           icon="el-icon-circle-plus-outline"
93
           icon="el-icon-circle-plus-outline"
81
-          style="float:left"  @click="toTestEight">
82
-            脚本
83
-          </el-button> -->
94
+          style="float:left"
95
+          @click="toTestElement">创建企业用章</el-button>
84
           
96
           
85
      </div>
97
      </div>
86
     
98
     
236
 </template>
248
 </template>
237
 
249
 
238
 <script>
250
 <script>
239
-import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight,toTestNight } from "@/api/role/admin";
251
+import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive,toTestSeven,toTestEight,toTestNight,toTestTen,toTestElement } from "@/api/role/admin";
240
 import { getRoles } from "@/api/role/role";
252
 import { getRoles } from "@/api/role/role";
241
 
253
 
242
 import { parseTime } from "@/utils";
254
 import { parseTime } from "@/utils";
593
     },
605
     },
594
     toTestNight(){
606
     toTestNight(){
595
       toTestNight().then(response=>{
607
       toTestNight().then(response=>{
608
+        if(response.data.state == 1){
609
+          var sign =  response.data.data.sign
610
+          console.log("sign",sign)
611
+          this.$message.success("保存")
612
+          var maprequest = response.data.data.maprequest
613
+          console.log("maprequest",maprequest)
614
+        }
615
+      })
616
+    },
617
+    toTestTen(){
618
+      toTestTen().then(response=>{
596
         if(response.data.state == 1){
619
         if(response.data.state == 1){
597
           var sign =  response.data.data.sign
620
           var sign =  response.data.data.sign
598
           console.log("sign",sign)
621
           console.log("sign",sign)
599
           this.$message.success("保存")
622
           this.$message.success("保存")
600
         }
623
         }
601
       })
624
       })
625
+    },
626
+    toTestElement(){
627
+      toTestElement().then(response=>{
628
+         if(response.data.state == 1){
629
+          var sign =  response.data.data.sign
630
+          console.log("sign",sign)
631
+          this.$message.success("保存")
632
+         }
633
+      })
602
     }
634
     }
603
   },
635
   },
604
   watch: {
636
   watch: {

+ 6 - 0
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

69
             :class="signAndWeighBoxPatients"
69
             :class="signAndWeighBoxPatients"
70
             border
70
             border
71
           >
71
           >
72
+          <el-table-column label="耗材编码" align="center" v-if="org_id ==9956 || org_id == 0">
73
+              <template slot-scope="scope">
74
+                <span v-if="scope.row.good_number>0">{{ scope.row.good_number?scope.row.good_number:"" }}</span> 
75
+              </template>
76
+            </el-table-column>
72
             <el-table-column label="耗材类型" align="center">
77
             <el-table-column label="耗材类型" align="center">
73
               <template slot-scope="scope">
78
               <template slot-scope="scope">
74
                  {{getGoodTypeName(scope.row.good_type_id)}}
79
                  {{getGoodTypeName(scope.row.good_type_id)}}
79
                 {{scope.row.good_name}}
84
                 {{scope.row.good_name}}
80
               </template>
85
               </template>
81
             </el-table-column>
86
             </el-table-column>
87
+
82
             <el-table-column label="规格&单位" align="center">
88
             <el-table-column label="规格&单位" align="center">
83
                 <template slot-scope="scope">
89
                 <template slot-scope="scope">
84
                   {{scope.row.specification_name}}/{{scope.row.packing_unit}}
90
                   {{scope.row.specification_name}}/{{scope.row.packing_unit}}

+ 2 - 3
src/xt_pages/user/inspection.vue View File

630
       return false
630
       return false
631
     },
631
     },
632
     handleAvatarSuccess(res, file) {
632
     handleAvatarSuccess(res, file) {
633
+      console.log("")
633
       this.form.imgs.push({
634
       this.form.imgs.push({
634
         img_url: this.qiniuDomain + res.url + '?imageView2/2/w/500/h/500/q/90',
635
         img_url: this.qiniuDomain + res.url + '?imageView2/2/w/500/h/500/q/90',
635
         desc: '',
636
         desc: '',
847
           item_name: this.project.inspection_reference[index].item_name,
848
           item_name: this.project.inspection_reference[index].item_name,
848
           range_type: this.project.inspection_reference[index].range_type,
849
           range_type: this.project.inspection_reference[index].range_type,
849
           value: '',
850
           value: '',
850
-          select_options: this.project.inspection_reference[
851
-            index
852
-            ].range_options.split(','),
851
+          select_options: this.project.inspection_reference[index].range_options.split(','),
853
           unit: this.project.inspection_reference[index].unit
852
           unit: this.project.inspection_reference[index].unit
854
         })
853
         })
855
       }
854
       }

+ 28 - 3
src/xt_pages/workforce/remind_print_setting_one.vue View File

170
                 </div>
170
                 </div>
171
                 <div class="printCell">
171
                 <div class="printCell">
172
                    透析器:
172
                    透析器:
173
-                    <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
174
-                    <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
173
+                    <span v-if="org_id!=0&&org_id!=10375">
174
+                      <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
175
+                      <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
176
+                    </span>
177
+                   
178
+
179
+                    <span v-if="org_id == 0 || org_id ==10375">
180
+                      <span v-if="type ==1">{{main_collection.dialysissolution.dialysis_dialyszers}} </span>
181
+                      <span v-if="type ==2">{{main_collection.dialysissolution.dialysis_dialyszers}} </span>
182
+                    </span>
175
                   
183
                   
176
                 </div>
184
                 </div>
177
                 <div class="printCell">
185
                 <div class="printCell">
178
                    灌流器:
186
                    灌流器:
187
+                   <span v-if="org_id!=0&&org_id!=10375">
179
                     <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
188
                     <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
180
                     <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
189
                     <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
190
+                   </span>
191
+                 
192
+
193
+                    <span v-if="org_id == 0 || org_id == 10375"> 
194
+                      <span v-if="type ==1">{{main_collection.dialysissolution.dialysis_irrigation}} </span>
195
+                      <span v-if="type ==2">{{main_collection.dialysissolution.dialysis_irrigation}} </span>
196
+                    </span>
181
                 </div>
197
                 </div>
182
                 <div class="printCell">
198
                 <div class="printCell">
183
                    血管通路:
199
                    血管通路:
195
                 </div>
211
                 </div>
196
 
212
 
197
                 <div class="printCell">
213
                 <div class="printCell">
198
-                  <span>
214
+                  <span v-if="org_id!=0&&org_id!=10375">
199
                     排班备注:
215
                     排班备注:
200
                     <span  style="width:auto;">
216
                     <span  style="width:auto;">
217
+                     <span>
201
                       {{ main_collection.dialysis_order.schedule_remark }}
218
                       {{ main_collection.dialysis_order.schedule_remark }}
219
+                    </span>  
202
                     </span>
220
                     </span>
221
+                  
222
+                  </span>
223
+                  <span v-if="org_id == 0 || org_id ==10375">
224
+                    排班备注:
225
+                    <sapn v-if="main_collection.schedule_type ==1">上午</sapn>
226
+                    <sapn v-if="main_collection.schedule_type ==2">下午</sapn>
227
+                    <sapn v-if="main_collection.schedule_type ==3">晚上</sapn>
203
                   </span>
228
                   </span>
204
                  
229
                  
205
                 </div>
230
                 </div>