Browse Source

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

28169 2 days ago
parent
commit
e737f57941

+ 1 - 0
src/lang/en.js View File

@@ -84,6 +84,7 @@ export default {
84 84
     dialysisInfo:'dialysisInfo',
85 85
     dialysis_index:'dialysis_index',
86 86
     log_index:'log_index',
87
+    charging:'charging',
87 88
     scheduling: 'scheduling',
88 89
     device: 'Device',
89 90
     deviceManage: 'Device Manage',

+ 1 - 0
src/lang/zh.js View File

@@ -302,6 +302,7 @@ export default {
302 302
     hospitalhistory: '住院历史',
303 303
     dialysis_index:'信息归档',
304 304
     log_index:"日志查询",
305
+    charging:'透析计费',
305 306
     objectRegistration:"医疗器械登记",
306 307
     Dialysisanalysis: '专业质控',
307 308
     queryData:"结算数据查询",

+ 3 - 2
src/router/index.js View File

@@ -68,7 +68,7 @@ import dictionaryManagement from './modules/dictionaryManagement'
68 68
 import templateManagement from './modules/templateManagement'
69 69
 import DepartManage from './modules/DepartManage'
70 70
 import basicConfig from './modules/basicConfig'
71
-
71
+import charging from './modules/charging'
72 72
 Vue.use(Router)
73 73
 
74 74
 /** note: submenu only apppear when children.length>=1
@@ -214,7 +214,8 @@ var _asy_router_map = [
214 214
   Dialysisanalysis,// 新菜单6.1
215 215
   DialysisIndex,
216 216
   DialysisLogIndex,
217
-  drugSourceCode
217
+  drugSourceCode,
218
+  charging
218 219
 ]
219 220
 
220 221
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证

+ 58 - 0
src/router/modules/charging.js View File

@@ -0,0 +1,58 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default {
4
+ 
5
+  path: '/charging',
6
+  component: Layout,
7
+  name:'charging',
8
+  redirct: '/dialysis/charging',
9
+  alwaysShow: true,
10
+  meta: {
11
+    // title: '专业质控',
12
+    title:'charging',
13
+    icon: 'statistics'
14
+  },
15
+  // children: [
16
+  //   {
17
+  //     path: '/dialysis/charging',
18
+  //     component: () => import('@/xt_pages/charging/index'),
19
+  //     name: '计费查询',
20
+  //     meta: {
21
+  //       title: '计费查询',
22
+  //       noCache: true
23
+  //     }
24
+  //   },
25
+  //   {
26
+  //     path: '/dialysis/charging_cz',
27
+  //     component: () => import('@/xt_pages/charging/charging_cz'),
28
+  //     name: '计费充值',
29
+  //     is_menu: false,
30
+  //     hidden: true,
31
+  //     meta: {
32
+  //       title: '计费充值',
33
+  //       noCache: true
34
+  //     }
35
+  //   },
36
+  //   {
37
+  //     path: '/dialysis/chargin_kf',
38
+  //     component: () => import('@/xt_pages/charging/chargin_kf'),
39
+  //     name: '计数扣费',
40
+  //     is_menu: false,
41
+  //     hidden: true,
42
+  //     meta: {
43
+  //       title: '计数扣费',
44
+  //       noCache: true
45
+  //     }
46
+  //   },
47
+  //   {
48
+  //     path: '/dialysis/charging_collect',
49
+  //     component: () => import('@/xt_pages/charging/charging_collect'),
50
+  //     name: '计费汇总',
51
+  //     meta: {
52
+  //       title: '计费汇总',
53
+  //       noCache: true
54
+  //     }
55
+  //   },
56
+  // ]
57
+ 
58
+}

+ 1 - 1
src/views/layout/Layout.vue View File

@@ -134,7 +134,7 @@ export default {
134 134
   created(){
135 135
     let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","DepositManagement","hisTool","eleFaPiao",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
136 136
     let bingli = ['User','createPatient'];
137
-    let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index'];
137
+    let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index','charging'];
138 138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];
139 139
     let caigou = ['supplyManage','supplyList'];
140 140
     let peizhi = ['system','roleManage','DepartManage', 'bedManagement', 'dictionaryManagement', 'templateManagement','showconfig','printTemplate','integration_config','basicConfig'];

+ 2 - 2
src/views/layout/components/Sidebar/index.vue View File

@@ -48,7 +48,7 @@ export default {
48 48
   },
49 49
   created(){
50 50
     if(this.navTitle == '透析管理'){
51
-      let nameArr = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','Dialysisanalysis','log_index'];
51
+      let nameArr = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','Dialysisanalysis','log_index','charging'];
52 52
       // console.log('permission_routers',this.permission_routers)
53 53
       let routerArr = [];
54 54
       this.permission_routers.map(item => {
@@ -120,7 +120,7 @@ export default {
120 120
             this.$emit('func',a)
121 121
           }
122 122
         }else if(newVal == '透析管理'){
123
-          let nameArr = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','Dialysisanalysis','log_index'];
123
+          let nameArr = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','Dialysisanalysis','log_index','charging'];
124 124
           // console.log('permission_routers',this.permission_routers)
125 125
           let routerArr = [];
126 126
           this.permission_routers.map(item => {

+ 34 - 2
src/xt_pages/Pharmacy/drugCode.vue View File

@@ -46,6 +46,19 @@
46 46
         </div>
47 47
       </div>
48 48
 
49
+      <div>
50
+        <div>结算状态:
51
+          <el-select size="small" v-model="is_settle" placeholder="请选择" style="width:100px;" @change="changeSettle">
52
+            <el-option
53
+              v-for="item,index in settle_items"
54
+              :key="index"
55
+              :label="item.name"
56
+              :value="item.id">
57
+            </el-option>
58
+          </el-select>
59
+        </div>
60
+      </div>
61
+
49 62
       <div>
50 63
         <el-button type="primary" @click="batchUpload()">批量上传</el-button>
51 64
         <el-button type="primary" @click="query()">查询</el-button>
@@ -103,6 +116,14 @@
103 116
         </template>
104 117
       </el-table-column>
105 118
 
119
+
120
+      <el-table-column align="center" prop="name" label="结算状态">
121
+        <template slot-scope="scope">
122
+          <div v-if="scope.row.pre.order_status == 2">已结算</div>
123
+          <div v-if="scope.row.pre.order_status != 2">未结算</div>
124
+        </template>
125
+      </el-table-column>
126
+
106 127
       <el-table-column align="center" prop="name" label="操作" width="200">
107 128
         <template slot-scope="scope">
108 129
           <div>
@@ -119,13 +140,14 @@
119 140
 
120 141
 
121 142
     </el-table>
122
-    
143
+
123 144
     <el-pagination
124 145
       @size-change="handleSizeChange"
125 146
       @current-change="handleCurrentChange"
126 147
       :page-size="10"
127 148
       :page-sizes="[10, 20, 50, 100,500,1000,2000]"
128 149
       background
150
+      layout="total, sizes, prev, pager, next, jumper"
129 151
       style="margin-top:20px;float: right"
130 152
       :total="total"
131 153
     ></el-pagination>
@@ -176,7 +198,7 @@ export default {
176 198
       drugTypeList: [{id: 0, name: "全部"}],
177 199
       start_time: new Date(new Date().getFullYear(), new Date().getMonth(), 1).toLocaleDateString('en-CA'),
178 200
       end_time: new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0).toLocaleDateString('en-CA'),
179
-
201
+      is_settle:"0",
180 202
       tableData: [],
181 203
       change_type: "3",
182 204
       selection: [],
@@ -189,6 +211,11 @@ export default {
189 211
         {id: "1", name: '已上传'},
190 212
         {id: "2", name: '未上传'},
191 213
       ],
214
+      settle_items: [
215
+        {id: "0", name: '全部'},
216
+        {id: "2", name: '已结算'},
217
+        {id: "1", name: '未结算'},
218
+      ],
192 219
       patientList: [],
193 220
       drugList: [],
194 221
       dialogVisibleOne: false,
@@ -567,6 +594,7 @@ export default {
567 594
         page: this.page,
568 595
         limit: this.limit,
569 596
         is_sale: this.is_sale,
597
+        is_settle:this.is_settle,
570 598
 
571 599
       }
572 600
       getHisDrugCodeQueryList(params).then(response => {
@@ -582,6 +610,10 @@ export default {
582 610
           this.is_open = response.data.data.codeConfig.is_open
583 611
         }
584 612
       })
613
+    },changeSettle(val){
614
+
615
+      this.is_settle = val
616
+      this.getlist()
585 617
     },
586 618
     changeStock(val) {
587 619
       this.is_sale = val

+ 152 - 0
src/xt_pages/charging/chargin_kf.vue View File

@@ -0,0 +1,152 @@
1
+<template>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+    </div>
6
+    <div class="app-container">
7
+      <div style="display: flex;">
8
+        <div style="flex: 2;display: flex;justify-content: space-around;">
9
+          <div > <el-input v-model="input" placeholder="请输入内容"></el-input></div>
10
+          <div>
11
+            日期查询:
12
+            <el-date-picker
13
+              v-model="value1"
14
+              type="daterange"
15
+              range-separator="至"
16
+              start-placeholder="开始日期"
17
+              end-placeholder="结束日期">
18
+            </el-date-picker>
19
+          </div>
20
+          <div><el-button type="primary">查询</el-button></div>
21
+          <el-button type="primary" @click="newkf_show=true">新增</el-button>
22
+        </div>
23
+        <div style="flex: 1;text-align: right;">
24
+          <!-- <el-button type="primary" @click="new_show=true">新增</el-button> -->
25
+        </div>
26
+      </div>
27
+      <div style="margin:10px 0;">
28
+        <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
29
+          <el-table-column prop="index" label="序号" width="50">
30
+          </el-table-column>
31
+          <el-table-column prop="name" label="患者姓名" width="">
32
+          </el-table-column>
33
+          <el-table-column prop="HD" label="扣费时间">
34
+          </el-table-column>
35
+          <el-table-column prop="HDF" label="扣费类型">
36
+          </el-table-column>
37
+          <el-table-column prop="HD+HP" label="扣费次数">
38
+          </el-table-column>
39
+          <el-table-column prop="HP" label="状态">
40
+          </el-table-column>
41
+          <el-table-column prop="qita" label="创建人">
42
+          </el-table-column>
43
+          <el-table-column prop="qita" label="备注">
44
+          </el-table-column>
45
+          <el-table-column prop="address" label="操作" width="300">
46
+            <template slot-scope="scope">
47
+              <span v-if="scope.row.examine==false">
48
+                <el-button type="primary" @click="cz_click(scope.row)" >反审核</el-button>
49
+              </span>
50
+              <div v-if="scope.row.examine==true">
51
+                <el-button type="primary">审核</el-button>
52
+                <el-button type="danger">删除</el-button>
53
+              </div>
54
+            </template>
55
+          </el-table-column>
56
+        </el-table>
57
+      </div>
58
+      <div style="text-align: right;">
59
+        <el-pagination
60
+          @size-change="handleSizeChange"
61
+          @current-change="handleCurrentChange"
62
+          :current-page="currentPage"
63
+          :page-sizes="[100, 200, 300, 400]"
64
+          :page-size="100"
65
+          layout="total, sizes, prev, pager, next, jumper"
66
+          :total="400">
67
+        </el-pagination>
68
+      </div>
69
+    </div>
70
+
71
+    <el-dialog
72
+      title="新增扣费"
73
+      :visible.sync="newkf_show"
74
+      width="30%"
75
+      >
76
+      <div>
77
+        <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign">
78
+          <el-form-item label="患者姓名:">
79
+            <el-autocomplete
80
+              class="inline-input"
81
+              v-model="state1"
82
+              :fetch-suggestions="querySearch"
83
+              placeholder="请输入内容"
84
+              @select="handleSelect"
85
+            ></el-autocomplete>
86
+          </el-form-item>
87
+          <el-form-item label="透析模式:">
88
+            <el-select v-model="value" placeholder="请选择">
89
+              <el-option
90
+                v-for="item in options"
91
+                :key="item.value"
92
+                :label="item.label"
93
+                :value="item.value">
94
+              </el-option>
95
+            </el-select>
96
+          </el-form-item>
97
+          <el-form-item label="次数:">
98
+            <el-input v-model="formLabelAlign.type"></el-input>
99
+          </el-form-item>
100
+          <el-form-item label="备注:">
101
+            <el-input type="textarea" :rows="2" v-model="formLabelAlign.type"></el-input>
102
+          </el-form-item>
103
+          <el-form-item>
104
+            <el-button type="primary" @click="newkf_show = false">确 定</el-button>
105
+            <el-button @click="newkf_show = false">取 消</el-button>
106
+          </el-form-item>
107
+        </el-form>
108
+      </div>
109
+    </el-dialog>
110
+  </div>
111
+</template>
112
+<script>
113
+  export default{
114
+    data(){
115
+      return{
116
+        input:'',
117
+        crumbs: [
118
+        { path: false, name: "计费充值" },
119
+        ],
120
+        value1:'',
121
+        newkf_show:false,
122
+        labelPosition:'right',
123
+        formLabelAlign:{
124
+
125
+        },
126
+        currentPage:1,
127
+        value:'',
128
+        options:[],
129
+        tableData: [{ index: 1, name: '小米', HD: 1, HDF: 1, 'HD+HP': 1, 'qita': 1 ,examine:false}],
130
+      }
131
+    },
132
+    methods:{
133
+      querySearch(queryString, cb){
134
+
135
+      },
136
+      cz_click(row){
137
+        row.examine=true
138
+      },
139
+      handleSizeChange(){
140
+
141
+      },
142
+      handleCurrentChange(){
143
+
144
+      },
145
+    }
146
+  }
147
+</script>
148
+<style lang="scss" scoped>
149
+  .gong{
150
+    display: inline-block;
151
+  }
152
+</style>

+ 169 - 0
src/xt_pages/charging/charging_collect.vue View File

@@ -0,0 +1,169 @@
1
+<template>
2
+  <div class="main-contain">
3
+    <div class="position"></div>
4
+    <div class="app-container">
5
+      <div style="display: flex;justify-content: space-around;">
6
+        <div > <el-input v-model="input" placeholder="请输入内容"></el-input></div>
7
+        <div>
8
+          日期查询:
9
+          <el-date-picker
10
+            v-model="value1"
11
+            type="daterange"
12
+            range-separator="至"
13
+            start-placeholder="开始日期"
14
+            end-placeholder="结束日期">
15
+          </el-date-picker>
16
+        </div>
17
+        <div>
18
+          费用类型:
19
+          <el-select v-model="value" placeholder="请选择">
20
+            <el-option
21
+              v-for="item in options"
22
+              :key="item.value"
23
+              :label="item.label"
24
+              :value="item.value">
25
+            </el-option>
26
+          </el-select>
27
+        </div>
28
+        <div><el-button type="primary">查询</el-button></div>
29
+      </div>
30
+      <div style="margin:10px 0;">
31
+        <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
32
+          <el-table-column prop="index" label="序号" width="">
33
+          </el-table-column>
34
+          <el-table-column prop="name" label="患者姓名" width="">
35
+          </el-table-column>
36
+          <el-table-column prop="HD" label="费用类别">
37
+          </el-table-column>
38
+          <el-table-column prop="HDF" label="透析模式">
39
+          </el-table-column>
40
+          <el-table-column prop="HD+HP" label="总次数">
41
+          </el-table-column>
42
+          <el-table-column prop="address" label="操作" width="300">
43
+            <template slot-scope="scope">
44
+              <el-button type="primary" @click="mingx_click(scope.row)" >详情</el-button>
45
+            </template>
46
+          </el-table-column>
47
+        </el-table>
48
+      </div>
49
+      <div style="text-align: right;">
50
+        <el-pagination
51
+          @size-change="handleSizeChange"
52
+          @current-change="handleCurrentChange"
53
+          :current-page="currentPage"
54
+          :page-sizes="[100, 200, 300, 400]"
55
+          :page-size="100"
56
+          layout="total, sizes, prev, pager, next, jumper"
57
+          :total="400">
58
+        </el-pagination>
59
+      </div>
60
+    </div>
61
+
62
+    <el-dialog
63
+      title="汇总详情"
64
+      :visible.sync="collect_show"
65
+      width="80%"
66
+      >
67
+      <div>
68
+        <div style="display: flex;justify-content: space-around;">
69
+          <div> 
70
+            <el-autocomplete
71
+              class="inline-input"
72
+              v-model="state1"
73
+              :fetch-suggestions="querySearch"
74
+              placeholder="请输入内容"
75
+              @select="handleSelect"
76
+            ></el-autocomplete>
77
+          </div>
78
+          <div>
79
+            日期查询:
80
+            <el-date-picker
81
+              v-model="value1"
82
+              type="daterange"
83
+              range-separator="至"
84
+              start-placeholder="开始日期"
85
+              end-placeholder="结束日期"
86
+              style="width: 300px;">
87
+            </el-date-picker>
88
+          </div>
89
+          <div>
90
+            费用类型:
91
+            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
92
+              <el-option
93
+                v-for="item in options"
94
+                :key="item.value"
95
+                :label="item.label"
96
+                :value="item.value">
97
+              </el-option>
98
+            </el-select>
99
+          </div>
100
+          <div>
101
+            透析模式:
102
+            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
103
+              <el-option
104
+                v-for="item in options"
105
+                :key="item.value"
106
+                :label="item.label"
107
+                :value="item.value">
108
+              </el-option>
109
+            </el-select>
110
+          </div>
111
+          <div><el-button type="primary">查询</el-button></div>
112
+        </div>
113
+        <div style="margin: 10px 0;">
114
+          <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
115
+            <el-table-column prop="index" label="序号" width="">
116
+            </el-table-column>
117
+            <el-table-column prop="name" label="患者姓名" width="">
118
+            </el-table-column>
119
+            <el-table-column prop="HD" label="费用发生时间">
120
+            </el-table-column>
121
+            <el-table-column prop="HD" label="费用类别">
122
+            </el-table-column>
123
+            <el-table-column prop="HDF" label="透析类型">
124
+            </el-table-column>
125
+            <el-table-column prop="HD+HP" label="费用次数">
126
+            </el-table-column>
127
+            <el-table-column prop="address" label="创建人">
128
+            </el-table-column>
129
+            <el-table-column prop="address" label="备注">
130
+            </el-table-column>
131
+          </el-table>
132
+        </div>
133
+      </div>
134
+    </el-dialog>
135
+  </div>
136
+</template>
137
+<script>
138
+  export default{
139
+    data(){
140
+      return{
141
+        value:0,
142
+        value1:'',
143
+        input:'',
144
+        currentPage:1,
145
+        state1:'',
146
+        collect_show:false,
147
+        options:[{value:0,label:'全部'},{value:1,label:'充值'},{value:2,label:'扣费'}],
148
+        tableData: [{ index: 1, name: '小米', HD: 1, HDF: 1, 'HD+HP': 1, 'qita': 1 ,examine:false}],
149
+      }
150
+    },
151
+    methods:{
152
+      mingx_click(){
153
+        this.collect_show = true
154
+      },
155
+      querySearch(){
156
+
157
+      },
158
+      handleSelect(){
159
+
160
+      },
161
+      handleSizeChange(){
162
+
163
+      },
164
+      handleCurrentChange(){
165
+
166
+      },
167
+    }
168
+  }
169
+</script>

+ 152 - 0
src/xt_pages/charging/charging_cz.vue View File

@@ -0,0 +1,152 @@
1
+<template>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+    </div>
6
+    <div class="app-container">
7
+      <div style="display: flex;">
8
+        <div style="flex: 2;display: flex;justify-content: space-around;">
9
+          <div > <el-input v-model="input" placeholder="请输入内容"></el-input></div>
10
+          <div>
11
+            日期查询:
12
+            <el-date-picker
13
+              v-model="value1"
14
+              type="daterange"
15
+              range-separator="至"
16
+              start-placeholder="开始日期"
17
+              end-placeholder="结束日期">
18
+            </el-date-picker>
19
+          </div>
20
+          <div><el-button type="primary">查询</el-button></div>
21
+          <el-button type="primary" @click="newcz_show=true">新增</el-button>
22
+        </div>
23
+        <div style="flex: 1;text-align: right;">
24
+          <!-- <el-button type="primary" @click="new_show=true">新增</el-button> -->
25
+        </div>
26
+      </div>
27
+      <div style="margin:10px 0;">
28
+        <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
29
+          <el-table-column prop="index" label="序号" width="50">
30
+          </el-table-column>
31
+          <el-table-column prop="name" label="患者姓名" width="">
32
+          </el-table-column>
33
+          <el-table-column prop="HD" label="充值时间">
34
+          </el-table-column>
35
+          <el-table-column prop="HDF" label="充值类型">
36
+          </el-table-column>
37
+          <el-table-column prop="HD+HP" label="充值次数">
38
+          </el-table-column>
39
+          <el-table-column prop="HP" label="状态">
40
+          </el-table-column>
41
+          <el-table-column prop="qita" label="创建人">
42
+          </el-table-column>
43
+          <el-table-column prop="qita" label="备注">
44
+          </el-table-column>
45
+          <el-table-column prop="address" label="操作" width="300">
46
+            <template slot-scope="scope">
47
+              <span v-if="scope.row.examine==false">
48
+                <el-button type="primary" @click="cz_click(scope.row)" >反审核</el-button>
49
+              </span>
50
+              <div v-if="scope.row.examine==true">
51
+                <el-button type="primary" >审核</el-button>
52
+                <el-button type="danger">删除</el-button>
53
+              </div>
54
+            </template>
55
+          </el-table-column>
56
+        </el-table>
57
+      </div>
58
+      <div style="text-align: right;">
59
+        <el-pagination
60
+          @size-change="handleSizeChange"
61
+          @current-change="handleCurrentChange"
62
+          :current-page="currentPage"
63
+          :page-sizes="[100, 200, 300, 400]"
64
+          :page-size="100"
65
+          layout="total, sizes, prev, pager, next, jumper"
66
+          :total="400">
67
+        </el-pagination>
68
+      </div>
69
+    </div>
70
+
71
+    <el-dialog
72
+      title="新增充值"
73
+      :visible.sync="newcz_show"
74
+      width="30%"
75
+      >
76
+      <div>
77
+        <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign">
78
+          <el-form-item label="患者姓名:">
79
+            <el-autocomplete
80
+              class="inline-input"
81
+              v-model="state1"
82
+              :fetch-suggestions="querySearch"
83
+              placeholder="请输入内容"
84
+              @select="handleSelect"
85
+            ></el-autocomplete>
86
+          </el-form-item>
87
+          <el-form-item label="HD:">
88
+            <el-input v-model="formLabelAlign.region"></el-input>
89
+          </el-form-item>
90
+          <el-form-item label="HDF:">
91
+            <el-input v-model="formLabelAlign.type"></el-input>
92
+          </el-form-item>
93
+          <el-form-item label="HD+HP:">
94
+            <el-input v-model="formLabelAlign.type"></el-input>
95
+          </el-form-item>
96
+          <el-form-item label="HP:">
97
+            <el-input v-model="formLabelAlign.type"></el-input>
98
+          </el-form-item>
99
+          <el-form-item label="其他:">
100
+            <el-input v-model="formLabelAlign.type"></el-input>
101
+          </el-form-item>
102
+          <el-form-item label="备注:">
103
+            <el-input type="textarea" :rows="2" v-model="formLabelAlign.type"></el-input>
104
+          </el-form-item>
105
+          <el-form-item>
106
+            <el-button type="primary" @click="newcz_show = false">确 定</el-button>
107
+            <el-button @click="newcz_show = false">取 消</el-button>
108
+          </el-form-item>
109
+        </el-form>
110
+      </div>
111
+    </el-dialog>
112
+  </div>
113
+</template>
114
+<script>
115
+  export default{
116
+    data(){
117
+      return{
118
+        input:'',
119
+        crumbs: [
120
+        { path: false, name: "计费充值" },
121
+        ],
122
+        value1:'',
123
+        newcz_show:false,
124
+        labelPosition:'right',
125
+        formLabelAlign:{
126
+
127
+        },
128
+        currentPage:1,
129
+        tableData: [{ index: 1, name: '小米', HD: 1, HDF: 1, 'HD+HP': 1, 'qita': 1,examine:false }],
130
+      }
131
+    },
132
+    methods:{
133
+      querySearch(queryString, cb){
134
+
135
+      },
136
+      cz_click(row){
137
+        row.examine=true
138
+      },
139
+      handleSizeChange(){
140
+
141
+      },
142
+      handleCurrentChange(){
143
+
144
+      },
145
+    }
146
+  }
147
+</script>
148
+<style lang="scss" scoped>
149
+  .gong{
150
+    display: inline-block;
151
+  }
152
+</style>

+ 182 - 0
src/xt_pages/charging/index.vue View File

@@ -0,0 +1,182 @@
1
+<template>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+    </div>
6
+    <div class="app-container">
7
+      <div style="display: flex;margin-bottom: 10px;">
8
+        <div style="flex: 1;">
9
+          <el-autocomplete class="inline-input" v-model="state1" :fetch-suggestions="querySearch" placeholder="请输入患者姓名"
10
+            @select="handleSelect"></el-autocomplete>
11
+        </div>
12
+        <div style="flex: 1;text-align: right;">
13
+          <el-button type="primary">扣减配置</el-button>
14
+        </div>
15
+      </div>
16
+      <div>
17
+        <el-table border :data="tableData" style="width: 100%" 
18
+          :header-cell-style="{'text-align':'center'}" 
19
+          :cell-style="{'text-align':'center'}
20
+        ">
21
+          <el-table-column prop="index" label="序号" width="50">
22
+          </el-table-column>
23
+          <el-table-column prop="name" label="患者姓名" width="">
24
+          </el-table-column>
25
+          <el-table-column prop="HD" label="HD">
26
+          </el-table-column>
27
+          <el-table-column prop="HDF" label="HDF">
28
+          </el-table-column>
29
+          <el-table-column prop="HD+HP" label="HD+HP">
30
+          </el-table-column>
31
+          <el-table-column prop="HP" label="HP">
32
+          </el-table-column>
33
+          <el-table-column prop="qita" label="其他">
34
+          </el-table-column>
35
+          <el-table-column prop="address" label="操作" width="300">
36
+            <template slot-scope="scope">
37
+              <el-button type="primary" @click="cz_click">充值</el-button>
38
+              <el-button type="primary" @click="kf_click">扣费</el-button>
39
+              <el-button type="primary" @click="details_click(scope.row)">流水详情</el-button>
40
+            </template>
41
+          </el-table-column>
42
+        </el-table>
43
+      </div>
44
+      <div style="margin-top: 10px;text-align: right;">
45
+        <el-pagination
46
+          @size-change="handleSizeChange"
47
+          @current-change="handleCurrentChange"
48
+          :current-page="currentPage"
49
+          :page-sizes="[100, 200, 300, 400]"
50
+          :page-size="100"
51
+          layout="total, sizes, prev, pager, next, jumper"
52
+          :total="400">
53
+        </el-pagination>
54
+      </div>
55
+    </div>
56
+    
57
+    <el-dialog
58
+      title="流水详情"
59
+      :visible.sync="details_show"
60
+      width="80%"
61
+      >
62
+      <div>
63
+        <div style="display: flex;justify-content: space-around;width: 60%;margin-bottom: 10px;">
64
+          <div>患者姓名:小米</div>
65
+          <div>HD次数:</div>
66
+          <div>HDF次数:</div>
67
+          <div>HD+HP次数:</div>
68
+          <div>HP次数:</div>
69
+          <div>其他次数:</div>
70
+        </div>
71
+        <div style="display: flex;justify-content: space-around;">
72
+          <div>
73
+            日期查询:
74
+            <el-date-picker
75
+              v-model="value1"
76
+              type="daterange"
77
+              range-separator="至"
78
+              start-placeholder="开始日期"
79
+              end-placeholder="结束日期"
80
+              style="width: 300px;">
81
+            </el-date-picker>
82
+          </div>
83
+          <div>
84
+            费用类型:
85
+            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
86
+              <el-option
87
+                v-for="item in options"
88
+                :key="item.value"
89
+                :label="item.label"
90
+                :value="item.value">
91
+              </el-option>
92
+            </el-select>
93
+          </div>
94
+          <div>
95
+            透析模式:
96
+            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
97
+              <el-option
98
+                v-for="item in options"
99
+                :key="item.value"
100
+                :label="item.label"
101
+                :value="item.value">
102
+              </el-option>
103
+            </el-select>
104
+          </div>
105
+          <div><el-button type="primary">查询</el-button></div>
106
+        </div>
107
+        <div style="margin: 10px 0;">
108
+          <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
109
+            <el-table-column prop="index" label="序号" width="">
110
+            </el-table-column>
111
+            <el-table-column prop="name" label="患者姓名" width="">
112
+            </el-table-column>
113
+            <el-table-column prop="HD" label="费用发生时间">
114
+            </el-table-column>
115
+            <el-table-column prop="HD" label="费用类别">
116
+            </el-table-column>
117
+            <el-table-column prop="HDF" label="透析类型">
118
+            </el-table-column>
119
+            <el-table-column prop="HD+HP" label="费用次数">
120
+            </el-table-column>
121
+            <el-table-column prop="address" label="创建人">
122
+            </el-table-column>
123
+            <el-table-column prop="address" label="备注">
124
+            </el-table-column>
125
+          </el-table>
126
+        </div>
127
+      </div>
128
+    </el-dialog>
129
+  </div>
130
+</template>
131
+
132
+<script>
133
+export default {
134
+  data() {
135
+    return {
136
+      crumbs: [
137
+        { path: false, name: "透析计费" },
138
+      ],
139
+      value1:'',
140
+      value:0,
141
+      restaurants: [{value: '小米' }, { value: '小王' }],
142
+      state1: '',
143
+      tableData: [{ index: 1, name: '小米', HD: 1, HDF: 1, 'HD+HP': 1, 'qita': 1 }],
144
+      options:[{value:0,label:'全部'},{value:1,label:'充值'},{value:2,label:'扣费'}],
145
+      currentPage:1,
146
+      details_show:false,
147
+    }
148
+  },
149
+  methods: {
150
+    handleSelect() {
151
+
152
+    },
153
+    querySearch(queryString, cb) {
154
+      console.log('vvvvv',queryString);
155
+      var restaurants = this.restaurants;
156
+      var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
157
+      // 调用 callback 返回建议列表的数据
158
+      cb(results);
159
+    },
160
+    createFilter(queryString) {
161
+      return (restaurant) => {
162
+        return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0);
163
+      };
164
+    },
165
+    handleSizeChange(){
166
+
167
+    },
168
+    handleCurrentChange(){
169
+      
170
+    },
171
+    details_click(row){
172
+      this.details_show=true
173
+    },
174
+    cz_click(){
175
+      this.$router.push({path:'/dialysis/charging_cz'})
176
+    },
177
+    kf_click(){
178
+      this.$router.push({path:'/dialysis/chargin_kf'})
179
+    }
180
+  }
181
+}
182
+</script>

+ 0 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue View File

@@ -1834,7 +1834,6 @@ export default {
1834 1834
         return year_d;
1835 1835
       }
1836 1836
     },
1837
-
1838 1837
     checkData() {
1839 1838
       var checkDate = []
1840 1839
       if (this.predialysis.symptom_before_dialysis == '') {

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue View File

@@ -2293,7 +2293,7 @@ export default {
2293 2293
         const obj39='医生签名'
2294 2294
         checkData.push(obj39)
2295 2295
       }if(this.doctor_advices.length !=0){
2296
-        this.advices.map((item) => {
2296
+        this.doctor_advices.map((item) => {
2297 2297
           if (item.execution_staff == 0 && item.checker == 0 &&item.advice_doctor==0) {
2298 2298
             const obj40 = '医生签名,医嘱执行护士签名,核对签名'
2299 2299
             checkData.push(obj40)

File diff suppressed because it is too large
+ 2089 - 1899
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue


File diff suppressed because it is too large
+ 391 - 883
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue


File diff suppressed because it is too large
+ 464 - 372
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue


File diff suppressed because it is too large
+ 622 - 1450
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue


+ 2 - 26
src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue View File

@@ -561,32 +561,8 @@
561 561
                         style="width: 80px; text-align: center; font-weight: 600;
562 562
                         "
563 563
                       >
564
-                        <span v-if="!prescription.mode_id">/</span>
565
-                        <span v-if="prescription.mode_id == 1">HD</span>
566
-                        <span v-if="prescription.mode_id == 2">HDF</span>
567
-                        <span v-if="prescription.mode_id == 3">HD+HP</span>
568
-                        <span v-if="prescription.mode_id == 4">HP</span>
569
-                        <span v-if="prescription.mode_id == 5">HF</span>
570
-                        <span v-if="prescription.mode_id == 6">SCUF</span>
571
-                        <span v-if="prescription.mode_id == 7">IUF</span>
572
-                        <span v-if="prescription.mode_id == 8">HFHD</span>
573
-                        <span v-if="prescription.mode_id == 9">HFHD+HP</span>
574
-                        <span v-if="prescription.mode_id == 10">PHF</span>
575
-                        <span v-if="prescription.mode_id == 11">HFR</span>
576
-                        <span v-if="prescription.mode_id == 12">HDF+HP</span>
577
-                        <span v-if="prescription.mode_id == 13">CRRT</span>
578
-                        <span v-if="prescription.mode_id == 14">腹水回输</span>
579
-                        <span v-if="prescription.mode_id == 15">HD前置换</span>
580
-                        <span v-if="prescription.mode_id == 16">HD后置换</span>
581
-                        <span v-if="prescription.mode_id == 17">HDF前置换</span>
582
-                        <span v-if="prescription.mode_id == 18">HDF后置换</span>
583
-                        <span v-if="prescription.mode_id == 19">IUF+HD</span>
584
-                        <span v-if="prescription.mode_id == 22">血浆胆红素吸附+HDF</span>
585
-                        <span v-if="prescription.mode_id == 23">血浆胆红素吸附</span>
586
-                        <span v-if="prescription.mode_id == 24">I-HDF</span>
587
-                        <span v-if="prescription.mode_id == 25">HD高通</span>
588
-                        <span v-if="prescription.mode_id == 29">PE</span>
589
-                        <span v-if="prescription.mode_id == 30">血浆胆红素吸附+HP</span>
564
+                      {{modeName(prescription.mode_id)}}
565
+                       
590 566
                       </div>
591 567
                     </div>
592 568
                     <div class="inline_block" style="flex: 1">

File diff suppressed because it is too large
+ 391 - 416
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue


File diff suppressed because it is too large
+ 420 - 392
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue


File diff suppressed because it is too large
+ 1900 - 1734
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue