see999 4 yıl önce
ebeveyn
işleme
73bc22f254

+ 1 - 5
src/api/role/admin.js Dosyayı Görüntüle

@@ -28,8 +28,6 @@ export function getAddAdminInitData() {
28 28
 
29 29
 export function addAdmin(params) {
30 30
   
31
-  console.log("epa",params)
32
-  
33 31
   return request({
34 32
     url: '/api/admin/add',
35 33
     method: 'get',
@@ -49,9 +47,6 @@ export function getModifyAdminInitData(uid) {
49 47
 }
50 48
 
51 49
 export function modifyAdmin(params) {
52
-  
53
-  
54
- 
55 50
  
56 51
   return request({
57 52
     url: '/api/admin/edit',
@@ -89,3 +84,4 @@ export function submitDialysisRecordPermissionUsers(ids_str) {
89 84
     params: params
90 85
   })
91 86
 }
87
+

+ 48 - 5
src/xt_pages/data/components/addDrugs.vue Dosyayı Görüntüle

@@ -208,11 +208,39 @@
208 208
                 </el-option>
209 209
               </el-select>
210 210
             </el-form-item>
211
+
212
+            <el-form-item label="处方药标志" >
213
+                <el-select v-model="form.prescription_mark" style="width:160px;" placeholder="请选择">
214
+                <el-option
215
+                  v-for="item,index in options"
216
+                  :key="index"
217
+                  :label="item.label"
218
+                  :value="item.value">
219
+                </el-option>
220
+               </el-select>  
221
+            </el-form-item>
222
+
223
+           <el-form-item label="社保目录编码" >
224
+              <el-input v-model="form.social_security_directory_code" style="width:180px"></el-input>
225
+           </el-form-item>
226
+
227
+           <el-form-item label="备案日期:" >
228
+               <el-date-picker
229
+                  value-format="yyyy-MM-dd"
230
+                  v-model="form.record_date"
231
+                  type="date"
232
+                  placeholder="选择日期时间">
233
+              </el-date-picker>
234
+           </el-form-item>
235
+
236
+           <el-form-item label="药品备注:">
237
+               <el-input v-model="form.drug_remark" style="width:180px"></el-input>
238
+           </el-form-item>
211 239
             <!-- <el-form-item label="代理商 : " prop="agent">
212 240
               <el-input v-model="form.agent" style="width:160px;" placeholder="" maxlength="30"></el-input>
213 241
             </el-form-item> -->
214 242
 
215
-          <el-form-item label="经销商 : " prop="dealer" style="width:100%">
243
+          <el-form-item label="经销商: " prop="dealer" style="width:100%">
216 244
              
217 245
                <el-select v-model="form.dealer" style="width:100%;" filterable placeholder="请选择">
218 246
                   <el-option
@@ -428,6 +456,10 @@
428 456
           is_charge_use: '',//是否收费常用项
429 457
           drug_code:'',
430 458
           dealer:'',
459
+          prescription_mark:"",//处方药标志
460
+          social_security_directory_code:"",//社保目录编码
461
+          record_date:"",//备案日期
462
+          drug_remark:"",//药品备注
431 463
         },
432 464
 
433 465
         rules: {
@@ -447,7 +479,11 @@
447 479
           drug_classify: [{ required: true, message: '请选择药物分类',trigger: 'change'  }],
448 480
           drug_dose: [{ required: true, message: '请填写剂量',trigger: 'blur'  }],
449 481
           manufacturer: [{ required: true, message: '请选择生产产商',trigger: 'change'  }],
450
-          dealer:[{required:true,message:'请选择经销商',trigger:'change'}]
482
+          dealer:[{required:true,message:'请选择经销商',trigger:'change'}],
483
+          prescription_mark:[{required:true,message:"请选择处方药标志"}],
484
+          social_security_directory_code:[{required:true,message:"请填写社保目录编码"}],
485
+          record_date:[{required:true,message:"请选择备案日期"}],
486
+          drug_remark:[{required:true,message:"请填写药品备注"}]
451 487
         },
452 488
         page:1,
453 489
         limit:500,
@@ -502,6 +538,7 @@
502 538
         this.form.intro = ''
503 539
       },
504 540
       show(id,obj) {
541
+        console.log("obj222",obj)
505 542
         // this.clear()
506 543
         this.visible = true
507 544
         if (id == 0) {
@@ -549,6 +586,10 @@
549 586
       ,
550 587
       hide() {
551 588
         // this.clear()
589
+        this.form.social_security_directory_code = ""
590
+        this.form.prescription_mark = ""
591
+        this.form.record_date = ""
592
+        this.form.drug_remark = ""
552 593
         this.visible = false
553 594
       },
554 595
       getValue: function() {
@@ -600,8 +641,10 @@
600 641
         form['drug_code'] = this.form.drug_code
601 642
         form['drug_classify'] = this.form.drug_classify
602 643
         form['dealer'] = this.form.dealer
603
-
604
-
644
+        form['prescription_mark'] = this.form.prescription_mark
645
+        form['social_security_directory_code'] = this.form.social_security_directory_code
646
+        form['record_date'] = this.form.record_date
647
+        form['drug_remark'] = this.form.drug_remark
605 648
         return form
606 649
       },
607 650
       getlist(){
@@ -609,7 +652,7 @@
609 652
              page:this.page,
610 653
              limit:this.limit
611 654
           }
612
-          console.log("params2222222",params)
655
+         
613 656
         getManufacturerList(params).then(response=>{
614 657
            var manufacturerList =   response.data.data.manufacturer
615 658
            console.log("列表2222222",manufacturerList)

+ 18 - 2
src/xt_pages/data/components/addProject.vue Dosyayı Görüntüle

@@ -119,12 +119,22 @@
119 119
                           <el-form-item label="总量 : " prop="medical_code">
120 120
                             <el-input v-model="form.total" style="width:160px;" placeholder="" maxlength="30"></el-input>
121 121
                         </el-form-item>
122
-                        <el-form-item label="状态 : " prop="medical_status" style="width:100%;">
122
+                        <el-form-item label="状态 : " prop="medical_status">
123 123
                             <el-radio-group v-model="form.medical_status">
124 124
                                 <el-radio :label="1">停用</el-radio>
125 125
                                 <el-radio :label="2">收费</el-radio>
126 126
                             </el-radio-group>
127 127
                         </el-form-item>
128
+                        <el-form-item label="类别:" prop="">
129
+                           <el-select v-model="form.category" style="width:160px;" placeholder="请选择">
130
+                              <el-option
131
+                                v-for="(item,index) in categoryList"
132
+                                :key="index"
133
+                                :label="item.name"
134
+                                :value="item.id">
135
+                                </el-option>
136
+                            </el-select>
137
+                        </el-form-item>
128 138
                         <el-form-item label="备注 : " prop="remark" style="width:100%;">
129 139
                             <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
130 140
                         </el-form-item>
@@ -261,7 +271,12 @@ export default {
261 271
                 cost_classify: [{ required: true, message: '请填写费用类别',trigger: 'blur' }],
262 272
                 executive_section: [{ required: true, message: '请填写执行科室',trigger: 'blur'  }],
263 273
                 medical_coverage: [{ required: true, message: '请填写医保等级',trigger: 'blur' }],
264
-           }
274
+           },
275
+           categoryList:[
276
+             {id:1,name:"常规诊疗项目"},
277
+             {id:4,name:"辅助器具项目"},
278
+             {id:5,name:"加收项目"}
279
+           ]
265 280
         }
266 281
     },
267 282
     methods:{
@@ -324,6 +339,7 @@ export default {
324 339
                     execution_frequency:this.form.execution_frequency,
325 340
                     number_days:this.form.number_days,
326 341
                     total:this.form.total,
342
+                    category:this.form.category,
327 343
                }
328 344
            
329 345
               saveProject(params).then(response=>{

+ 160 - 13
src/xt_pages/data/components/consumables.vue Dosyayı Görüntüle

@@ -16,7 +16,25 @@
16 16
             :value="item.value">
17 17
           </el-option>
18 18
         </el-select>
19
-        <label class="title"><span class="name">是否收费</span> : </label>
19
+        <label class="title"><span class="name">生产厂商</span> : </label>
20
+        <el-select v-model="manufacturer" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeManufacture">
21
+          <el-option
22
+            v-for="item in manufacturers"
23
+            :key="item.id"
24
+            :label="item.manufacturer_name"
25
+            :value="item.id">
26
+          </el-option>
27
+        </el-select>
28
+        <span style="color: #909399;font-size:14px;">备案 : &nbsp;</span>
29
+        <el-select v-model="is_record" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeRecord">
30
+          <el-option
31
+            v-for="item in optionOne"
32
+            :key="item.value"
33
+            :label="item.label"
34
+            :value="item.value">
35
+          </el-option>
36
+        </el-select>
37
+        <!-- <label class="title"><span class="name">是否收费</span> : </label>
20 38
         <el-select v-model="is_charge" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeCharge">
21 39
           <el-option
22 40
             v-for="item in options"
@@ -37,16 +55,26 @@
37 55
             :label="item.name"
38 56
             :value="item.id">
39 57
           </el-option>
40
-        </el-select>
58
+        </el-select> -->
59
+      </div>
60
+      <div>
61
+        <el-button type="primary" @click="openForm()">新增</el-button>
62
+        <el-button type="primary" @click="BatchDelete()">批量备案</el-button>
41 63
       </div>
42
-      <el-button type="primary" @click="openForm()">新增</el-button>
43 64
     </div>
65
+
44 66
     <el-table
45 67
       border style="width: 100%" :row-style="{ color: '#303133' }"
46 68
       :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
47 69
       :data="goodInfo.goodInfoData"
48 70
       v-loading="goodInfo.loading"
71
+      @selection-change="handleSelectionChange"
49 72
     >
73
+      <el-table-column
74
+          align="center"
75
+          type="selection"
76
+          width="55">
77
+      </el-table-column>    
50 78
       <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
51 79
       <el-table-column label="耗材名称" align="center">
52 80
         <template slot-scope="scope">
@@ -94,6 +122,11 @@
94 122
           <el-button @click="handleGoodInfoEdit(scope.$index, scope.row)" type="primary" size="small">编辑</el-button>
95 123
           <!--<el-button type="primary" size="small" @click="clickSelfPayment(scope.row.id)">自付比例</el-button>-->
96 124
           <el-button type="danger" size="small" @click="handleGoodInfoDelete(scope.$index, scope.row)">删除</el-button>
125
+
126
+          <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)">
127
+             <span v-if="scope.row.is_mark == 0">备案</span>
128
+             <span v-if="scope.row.is_mark == 1">撤销</span>
129
+          </el-button>
97 130
         </template>
98 131
       </el-table-column>
99 132
     </el-table>
@@ -127,7 +160,7 @@
127 160
   import GoodInfoDailog from '../../stock/Dialog/goodInfoDailog'
128 161
   import { getDictionaryDataConfig } from "@/utils/data";
129 162
   import selfPayment from './selfPayment'
130
-
163
+  import axios from 'axios'
131 164
   import {
132 165
     createGoodInfo,
133 166
     deleteGoodInfo,
@@ -215,12 +248,29 @@
215 248
               sort:'',
216 249
               is_doctor_use:'',
217 250
               good_number:'',
218
-
251
+              social_security_directory_code:"",
252
+              special_medical:"",
253
+              production_type:""
219 254
             },
220 255
 
221 256
             isVisibility: false
222 257
           }
223
-        }
258
+        },
259
+        selectDrug:[],
260
+        manufacturers:[],
261
+        optionOne: [
262
+          {
263
+            value: '0',
264
+            label: '全部'
265
+          }, {
266
+            value: '1',
267
+            label: '已备案'
268
+          }, {
269
+            value: '2',
270
+            label: '未备案'
271
+        }],
272
+        is_record:"",
273
+        manufacturer:""
224 274
       }
225 275
     },
226 276
     methods: {
@@ -454,14 +504,24 @@
454 504
                 response.data.data.goodInfo.is_doctor_use.toString()
455 505
             }
456 506
 
457
-            this.goodInfo.goodInfoDialog.formValue.agent =
458
-              response.data.data.goodInfo.agent
459
-
460
-            this.goodInfo.goodInfoDialog.formValue.good_number =
461
-              response.data.data.goodInfo.good_number
462
-
507
+            this.goodInfo.goodInfoDialog.formValue.agent =response.data.data.goodInfo.agent
463 508
 
509
+            this.goodInfo.goodInfoDialog.formValue.good_number = response.data.data.goodInfo.good_number
510
+            
511
+            this.goodInfo.goodInfoDialog.formValue.social_security_directory_code = response.data.data.goodInfo.social_security_directory_code
512
+            
513
+            if(response.data.data.production_type<=0){
514
+               this.goodInfo.goodInfoDialog.production_type = ''
515
+            }else{
516
+              this.goodInfo.goodInfoDialog.formValue.production_type = response.data.data.goodInfo.production_type.toString()
517
+            }
464 518
 
519
+            if(response.data.data.special_medical<=0){
520
+               this.goodInfo.goodInfoDialog.special_medical = ''
521
+            }else{
522
+              this.goodInfo.goodInfoDialog.formValue.special_medical = response.data.data.goodInfo.special_medical.toString()
523
+            }
524
+        
465 525
             this.$refs.addConsumable.show(row.id, this.goodInfo.goodInfoDialog.formValue)
466 526
           }
467 527
         })
@@ -499,6 +559,8 @@
499 559
           is_use:this.is_use,
500 560
           good_kind:this.good_kind,
501 561
           is_charge: this.is_charge,
562
+          is_mark:this.is_record,
563
+          manufacturer:this.manufacturer,
502 564
         }
503 565
         console.log("222222",params)
504 566
         getGoodInfoList(params).then(response => {
@@ -649,11 +711,15 @@
649 711
             this.$message.error(response.data.msg)
650 712
             return false
651 713
           } else {
714
+            var obj = {id:0,manufacturer_name:"全部"}
715
+            this.manufacturers.push(obj)
652 716
             for (let i = 0; i < response.data.data.manufacturer.length; i++) {
653 717
               this.goodInfo.goodInfoDialog.formValue.manufacturers.push(
654 718
                 response.data.data.manufacturer[i]
655 719
               )
720
+              this.manufacturers.push(response.data.data.manufacturer[i])
656 721
             }
722
+            console.log("生产厂商888222",this.manufacturers)
657 723
           }
658 724
         })
659 725
       },
@@ -752,7 +818,88 @@
752 818
         this.goodInfo.goodInfoDialog.formValue.good_number = ''
753 819
 
754 820
         this.$refs.addConsumable.show(0)
755
-      }
821
+      },
822
+     handleSelectionChange(val) {
823
+      this.selectDrug = val;
824
+     },
825
+      // toRecord(){
826
+
827
+      //    var that = this
828
+      //    axios.get('http://127.0.0.1:9532/sz/api/goods/get').then(function(response) {
829
+      //     if (response.data.state == 0) {
830
+      //          that.$message.error(response.data.msg)
831
+      //          return false
832
+      //       } else {
833
+      //         that.$message({ message: '备案成功', type: 'success' })
834
+      //        }
835
+      //      }).catch(function(error) {
836
+      //   })
837
+      // },
838
+       BatchDelete() {
839
+          if (this.selectDrug.length == 0) {
840
+            this.$message.error("请选择要备案的信息");
841
+            return false;
842
+          }
843
+          this.$confirm(
844
+            "确认要备案所选记录吗? <br>",
845
+            "备案提示",
846
+            {
847
+              dangerouslyUseHTMLString: true,
848
+              confirmButtonText: "确定",
849
+              cancelButtonText: "取消",
850
+              type: "warning"
851
+            }
852
+          ).then(() => {
853
+            var ids = [];
854
+            var idMap = {};
855
+            for (const index in this.selectDrug) {
856
+              ids.push(this.selectDrug[index].id);
857
+              idMap[this.selectDrug[index].id] = this.selectDrug[index].id;
858
+            }
859
+            console.log('ids222222222',ids)
860
+            var idss = ids.join(',')
861
+            let params = {
862
+              ids:idss
863
+            }
864
+        
865
+            var that = this
866
+            axios.get('http://127.0.0.1:9532/sz/api/goods/get',{ params: params }).then(function(response) {
867
+            if (response.data.state == 0) {
868
+                  that.$message.error(response.data.msg)
869
+                  return false
870
+                } else {
871
+                  that.$message({ message: '备案成功', type: 'success' })
872
+                  that.getList()
873
+                }
874
+              }).catch(function(error) {
875
+            })
876
+          });
877
+     },
878
+      toReturn(id,isMark){
879
+        
880
+         var that = this
881
+         let params = {
882
+             'id':id,
883
+             'type_id':3,
884
+             'is_mark':isMark
885
+          }
886
+         axios.get('http://127.0.0.1:9532/sz/api/revocation/get',{params:params}).then(function(response) {
887
+          if (response.data.state == 0) {
888
+               that.$message.error(response.data.msg)
889
+               return false
890
+            } else {
891
+              that.$message({ message: '操作成功', type: 'success' })
892
+              that.getList()
893
+             }
894
+           }).catch(function(error) {
895
+        })
896
+      },
897
+      changeManufacture(){
898
+        this.getList()
899
+      },
900
+      changeRecord(){
901
+         this.getList()
902
+      },
756 903
     }, created() {
757 904
       this.getList()
758 905
       this.getAllDealer()

+ 1 - 0
src/xt_pages/data/components/drugTable.vue Dosyayı Görüntüle

@@ -199,6 +199,7 @@
199 199
         this.temp.config_field = newValue.replace(/[^A-Za-z]/g, "");
200 200
       },
201 201
       handleRowChange(currentRow, oldCurrentRow) {
202
+       
202 203
         if (currentRow != undefined) {
203 204
           this.currentId = currentRow.id;
204 205
           bus.$emit("drugParentChangeId", currentRow);

+ 28 - 2
src/xt_pages/data/components/drugTableSon.vue Dosyayı Görüntüle

@@ -84,6 +84,17 @@
84 84
             </el-form-item>
85 85
           </el-col>
86 86
         </el-row>
87
+        <el-row>
88
+          <el-col :span="12">
89
+             <el-form-item label="代码" prop="order" v-show="showOne">
90
+              <el-input
91
+                type="age"
92
+                v-model="temp.code"
93
+                placeholder="请输入代码"
94
+              ></el-input>
95
+            </el-form-item>
96
+          </el-col>
97
+        </el-row>
87 98
         <el-form-item :label="$t('data_config.remark')">
88 99
           <el-input
89 100
             type="textarea"
@@ -203,7 +214,8 @@
203 214
           field_name: undefined,
204 215
           value: "",
205 216
           remark: "",
206
-          orders: 0
217
+          orders: 0,
218
+          code:""
207 219
         },
208 220
         dialogFormVisible: false,
209 221
         dialogStatus: "",
@@ -223,7 +235,8 @@
223 235
         },
224 236
         downloadLoading: false,
225 237
         parentConfig: undefined,
226
-        addState: true
238
+        addState: true,
239
+        showOne:false
227 240
       };
228 241
     },
229 242
     computed: {
@@ -260,6 +273,14 @@
260 273
     mounted() {
261 274
       var _this = this;
262 275
       bus.$on("drugParentChangeId", function(parentData) {
276
+        console.log("parentData22222",parentData)
277
+         if(parentData.name == "药品剂型"){
278
+           console.log("333333")
279
+           _this.showOne = true
280
+         }else{
281
+           _this.showOne = false
282
+         }
283
+
263 284
         _this.parentConfig = parentData;
264 285
         // _this.list = parentData.childs
265 286
         console.log(parentData)
@@ -368,8 +389,13 @@
368 389
         });
369 390
       },
370 391
       createData() {
392
+        if(this.temp.code == undefined){
393
+           this.temp.code = ""
394
+        }
371 395
         this.$refs["dataForm"].validate(valid => {
372 396
           if (valid) {
397
+            console.log("33333333",this.temp)
398
+            
373 399
             createDictionaryChildConfig(this.temp).then(response => {
374 400
               if (!response.data) {
375 401
                 // 由于mockjs 不支持自定义状态码只能这样hack

+ 217 - 43
src/xt_pages/data/components/drugs.vue Dosyayı Görüntüle

@@ -7,7 +7,7 @@
7 7
         <el-button style="margin-right:10px;" class="filter-item" type="primary" icon="el-icon-search"
8 8
                    @click="searchAction">搜索
9 9
         </el-button>
10
-        <label class="title"><span class="name">是否启用</span> : </label>
10
+        <!-- <label class="title"><span class="name">是否启用</span> : </label>
11 11
         <el-select v-model="is_use" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeUser">
12 12
           <el-option
13 13
             v-for="item in options"
@@ -15,6 +15,15 @@
15 15
             :label="item.label"
16 16
             :value="item.value">
17 17
           </el-option>
18
+        </el-select> -->
19
+       <label class="title"><span class="name">生产厂商</span> : </label>
20
+        <el-select v-model="manufacturer" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeManufacture">
21
+          <el-option
22
+            v-for="item in manufacturers"
23
+            :key="item.id"
24
+            :label="item.manufacturer_name"
25
+            :value="item.id">
26
+          </el-option>
18 27
         </el-select>
19 28
         <label class="title"><span class="name">是否收费</span> : </label>
20 29
         <el-select v-model="is_charge" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeCharge">
@@ -25,7 +34,7 @@
25 34
             :value="item.value">
26 35
           </el-option>
27 36
         </el-select>
28
-        <span style="color: #909399;font-size:14px;">是否注射类别 : &nbsp;</span>
37
+        <!-- <span style="color: #909399;font-size:14px;">是否注射类别 : &nbsp;</span>
29 38
         <el-select v-model="is_inject" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeInject">
30 39
           <el-option
31 40
             v-for="item in options"
@@ -33,52 +42,106 @@
33 42
             :label="item.label"
34 43
             :value="item.value">
35 44
           </el-option>
45
+        </el-select> -->
46
+
47
+        <span style="color: #909399;font-size:14px;">备案 : &nbsp;</span>
48
+        <el-select v-model="is_record" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeRecord">
49
+          <el-option
50
+            v-for="item in options"
51
+            :key="item.value"
52
+            :label="item.label"
53
+            :value="item.value">
54
+          </el-option>
36 55
         </el-select>
37 56
       </div>
38
-      <el-button type="primary" @click="openForm(0)">新增</el-button>
57
+      <div>
58
+        <el-button type="primary" @click="openForm(0)">新增</el-button>
59
+        <el-button type="primary" @click="BatchDelete()">批量备案</el-button>
60
+      </div>
39 61
     </div>
40 62
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
41
-              :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
63
+              :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
64
+             @selection-change="handleSelectionChange">
65
+       <el-table-column
66
+          align="center"
67
+          type="selection"
68
+          width="55"
69
+       ></el-table-column>        
42 70
       <el-table-column type="index" label="序号" width="60px" align="center"></el-table-column>
43 71
 
44
-      <el-table-column prop="date" label="药品名称" align="center">
72
+      <el-table-column prop="date" label="药品名称" align="center" width="100">
45 73
         <template slot-scope="scope">
46 74
           <div>{{scope.row.drug_name}}</div>
47 75
         </template>
48
-
49 76
       </el-table-column>
50
-      <el-table-column prop="date" label="生产厂商" align="center">
77
+      <el-table-column prop="date" label="规格" width="60" align="center">
51 78
         <template slot-scope="scope">
52
-          <div>{{getName(scope.row.manufacturer)}}</div>
79
+          <div>{{scope.row.drug_spec}}</div>
53 80
         </template>
54 81
       </el-table-column>
55
-      <el-table-column prop="date" label="规格" width="140" align="center">
82
+      <el-table-column prop="date" label="最大单位" width="60" align="center">
56 83
         <template slot-scope="scope">
57
-          <div>{{scope.row.drug_spec}}</div>
84
+          <div>{{scope.row.max_unit}}</div>
58 85
         </template>
59 86
       </el-table-column>
60 87
       <el-table-column label="最小单位" width="60" align="center">
61 88
         <template slot-scope="scope">
62 89
           <div>{{scope.row.min_unit}}</div>
63 90
         </template>
64
-
91
+      </el-table-column>
92
+      <el-table-column prop="date" label="进货价" width="60" align="center">
93
+        <template slot-scope="scope">
94
+          <div>{{scope.row.last_price}}</div>
95
+        </template>
65 96
       </el-table-column>
66 97
       <el-table-column label="零售价" width="60" align="center">
67 98
         <template slot-scope="scope">
68 99
           <div>{{scope.row.retail_price}}</div>
69 100
         </template>
101
+      </el-table-column>
102
+       <el-table-column prop="date" label="医保编码" width="100" align="center">
103
+        <template slot-scope="scope">
104
+          <div>{{scope.row.medical_insurance_number}}</div>
105
+        </template>
106
+      </el-table-column>
107
+      <el-table-column prop="date" label="药品本位码" width="100" align="center">
108
+        <template slot-scope="scope">
109
+          <div>{{scope.row.code}}</div>
110
+        </template>
111
+      </el-table-column>
112
+      <el-table-column prop="date" label="生产厂商" align="center" width="100">
113
+        <template slot-scope="scope">
114
+          <div>{{getName(scope.row.manufacturer)}}</div>
115
+        </template>
116
+      </el-table-column>
117
+      <el-table-column prop="date" label="经销商" align="center" width="100">
118
+        <template slot-scope="scope">
119
+          <div>{{getDealer(scope.row.dealer)}}</div>
120
+        </template>
121
+      </el-table-column>
122
+      <el-table-column prop="date" label="备案日期" align="center" width="100">
123
+        <template slot-scope="scope">
124
+          <span>{{getTime(scope.row.record_date)}}</span>
125
+        </template>
126
+      </el-table-column>
127
+      <el-table-column prop="date" label="药品备注" align="center" width="100">
128
+        <template slot-scope="scope">
129
+          <div>{{scope.row.drug_remark}}</div>
130
+        </template>
70 131
       </el-table-column>
71 132
       <el-table-column label="状态" width="60" align="center">
72 133
         <template slot-scope="scope">
73 134
           <div>{{scope.row.drug_status.indexOf('停用') == -1 ? '启用':'停用' }}</div>
74 135
         </template>
75 136
       </el-table-column>
76
-      <el-table-column prop="date" label="操作" width="400" align="center">
137
+      <el-table-column prop="date" label="操作" width="250" align="center" fixed="right">
77 138
         <template slot-scope="scope">
78 139
           <el-button @click="openForm(scope.row.id)" type="primary" size="small">编辑</el-button>
79
-          <!--<el-button type="primary" size="small" @click="clickSelfPayment(scope.row.id)">自付比例</el-button>-->
80
-          <!--<el-button type="primary" size="small" @click="clickMainTain">单位维护</el-button>-->
81 140
           <el-button type="danger" size="small" @click="deleteDurg(scope.row.id,scope.$index)">删除</el-button>
141
+        <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)">
142
+          <span v-if="scope.row.is_mark == 0">备案</span>
143
+          <span v-if="scope.row.is_mark == 1">撤消</span>
144
+        </el-button>
82 145
         </template>
83 146
       </el-table-column>
84 147
     </el-table>
@@ -110,11 +173,13 @@
110 173
 </template>
111 174
 
112 175
 <script>
176
+  import axios from 'axios'
113 177
   import selfPayment from './selfPayment'
114 178
   import maintain from './maintain'
115 179
   import addDrugs from './addDrugs'
116 180
   import { GetAllManufacturer } from '@/api/stock'
117 181
   import { getDataConfig } from "@/utils/data";
182
+  import { uParseTime } from '@/utils/tools'
118 183
   import {
119 184
     createBaseDrugLib,
120 185
     createDrugUnitSafeguard,
@@ -124,7 +189,7 @@
124 189
     getBaseDrugLibList,
125 190
     deleteDurg
126 191
   } from '@/api/data'
127
-
192
+ import {GetAllConfig } from "@/api/stock";
128 193
   export default {
129 194
     components: {
130 195
       selfPayment,
@@ -138,9 +203,11 @@
138 203
         keywords: '',
139 204
         is_use: '',
140 205
         is_charge: '',
206
+        manufacturer:'',
207
+        is_record:"",
141 208
         is_inject: '',
142 209
         list: [],
143
-
210
+    
144 211
         isCreated: 1,
145 212
         manufacturers: [],
146 213
         title: '',
@@ -251,30 +318,15 @@
251 318
             label: '全部'
252 319
           }, {
253 320
             value: '1',
254
-            label: ''
321
+            label: '已备案'
255 322
           }, {
256 323
             value: '2',
257
-            label: ''
324
+            label: '未备案'
258 325
           }],
259 326
         value: '',
260
-        tableData: [{
261
-          date: '2016-05-02',
262
-          name: '王小虎',
263
-          address: '上海市普陀区金沙江路 1518 弄'
264
-        }, {
265
-          date: '2016-05-04',
266
-          name: '王小虎',
267
-          address: '上海市普陀区金沙江路 1517 弄'
268
-        }, {
269
-          date: '2016-05-01',
270
-          name: '王小虎',
271
-          address: '上海市普陀区金沙江路 1519 弄'
272
-        }, {
273
-          date: '2016-05-03',
274
-          name: '王小虎',
275
-          address: '上海市普陀区金沙江路 1516 弄'
276
-        }]
277
-
327
+       
328
+        dealer:[],
329
+        selectDrug:[],
278 330
       }
279 331
     },
280 332
     methods: {
@@ -292,11 +344,15 @@
292 344
       },
293 345
       changeCharge(val) {
294 346
         this.getList()
295
-
296 347
       },
297 348
       changeUser(val) {
298 349
         this.getList()
299
-
350
+      },
351
+      changeManufacture(){
352
+        this.getList()
353
+      },
354
+      changeRecord(){
355
+         this.getList()
300 356
       },
301 357
       getName(id) {
302 358
         for (let i = 0; i < this.manufacturers.length; i++) {
@@ -306,6 +362,15 @@
306 362
         }
307 363
         return ''
308 364
       },
365
+      getDealer(id){
366
+        var name = ""
367
+        for(let i=0;i<this.dealer.length;i++){
368
+          if(this.dealer[i].id == id){
369
+             name = this.dealer[i].dealer_name
370
+          }
371
+        }
372
+        return name
373
+      },
309 374
       goodInfoDialogComfirm: function(val) {
310 375
 
311 376
         //修改自备药
@@ -356,11 +421,13 @@
356 421
             this.$message.error(response.data.msg)
357 422
             return false
358 423
           } else {
424
+              var obj = {id:0,manufacturer_name:"全部"}
425
+              this.manufacturers.push(obj)
426
+          
359 427
             for (let i = 0; i < response.data.data.manufacturer.length; i++) {
360
-              this.manufacturers.push(
361
-                response.data.data.manufacturer[i]
362
-              )
428
+              this.manufacturers.push(response.data.data.manufacturer[i])
363 429
             }
430
+          
364 431
           }
365 432
         })
366 433
       },
@@ -453,6 +520,14 @@
453 520
 
454 521
               }
455 522
 
523
+              if(this.formValue.prescription_mark<=0){
524
+                  this.formValue.prescription_mark = ''
525
+              }else{
526
+                this.formValue.prescription_mark = this.formValue.prescription_mark.toString()
527
+              }
528
+
529
+              this.formValue.record_date = this.getTime(this.formValue.record_date)
530
+
456 531
               this.$refs.addDrugs.show(id, this.formValue)
457 532
 
458 533
             }
@@ -495,7 +570,9 @@
495 570
           keyword: this.keywords,
496 571
           is_use: this.is_use,
497 572
           is_charge: this.is_charge,
498
-          is_inject: this.is_inject
573
+          is_inject: this.is_inject,
574
+          manufacturer:this.manufacturer,
575
+          is_record:this.is_record
499 576
         }
500 577
         getBaseDrugLibList(params).then(response => {
501 578
           if (response.data.state == 0) {
@@ -504,6 +581,7 @@
504 581
           } else {
505 582
             this.total = response.data.data.total
506 583
             this.list = []
584
+            console.log("333333333",response.data.data.list)
507 585
             for (let i = 0; i < response.data.data.list.length; i++) {
508 586
               this.list.push(response.data.data.list[i])
509 587
             }
@@ -513,10 +591,106 @@
513 591
      getDataConfig(module, filed_name){
514 592
         return getDataConfig(module, filed_name)
515 593
       },
594
+      toRecord(){
595
+         var that = this
596
+         axios.get('http://127.0.0.1:9532/sz/api/drug/get').then(function(response) {
597
+          if (response.data.state == 0) {
598
+               that.$message.error(response.data.msg)
599
+               return false
600
+            } else {
601
+              that.$message({ message: '备案成功', type: 'success' })
602
+               that.getList()
603
+             }
604
+           }).catch(function(error) {
605
+        })
606
+      },
607
+      toReturn(id,isMark){
608
+        console.log("id2222",id)
609
+         var that = this
610
+         let params = {
611
+             'id':id,
612
+             'type_id':1,
613
+             'is_mark':isMark,
614
+          }
615
+         axios.get('http://127.0.0.1:9532/sz/api/revocation/get',{params:params}).then(function(response) {
616
+          if (response.data.state == 0) {
617
+               that.$message.error(response.data.msg)
618
+               return false
619
+            } else {
620
+              that.$message({ message: '操作成功', type: 'success' })
621
+              that.getList()
622
+             }
623
+           }).catch(function(error) {
624
+        })
625
+      },
626
+     GetAllConfig(){
627
+        GetAllConfig().then(response => {
628
+        if (response.data.state == 0) {
629
+          this.$message.error(response.data.msg);
630
+          return false;
631
+        } else {
632
+          this.dealer = response.data.data.dealer;
633
+         
634
+        }
635
+       });
636
+      },
637
+      getTime(val) {
638
+         if(val == ""){
639
+          return ""
640
+         }else {
641
+          return uParseTime(val, '{y}-{m}-{d}')
642
+         }
643
+      },
516 644
 
517
-    }, created() {
645
+      handleSelectionChange(val){
646
+        this.selectDrug = val
647
+      },
648
+
649
+      BatchDelete() {
650
+      if (this.selectDrug.length == 0) {
651
+        this.$message.error("请选择要备案的信息");
652
+        return false;
653
+      }
654
+      this.$confirm(
655
+        "确认要备案所选记录吗? <br>",
656
+        "备案提示",
657
+        {
658
+          dangerouslyUseHTMLString: true,
659
+          confirmButtonText: "确定",
660
+          cancelButtonText: "取消",
661
+          type: "warning"
662
+        }
663
+      ).then(() => {
664
+        var ids = [];
665
+        var idMap = {};
666
+        for (const index in this.selectDrug) {
667
+          ids.push(this.selectDrug[index].id);
668
+          idMap[this.selectDrug[index].id] = this.selectDrug[index].id;
669
+        }
670
+        console.log('ids222222222',ids)
671
+        var idss = ids.join(',')
672
+        let params = {
673
+          ids:idss
674
+        }
675
+     
676
+        var that = this
677
+        axios.get('http://127.0.0.1:9532/sz/api/drug/get',{ params: params }).then(function(response) {
678
+         if (response.data.state == 0) {
679
+               that.$message.error(response.data.msg)
680
+               return false
681
+            } else {
682
+              that.$message({ message: '备案成功', type: 'success' })
683
+              that.getList()
684
+             }
685
+           }).catch(function(error) {
686
+        })
687
+       });
688
+     },
689
+    }, 
690
+    created() {
518 691
       this.getList()
519 692
       this.getAllManufacturer()
693
+      this.GetAllConfig()
520 694
     }
521 695
   }
522 696
 </script>

+ 21 - 3
src/xt_pages/data/components/editProject.vue Dosyayı Görüntüle

@@ -119,12 +119,22 @@
119 119
                           <el-form-item label="总量 : " prop="medical_code">
120 120
                             <el-input v-model="form.total" style="width:160px;" placeholder="" maxlength="30"></el-input>
121 121
                         </el-form-item>
122
-                        <el-form-item label="状态 : " prop="medical_status" style="width:100%;">
122
+                        <el-form-item label="状态 : " prop="medical_status">
123 123
                             <el-radio-group v-model="form.medical_status">
124 124
                                 <el-radio :label="1">停用</el-radio>
125 125
                                 <el-radio :label="2">收费</el-radio>
126 126
                             </el-radio-group>
127 127
                         </el-form-item>
128
+                        <el-form-item label="类别:" prop="">
129
+                           <el-select v-model="form.category" style="width:160px;" placeholder="请选择">
130
+                              <el-option
131
+                                v-for="(item,index) in categoryList"
132
+                                :key="index"
133
+                                :label="item.name"
134
+                                :value="item.id">
135
+                                </el-option>
136
+                            </el-select>
137
+                        </el-form-item>
128 138
                         <el-form-item label="备注 : " prop="remark" style="width:100%;">
129 139
                             <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
130 140
                         </el-form-item>
@@ -256,7 +266,8 @@ export default {
256 266
               delivery_way:"",
257 267
               execution_frequency:"",
258 268
               number_days:"",
259
-              total:""
269
+              total:"",
270
+              category:""
260 271
             },
261 272
             rules: {
262 273
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -267,7 +278,12 @@ export default {
267 278
                 cost_classify: [{ required: true, message: '请填写费用类别',trigger: 'blur' }],
268 279
                 executive_section: [{ required: true, message: '请填写执行科室',trigger: 'blur'  }],
269 280
                 medical_coverage: [{ required: true, message: '请填写医保等级',trigger: 'blur' }],
270
-           }
281
+           },
282
+          categoryList:[
283
+             {id:1,name:"常规诊疗项目"},
284
+             {id:4,name:"辅助器具项目"},
285
+             {id:5,name:"加收项目"}
286
+           ]
271 287
         }
272 288
     },
273 289
     methods:{
@@ -329,6 +345,7 @@ export default {
329 345
               this.form.execution_frequency = projecDetail.execution_frequency
330 346
               this.form.number_days = projecDetail.number_days
331 347
               this.form.total = projecDetail.total
348
+              this.form.category = projecDetail.category
332 349
             }
333 350
          })
334 351
        },
@@ -367,6 +384,7 @@ export default {
367 384
                     execution_frequency:this.form.execution_frequency,
368 385
                     number_days:this.form.number_days,
369 386
                     total:this.form.total,
387
+                    category:this.form.category
370 388
                }
371 389
               
372 390
               updatedProject(params).then(response=>{

+ 122 - 4
src/xt_pages/data/components/project.vue Dosyayı Görüntüle

@@ -22,10 +22,27 @@
22 22
                     :value="item.value">
23 23
                     </el-option>
24 24
                 </el-select>
25
+                <label class="title"><span class="name">备案:</span> : </label>
26
+                <el-select v-model="is_mark" style="width:140px;margin-right:10px;" placeholder="请选择" @change="changeRecord">
27
+                  <el-option
28
+                    v-for="item in optionOne"
29
+                    :key="item.value"
30
+                    :label="item.label"
31
+                    :value="item.value">
32
+                  </el-option>
33
+                </el-select>
34
+            </div>
35
+            <div>
36
+             <el-button type="primary" @click="openForm(0)">新增</el-button>
37
+             <el-button type="primary" @click="BatchDelete()">批量备案</el-button>
25 38
             </div>
26
-            <el-button type="primary" @click="openForm(0)">新增</el-button>
27 39
         </div>
28
-        <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
40
+        <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"  @selection-change="handleSelectionChange">
41
+            <el-table-column
42
+              align="center"
43
+              type="selection"
44
+              width="55">
45
+            </el-table-column>  
29 46
             <el-table-column prop="date" label="序号" width="80" align="center">
30 47
                  <template  slot-scope="scope">
31 48
                       {{scope.$index+1}}
@@ -62,6 +79,10 @@
62 79
                 <template slot-scope="scope">
63 80
                     <el-button @click="editHisProject(scope.row.id)" type="primary" size="small">编辑</el-button>
64 81
                     <el-button type="danger" size="small" @click="deleteProject(scope.row.id,scope.$index)">删除</el-button>
82
+                    <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)">
83
+                      <span v-if="scope.row.is_mark ==0">备案</span>
84
+                      <span v-if="scope.row.is_mark ==1">撤销</span>
85
+                    </el-button>
65 86
                 </template>
66 87
             </el-table-column>
67 88
         </el-table>
@@ -88,6 +109,7 @@ import addProject from './addProject'
88 109
 import editProject from './editProject'
89 110
 import { getProjectList,deleteHisProject } from "@/api/project/project"
90 111
 import { getDictionaryDataConfig } from "@/utils/data";
112
+import axios from 'axios'
91 113
 export default {
92 114
     components:{
93 115
         addProject,
@@ -112,7 +134,20 @@ export default {
112 134
             total:0,
113 135
             tableData: [],
114 136
             is_start:0,
115
-            is_charge:0
137
+            is_charge:0,
138
+            selectDrug:[],
139
+            optionOne: [
140
+            {
141
+              value: '0',
142
+              label: '全部'
143
+            }, {
144
+              value: '1',
145
+              label: '已备案'
146
+            }, {
147
+              value: '2',
148
+              label: '未备案'
149
+          }],
150
+         is_mark:""
116 151
         }
117 152
     },
118 153
     methods:{
@@ -169,6 +204,7 @@ export default {
169 204
                is_start:this.is_start,
170 205
                limit:this.limit,
171 206
                page:this.page,
207
+               is_mark:this.is_mark,
172 208
             }
173 209
            console.log("222",params)
174 210
           getProjectList(params).then(response=>{
@@ -200,8 +236,90 @@ export default {
200 236
         },
201 237
         changeOption(){
202 238
           this.getlist()
239
+        },
240
+
241
+        toRecord(){
242
+         var that = this
243
+         axios.get('http://127.0.0.1:9532/sz/api/treatment/get').then(function(response) {
244
+          if (response.data.state == 0) {
245
+               that.$message.error(response.data.msg)
246
+               return false
247
+            } else {
248
+              that.$message({ message: '备案成功', type: 'success' })
249
+              that.getlist()
250
+             }
251
+           }).catch(function(error) {
252
+        })
253
+      },
254
+
255
+     toReturn(id,isMark){
256
+        console.log("id2222",id)
257
+         var that = this
258
+         let params = {
259
+             'id':id,
260
+             'type_id':2,
261
+             'is_mark':isMark,
262
+          }
263
+          console.log("params22222222",params)
264
+         
265
+         axios.get('http://127.0.0.1:9532/sz/api/revocation/get',{params:params}).then(function(response) {
266
+          if (response.data.state == 0) {
267
+               that.$message.error(response.data.msg)
268
+               return false
269
+            } else {
270
+              that.$message({ message: '操作成功', type: 'success' })
271
+              that.getlist()
272
+             }
273
+           }).catch(function(error) {
274
+        })
275
+      },
276
+      handleSelectionChange(val) {
277
+        this.selectDrug = val;
278
+      }, 
279
+    changeRecord(){
280
+      this.getlist()
281
+    },
282
+      
283
+    BatchDelete() {
284
+      if (this.selectDrug.length == 0) {
285
+        this.$message.error("请选择要备案的信息");
286
+        return false;
287
+      }
288
+      this.$confirm(
289
+        "确认要备案所选记录吗? <br>",
290
+        "备案提示",
291
+        {
292
+          dangerouslyUseHTMLString: true,
293
+          confirmButtonText: "确定",
294
+          cancelButtonText: "取消",
295
+          type: "warning"
203 296
         }
204
-        
297
+      ).then(() => {
298
+        var ids = [];
299
+        var idMap = {};
300
+        for (const index in this.selectDrug) {
301
+          ids.push(this.selectDrug[index].id);
302
+          idMap[this.selectDrug[index].id] = this.selectDrug[index].id;
303
+        }
304
+        console.log('ids222222222',ids)
305
+        var idss = ids.join(',')
306
+        let params = {
307
+          ids:idss
308
+        }
309
+     
310
+        var that = this
311
+        axios.get('http://127.0.0.1:9532/sz/api/treatment/get',{ params: params }).then(function(response) {
312
+         if (response.data.state == 0) {
313
+               that.$message.error(response.data.msg)
314
+               return false
315
+            } else {
316
+              that.$message({ message: '备案成功', type: 'success' })
317
+              that.getList()
318
+             }
319
+           }).catch(function(error) {
320
+        })
321
+       });
322
+     },
205 323
     },
206 324
     created(){
207 325
       this.getlist()

+ 3 - 9
src/xt_pages/outpatientCharges/components/registerDialog.vue Dosyayı Görüntüle

@@ -166,10 +166,10 @@
166 166
         </el-select>
167 167
       </el-form-item>
168 168
       <el-form-item label="挂号费:">
169
-        <el-input v-model.number="form.registration_fee"></el-input>
169
+        <el-input v-model="form.registration_fee"></el-input>
170 170
       </el-form-item>
171 171
       <el-form-item label="诊疗费:">
172
-        <el-input v-model.number="form.medical_expenses"></el-input>
172
+        <el-input v-model="form.medical_expenses"></el-input>
173 173
       </el-form-item>
174 174
     </el-form>
175 175
 
@@ -203,7 +203,6 @@
203 203
           {value: 15, label: "门诊统筹"},
204 204
           {value: 16, label: "门诊慢性病"},
205 205
           {value: 21, label: "普通住院"},
206
-
207 206
         ],
208 207
         form: {
209 208
           id: '',
@@ -291,8 +290,7 @@
291 290
         }, {
292 291
           value: 6,
293 292
           label: "城乡居民大病医疗保险"
294
-        },
295
-          {
293
+        }, {
296 294
             value: 7,
297 295
             label: "生育保险"
298 296
           }],
@@ -323,17 +321,13 @@
323 321
           birthday: [{required: true, message: "患者出生日期不能为空", trigger: 'blur'}],
324 322
           certificates: [{required: true, message: "证件类型不能为空", trigger: 'change'}],
325 323
           id_card_type: [{required: true, message: "读卡类型不能为空", trigger: 'change'}],
326
-
327 324
           p_type: [{required: true, message: "处方类型不能为空", trigger: 'change'}],
328 325
           sick_type: [{required: true, message: "大病类别不能为空", trigger: 'change'}],
329 326
           diagnosis: [{required: true, message: "诊断不能为空", trigger: 'change'}],
330
-
331 327
         },
332
-
333 328
         visibility: false,
334 329
         labelPosition: 'right',
335 330
         isClose: false,
336
-
337 331
         resetForm: {
338 332
           settlement_value: '',
339 333
           medical_insurance_card: '',

Dosya farkı çok büyük olduğundan ihmal edildi
+ 754 - 463
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue


+ 2 - 2
src/xt_pages/outpatientCharges/template/printOne.vue Dosyayı Görüntüle

@@ -35,7 +35,7 @@
35 35
             <p>核对:</p>
36 36
             <p>发药:</p>
37 37
             <p>药费:</p>
38
-        </div>
38
+        </div> b
39 39
     </div>
40 40
 </template>
41 41
 
@@ -97,7 +97,7 @@
97 97
 }
98 98
 .actionBar{
99 99
     display: flex;
100
-    justify-content: space-between; 
100
+    justify-content: space-between;
101 101
     line-height: 24px;
102 102
     padding:0 10px;
103 103
 }

+ 3 - 2
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Dosyayı Görüntüle

@@ -12,8 +12,9 @@
12 12
         </div>
13 13
         <div class="infoTitle">
14 14
             <div>婚姻状况:
15
-              <span v-if="patient.marital_status == 1">已婚 </span>
16
-              <span v-if="patient.marital_status == 2">未婚 </span>
15
+              <span v-if="patient.marital_status == 1">未婚</span>
16
+              <span v-if="patient.marital_status == 2">已婚</span>
17
+              <span v-if="patient.marital_status == 3">离异</span>
17 18
             </div>
18 19
             <div>职业:{{getProfession(patient.profession)?getProfession(patient.profession):''}}</div>
19 20
         </div>

+ 113 - 14
src/xt_pages/role/admin.vue Dosyayı Görüntüle

@@ -2,16 +2,25 @@
2 2
   <div class="main-contain">
3 3
     <div class="position">
4 4
       <bread-crumb :crumbs="crumbs"></bread-crumb>
5
-      <!-- <router-link to="/role/admin/create"> -->
6
-      <el-button
5
+     
6
+       <div style="position: fixed;margin-left:950px">
7
+        <el-button
8
+          type="primary"
9
+          size="small"
10
+          icon="el-icon-circle-plus-outline"
11
+          style="float:left"
12
+          @click="openForm(0)">新增</el-button>
13
+     </div>
14
+      <!-- <el-button
7 15
         type="primary"
8 16
         size="small"
9
-        icon="el-icon-circle-plus-outline"
10
-        style="float:right;"
11
-        @click="openForm(0)"
12
-        >新增</el-button
13
-      >
14
-      <!-- </router-link> -->
17
+        @click="toLogin"
18
+        >医药师登记</el-button> -->
19
+        <el-button
20
+        type="primary"
21
+        size="small"
22
+        @click="BatchDelete"
23
+        >医药师登记</el-button>
15 24
     </div>
16 25
     <div class="app-container">
17 26
       <el-table
@@ -25,7 +34,13 @@
25 34
         border
26 35
         :data="admins"
27 36
         v-loading="is_loading_admins"
28
-      >
37
+        @selection-change="handleSelectionChange"
38
+      > 
39
+        <el-table-column
40
+              align="center"
41
+              type="selection"
42
+              width="55">
43
+        </el-table-column>  
29 44
         <el-table-column
30 45
           label="用户名"
31 46
           prop="user_name"
@@ -71,7 +86,7 @@
71 86
             </div>
72 87
           </template>
73 88
         </el-table-column>
74
-        <el-table-column label="操作" width="120" align="center">
89
+        <el-table-column label="操作" width="240" align="center">
75 90
           <template slot-scope="scope">
76 91
             <!-- <router-link :to="{ path:'/role/admin/edit', query:{ id:scope.row.user_id }}"> -->
77 92
             <el-tooltip
@@ -124,6 +139,12 @@
124 139
                 @click="recoverAdminAction(scope.row)"
125 140
               ></el-button>
126 141
             </el-tooltip>
142
+            <span v-if="scope.row.user_type == 2">
143
+              <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.user_id,scope.row.is_mark)">
144
+                    <span v-if="scope.row.is_mark ==0">已登记</span>
145
+                    <span v-if="scope.row.is_mark ==1">撤销</span>
146
+              </el-button>
147
+            </span>
127 148
           </template>
128 149
         </el-table-column>
129 150
       </el-table>
@@ -151,7 +172,7 @@ import { getRoles } from "@/api/role/role";
151 172
 import { parseTime } from "@/utils";
152 173
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
153 174
 import AdminInfoForm from "./components/AdminInfoForm";
154
-
175
+import axios from 'axios'
155 176
 export default {
156 177
   name: "adminManage",
157 178
   data() {
@@ -168,8 +189,8 @@ export default {
168 189
       is_exist_role: false,
169 190
       org: null,
170 191
       isSubSuperAdmin: false,
171
-
172
-      local_user_id: 0
192
+      local_user_id: 0,
193
+      selectDrug:[]
173 194
     };
174 195
   },
175 196
   components: {
@@ -265,6 +286,7 @@ export default {
265 286
           console.log(resp);
266 287
           if (resp.state === 1) {
267 288
              var admindata = resp.data.admins
289
+          
268 290
             this.admins.push(...admindata);
269 291
             this.admin_total_count = resp.data.total_count;
270 292
           } else {
@@ -341,7 +363,84 @@ export default {
341 363
     },
342 364
     pageChange: function(nextPage) {
343 365
       this.requestAdminsWithPage(nextPage);
344
-    }
366
+    },
367
+  //  toLogin(){
368
+  //     var that = this
369
+  //     axios.get('http://127.0.0.1:9532/sz/api/doctor/get').then(function(response) {
370
+  //     if (response.data.state == 0) {
371
+  //         that.$message.error(response.data.msg)
372
+  //         return false
373
+  //       } else {
374
+  //         that.$message({ message: '登记成功', type: 'success' })
375
+  //         }
376
+  //        }).catch(function(error) {
377
+  //     })
378
+  //   },
379
+
380
+   BatchDelete() {
381
+      if (this.selectDrug.length == 0) {
382
+        this.$message.error("请选择要登记的信息");
383
+        return false;
384
+      }
385
+      this.$confirm(
386
+        "确认要登记所选记录吗? <br>",
387
+        "备案提示",
388
+        {
389
+          dangerouslyUseHTMLString: true,
390
+          confirmButtonText: "确定",
391
+          cancelButtonText: "取消",
392
+          type: "warning"
393
+        }
394
+      ).then(() => {
395
+        var ids = [];
396
+        var idMap = {};
397
+        console.log("3333333",this.selectDrug)
398
+        for (const index in this.selectDrug) {
399
+          ids.push(this.selectDrug[index].user_id);
400
+          idMap[this.selectDrug[index].user_id] = this.selectDrug[index].user_id;
401
+        }
402
+        console.log('ids222222222',ids)
403
+        var idss = ids.join(',')
404
+        let params = {
405
+          ids:idss
406
+        }
407
+     
408
+        var that = this
409
+        axios.get('http://127.0.0.1:9532/sz/api/doctor/get',{ params: params }).then(function(response) {
410
+         if (response.data.state == 0) {
411
+               that.$message.error(response.data.msg)
412
+               return false
413
+            } else {
414
+              that.$message({ message: '操作成功', type: 'success' })
415
+              that.adminMainView()
416
+             }
417
+           }).catch(function(error) {
418
+        })
419
+       });
420
+     },
421
+     toReturn(id,is_mark){
422
+       var that = this
423
+         let params = {
424
+           'id':id,
425
+           "is_mark":is_mark,
426
+        }
427
+        console.log("params222222222",params)
428
+         axios.get('http://127.0.0.1:9532/sz/api/medical/get',{params:params}).then(function(response) {
429
+          if (response.data.state == 0) {
430
+               that.$message.error(response.data.msg)
431
+               return false
432
+            } else {
433
+              // that.$message({ message: '操作成功', type: 'success' })
434
+              this.$message.error(response.data.msg)
435
+              that.adminMainView()
436
+             }
437
+           }).catch(function(error) {
438
+        })
439
+     },
440
+
441
+   handleSelectionChange(val) {
442
+      this.selectDrug = val;
443
+    },
345 444
   },
346 445
   watch: {
347 446
     should_update_admins(should_change) {

+ 44 - 23
src/xt_pages/role/components/AdminInfoForm.vue Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <el-dialog :title="formTitle" :visible.sync="dialogFormVisible"  width="1000px">
2
+  <el-dialog :title="formTitle" :visible.sync="dialogFormVisible"  width="63%">
3 3
     <el-form :model="form" ref="form" :rules="rules" label-width="130px">
4 4
      <el-row :gutter="24">
5 5
         <el-col :span="24">
@@ -70,7 +70,7 @@
70 70
    </el-row>
71 71
   
72 72
   <div v-show="show">
73
-   <el-row :gutter="24">
73
+   <el-row :span="24">
74 74
     <el-col :span="8">
75 75
       <el-form-item label="性别:">
76 76
         <el-select v-model="form.sex" placeholder="性别" style="width:180px;">
@@ -89,7 +89,7 @@
89 89
       </el-form-item>
90 90
     </el-col>
91 91
     <el-col :span="8">
92
-      <el-form-item label="执业状态:">
92
+      <el-form-item label="执业状态">
93 93
            <el-select v-model="form.active_status" placeholder="执业状态" style="width:180px;">
94 94
               <el-option
95 95
                 v-for="item in activeStausList"
@@ -158,7 +158,7 @@
158 158
   <el-row :gutter="24">
159 159
     <el-col :span="8">
160 160
        <el-form-item label="人员类别:">
161
-           <el-select v-model="form.role_type" placeholder="人员类别" @change="changeRoleType" style="width:180px;">
161
+           <el-select v-model="form.role_type" placeholder="人员类别" @change="changeRoleType" style="width:150px;">
162 162
               <el-option
163 163
                 v-for="item in roleList"
164 164
                 :label="item.name"
@@ -171,12 +171,12 @@
171 171
     </el-col>
172 172
      <el-col :span="8">
173 173
        <el-form-item label="医药师资格证编码:">
174
-           <el-input v-model="form.medical_code" style="width:180px;"></el-input>
174
+           <el-input v-model="form.medical_code" style="width:170px;"></el-input>
175 175
        </el-form-item>
176 176
     </el-col>
177 177
     <el-col :span="8">
178 178
        <el-form-item label="医药师职业证编码:">
179
-          <el-input v-model="form.doctor_code" style="width:180px;"></el-input>
179
+          <el-input v-model="form.doctor_code" style="width:170px;"></el-input>
180 180
        </el-form-item>
181 181
     </el-col>
182 182
   </el-row>
@@ -303,7 +303,7 @@
303 303
    <el-row :gutter="24">
304 304
     <el-col :span="8">
305 305
        <el-form-item label="医师执业范围代码:" v-show="showTwo">
306
-           <el-select v-model="form.doctor_range_code" placeholder="医生执业范围代码" style="width:180px;">
306
+           <el-select v-model="form.doctor_range_code" placeholder="医生执业范围代码">
307 307
               <el-option
308 308
                 v-for="item in doctorRangeList"
309 309
                 :label="item.name"
@@ -317,7 +317,7 @@
317 317
      <el-col :span="8">
318 318
        <el-form-item label="医生级别:" label-width="130px" v-show="showTwo">
319 319
           
320
-             <el-select v-model="form.doctor_level" placeholder="医生级别" style="width:180px;">
320
+             <el-select v-model="form.doctor_level" placeholder="医生级别">
321 321
               <el-option
322 322
                 v-for="item in doctorLevelList"
323 323
                 :label="item.name"
@@ -329,7 +329,7 @@
329 329
     </el-col>
330 330
     <el-col :span="8">
331 331
        <el-form-item label="执业类别:" v-show="showTwo">
332
-            <el-select v-model="form.doctor_type_job" placeholder="执业类别" style="width:180px;">
332
+            <el-select v-model="form.doctor_type_job" placeholder="执业类别">
333 333
               <el-option
334 334
                 v-for="item in typeJobList"
335 335
                 :label="item.name"
@@ -346,12 +346,12 @@
346 346
     <el-col :span="8">
347 347
        <el-form-item label="医保医师编码:">
348 348
          
349
-        <el-input v-model="form.doctor_number" style="width:180px;"></el-input>
349
+        <el-input v-model="form.doctor_number"></el-input>
350 350
        </el-form-item>
351 351
     </el-col>
352 352
      <el-col :span="8">
353 353
        <el-form-item label="门诊大病类别:" label-width="130px">
354
-            <el-select v-model="form.outpatient_illnessCategory" placeholder="门诊大病类别" style="width:180px;">
354
+            <el-select v-model="form.outpatient_illnessCategory" placeholder="门诊大病类别">
355 355
               <el-option
356 356
                 v-for="item in numberList"
357 357
                 :label="item.name"
@@ -363,7 +363,7 @@
363 363
     </el-col>
364 364
     <el-col :span="8">
365 365
        <el-form-item label="在职状态:">
366
-           <el-select v-model="form.is_active" placeholder="在职状态" style="width:180px;">
366
+           <el-select v-model="form.is_active" placeholder="在职状态">
367 367
               <el-option
368 368
                 v-for="item in activeList"
369 369
                 :label="item.name"
@@ -406,6 +406,7 @@
406 406
 </template>
407 407
 
408 408
 <script>
409
+  import axios from 'axios'
409 410
   import { uParseTime } from '@/utils/tools'
410 411
   import Tinymce from '@/components/Tinymce'
411 412
   import { addAdmin, getAddAdminInitData, getModifyAdminInitData, modifyAdmin } from '@/api/role/admin'
@@ -700,7 +701,6 @@
700 701
                 this.form.mobile = admin.admin.mobile
701 702
                 this.form.user_type = admin.user_type
702 703
                 if(admin.user_type == 1){
703
-
704 704
                   this.form.user_type = ""
705 705
                 }
706 706
                 this.form.user_title = admin.user_title
@@ -717,7 +717,8 @@
717 717
               
718 718
                 this.form.intro = admin.intro
719 719
                 this.form.user_title_name = admin.user_title_name
720
-                if(admin.role_ids.indexOf("1349")!=-1){
720
+
721
+                if(this.form.user_type == 2){
721 722
                    this.show = true
722 723
                 }else{
723 724
                   this.show = false
@@ -803,7 +804,7 @@
803 804
         this.dialogFormVisible = true
804 805
       },
805 806
       submitAction: function() {   
806
-       console.log("第是",this.form.department_id)  
807
+        
807 808
         var department = ""
808 809
         for(let i=0;i<this.departMent.length;i++){
809 810
           if(this.form.department_id == this.departMent[i].id){
@@ -958,6 +959,22 @@
958 959
                   this.loading = false
959 960
                   var resp = rs.data
960 961
                   if (resp.state === 1) {
962
+                   if(resp.data.approle.active_status == 2){
963
+                      let params = {
964
+                       'id':resp.data.approle.id,
965
+                       'is_mark':1, 
966
+                       }
967
+                     var that = this
968
+                      axios.get('http://127.0.0.1:9532/sz/api/medical/get',{params:params}).then(function(response) {
969
+                      if (response.data.state == 0) {
970
+                          that.$message.error(response.data.msg)
971
+                          return false
972
+                        } else {
973
+                          that.$message({ message: '撤销成功', type: 'success' })
974
+                          }
975
+                        }).catch(function(error) {
976
+                      })
977
+                    }
961 978
                     this.$store.dispatch('DidChangeAdmins')
962 979
                     var _this = this
963 980
                     setTimeout(() => {
@@ -991,17 +1008,21 @@
991 1008
         })
992 1009
       },
993 1010
       changeRole(arr){
1011
+        console.log("arr",arr)
994 1012
         console.log("roles",this.roles)
995
-        // var id = 0
996
-        // for(let i=0;i<this.roles.length;i++){
997
-        //    if(this.roles[i].name="医生"){
998
-        //       id = this.roles[i].id
999
-        //    }
1000
-        // }
1013
+        var varName = []
1014
+        for(let i=0;i<this.roles.length;i++){
1015
+          for(let j=0;j<arr.length;j++){
1016
+             if(this.roles[i].id == arr[j]){
1017
+                 varName.push(this.roles[i].name)
1018
+             }
1019
+          }
1020
+        }
1021
+        console.log("33333",varName)
1001 1022
         this.form.role_type = 1
1002
-        var ids = arr.join(";")
1023
+        var ids = varName.join(";")
1003 1024
         console.log("valee22222",ids)
1004
-        if(ids.indexOf("1349")!=-1){
1025
+        if(ids.indexOf("医生")!=-1){
1005 1026
            this.show = true
1006 1027
         }else{
1007 1028
            this.show = false

+ 1 - 0
src/xt_pages/role/components/EditAdminInfo.vue Dosyayı Görüntüle

@@ -217,6 +217,7 @@ export default {
217 217
                         modifyAdmin(this.form.id, this.form.name, this.form.user_type, this.form.user_title, this.form.role, this.form.intro).then(rs => {
218 218
                             this.loading = false
219 219
                             var resp = rs.data
220
+                            
220 221
                             if (resp.state === 1) {
221 222
                                 this.$store.dispatch('DidChangeAdmins')
222 223
                                 var _this = this

+ 52 - 5
src/xt_pages/stock/Dialog/goodInfoDailog.vue Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <el-dialog width="854px"
2
+  <el-dialog width="870px"
3 3
              :title="titles"
4 4
              :visible.sync="visible"
5 5
              :close-on-click-modal="isClose"
@@ -131,6 +131,36 @@
131 131
               </el-checkbox-group>
132 132
             </el-form-item>
133 133
 
134
+            <el-form-item label="社保目录编码:" >
135
+               <el-input v-model="form.social_security_directory_code" style="width:180px"></el-input>
136
+            </el-form-item>
137
+
138
+            <el-form-item label="生产地类别:">
139
+              <el-select v-model="form.production_type" style="width:160px;" placeholder="请选择">
140
+                <el-option
141
+                  v-for="item in options"
142
+                  :key="item.value"
143
+                  :label="item.label"
144
+                  :value="item.value">
145
+                </el-option>
146
+              </el-select>
147
+            </el-form-item>
148
+
149
+          
150
+
151
+            <el-form-item label="特殊医用材料标志:">
152
+              <el-select v-model="form.special_medical " style="width:160px;" placeholder="请选择">
153
+                <el-option
154
+                  v-for="item in options"
155
+                  :key="item.value"
156
+                  :label="item.label"
157
+                  :value="item.value">
158
+                </el-option>
159
+              </el-select>
160
+            </el-form-item>
161
+
162
+            
163
+
134 164
            <el-form-item label="经销商 : " prop="manufacturer" style="width:100%">
135 165
              
136 166
                <el-select v-model="form.dealer" style="width:100%;" filterable placeholder="请选择">
@@ -259,6 +289,13 @@
259 289
           value: '2',
260 290
           label: '否'
261 291
         }],
292
+        optionsOne: [{
293
+          value: '1',
294
+          label: '国内'
295
+        }, {
296
+          value: '2',
297
+          label: '国外'
298
+        }],
262 299
         good_unit: '',
263 300
         isClose: false,
264 301
         good_status: [],
@@ -297,7 +334,10 @@
297 334
           is_statistics_work: '',
298 335
           sort: '',
299 336
           is_doctor_use: '',
300
-          good_number: ''
337
+          good_number: '',
338
+          social_security_directory_code:"",
339
+          production_type:"",
340
+          special_medical:"",
301 341
         },
302 342
 
303 343
         rules: {
@@ -324,8 +364,13 @@
324 364
             { required: true, message: '请输入零价', trigger: 'blur' }
325 365
           ], stock_warn_count: [
326 366
             { required: true, message: '请输入库存警戒', trigger: 'blur' }
367
+          ],social_security_directory_code:[
368
+            {required:true,message:"请填写社保目录编码",trigger:'blur'}
369
+          ],production_type:[
370
+            {required:true,message:"请填写生产地类别",trigger:"blur"}
371
+          ],special_medical:[
372
+            {required:true,message:"请填写特殊医院材料标志",trigger:"blur"}
327 373
           ]
328
-
329 374
         },
330 375
         dealer:[]
331 376
       }
@@ -422,7 +467,7 @@
422 467
         })
423 468
       },
424 469
       getValue: function() {
425
-        console.log("生产吃",this.form.manufacturer)
470
+        
426 471
         const form = {}
427 472
         form['specification_name'] = this.form.specification_name
428 473
         form['good_unit'] = this.form.good_unit
@@ -459,7 +504,9 @@
459 504
         form['agent'] = this.form.agent
460 505
         form['good_number'] = this.form.good_number
461 506
         form['good_status'] = this.good_status.join(',')
462
-
507
+        form['social_security_directory_code'] = this.form.social_security_directory_code
508
+        form['production_type'] = this.form.production_type
509
+        form['special_medical'] = this.form.special_medical
463 510
         return form
464 511
       }, changeSelected: function(val) {
465 512
         console.log(val)

+ 36 - 29
src/xt_pages/stock/detail/stockInDetail.vue Dosyayı Görüntüle

@@ -723,36 +723,43 @@ export default {
723 723
         r2 = Number(total.toString().replace('.', ''))
724 724
         return r1 * r2 / Math.pow(10, m)
725 725
       },
726
-    
727
-    exportList(){
728
-       var obj = {index:"合计",total:0}
729
-       obj.total = this.calTotalPrice()
730
-      for(let i=0;i<this.tableList.length;i++){
731
-        this.tableList[i].index = i+1
732
-        this.tableList[i].min_unit = this.getUnit(this.tableList[i].good_unit)
733
-        this.tableList[i].count = this.calCount(this.tableList[i])
734
-        this.tableList[i].total = this.calTotal(this.tableList[i])
735
-        this.tableList[i].price = this.tableList[i].query_warehousing_info[0].price
736
-        this.tableList[i].remark = this.tableList[i].query_warehousing_info[0].remark
726
+      unique(arr) {
727
+        const res = new Map();
728
+        return arr.filter((arr) => !res.has(arr.specification_name) && res.set(arr.specification_name, 1));
729
+      },
730
+      exportList(){
731
+        var obj = {index:"合计",total:0}
732
+        obj.total = this.calTotalPrice()
733
+     
734
+        for(let i=0;i<this.tableList.length;i++){
735
+          this.tableList[i].index = i+1
736
+          this.tableList[i].min_unit = this.getUnit(this.tableList[i].good_unit)
737
+          this.tableList[i].count = this.calCount(this.tableList[i])
738
+          this.tableList[i].total = this.calTotal(this.tableList[i])
739
+          this.tableList[i].price = this.tableList[i].query_warehousing_info[0].price
740
+          this.tableList[i].remark = this.tableList[i].query_warehousing_info[0].remark
737 741
 
738
-       }
739
-       this.tableList.push(obj)
740
-       console.log("数据222222",this.tableList)
741
-    
742
-       import('@/vendor/Export2Excel').then(excel => {
743
-       const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','出货价','总价','备注']
744
-       const filterVal = ['index','good_name', 'specification_name', 'min_unit','count','price','total','remark']
745
-       
746
-       const data = this.formatJson(filterVal, this.tableList)
747
-       
748
-        excel.export_json_to_excel({
749
-           header: tHeader,
750
-           data,
751
-           filename: '耗材入库明细'
752
-         })
753
-          this.downloadLoading = false
754
-        })
755
-       },
742
+        }
743
+        var arr = this.unique(this.tableList)
744
+        console.log("arrrr",arr)
745
+        this.tableList = arr
746
+        this.tableList.push(obj)
747
+        console.log("数据222222",this.tableList)
748
+      
749
+        import('@/vendor/Export2Excel').then(excel => {
750
+        const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','出货价','总价','备注']
751
+        const filterVal = ['index','good_name', 'specification_name', 'min_unit','count','price','total','remark']
752
+        
753
+        const data = this.formatJson(filterVal, this.tableList)
754
+        
755
+          excel.export_json_to_excel({
756
+            header: tHeader,
757
+            data,
758
+            filename: '耗材入库明细'
759
+          })
760
+            this.downloadLoading = false
761
+          })
762
+        },
756 763
      formatJson(filterVal, jsonData) {
757 764
         return jsonData.map(v => filterVal.map(j => v[j]));
758 765
      },

+ 7 - 1
src/xt_pages/stock/detail/stockOutDetail.vue Dosyayı Görüntüle

@@ -709,7 +709,10 @@ export default {
709 709
         r2 = Number(total.toString().replace('.', ''))
710 710
         return r1 * r2 / Math.pow(10, m)
711 711
       },
712
-
712
+      unique(arr) {
713
+        const res = new Map();
714
+        return arr.filter((arr) => !res.has(arr.specification_name) && res.set(arr.specification_name, 1));
715
+      },
713 716
 
714 717
      exportList(){
715 718
 
@@ -723,6 +726,9 @@ export default {
723 726
         this.tableList[i].total = (this.getStockCount(this.tableList[i].id) * this.tableList[i].query_warehouseout_info[0].price).toFixed(2)
724 727
         this.tableList[i].remark = this.tableList[i].query_warehouseout_info[0].remark
725 728
        }
729
+       var arr = this.unique(this.tableList)
730
+       console.log("22222222222222222气",arr)
731
+       this.tableList = arr
726 732
        this.tableList.push(obj)
727 733
        import('@/vendor/Export2Excel').then(excel => {
728 734
        const tHeader = ['序号','耗材名称', '规格型号', '单位','数量','出货价','总价','备注']

+ 1 - 1
src/xt_pages/stock/drugs/components/drugOutDetail.vue Dosyayı Görüntüle

@@ -180,7 +180,7 @@
180 180
       <el-pagination
181 181
         @size-change="handleSizeChange"
182 182
         @current-change="handleCurrentChange"
183
-        :page-sizes="[10, 50, 100]"
183
+        :page-sizes="[10, 50, 100,1000]"
184 184
         :page-size="10"
185 185
         background
186 186
         style="margin-top:20px;float: right"

+ 5 - 5
src/xt_pages/workforce/remind_print.vue Dosyayı Görüntüle

@@ -59,8 +59,8 @@
59 59
                   {{modeOptions[main_collection.mode_id].name}}
60 60
                 </td>
61 61
                 <td :width="td_1_width">
62
-                  <span v-if="org_id!=9987">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
63
-                  {{main_collection.prescription.dialysis_dialyszers}} 
62
+                  <span v-if="org_id!=9987">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
63
+                  {{main_collection.prescription.dialysis_dialyszers}}
64 64
                   <span v-if="main_collection.prescription.dialysis_dialyszers!=''&& main_collection.prescription.dialysis_irrigation!='' ">/</span>
65 65
                   <span v-if="main_collection.prescription.dialysis_irrigation!=''">{{main_collection.prescription.dialysis_irrigation}}</span>
66 66
 
@@ -128,7 +128,7 @@
128 128
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
129 129
       this.week_type = this.$route.query.week_type
130 130
       this.week_time  = this.$route.query.week_time
131
-      
131
+
132 132
       const params = {
133 133
           week_type:this.week_type,
134 134
           week_time:this.week_time,
@@ -311,7 +311,7 @@
311 311
         }else{
312 312
           var str = year + "年" + month + "月" + day + "日  " + days;
313 313
           return str;
314
-        } 
314
+        }
315 315
       },
316 316
       compare(property) {
317 317
         return function (a, b) {
@@ -321,7 +321,7 @@
321 321
         }
322 322
       },
323 323
     }
324
-   
324
+
325 325
   }
326 326
 </script>
327 327