See999 4 vuotta sitten
vanhempi
commit
31c32700c8

+ 6 - 6
src/api/data.js Näytä tiedosto

178
 
178
 
179
 export function createMZSick(params) {
179
 export function createMZSick(params) {
180
   return request({
180
   return request({
181
-    url: '/api/stock/dealer/create',
181
+    url: '/api/mz/sick/create',
182
     method: 'post',
182
     method: 'post',
183
     params: params
183
     params: params
184
   })
184
   })
186
 
186
 
187
 export function modifyMZSick(params) {
187
 export function modifyMZSick(params) {
188
   return request({
188
   return request({
189
-    url: '/api/stock/dealer/modify',
189
+    url: '/api/mz/sick/modify',
190
     method: 'post',
190
     method: 'post',
191
     params: params
191
     params: params
192
   })
192
   })
194
 
194
 
195
 export function getMZSickList(params) {
195
 export function getMZSickList(params) {
196
   return request({
196
   return request({
197
-    url: '/api/stock/dealer/list',
197
+    url: '/api/mz/sick/list',
198
     method: 'get',
198
     method: 'get',
199
     params: params
199
     params: params
200
   })
200
   })
202
 
202
 
203
 export function deleteMZSick(params) {
203
 export function deleteMZSick(params) {
204
   return request({
204
   return request({
205
-    url: '/api/stock/dealer/delete',
205
+    url: '/api/mz/sick/delete',
206
     method: 'post',
206
     method: 'post',
207
     params: params
207
     params: params
208
   })
208
   })
209
 }
209
 }
210
 
210
 
211
-export function GetMZSickr(params) {
211
+export function GetMZSick(params) {
212
   return request({
212
   return request({
213
-    url: '/api/stock/dealer/get',
213
+    url: '/api/mz/sick/get',
214
     method: 'get',
214
     method: 'get',
215
     params: params
215
     params: params
216
   })
216
   })

+ 391 - 0
src/xt_pages/data/components/diagnosis.vue Näytä tiedosto

1
+<template>
2
+  <div class="main-contain">
3
+    <div class=" sign-and-weigh-box" style="background: white">
4
+      <!--<manufacturer-or-dealer-dialog-->
5
+      <!--ref="dialog"-->
6
+      <!--:titles="manufacturerDialog.titles"-->
7
+      <!--:formValue="manufacturerDialog.formValue"-->
8
+      <!--:visibility="manufacturerDialog.isVisibility"-->
9
+      <!--:type="manufacturerDialog.type"-->
10
+      <!--:isCreated="manufacturerDialog.isCreated"-->
11
+      <!--v-on:dialog-comfirm="manufacturerDialogComfirm"-->
12
+      <!--v-on:dialog-cancle="manufacturerDialogCancle"-->
13
+      <!--&gt;</manufacturer-or-dealer-dialog>-->
14
+      <diagnosis-dialog
15
+        ref="dialog"
16
+        :titles="Dialog.titles"
17
+        :formValue="Dialog.formValue"
18
+        :visibility="Dialog.isVisibility"
19
+        :type="Dialog.type"
20
+        :isCreated="Dialog.isCreated"
21
+        v-on:dialog-comfirm="dialogComfirm"
22
+        v-on:dialog-cancle="dialogCancle"
23
+
24
+      ></diagnosis-dialog>
25
+
26
+
27
+      <el-row :gutter="15">
28
+        <el-col>
29
+          <div>
30
+            <el-button
31
+              size="small"
32
+              icon="el-icon-circle-plus-outline"
33
+              style="float: right;margin-bottom: 15px"
34
+              type="primary"
35
+              @click="showDialog"
36
+            >新增
37
+            </el-button>
38
+          </div>
39
+
40
+          <el-table
41
+            :row-style="{ color: '#303133' }"
42
+            :header-cell-style="{
43
+              backgroundColor: 'rgb(245, 247, 250)',
44
+              color: '#606266'
45
+            }"
46
+            :data="manufacturerData"
47
+            style="width: 100%"
48
+            border
49
+            v-loading="loading"
50
+          >
51
+            <el-table-column label="国家编码" align="center">
52
+              <template slot-scope="scope">
53
+                {{ scope.row.country_code }}
54
+              </template>
55
+            </el-table-column>
56
+
57
+            <el-table-column label="目录代码" align="center">
58
+              <template slot-scope="scope">
59
+                {{ scope.row.content_code }}
60
+              </template>
61
+            </el-table-column>
62
+
63
+
64
+            <el-table-column label="大类名称" align="center">
65
+              <template slot-scope="scope">
66
+                {{ scope.row.class_name }}
67
+              </template>
68
+            </el-table-column>
69
+
70
+            <el-table-column label="国家目录名称" align="center">
71
+              <template slot-scope="scope">
72
+                {{ scope.row.country_content_name }}
73
+              </template>
74
+            </el-table-column>
75
+
76
+            <el-table-column label="备注" align="center">
77
+              <template slot-scope="scope">
78
+                {{ scope.row.remark }}
79
+              </template>
80
+            </el-table-column>
81
+
82
+            <el-table-column label="操作" align="center">
83
+              <template slot-scope="scope">
84
+                <el-tooltip
85
+                  class="item"
86
+                  effect="dark"
87
+                  content="编辑"
88
+                  placement="top"
89
+                >
90
+                  <el-button
91
+                    size="small"
92
+                    type="primary"
93
+                    icon="el-icon-edit-outline"
94
+                    @click="handleEdit(scope.$index, scope.row)"
95
+                  >
96
+                  </el-button>
97
+                </el-tooltip>
98
+                <el-tooltip
99
+                  class="item"
100
+                  effect="dark"
101
+                  content="删除"
102
+                  placement="top"
103
+                >
104
+                  <el-button
105
+                    size="small"
106
+                    type="danger"
107
+                    icon="el-icon-delete"
108
+                    @click="handleDelete(scope.$index, scope.row)"
109
+                  >
110
+                  </el-button>
111
+                </el-tooltip>
112
+
113
+              </template>
114
+            </el-table-column>
115
+          </el-table>
116
+
117
+          <el-pagination
118
+            @size-change="handleSizeChange"
119
+            @current-change="handleCurrentChange"
120
+            :page-sizes="[10, 50, 100]"
121
+            :page-size="10"
122
+            background
123
+            align="right"
124
+            style="margin-top:20px;"
125
+            layout="total, sizes, prev, pager, next, jumper"
126
+            :total="total"
127
+          >
128
+          </el-pagination>
129
+        </el-col>
130
+      </el-row>
131
+    </div>
132
+  </div>
133
+</template>
134
+
135
+<script>
136
+  import {
137
+    createMZSick,
138
+    modifyMZSick,
139
+    getMZSickList,
140
+    deleteMZSick,
141
+    GetMZSick
142
+  } from '@/api/data'
143
+  import DiagnosisDialog from './diagnosisDialog'
144
+
145
+  export default {
146
+    components: {
147
+      DiagnosisDialog
148
+    },
149
+    name: 'diagnosis',
150
+    data() {
151
+      return {
152
+        signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
153
+        manufacturerData: [],
154
+        total: 0,
155
+        pageTotal: 0,
156
+        pageSelect: 0,
157
+
158
+        page: 1,
159
+        limit: 10,
160
+        loading: false,
161
+
162
+        manufacturer_code: '',
163
+        editId: '',
164
+        editIndex: '',
165
+        Dialog: {
166
+          titles: '新增',
167
+          isVisibility: false,
168
+          isCreated: 1, //1.创建 2.编辑 3.查看详情
169
+          formValue: {
170
+            class_name: '',
171
+            content_code: '',
172
+            country_code: '',
173
+            country_content_name: '',
174
+            remark: '',
175
+            pinyin: '',
176
+            wubi: ''
177
+
178
+          },
179
+          resetForm: {
180
+            class_name: '',
181
+            content_code: '',
182
+            country_code: '',
183
+            country_content_name: '',
184
+            remark: '',
185
+            pinyin: '',
186
+            wubi: ''
187
+          }
188
+        }
189
+      }
190
+    },
191
+    methods: {
192
+      handleEdit: function(index, row) {
193
+        this.editId = row.id
194
+        this.editIndex = index
195
+        let params = {
196
+          id: row.id
197
+        }
198
+        GetMZSick(params).then(response => {
199
+          if (response.data.state == 0) {
200
+            this.$message.error(response.data.msg)
201
+            return false
202
+          } else {
203
+            this.Dialog.formValue.class_name =
204
+              response.data.data.sick.class_name
205
+            this.Dialog.formValue.content_code =
206
+              response.data.data.sick.content_code
207
+            this.Dialog.formValue.country_code =
208
+              response.data.data.sick.country_code
209
+            this.Dialog.formValue.country_content_name =
210
+              response.data.data.sick.country_content_name
211
+            this.Dialog.formValue.remark =
212
+              response.data.data.sick.remark
213
+            this.Dialog.formValue.pinyin =
214
+              response.data.data.sick.pinyin
215
+            this.Dialog.formValue.wubi =
216
+              response.data.data.sick.wubi
217
+
218
+            this.Dialog.isCreated = 2
219
+            this.$refs.dialog.show()
220
+
221
+          }
222
+        })
223
+      },
224
+      handleDelete: function(index, row) {
225
+        this.$confirm('确认删除这条记录?', '删除记录', {
226
+          confirmButtonText: '确定',
227
+          cancelButtonText: '取消',
228
+          type: 'warning'
229
+        })
230
+          .then(() => {
231
+            let params = {
232
+              id: row.id
233
+            }
234
+            deleteMZSick(params).then(response => {
235
+              if (response.data.state == 0) {
236
+                this.$message.error(response.data.msg)
237
+                return false
238
+              } else {
239
+                this.manufacturerData.splice(index, 1)
240
+                this.$message.success('厂家已经删除')
241
+              }
242
+            })
243
+          })
244
+          .catch(() => {
245
+          })
246
+      },
247
+      showDetails: function(index, row) {
248
+        let params = {
249
+          id: row.id
250
+        }
251
+        GetMZSick(params).then(response => {
252
+          if (response.data.state == 0) {
253
+            this.$message.error(response.data.msg)
254
+            return false
255
+          } else {
256
+            this.Dialog.formValue.class_name =
257
+              response.data.data.sick.class_name
258
+            this.Dialog.formValue.content_code =
259
+              response.data.data.sick.content_code
260
+            this.Dialog.formValue.country_code =
261
+              response.data.data.sick.country_code
262
+            this.Dialog.formValue.country_content_name =
263
+              response.data.data.sick.country_content_name
264
+            this.Dialog.formValue.remark =
265
+              response.data.data.sick.remark
266
+            this.Dialog.formValue.pinyin =
267
+              response.data.data.sick.pinyin
268
+            this.Dialog.formValue.wubi =
269
+              response.data.data.sick.wubi
270
+
271
+            this.Dialog.isCreated = 3
272
+            this.Dialog.isVisibility = true
273
+          }
274
+        })
275
+      },
276
+      dialogComfirm: function(val) {
277
+        // this.manufacturerDialog.isVisibility = false
278
+        this.$refs.dialog.hide()
279
+        if (val.isCreated == 2) {
280
+          //修改
281
+          let params = {
282
+            class_name: val.class_name,
283
+            content_code: val.content_code,
284
+            country_code: val.country_code,
285
+            country_content_name: val.country_content_name,
286
+            remark: val.remark,
287
+            id: this.editId,
288
+            pinyin: val.pinyin,
289
+            wubi: val.wubi
290
+
291
+          }
292
+          modifyMZSick(params).then(response => {
293
+            if (response.data.state == 0) {
294
+              this.$message.error(response.data.msg)
295
+              return false
296
+            } else {
297
+              this.manufacturerData[this.editIndex].class_name =
298
+                response.data.data.sick.class_name
299
+              this.manufacturerData[this.editIndex].content_code =
300
+                response.data.data.sick.content_code
301
+              this.manufacturerData[this.editIndex].country_code =
302
+                response.data.data.sick.country_code
303
+              this.manufacturerData[this.editIndex].country_code =
304
+                response.data.data.sick.country_code
305
+              this.manufacturerData[this.editIndex].country_content_name =
306
+                response.data.data.sick.country_content_name
307
+              this.manufacturerData[this.editIndex].remark =
308
+                response.data.data.sick.remark
309
+              this.manufacturerData[this.editIndex].pinyin =
310
+                response.data.data.sick.pinyin
311
+              this.manufacturerData[this.editIndex].wubi =
312
+                response.data.data.sick.wubi
313
+
314
+              this.$message.success('修改成功')
315
+            }
316
+          })
317
+        } else if (val.isCreated == 1) {
318
+          //新增
319
+          createMZSick(val).then(response => {
320
+            if (response.data.state == 0) {
321
+              this.$message.error(response.data.msg)
322
+              return false
323
+            } else {
324
+              this.manufacturerData.unshift(response.data.data.sick)
325
+
326
+              this.$message.success('新增成功')
327
+            }
328
+          })
329
+        }
330
+      },
331
+      dialogCancle: function() {
332
+        this.$refs.dialog.hide()
333
+      },
334
+      showDialog: function() {
335
+        this.Dialog.formValue = Object.assign(
336
+          {},
337
+          this.Dialog.resetForm
338
+        )
339
+        this.$refs.dialog.show()
340
+        this.Dialog.isCreated = 1
341
+      },
342
+      handleSizeChange(val) {
343
+        this.limit = val
344
+        this.getList()
345
+      },
346
+      handleCurrentChange(val) {
347
+        this.page = val
348
+        this.getList()
349
+      },
350
+      getList() {
351
+        let params = {
352
+          page: this.page,
353
+          limit: this.limit
354
+        }
355
+        this.loading = true
356
+        getMZSickList(params).then(response => {
357
+          if (response.data.state == 0) {
358
+            this.loading = false
359
+            this.$message.error(response.data.msg)
360
+            return false
361
+          } else {
362
+            this.loading = false
363
+            this.total = response.data.data.total
364
+            this.manufacturerData = []
365
+            for (let i = 0; i < response.data.data.sick.length; i++) {
366
+              this.manufacturerData.push(response.data.data.sick[i])
367
+            }
368
+          }
369
+        })
370
+      }
371
+    },
372
+    created() {
373
+      this.getList()
374
+    }
375
+  }
376
+</script>
377
+
378
+<style lang="scss">
379
+  .el-table td,
380
+  .el-table th.is-leaf,
381
+  .el-table--border,
382
+  .el-table--group {
383
+    border-color: #d0d3da;
384
+  }
385
+
386
+  .el-table--border::after,
387
+  .el-table--group::after,
388
+  .el-table::before {
389
+    background-color: #d0d3da;
390
+  }
391
+</style>

+ 161 - 0
src/xt_pages/data/components/diagnosisDialog.vue Näytä tiedosto

1
+<template>
2
+  <el-dialog width="854px" :title="titles" :visible.sync="visibility" :close-on-click-modal="isClose"
3
+             :close-on-press-escape="isClose">
4
+
5
+    <el-form :model="formValue" :rules="rules" ref="formValue" class="demo-form-inline"
6
+             :label-position="labelPosition"
7
+             label-width="100px">
8
+
9
+      <el-row>
10
+        <el-col :span="8">
11
+          <el-form-item label="大类名称" prop="class_name">
12
+            <el-input v-model="formValue.class_name"></el-input>
13
+          </el-form-item>
14
+        </el-col>
15
+
16
+        <el-col :span="8">
17
+          <el-form-item label="拼音" prop="pinyin">
18
+            <el-input v-model="formValue.pinyin"></el-input>
19
+          </el-form-item>
20
+        </el-col>
21
+        <el-col :span="8">
22
+          <el-form-item label="五笔" prop="wubi">
23
+            <el-input v-model="formValue.wubi"></el-input>
24
+          </el-form-item>
25
+        </el-col>
26
+
27
+        <el-col :span="8">
28
+          <el-form-item label="目录代码" prop="content_code">
29
+            <el-input v-model="formValue.content_code"></el-input>
30
+          </el-form-item>
31
+        </el-col>
32
+
33
+        <el-col :span="8">
34
+          <el-form-item label="国家编码" prop="country_code">
35
+            <el-input v-model="formValue.country_code"></el-input>
36
+          </el-form-item>
37
+        </el-col>
38
+
39
+        <el-col :span="8">
40
+          <el-form-item label="国家目录名称" prop="country_content_name">
41
+            <el-input v-model="formValue.country_content_name"></el-input>
42
+          </el-form-item>
43
+        </el-col>
44
+      </el-row>
45
+
46
+      <el-col>
47
+        <el-form-item label="备注">
48
+          <el-input type="textarea" :row="5" v-model="formValue.remark"
49
+                    placeholder="请输入内容">
50
+          </el-input>
51
+        </el-form-item>
52
+      </el-col>
53
+    </el-form>
54
+
55
+    <span slot="footer" class="dialog-footer">
56
+    <el-button v-if="isCreated == 3" @click="cancle('formValue')">取 消</el-button>
57
+    <el-button v-if="isCreated != 3 " @click="cancle('formValue')">取 消</el-button>
58
+    <el-button v-if="isCreated != 3" type="primary" @click="comfirm('formValue')">保 存</el-button>
59
+  </span>
60
+  </el-dialog>
61
+
62
+</template>
63
+
64
+<script>
65
+  export default {
66
+    name: 'diagnosisDialog',
67
+
68
+    data() {
69
+
70
+      return {
71
+        visibility: false,
72
+        labelPosition: 'right',
73
+        isClose: false,
74
+        form: {
75
+          class_name: '',
76
+          content_code: '',
77
+          country_code: '',
78
+          country_content_name: '',
79
+          remark: '',
80
+          pinyin: '',
81
+          wubi: ''
82
+
83
+        },
84
+        resetForm: {
85
+          class_name: '',
86
+          content_code: '',
87
+          country_code: '',
88
+          country_content_name: '',
89
+          remark: '',
90
+          pinyin: '',
91
+          wubi: ''
92
+        },
93
+        rules: {
94
+          class_name: [
95
+            { required: true, message: '请输入大类名称', trigger: 'blur' }
96
+          ],
97
+          content_code: [
98
+            { required: true, message: '请输入目录代码', trigger: 'blur' }
99
+          ]
100
+
101
+        }
102
+      }
103
+    },
104
+    props: {
105
+
106
+      titles: {
107
+        type: String,
108
+        default: ''
109
+      },
110
+      formValue: {
111
+        type: Object
112
+      },
113
+      type: {
114
+        type: Number,
115
+        default: 1
116
+
117
+      },
118
+      isCreated: {
119
+        type: Number,
120
+        default: 1
121
+
122
+      }
123
+    },
124
+    methods: {
125
+      show: function() {
126
+        this.visibility = true
127
+
128
+      }, hide: function() {
129
+        this.visibility = false
130
+      },
131
+      cancle: function(formName) {
132
+        this.$emit('dialog-cancle', this.getValue())
133
+        this.$refs['formValue'].resetFields()
134
+      },
135
+      comfirm: function(formName) {
136
+        this.$refs['formValue'].validate((valid) => {
137
+          if (valid) {
138
+            let value = {}
139
+            value = this.getValue()
140
+            this.$emit('dialog-comfirm', value)
141
+            this.form = Object.assign({}, this.resetForm)
142
+
143
+          }
144
+        })
145
+      },
146
+      getValue: function() {
147
+        let form = {}
148
+        form = this.formValue
149
+        form['title'] = this.titles
150
+        form['type'] = this.type
151
+        form['isCreated'] = this.isCreated
152
+        return form
153
+      }
154
+    }
155
+
156
+  }
157
+</script>
158
+
159
+<style scoped>
160
+
161
+</style>

+ 6 - 4
src/xt_pages/data/specialDictionary.vue Näytä tiedosto

26
           <dealer></dealer>
26
           <dealer></dealer>
27
         </el-tab-pane>
27
         </el-tab-pane>
28
 
28
 
29
-        <el-tab-pane label="门诊大病" name="6">
30
-          <manufacturer></manufacturer>
31
-
29
+        <el-tab-pane label="门诊大病" name="7">
30
+          <!--<manufacturer></manufacturer>-->
31
+          <diagnosis></diagnosis>
32
         </el-tab-pane>
32
         </el-tab-pane>
33
-        <el-tab-pane label="配置项字典" name="7">
33
+        <el-tab-pane label="配置项字典" name="8">
34
           <configure></configure>
34
           <configure></configure>
35
         </el-tab-pane>
35
         </el-tab-pane>
36
       </el-tabs>
36
       </el-tabs>
48
   import manufacturer from '../stock/config/manufacturer'
48
   import manufacturer from '../stock/config/manufacturer'
49
   import configure from './components/configure'
49
   import configure from './components/configure'
50
   import Dealer from '../stock/config/dealer'
50
   import Dealer from '../stock/config/dealer'
51
+  import Diagnosis from './components/diagnosis'
51
 
52
 
52
   export default {
53
   export default {
53
     name: 'specialDictionary',
54
     name: 'specialDictionary',
54
     components: {
55
     components: {
56
+      Diagnosis,
55
       Dealer,
57
       Dealer,
56
       BreadCrumb,
58
       BreadCrumb,
57
       drugs,
59
       drugs,

+ 13 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Näytä tiedosto

578
           this.$message.error('该处方已经结算或者退费,无法继续添加处方')
578
           this.$message.error('该处方已经结算或者退费,无法继续添加处方')
579
           return
579
           return
580
         }
580
         }
581
+        if(this.curPrescriptions.advices.length == 0 && this.curPrescriptions.project.length == 0 ){
582
+          this.$message.error('当前处方无数据,新增数据后才能新增处方')
583
+          return
584
+        }
585
+
586
+
581
         ++this.tabIndex
587
         ++this.tabIndex
582
         let newTabName = '处方' + this.tabIndex
588
         let newTabName = '处方' + this.tabIndex
583
         this.prescriptions.push({
589
         this.prescriptions.push({
584
           id: 0,
590
           id: 0,
585
           name: newTabName,
591
           name: newTabName,
592
+          order_status:0,
586
           advices: [],
593
           advices: [],
587
           project: []
594
           project: []
588
 
595
 
592
         this.curStatus = 0
599
         this.curStatus = 0
593
       },
600
       },
594
       removeTab(targetName) {
601
       removeTab(targetName) {
595
-        if(this.curPrescriptions.order_status >= 2){
596
-          this.$message.error('该处方已经结算或者退费,无法删除')
602
+        if(this.curPrescriptions.order_status == 2){
603
+          this.$message.error('该处方已经结算,无法删除')
604
+          return
605
+        }
606
+        if(targetName == "处方1"){
607
+          this.$message.error('该处方无法删除')
597
           return
608
           return
598
         }
609
         }
599
-
600
         this.$confirm('处方删除后不可恢复,是否确认删除', '删除', {
610
         this.$confirm('处方删除后不可恢复,是否确认删除', '删除', {
601
           confirmButtonText: '确 定',
611
           confirmButtonText: '确 定',
602
           cancelButtonText: '取 消',
612
           cancelButtonText: '取 消',

+ 3 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Näytä tiedosto

193
         })
193
         })
194
 
194
 
195
       },deleteDrug:function(index, row){
195
       },deleteDrug:function(index, row){
196
-       if(this.curPrescriptions.order_status >= 2){
196
+       if(this.prescription.order_status >= 2){
197
          this.$message.error('该处方已经结算或者退费,无法删除')
197
          this.$message.error('该处方已经结算或者退费,无法删除')
198
          return
198
          return
199
        }
199
        }
203
          type: "warning"
203
          type: "warning"
204
        }).then(() => {
204
        }).then(() => {
205
          this.$nextTick(function(){
205
          this.$nextTick(function(){
206
-           // this.prescription.advices.splice(index, 1)
207
            if(row.advice_id == 0){
206
            if(row.advice_id == 0){
207
+             this.prescription.advices.splice(index, 1)
208
            }else{
208
            }else{
209
              let params = {
209
              let params = {
210
                'id': row.advice_id,
210
                'id': row.advice_id,
269
          return name
269
          return name
270
       },
270
       },
271
       deleteProject(row,i){
271
       deleteProject(row,i){
272
-        if(this.curPrescriptions.order_status >= 2){
272
+        if(this.prescription.order_status = 2){
273
           this.$message.error('该处方已经结算或者退费,无法删除')
273
           this.$message.error('该处方已经结算或者退费,无法删除')
274
           return
274
           return
275
         }
275
         }

+ 1 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Näytä tiedosto

140
         }else{
140
         }else{
141
           let arr = []
141
           let arr = []
142
           for (let i = 0; i < this.patientTableData.length; i++){
142
           for (let i = 0; i < this.patientTableData.length; i++){
143
-            if(this.patientTableData[i].patients.name.indexOf(this.search_input) != -1 ){
143
+            if(this.patientTableData[i].patients.name.indexOf(this.search_input) != -1 || this.patientTableData[i].his_patient.number.indexOf(this.search_input) != -1){
144
               arr = arr.concat(this.patientTableData[i])
144
               arr = arr.concat(this.patientTableData[i])
145
             }
145
             }
146
           }
146
           }