瀏覽代碼

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

see999 3 年之前
父節點
當前提交
b6821f0cae

+ 3 - 3
src/xt_pages/data/components/consumables.vue 查看文件

@@ -43,8 +43,8 @@
43 43
     </div>
44 44
 
45 45
      <div style="display:flex; align-items:center;margin-bottom:10px;">
46
-        <el-button type="primary" size="mini" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028">批量备案</el-button>
47
-        <el-button type="primary" size="mini" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028" @click="GDYBBatchPutOnRecord">批量备案</el-button>
46
+        <el-button type="primary" size="mini" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028 || $store.getters.xt_user.org_id == 10138">批量备案</el-button>
47
+        <el-button type="primary" size="mini" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028 && $store.getters.xt_user.org_id != 10138" @click="GDYBBatchPutOnRecord">批量备案</el-button>
48 48
         <el-link target="_blank" href="https://kuyi.shengws.com/stockTemplate.xlsx" :underline="false"
49 49
                  style="margin-left:15px">
50 50
           <el-button
@@ -130,7 +130,7 @@
130 130
           <!--<el-button type="primary" size="small" @click="clickSelfPayment(scope.row.id)">自付比例</el-button>-->
131 131
           <el-button type="danger" size="small" @click="handleGoodInfoDelete(scope.$index, scope.row)">删除</el-button>
132 132
 
133
-          <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028">
133
+          <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028 || $store.getters.xt_user.org_id == 10138">
134 134
              <span v-if="scope.row.is_mark == 0">备案</span>
135 135
              <span v-if="scope.row.is_mark == 1">撤销</span>
136 136
           </el-button>

+ 5 - 4
src/xt_pages/data/components/drugs.vue 查看文件

@@ -45,8 +45,8 @@
45 45
 
46 46
     </div>
47 47
     <div style="display:flex; align-items:center;margin-bottom:10px;">
48
-        <el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>
49
-        <el-button type="primary" size="small" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028" @click="GDYBBatchPutOnRecord()">批量备案</el-button>
48
+        <el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>
49
+        <el-button type="primary" size="small" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028  && $store.getters.xt_user.org_id != 10138 && $store.getters.xt_user.org_id != 10138" @click="GDYBBatchPutOnRecord()">批量备案</el-button>
50 50
         <el-link target="_blank" href="https://kuyi.shengws.com/drugTemplate.xlsx" :underline="false"
51 51
                  style="margin-left:15px">
52 52
           <el-button
@@ -147,13 +147,13 @@
147 147
           <el-button @click="openForm(scope.row.id)" type="primary" size="small">编辑</el-button>
148 148
           <el-button type="danger" size="small" @click="deleteDurg(scope.row.id,scope.$index)">删除</el-button>
149 149
 
150
-        <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028" >
150
+        <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028 || $store.getters.xt_user.org_id == 10138" >
151 151
           <span v-if="scope.row.is_mark == 0">备案</span>
152 152
           <span v-if="scope.row.is_mark == 1">撤消</span>
153 153
         </el-button>
154 154
 
155 155
 
156
-          <el-button type="primary" size="small" icon="el-icon-refresh-left" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028">
156
+          <el-button type="primary" size="small" icon="el-icon-refresh-left" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028 && $store.getters.xt_user.org_id != 10138">
157 157
             <span v-if="scope.row.is_mark == 0 || scope.row.is_mark == 2"  @click="putOnRecord(scope.row.id)" >目录对照</span>
158 158
             <span v-if="scope.row.is_mark == 1"  @click="putOnUnRecord(scope.row.id)" >撤消对照</span>
159 159
           </el-button>
@@ -734,6 +734,7 @@
734 734
             return false
735 735
           } else {
736 736
             this.total = response.data.data.total;
737
+            console.log("total22222",total)
737 738
             this.list = [];
738 739
             for (let i = 0; i < response.data.data.list.length; i++) {
739 740
               this.list.push(response.data.data.list[i])

+ 2 - 2
src/xt_pages/data/components/project.vue 查看文件

@@ -114,12 +114,12 @@
114 114
                 <template slot-scope="scope">
115 115
                     <el-button @click="editHisProject(scope.row.id)" type="primary" size="small">编辑</el-button>
116 116
                     <el-button type="danger" size="small" @click="deleteProject(scope.row.id,scope.$index)">删除</el-button>
117
-                    <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028">
117
+                    <el-button type="primary" size="small" icon="el-icon-refresh-left" @click="toReturn(scope.row.id,scope.row.is_mark)" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028 || $store.getters.xt_user.org_id == 10138">
118 118
                       <span v-if="scope.row.is_mark ==0">备案</span>
119 119
                       <span v-if="scope.row.is_mark ==1">撤销</span>
120 120
                     </el-button>
121 121
 
122
-                    <el-button type="primary" size="small" icon="el-icon-refresh-left" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028">
122
+                    <el-button type="primary" size="small" icon="el-icon-refresh-left" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028 && $store.getters.xt_user.org_id != 10138">
123 123
                         <span v-if="scope.row.is_mark == 0 || scope.row.is_mark == 2"  @click="putOnRecord(scope.row.id)" >目录对照</span>
124 124
                         <span v-if="scope.row.is_mark == 1"  @click="putOnUnRecord(scope.row.id)" >撤消对照</span>
125 125
                     </el-button>

+ 1 - 1
src/xt_pages/hospitalStation/index.vue 查看文件

@@ -628,7 +628,7 @@
628 628
     },
629 629
     created() {
630 630
 
631
-      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
631
+      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 10138) {
632 632
         this.form.certificates = 2;
633 633
         this.form.id_card_type = 1
634 634
       } else {

+ 1 - 1
src/xt_pages/hospitalStation/newStatementPrintTwo.vue 查看文件

@@ -86,7 +86,7 @@
86 86
 
87 87
       },
88 88
       getInfo(obj) {
89
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
89
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
90 90
           var that = this;
91 91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
92 92
             params: obj

+ 3 - 3
src/xt_pages/hospitalStation/outpatientChargesManagement.vue 查看文件

@@ -581,7 +581,7 @@
581 581
         form['patient_id'] = this.patientInfo.id;
582 582
         form['admin_user_id'] = this.$store.getters.xt_user.user.id;
583 583
         form['order_id'] = this.order.id;
584
-        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504) {
584
+        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138) {
585 585
           var that = this;
586 586
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
587 587
             params: form
@@ -696,7 +696,7 @@
696 696
         this.loadingone = true;
697 697
 
698 698
         var that = this;
699
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
699
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
700 700
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
701 701
             params: forms,
702 702
             headers: {
@@ -787,7 +787,7 @@
787 787
 
788 788
         var that = this;
789 789
 
790
-        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504) {
790
+        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138) {
791 791
 
792 792
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
793 793
             params: forms,

+ 2 - 2
src/xt_pages/hospitalStation/summary.vue 查看文件

@@ -100,7 +100,7 @@
100 100
           <template slot-scope="scope">
101 101
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
102 102
             <el-button size="mini" type="primary" @click="toPrint(scope.row)"
103
-                       v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  ($store.getters.xt_user.org_id == 10106) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 4) || ($store.getters.xt_user.org_id == 9990) ">
103
+                       v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10138) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  ($store.getters.xt_user.org_id == 10106) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 4) || ($store.getters.xt_user.org_id == 9990) ">
104 104
               结算单
105 105
             </el-button>
106 106
             <el-button size="mini" type="primary" @click="toRefund(scope.row)"
@@ -499,7 +499,7 @@
499 499
         }
500 500
       },
501 501
       toPrint(row) {
502
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
502
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10138)){
503 503
           this.statementVisible9504 = true;
504 504
           let obj = {
505 505
             order_id: row.id,

+ 2 - 2
src/xt_pages/hospitalStation/treatTemplate/printOne.vue 查看文件

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
     <div>
3 3
         <div id='prescription-print' class="prescription-print">
4
-            <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028">
4
+            <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138">
5 5
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
6 6
                 <div class="infoMain">
7 7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
@@ -346,7 +346,7 @@
346 346
     },
347 347
     created() {
348 348
 
349
-      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
349
+      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
350 350
         this.orgname = xtuser.org.org_name;
351 351
         var form = {
352 352
           'order_id': this.paramsObj.order_id,

+ 1 - 1
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue 查看文件

@@ -86,7 +86,7 @@
86 86
 
87 87
       },
88 88
       getInfo(obj) {
89
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
89
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
90 90
           var that = this;
91 91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
92 92
             params: obj

+ 5 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

@@ -57,7 +57,7 @@
57 57
             <div class="mainRight">
58 58
 
59 59
                 <div class="mainCell fixedCell" style="margin-bottom:10px;">
60
-                    <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028">
60
+                    <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138">
61 61
                         <el-button v-loading="loadingone" size="small"
62 62
                                    @click="sz_open(1)"
63 63
                                    type="primary">挂号
@@ -107,7 +107,7 @@
107 107
                     <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
108 108
 
109 109
 
110
-                    <div v-if="this.$store.getters.xt_user.org_id != 9504 && this.$store.getters.xt_user.org_id != 10028">
110
+                    <div v-if="this.$store.getters.xt_user.org_id != 9504 && this.$store.getters.xt_user.org_id != 10028 && this.$store.getters.xt_user.org_id != 10138">
111 111
                         <el-button size="small" @click="open(3)" type="primary">打印</el-button>
112 112
                         <el-button v-loading="loadingone" size="small"
113 113
                                    @click="open(6)"
@@ -618,7 +618,7 @@
618 618
 
619 619
         }
620 620
 
621
-        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504) {
621
+        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10138) {
622 622
           var that = this
623 623
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
624 624
             params: form
@@ -734,7 +734,7 @@
734 734
         this.loadingone = true;
735 735
 
736 736
         var that = this
737
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
737
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id ==  10138) {
738 738
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
739 739
             params: forms,
740 740
             headers: {
@@ -879,7 +879,7 @@
879 879
 
880 880
         var that = this
881 881
 
882
-        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504) {
882
+        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504 ||this.$store.getters.xt_user.org_id == 10138) {
883 883
 
884 884
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
885 885
             params: forms,

+ 2 - 2
src/xt_pages/outpatientCharges/summary.vue 查看文件

@@ -103,7 +103,7 @@
103 103
           <template slot-scope="scope">
104 104
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
105 105
             <el-button size="mini" type="primary" @click="toPrint(scope.row)"
106
-                       v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  ($store.getters.xt_user.org_id == 10106) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 4) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9990)">
106
+                       v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10138)  || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  ($store.getters.xt_user.org_id == 10106) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 4) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9990)">
107 107
               结算单
108 108
             </el-button>
109 109
             <el-button size="mini" type="primary" @click="uploadInfo(scope.row)"
@@ -359,7 +359,7 @@
359 359
         }
360 360
       },
361 361
       toPrint(row) {
362
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
362
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
363 363
           this.statementVisible9504 = true;
364 364
           let obj = {
365 365
             order_id: row.id,

+ 2 - 2
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue 查看文件

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
     <div>
3 3
         <div id='prescription-print' class="prescription-print">
4
-            <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028">
4
+            <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138">
5 5
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
6 6
                 <div class="infoMain">
7 7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
@@ -346,7 +346,7 @@
346 346
     },
347 347
     created() {
348 348
 
349
-      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
349
+      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
350 350
         this.orgname = xtuser.org.org_name;
351 351
         var form = {
352 352
           'order_id': this.paramsObj.order_id,

+ 4 - 4
src/xt_pages/outpatientCharges/treatTemplate/printTwo.vue 查看文件

@@ -27,7 +27,7 @@
27 27
                     <td width="70">总额</td>
28 28
                     <td width="100">小计</td>
29 29
                 </tr>
30
-                <tr v-for="(item,y) in prescription[0].advices" :key="y"> 
30
+                <tr v-for="(item,y) in prescription[0].advices" :key="y">
31 31
                     <td></td>
32 32
                     <td>{{item.advice_name}}</td>
33 33
                     <td>{{item.advice_desc}}</td>
@@ -36,7 +36,7 @@
36 36
                     <td>{{item.price}}</td>
37 37
                     <td>{{ item.single_dose * item.price }}</td>
38 38
                     <td>{{ item.single_dose * item.price }}</td>
39
-                    
39
+
40 40
                 </tr>
41 41
                 <tr>
42 42
                     <td colspan="2">药品费:0.00元</td>
@@ -50,7 +50,7 @@
50 50
                             <div style="width:33%;">医疗费总额:</div>
51 51
                             <div style="width:33%;">基金支付金额:</div>
52 52
                             <div style="width:33%;">个人账户支付金额:</div>
53
-                            
53
+
54 54
                         </div>
55 55
                         <div style="display:flex;flez-wrap:wrap;">
56 56
                             <div style="width:33%;">个人支付金额:</div>
@@ -234,7 +234,7 @@
234 234
     },
235 235
     created() {
236 236
 
237
-      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
237
+      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
238 238
         this.orgname = xtuser.org.org_name;
239 239
         var form = {
240 240
           'order_id': this.paramsObj.order_id,

文件差異過大導致無法顯示
+ 757 - 677
src/xt_pages/outpatientDoctorStation/doctorDesk.vue


+ 4 - 4
src/xt_pages/outpatientRegistration/index.vue 查看文件

@@ -3,7 +3,7 @@
3 3
         <div class="position">
4 4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
5 5
         </div>
6
-        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028"
6
+        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138"
7 7
              class="app-container">
8 8
             <div class="nameTitle">患者基本信息:</div>
9 9
             <div class="formMain">
@@ -948,7 +948,7 @@
948 948
             params['admin_user_id'] = this.$store.getters.xt_user.user.id
949 949
             this.loadingone = true
950 950
 
951
-            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
951
+            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 100138) {
952 952
               var that = this
953 953
               axios.get('http://127.0.0.1:9532/sz/api/register/get', {
954 954
                 params: params,
@@ -1213,7 +1213,7 @@
1213 1213
               params['admin_user_id'] = this.$store.getters.xt_user.user.id;
1214 1214
             this.loadingone = true;
1215 1215
 
1216
-            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
1216
+            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138) {
1217 1217
               var that = this;
1218 1218
 
1219 1219
               axios.get('http://127.0.0.1:9532/sz/api/register/get', {
@@ -1450,7 +1450,7 @@
1450 1450
 
1451 1451
     },
1452 1452
     created() {
1453
-      if(this.$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10028){
1453
+      if(this.$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 10138){
1454 1454
         this.form.certificates = 2;
1455 1455
         this.form.id_card_type = 1
1456 1456
       }else{

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue 查看文件

@@ -3,7 +3,7 @@
3 3
         <div class="position">
4 4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
5 5
         </div>
6
-        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028"
6
+        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10138"
7 7
              class="app-container">
8 8
             <div class="cell clearfix">
9 9
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->

+ 15 - 9
src/xt_pages/stock/drugs/query.vue 查看文件

@@ -191,7 +191,6 @@
191 191
   export default {
192 192
     name: 'stockIn',
193 193
     created() {
194
-      //  this.GetAllDrugStockQueryList()
195 194
       var drugCategory = getDictionaryDataConfig('system','drug_category')
196 195
       this.drugCategory.push(...drugCategory)
197 196
       this.drugTypeList = getDictionaryDataConfig('system','drug_type') 
@@ -346,11 +345,13 @@
346 345
       },
347 346
       handleSizeChange(val) {
348 347
         this.limit = val
349
-        this.GetAllDrugStockQueryList()
348
+        // this.GetAllDrugStockQueryList()
349
+        this.getlist()
350 350
       },
351 351
       handleCurrentChange(val) {
352 352
         this.page = val
353
-        this.GetAllDrugStockQueryList()
353
+        // this.GetAllDrugStockQueryList()
354
+        this.getlist()
354 355
       },
355 356
       calculate: function(val) {
356 357
         return Math.round(parseFloat(val) * 100) / 100
@@ -363,7 +364,8 @@
363 364
         this.$message.error("开始时间不能大于结束时间");
364 365
         this.start_time = "";
365 366
       } else {
366
-        this.GetAllDrugStockQueryList();
367
+        // this.GetAllDrugStockQueryList();
368
+        this.getlist()
367 369
       }
368 370
     },
369 371
     endTimeChange: function(val) {
@@ -372,7 +374,8 @@
372 374
         this.$message.error("结束时间不能小于开始时间");
373 375
         this.end_time = "";
374 376
       } else {
375
-        this.GetAllDrugStockQueryList();
377
+        // this.GetAllDrugStockQueryList();
378
+        this.getlist()
376 379
       }
377 380
      
378 381
     },
@@ -415,7 +418,8 @@
415 418
       showCancelStockDetailDialog: function() {
416 419
       },
417 420
       search: function() {
418
-        this.GetAllDrugStockQueryList()
421
+        // this.GetAllDrugStockQueryList()
422
+        this.getlist()
419 423
       }, 
420 424
       setting: function() {
421 425
         this.$refs.dialog.show()
@@ -447,7 +451,8 @@
447 451
         return (new Date(time)).getTime() / 1000
448 452
       },
449 453
       changeDrug(){
450
-       this.GetAllDrugStockQueryList()
454
+     
455
+      this.getlist()
451 456
       },
452 457
       printOrder(){
453 458
         this.$router.push({
@@ -466,13 +471,14 @@
466 471
           start_time:this.start_time,
467 472
           end_time:this.end_time,
468 473
         }
469
-       
474
+        
470 475
         getDrugStockList(params).then(response=>{
471 476
           if(response.data.state == 1){
472 477
              var list = response.data.data.list
473
-             console.log("list",list)
478
+             console.log("list99999",list)
474 479
              this.tableList = list
475 480
              var total = response.data.data.total
481
+             console.log("total",total)
476 482
              this.total = total
477 483
              this.manufacturerList = response.data.data.manufacturerList
478 484
            

+ 2 - 2
src/xt_pages/stock/stockOutOrderEdit.vue 查看文件

@@ -476,8 +476,8 @@
476 476
             const params = {
477 477
               'stockOut': this.recordInfo.recordData
478 478
             }
479
-            console.log("9999999",stockOut)
480
-            return
479
+            
480
+           
481 481
             editWarehouseoutInfo(params, this.warehouse_out_time, this.$route.query.id, this.$route.query.type, this.form.manufacturer, this.form.dealer).then(response => {
482 482
               if (response.data.state == 0) {
483 483
                 this.$message.error(response.data.msg)

+ 7 - 9
src/xt_pages/stock/stockQuery.vue 查看文件

@@ -46,7 +46,7 @@
46 46
             style="width: 200px;margin-left:10px;"
47 47
             class="filter-item"
48 48
             v-model.trim="keywords"
49
-            placeholder="耗材名称/商品编码/商品名称/规格名称"
49
+            placeholder="耗材名称"
50 50
           />
51 51
           <el-button
52 52
             size="small"
@@ -288,7 +288,7 @@ export default {
288 288
       },
289 289
       options:[],
290 290
       value:"",
291
-      type_name:"",
291
+      type_name:0,
292 292
       types:[],
293 293
       tableList:[],
294 294
       manufacturerList:[]
@@ -391,12 +391,11 @@ export default {
391 391
     },
392 392
     handleSizeChange(val) {
393 393
       this.limit = val;
394
-      // this.GetAllStockQuery();
394
+     
395 395
       this.getlist()
396 396
     },
397 397
     handleCurrentChange(val) {
398 398
       this.page = val;
399
-      // this.GetAllStockQuery();
400 399
        this.getlist()
401 400
     },
402 401
     calculate: function(val) {
@@ -410,7 +409,6 @@ export default {
410 409
         this.start_time = "";
411 410
       } else {
412 411
         this.start_time = val
413
-        // this.GetAllStockQuery();
414 412
          this.getlist()
415 413
       }
416 414
     },
@@ -421,7 +419,6 @@ export default {
421 419
         this.end_time = "";
422 420
       } else {
423 421
         this.end_time = val
424
-        // this.GetAllStockQuery();
425 422
          this.getlist()
426 423
       }
427 424
      
@@ -460,7 +457,6 @@ export default {
460 457
     showStockOutDetailDialog: function() {},
461 458
     showCancelStockDetailDialog: function() {},
462 459
     search: function() {
463
-      // this.GetAllStockQuery();
464 460
       this.getlist()
465 461
     },
466 462
 
@@ -519,18 +515,20 @@ export default {
519 515
       const params = {
520 516
         page: this.page,
521 517
         limit: this.limit,
522
-        keyword: this.keywords,
518
+        keywords: this.keywords,
523 519
         start_time:this.start_time,
524 520
         end_time:this.end_time,
525 521
         type_name:this.type_name,
526 522
       };
527
-
523
+     console.log("params",params)
528 524
       getAllStockList(params).then(response=>{
529 525
          if(response.data.state == 1){
530 526
           var list = response.data.data.list
531 527
           console.log("list22222",list)
532 528
           this.tableList = list
533 529
           var total = response.data.data.total
530
+          console.log("total",total)
531
+          this.total = total
534 532
            var manufacturerList = response.data.data.manufacturerList
535 533
            this.manufacturerList = manufacturerList
536 534
          }