소스 검색

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
     </div>
43
     </div>
44
 
44
 
45
      <div style="display:flex; align-items:center;margin-bottom:10px;">
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
         <el-link target="_blank" href="https://kuyi.shengws.com/stockTemplate.xlsx" :underline="false"
48
         <el-link target="_blank" href="https://kuyi.shengws.com/stockTemplate.xlsx" :underline="false"
49
                  style="margin-left:15px">
49
                  style="margin-left:15px">
50
           <el-button
50
           <el-button
130
           <!--<el-button type="primary" size="small" @click="clickSelfPayment(scope.row.id)">自付比例</el-button>-->
130
           <!--<el-button type="primary" size="small" @click="clickSelfPayment(scope.row.id)">自付比例</el-button>-->
131
           <el-button type="danger" size="small" @click="handleGoodInfoDelete(scope.$index, scope.row)">删除</el-button>
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
              <span v-if="scope.row.is_mark == 0">备案</span>
134
              <span v-if="scope.row.is_mark == 0">备案</span>
135
              <span v-if="scope.row.is_mark == 1">撤销</span>
135
              <span v-if="scope.row.is_mark == 1">撤销</span>
136
           </el-button>
136
           </el-button>

+ 5 - 4
src/xt_pages/data/components/drugs.vue 파일 보기

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

+ 2 - 2
src/xt_pages/data/components/project.vue 파일 보기

114
                 <template slot-scope="scope">
114
                 <template slot-scope="scope">
115
                     <el-button @click="editHisProject(scope.row.id)" type="primary" size="small">编辑</el-button>
115
                     <el-button @click="editHisProject(scope.row.id)" type="primary" size="small">编辑</el-button>
116
                     <el-button type="danger" size="small" @click="deleteProject(scope.row.id,scope.$index)">删除</el-button>
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
                       <span v-if="scope.row.is_mark ==0">备案</span>
118
                       <span v-if="scope.row.is_mark ==0">备案</span>
119
                       <span v-if="scope.row.is_mark ==1">撤销</span>
119
                       <span v-if="scope.row.is_mark ==1">撤销</span>
120
                     </el-button>
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
                         <span v-if="scope.row.is_mark == 0 || scope.row.is_mark == 2"  @click="putOnRecord(scope.row.id)" >目录对照</span>
123
                         <span v-if="scope.row.is_mark == 0 || scope.row.is_mark == 2"  @click="putOnRecord(scope.row.id)" >目录对照</span>
124
                         <span v-if="scope.row.is_mark == 1"  @click="putOnUnRecord(scope.row.id)" >撤消对照</span>
124
                         <span v-if="scope.row.is_mark == 1"  @click="putOnUnRecord(scope.row.id)" >撤消对照</span>
125
                     </el-button>
125
                     </el-button>

+ 1 - 1
src/xt_pages/hospitalStation/index.vue 파일 보기

628
     },
628
     },
629
     created() {
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
         this.form.certificates = 2;
632
         this.form.certificates = 2;
633
         this.form.id_card_type = 1
633
         this.form.id_card_type = 1
634
       } else {
634
       } else {

+ 1 - 1
src/xt_pages/hospitalStation/newStatementPrintTwo.vue 파일 보기

86
 
86
 
87
       },
87
       },
88
       getInfo(obj) {
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
           var that = this;
90
           var that = this;
91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
92
             params: obj
92
             params: obj

+ 3 - 3
src/xt_pages/hospitalStation/outpatientChargesManagement.vue 파일 보기

581
         form['patient_id'] = this.patientInfo.id;
581
         form['patient_id'] = this.patientInfo.id;
582
         form['admin_user_id'] = this.$store.getters.xt_user.user.id;
582
         form['admin_user_id'] = this.$store.getters.xt_user.user.id;
583
         form['order_id'] = this.order.id;
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
           var that = this;
585
           var that = this;
586
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
586
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
587
             params: form
587
             params: form
696
         this.loadingone = true;
696
         this.loadingone = true;
697
 
697
 
698
         var that = this;
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
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
700
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
701
             params: forms,
701
             params: forms,
702
             headers: {
702
             headers: {
787
 
787
 
788
         var that = this;
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
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
792
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
793
             params: forms,
793
             params: forms,

+ 2 - 2
src/xt_pages/hospitalStation/summary.vue 파일 보기

100
           <template slot-scope="scope">
100
           <template slot-scope="scope">
101
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
101
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
102
             <el-button size="mini" type="primary" @click="toPrint(scope.row)"
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
             </el-button>
105
             </el-button>
106
             <el-button size="mini" type="primary" @click="toRefund(scope.row)"
106
             <el-button size="mini" type="primary" @click="toRefund(scope.row)"
499
         }
499
         }
500
       },
500
       },
501
       toPrint(row) {
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
           this.statementVisible9504 = true;
503
           this.statementVisible9504 = true;
504
           let obj = {
504
           let obj = {
505
             order_id: row.id,
505
             order_id: row.id,

+ 2 - 2
src/xt_pages/hospitalStation/treatTemplate/printOne.vue 파일 보기

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <div id='prescription-print' class="prescription-print">
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
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
5
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
6
                 <div class="infoMain">
6
                 <div class="infoMain">
7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
346
     },
346
     },
347
     created() {
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
         this.orgname = xtuser.org.org_name;
350
         this.orgname = xtuser.org.org_name;
351
         var form = {
351
         var form = {
352
           'order_id': this.paramsObj.order_id,
352
           'order_id': this.paramsObj.order_id,

+ 1 - 1
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue 파일 보기

86
 
86
 
87
       },
87
       },
88
       getInfo(obj) {
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
           var that = this;
90
           var that = this;
91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
92
             params: obj
92
             params: obj

+ 5 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 파일 보기

57
             <div class="mainRight">
57
             <div class="mainRight">
58
 
58
 
59
                 <div class="mainCell fixedCell" style="margin-bottom:10px;">
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
                         <el-button v-loading="loadingone" size="small"
61
                         <el-button v-loading="loadingone" size="small"
62
                                    @click="sz_open(1)"
62
                                    @click="sz_open(1)"
63
                                    type="primary">挂号
63
                                    type="primary">挂号
107
                     <el-button size="small" @click="open(2)" type="primary">打印治疗单</el-button> -->
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
                         <el-button size="small" @click="open(3)" type="primary">打印</el-button>
111
                         <el-button size="small" @click="open(3)" type="primary">打印</el-button>
112
                         <el-button v-loading="loadingone" size="small"
112
                         <el-button v-loading="loadingone" size="small"
113
                                    @click="open(6)"
113
                                    @click="open(6)"
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
           var that = this
622
           var that = this
623
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
623
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
624
             params: form
624
             params: form
734
         this.loadingone = true;
734
         this.loadingone = true;
735
 
735
 
736
         var that = this
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
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
738
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
739
             params: forms,
739
             params: forms,
740
             headers: {
740
             headers: {
879
 
879
 
880
         var that = this
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
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
884
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
885
             params: forms,
885
             params: forms,

+ 2 - 2
src/xt_pages/outpatientCharges/summary.vue 파일 보기

103
           <template slot-scope="scope">
103
           <template slot-scope="scope">
104
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
104
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
105
             <el-button size="mini" type="primary" @click="toPrint(scope.row)"
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
             </el-button>
108
             </el-button>
109
             <el-button size="mini" type="primary" @click="uploadInfo(scope.row)"
109
             <el-button size="mini" type="primary" @click="uploadInfo(scope.row)"
359
         }
359
         }
360
       },
360
       },
361
       toPrint(row) {
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
           this.statementVisible9504 = true;
363
           this.statementVisible9504 = true;
364
           let obj = {
364
           let obj = {
365
             order_id: row.id,
365
             order_id: row.id,

+ 2 - 2
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue 파일 보기

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <div id='prescription-print' class="prescription-print">
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
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
5
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
6
                 <div class="infoMain">
6
                 <div class="infoMain">
7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
346
     },
346
     },
347
     created() {
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
         this.orgname = xtuser.org.org_name;
350
         this.orgname = xtuser.org.org_name;
351
         var form = {
351
         var form = {
352
           'order_id': this.paramsObj.order_id,
352
           'order_id': this.paramsObj.order_id,

+ 4 - 4
src/xt_pages/outpatientCharges/treatTemplate/printTwo.vue 파일 보기

27
                     <td width="70">总额</td>
27
                     <td width="70">总额</td>
28
                     <td width="100">小计</td>
28
                     <td width="100">小计</td>
29
                 </tr>
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
                     <td></td>
31
                     <td></td>
32
                     <td>{{item.advice_name}}</td>
32
                     <td>{{item.advice_name}}</td>
33
                     <td>{{item.advice_desc}}</td>
33
                     <td>{{item.advice_desc}}</td>
36
                     <td>{{item.price}}</td>
36
                     <td>{{item.price}}</td>
37
                     <td>{{ item.single_dose * item.price }}</td>
37
                     <td>{{ item.single_dose * item.price }}</td>
38
                     <td>{{ item.single_dose * item.price }}</td>
38
                     <td>{{ item.single_dose * item.price }}</td>
39
-                    
39
+
40
                 </tr>
40
                 </tr>
41
                 <tr>
41
                 <tr>
42
                     <td colspan="2">药品费:0.00元</td>
42
                     <td colspan="2">药品费:0.00元</td>
50
                             <div style="width:33%;">医疗费总额:</div>
50
                             <div style="width:33%;">医疗费总额:</div>
51
                             <div style="width:33%;">基金支付金额:</div>
51
                             <div style="width:33%;">基金支付金额:</div>
52
                             <div style="width:33%;">个人账户支付金额:</div>
52
                             <div style="width:33%;">个人账户支付金额:</div>
53
-                            
53
+
54
                         </div>
54
                         </div>
55
                         <div style="display:flex;flez-wrap:wrap;">
55
                         <div style="display:flex;flez-wrap:wrap;">
56
                             <div style="width:33%;">个人支付金额:</div>
56
                             <div style="width:33%;">个人支付金额:</div>
234
     },
234
     },
235
     created() {
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
         this.orgname = xtuser.org.org_name;
238
         this.orgname = xtuser.org.org_name;
239
         var form = {
239
         var form = {
240
           'order_id': this.paramsObj.order_id,
240
           'order_id': this.paramsObj.order_id,

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 757 - 677
src/xt_pages/outpatientDoctorStation/doctorDesk.vue


+ 4 - 4
src/xt_pages/outpatientRegistration/index.vue 파일 보기

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

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue 파일 보기

3
         <div class="position">
3
         <div class="position">
4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
5
         </div>
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
              class="app-container">
7
              class="app-container">
8
             <div class="cell clearfix">
8
             <div class="cell clearfix">
9
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->
9
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->

+ 15 - 9
src/xt_pages/stock/drugs/query.vue 파일 보기

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

+ 2 - 2
src/xt_pages/stock/stockOutOrderEdit.vue 파일 보기

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

+ 7 - 9
src/xt_pages/stock/stockQuery.vue 파일 보기

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