Browse Source

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

28169 1 month ago
parent
commit
3cf77d64e2

File diff suppressed because it is too large
+ 506 - 402
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue


+ 4 - 5
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue View File

2
   <div>
2
   <div>
3
     <el-button type="primary" @click="checkData">一键核对</el-button>
3
     <el-button type="primary" @click="checkData">一键核对</el-button>
4
     <div id="dialysis-print-box-1">
4
     <div id="dialysis-print-box-1">
5
-      <div
6
-        id="dialysis-print-box-1-1"
5
+      <div id="dialysis-print-box-1-1"
7
         class="dialysis-print-order print-template-two print_page_main_content"
6
         class="dialysis-print-order print-template-two print_page_main_content"
8
       >
7
       >
9
 
8
 
293
             <td width="10%">核对者签名</td>
292
             <td width="10%">核对者签名</td>
294
           </tr>
293
           </tr>
295
           <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
294
           <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
296
-            <td style="height:25px;line-height:25px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
295
+            <td style="height:25px;line-height:25px">{{ getTime(advice.start_time, "{h}:{i}") }}</td>
297
             <td class="parent">
296
             <td class="parent">
298
               <span v-if="advice.parent_id > 0">---></span>
297
               <span v-if="advice.parent_id > 0">---></span>
299
               <span>{{ advice.advice_name }}</span>
298
               <span>{{ advice.advice_name }}</span>
317
                 <img style="height:25px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
316
                 <img style="height:25px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
318
               </span>
317
               </span>
319
             </td>
318
             </td>
320
-            <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
319
+            <td>{{ getTime(advice.execution_time, "{h}:{i}") }}</td>
321
             <td>
320
             <td>
322
               <span v-if="setAdminUserES(advice.execution_staff) == ''">
321
               <span v-if="setAdminUserES(advice.execution_staff) == ''">
323
                 {{
322
                 {{
1465
             this.isShowZero = true
1464
             this.isShowZero = true
1466
           }
1465
           }
1467
           if (this.monitors.length < 7) {
1466
           if (this.monitors.length < 7) {
1468
-            var nl = 8 - this.monitors.length
1467
+            var nl = 7 - this.monitors.length
1469
             for (let index = 0; index < nl; index++) {
1468
             for (let index = 0; index < nl; index++) {
1470
               this.monitors.push([])
1469
               this.monitors.push([])
1471
             }
1470
             }

+ 36 - 6
src/xt_pages/eleFaPiao/settleDetail.vue View File

168
           </template>
168
           </template>
169
         </el-table-column>
169
         </el-table-column>
170
 
170
 
171
-        <el-table-column align="center" prop="name" label="操作" v-if="$store.getters.xt_user.org_id != 10318">
171
+        <el-table-column align="center" prop="name" label="操作" v-if="$store.getters.xt_user.org_id != 10318 && $store.getters.xt_user.org_id != 0">
172
           <template slot-scope="scope">
172
           <template slot-scope="scope">
173
             <el-button v-if="scope.row.result.id == 0" size="mini" type="primary"
173
             <el-button v-if="scope.row.result.id == 0" size="mini" type="primary"
174
                         @click="blue(scope.row)">
174
                         @click="blue(scope.row)">
212
                        @click="yulan(scope.row)">
212
                        @click="yulan(scope.row)">
213
               下载
213
               下载
214
             </el-button>
214
             </el-button>
215
-            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.fapiao_status > 0"
216
-                       @click="BWchaxun(scope.row)">
217
-              查询并同步发票号码
218
-            </el-button>
215
+<!--            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.fapiao_status > 0"-->
216
+<!--                       @click="BWchaxun(scope.row)">-->
217
+<!--              查询并同步发票号码-->
218
+<!--            </el-button>-->
219
           </template>
219
           </template>
220
         </el-table-column>
220
         </el-table-column>
221
 
221
 
441
         "admin_user_id":this.$store.getters.xt_user.user.id,
441
         "admin_user_id":this.$store.getters.xt_user.user.id,
442
       }
442
       }
443
       var that = this;
443
       var that = this;
444
-      axios.get('http://127.0.0.1:9532/api/fapiao/query',{params:params}).then(function(response) {
444
+      axios.get('http://127.0.0.1:9532/api/bwfapiao/query',{params:params}).then(function(response) {
445
         if (response.data.state == 0) {
445
         if (response.data.state == 0) {
446
           that.$message.error(response.data.data.msg);
446
           that.$message.error(response.data.data.msg);
447
           return false
447
           return false
867
 
867
 
868
 
868
 
869
     }, BWchaxun(row){
869
     }, BWchaxun(row){
870
+      let params = {
871
+        "id": row.result.id,
872
+        "admin_user_id":this.$store.getters.xt_user.user.id,
873
+      }
874
+      var that = this;
875
+      axios.get('http://127.0.0.1:9531/api/bwfapiao/query',{params:params}).then(function(response) {
876
+        if (response.data.state == 0) {
877
+          that.$message.error(response.data.data.msg);
878
+          return false
879
+        } else {
880
+          if(response.data.data.failed_code == -10){
881
+            that.settlementVisible = false
882
+            that.$confirm(response.data.data.msg, '错误信息', {
883
+              confirmButtonText: '确 定',
884
+              type: 'warning'
885
+            }).then(() => {
870
 
886
 
887
+            }).catch(() => {
888
+            })
889
+          }else{
890
+            that.getHisOrderList()
891
+            that.$confirm(response.data.data.msg, '信息', {
892
+              confirmButtonText: '确 定',
893
+              type: 'warning'
894
+            }).then(() => {
871
 
895
 
896
+            }).catch(() => {
897
+            })
898
+          }
899
+        }
900
+      }).catch(function(error) {
901
+      })
872
 
902
 
873
 
903
 
874
     },yulan(row){
904
     },yulan(row){

+ 2 - 2
src/xt_pages/hospitalStation/statementTemplate/printOne.vue View File

106
         <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
106
         <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
107
         <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
107
         <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
108
         <td>入院第一诊断</td>
108
         <td>入院第一诊断</td>
109
-        <td colspan="3">{{info.diagnosis}}</td>
109
+        <td colspan="3">{{"慢性肾功能不全(血透治疗)"}}</td>
110
         <td>出院第一诊断</td>
110
         <td>出院第一诊断</td>
111
-        <td colspan="4">{{info.diagnosis}}</td>
111
+        <td colspan="4">{{"慢性肾功能不全(血透治疗)"}}</td>
112
 
112
 
113
 
113
 
114
       </tr>
114
       </tr>

+ 5 - 5
src/xt_pages/outpatientTool/labelPrint.vue View File

134
                               <div>{{getTime(current_ctime,'{m}-{d}')}}</div>
134
                               <div>{{getTime(current_ctime,'{m}-{d}')}}</div>
135
                               <div>{{getTime(current_ctime,'{h}:{i}')}}</div>
135
                               <div>{{getTime(current_ctime,'{h}:{i}')}}</div>
136
                           </div>
136
                           </div>
137
-                          <img style="height: 85px;" v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217"  id="barcode">
137
+                          <img style="" v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217"  id="barcode">
138
                       </div>
138
                       </div>
139
                       <div style="margin-bottom:0px;">{{current_number}}</div>
139
                       <div style="margin-bottom:0px;">{{current_number}}</div>
140
                       <div style="display:flex;">
140
                       <div style="display:flex;">
491
                   format: 'CODE39',
491
                   format: 'CODE39',
492
                   lineColor: '#000',
492
                   lineColor: '#000',
493
                   background: '#EBEEF5',
493
                   background: '#EBEEF5',
494
-                  // width: 3,
495
-                  // height: 200,
496
-                  width: 1,
497
-                  height: 90,
494
+                  width: 3,
495
+                  height: 200,
496
+                  // width: 1,
497
+                  // height: 90,
498
                   displayValue: false,
498
                   displayValue: false,
499
                   fontOptions:"bold italic",//使文字加粗体或变斜体
499
                   fontOptions:"bold italic",//使文字加粗体或变斜体
500
                   font:"fantasy",//设置文本的字体
500
                   font:"fantasy",//设置文本的字体

+ 3 - 8
src/xt_pages/user/coursePrint.vue View File

45
 
45
 
46
             </div>
46
             </div>
47
           </div>
47
           </div>
48
-          <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;" v-for="(item,index) in this.record" :key="index">
48
+          <div class="row" style="padding: 2px 0;line-height:24px;margin-top:30px;" v-for="(item,index) in this.record" :key="index">
49
             <div class="inline_block" style="display: inline-block;">
49
             <div class="inline_block" style="display: inline-block;">
50
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
50
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
51
             </div>
51
             </div>
52
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">
52
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">
53
               <div>{{item.title}}</div>
53
               <div>{{item.title}}</div>
54
             </div>
54
             </div>
55
-
56
-            <!-- <div class="inline_block" style="width:100%; word-wrap: break-word; word-break: break-all;"> -->
57
-              <div v-html="item.content" ></div>
58
-            <!-- </div> class="printP" -->
59
-
60
-            <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right">
55
+            <div v-html="item.content" ></div>
56
+            <div class="row" style="padding: 2px 0;line-height:24px;float:right">
61
              医生签名:
57
              医生签名:
62
              <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
58
              <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
63
                   {{getName(item.recorder)}}
59
                   {{getName(item.recorder)}}
68
             </div>
64
             </div>
69
           </div>
65
           </div>
70
 
66
 
71
-
72
         </div>
67
         </div>
73
         <div class="print_page_main_content" v-if="org_id ==10206" >
68
         <div class="print_page_main_content" v-if="org_id ==10206" >
74
           <div v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">
69
           <div v-for="(item,index) in this.record" :key="index" style="page-break-after: always;">