Explorar el Código

HIS 系统提交

XMLWAN hace 4 años
padre
commit
b0dee95462
Se han modificado 1 ficheros con 24 adiciones y 15 borrados
  1. 24 15
      src/xt_pages/outpatientRegistration/registrationHistory.vue

+ 24 - 15
src/xt_pages/outpatientRegistration/registrationHistory.vue Ver fichero

38
             </div>
38
             </div>
39
             <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
39
             <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
40
                 <el-table-column align="center" type="index" label="序号" width="60">
40
                 <el-table-column align="center" type="index" label="序号" width="60">
41
+                    <template slot-scope="scope">
42
+                        {{scope.$index+1}}
43
+                    </template>
41
                 </el-table-column>
44
                 </el-table-column>
42
                 <el-table-column align="center" prop="name" label="时间" width="100">
45
                 <el-table-column align="center" prop="name" label="时间" width="100">
43
-                    <template slot-scope="scope">{{ scope.row.create_time }}</template>
46
+                    <template slot-scope="scope">{{ scope.row.record_date }}</template>
44
                 </el-table-column>
47
                 </el-table-column>
45
                 <el-table-column align="center" prop="dialysis_no" label="姓名" width="80">
48
                 <el-table-column align="center" prop="dialysis_no" label="姓名" width="80">
46
                     <template slot-scope="scope">{{scope.row.name }}</template>
49
                     <template slot-scope="scope">{{scope.row.name }}</template>
47
                 </el-table-column>
50
                 </el-table-column>
48
                 <el-table-column align="center" prop="name" label="科室" width="80">
51
                 <el-table-column align="center" prop="name" label="科室" width="80">
49
-                    <template slot-scope="scope">{{ scope.row.department }}</template>
52
+                    <template slot-scope="scope">{{ scope.row.departments }}</template>
50
                 </el-table-column>
53
                 </el-table-column>
51
                 <el-table-column align="center" prop="name" label="挂号类型" width="90">
54
                 <el-table-column align="center" prop="name" label="挂号类型" width="90">
52
                     <template slot-scope="scope">
55
                     <template slot-scope="scope">
53
-                        <span v-if="scope.row.register == 1">普通</span>
54
-                        <span v-if="scope.row.register == 2">主治</span>
55
-                        <span v-if="scope.row.register == 3">主任</span>
56
-                        <span v-if="scope.row.register == 4">免收诊金</span>
57
-                        <span v-if="scope.row.register == 5">专家</span>
56
+                        <span v-if="scope.row.register_type == 1">普通</span>
57
+                        <span v-if="scope.row.register_type == 2">主治</span>
58
+                        <span v-if="scope.row.register_type == 3">主任</span>
59
+                        <span v-if="scope.row.register_type == 4">免收诊金</span>
60
+                        <span v-if="scope.row.register_type == 5">专家</span>
58
                     </template>
61
                     </template>
59
                 </el-table-column>
62
                 </el-table-column>
60
                 <el-table-column align="center" prop="name" label="就诊号" width="80">
63
                 <el-table-column align="center" prop="name" label="就诊号" width="80">
61
-                    <template slot-scope="scope"></template>
64
+                    <template slot-scope="scope">
65
+                        {{scope.row.number}}
66
+                    </template>
62
                 </el-table-column>
67
                 </el-table-column>
63
                 <el-table-column align="center" prop="name" label="证件号">
68
                 <el-table-column align="center" prop="name" label="证件号">
64
-                    <template slot-scope="scope">{{ scope.row.idCard }}</template>
69
+                    <template slot-scope="scope">{{ scope.row.id_card_no }}</template>
65
                 </el-table-column>
70
                 </el-table-column>
66
                 <el-table-column align="center" label="患者保险类型" width="80">
71
                 <el-table-column align="center" label="患者保险类型" width="80">
67
-                    <!-- <template slot-scope="scope">{{ scope.row.name }}</template> -->
72
+                    <template slot-scope="scope">{{ scope.row.id_type }}</template>
68
                 </el-table-column>
73
                 </el-table-column>
69
                 <el-table-column align="center" prop="name" label="医生" width="80">
74
                 <el-table-column align="center" prop="name" label="医生" width="80">
70
-                    <template slot-scope="scope">{{ scope.row.doctor }}</template>
75
+                    <template slot-scope="scope">{{ scope.row.admin_user_id }}</template>
71
                 </el-table-column>
76
                 </el-table-column>
72
                 <el-table-column align="center" prop="name" label="挂号费" width="70">
77
                 <el-table-column align="center" prop="name" label="挂号费" width="70">
73
-                    <template slot-scope="scope">{{ scope.row.registrationFee }}</template>
78
+                    <template slot-scope="scope">{{ scope.row.register_cost }}</template>
74
                 </el-table-column>
79
                 </el-table-column>
75
                 <el-table-column align="center" prop="name" label="诊疗费" width="70">
80
                 <el-table-column align="center" prop="name" label="诊疗费" width="70">
76
-                    <template slot-scope="scope">{{ scope.row.medicalExpenses }}</template>
81
+                    <template slot-scope="scope">{{ scope.row.treatment_cost }}</template>
77
                 </el-table-column>
82
                 </el-table-column>
78
                 <el-table-column align="center" prop="name" label="工本费" width="70">
83
                 <el-table-column align="center" prop="name" label="工本费" width="70">
79
-                    <template slot-scope="scope">{{ scope.row.cost }}</template>
84
+                    <template slot-scope="scope">{{ scope.row.cost_of_production }}</template>
80
                 </el-table-column>
85
                 </el-table-column>
81
                 <el-table-column align="center" prop="name" label="操作人" width="70">
86
                 <el-table-column align="center" prop="name" label="操作人" width="70">
82
                     <template slot-scope="scope">{{ $store.getters.xt_user.org.org_name }}</template>
87
                     <template slot-scope="scope">{{ $store.getters.xt_user.org.org_name }}</template>
187
 
192
 
188
         },
193
         },
189
         getlist(){
194
         getlist(){
190
-            var params = {
195
+          var params = {
191
                keyword:this.search_input,
196
                keyword:this.search_input,
192
                start_time:this.start_time,
197
                start_time:this.start_time,
193
                end_time:this.end_time,
198
                end_time:this.end_time,
200
              if(response.data.state == 1){
205
              if(response.data.state == 1){
201
                 var history = response.data.data.history
206
                 var history = response.data.data.history
202
                 console.log("history",history)
207
                 console.log("history",history)
208
+                this.tableData = history
203
                 var total =  response.data.data.total
209
                 var total =  response.data.data.total
204
                 console.log("total",total)
210
                 console.log("total",total)
211
+                var department =  response.data.data.department
212
+                console.log("department",department)
213
+               
205
              }
214
              }
206
           })
215
           })
207
  
216