mainqaq il y a 2 ans
Parent
révision
af532227dd

+ 16 - 0
src/api/batch/batch.js Voir le fichier

@@ -89,3 +89,19 @@ export function batchdeleteitems(query) {
89 89
     params: query
90 90
   })
91 91
 }
92
+//根据患者id、透析模式获取处方模板信息
93
+export function ptemplateinformation(query) {
94
+  return request({
95
+    url: '/api/his/ptemplateinformation',
96
+    method: 'get',
97
+    params: query
98
+  })
99
+}
100
+//删除一条记录
101
+export function deleteone(query) {
102
+  return request({
103
+    url: '/api/his/deleteone',
104
+    method: 'get',
105
+    params: query
106
+  })
107
+}

+ 13 - 13
src/xt_pages/device/components/partition_dialog.vue Voir le fichier

@@ -10,7 +10,7 @@
10 10
                         <el-table-column prop="name" label="分区名称" align="center"></el-table-column>
11 11
                         <el-table-column prop="type" label="分区类型" align="center"></el-table-column>
12 12
                         <!-- <el-table-column prop="amount" label="机号数量" align="center"></el-table-column> -->
13
-                        <el-table-column label="操作" align="center"> 
13
+                        <el-table-column label="操作" align="center">
14 14
                             <template slot-scope="scope">
15 15
                                 <el-button type="primary" icon="el-icon-edit" size="small" @click="modifyZoneAt(scope.row)"></el-button>
16 16
 
@@ -22,7 +22,7 @@
22 22
                                         <el-button size="mini" @click="scope.row.willDelete = false">取消</el-button>
23 23
                                     </div>
24 24
                                 </el-popover> -->
25
-                            </template>  
25
+                            </template>
26 26
                         </el-table-column>
27 27
                     </el-table>
28 28
                 </el-tab-pane>
@@ -34,7 +34,7 @@
34 34
                         <el-table-column prop="zone_name" label="所属分区" align="center"></el-table-column>
35 35
                         <el-table-column prop="group_name" label="所属分组" align="center"></el-table-column>
36 36
                         <!-- <el-table-column prop="amount" label="机号数量" align="center"></el-table-column> -->
37
-                        <el-table-column label="操作" align="center"> 
37
+                        <el-table-column label="操作" align="center">
38 38
                             <template slot-scope="scope">
39 39
                                 <el-button type="primary" icon="el-icon-edit" size="small" @click="modifyDeviceNumberAt(scope.row)"></el-button>
40 40
 
@@ -46,7 +46,7 @@
46 46
                                     </div>
47 47
                                     <el-button type="danger" slot="reference"  icon="el-icon-delete" size="mini">删除</el-button>
48 48
                                 </el-popover> -->
49
-                            </template>  
49
+                            </template>
50 50
                         </el-table-column>
51 51
                     </el-table>
52 52
                 </el-tab-pane>
@@ -68,14 +68,14 @@
68 68
                                     </div>
69 69
                                     <el-button type="danger" slot="reference" icon="el-icon-delete" size="mini">删除</el-button>
70 70
                                 </el-popover> -->
71
-                            </template>  
71
+                            </template>
72 72
                         </el-table-column>
73 73
                     </el-table>
74 74
                 </el-tab-pane>
75 75
             </el-tabs>
76
-            
76
+
77 77
             <!-- <span slot="footer" class="dialog-footer">
78
-                <el-button type="primary" @click="visible = false">保 存</el-button>            
78
+                <el-button type="primary" @click="visible = false">保 存</el-button>
79 79
                 <el-button @click="visible = false">取 消</el-button>
80 80
             </span> -->
81 81
         </el-dialog>
@@ -273,7 +273,7 @@ export default {
273 273
                                 this.$message.error(resp.msg)
274 274
                             }
275 275
                         })
276
-                        
276
+
277 277
                     } else {
278 278
                         modifyZone(this.zone_form.id, this.zone_form.name, this.zone_form.type).then(rs => {
279 279
                             var resp = rs.data
@@ -293,7 +293,7 @@ export default {
293 293
                             }
294 294
                         })
295 295
                     }
296
-                    
296
+
297 297
                 } else {
298 298
                     return false
299 299
                 }
@@ -314,7 +314,7 @@ export default {
314 314
                                 this.$message.error(resp.msg)
315 315
                             }
316 316
                         })
317
-                        
317
+
318 318
                     } else {
319 319
                         modifyGroup(this.group_form.id, this.group_form.name).then(rs => {
320 320
                             var resp = rs.data
@@ -333,7 +333,7 @@ export default {
333 333
                             }
334 334
                         })
335 335
                     }
336
-                    
336
+
337 337
                 } else {
338 338
                     return false
339 339
                 }
@@ -354,7 +354,7 @@ export default {
354 354
                                 this.$message.error(resp.msg)
355 355
                             }
356 356
                         })
357
-                        
357
+
358 358
                     } else {
359 359
                         modifyDeviceNumber(this.number_form.id, this.number_form.number, this.number_form.zone, this.number_form.group).then(rs => {
360 360
                             var resp = rs.data
@@ -375,7 +375,7 @@ export default {
375 375
                             }
376 376
                         })
377 377
                     }
378
-                    
378
+
379 379
                 } else {
380 380
                     return false
381 381
                 }

+ 200 - 304
src/xt_pages/outpatientDoctorStation/batch_delete.vue Voir le fichier

@@ -65,7 +65,7 @@
65 65
           </div>
66 66
         </div>
67 67
 
68
-        <button @click="lili">调试</button>
68
+<!--        <button @click="lili">调试</button>-->
69 69
         <el-button @click="save">保存</el-button>
70 70
       </div>
71 71
 
@@ -78,6 +78,7 @@
78 78
             tooltip-effect="dark"
79 79
             style="width: 100%"
80 80
             @selection-change="handleSelectionChange"
81
+            @current-change="test"
81 82
             :row-style="{ color: '#303133' }"
82 83
             :header-cell-style="{
83 84
               backgroundColor: 'rgb(245, 247, 250)',
@@ -86,311 +87,168 @@
86 87
           >
87 88
             <el-table-column type="selection" width="55"> </el-table-column>
88 89
             <el-table-column label="患者姓名" width="155">
89
-              <template slot-scope="scope">{{ scope.row.name }}</template>
90
+              <template slot-scope="scope" >{{ scope.row.name }}</template>
90 91
             </el-table-column>
91 92
           </el-table>
92 93
         </div>
93
-<!--
94
-        <el-table
95
-          v-if="new_type == 1"
96
-          :data="tableDatas"
97
-          style="width: 100%"
98
-          max-height="250"
99
-          border
100
-          :row-style="{ color: '#303133' }"
101
-          :header-cell-style="{
94
+
95
+        <el-tabs type="border-card" v-if="isshow == 1 && list.length > 0">
96
+          <el-tab-pane
97
+            v-for="(item,index) in list"
98
+            :key="index"
99
+            :label="'处方'+(index+1)"
100
+            :name="index"
101
+          >
102
+            <el-table
103
+              v-if="item.advices.length > 0"
104
+              :data="item.advices"
105
+              style="width: 100%"
106
+              max-height="250"
107
+              border
108
+              :row-style="{ color: '#303133' }"
109
+              :header-cell-style="{
102 110
                   backgroundColor: 'rgb(245, 247, 250)',
103 111
                   color: '#606266',
104 112
                 }"
105
-        >
106
-          <el-table-column fixed label="替换药品名称" width="230">
107
-            <template slot-scope="scope">
108
-              <el-select
109
-                v-model="scope.row.drug_name"
110
-                placeholder="请选择"
111
-                @change="changeid(scope.row,scope.$index)"
112
-              >
113
-                <el-option
114
-                  v-for="item in druglist"
115
-                  :key="item.id"
116
-                  :label="item.name"
117
-                  :value="item.id"
118
-                >
119
-                </el-option>
120
-              </el-select>
121
-            </template>
122
-          </el-table-column>
123
-          <el-table-column label="单次用量" width="200">
124
-            <template slot-scope="scope">
125
-              <el-input
126
-                v-model="scope.row.single_dose"
127
-                placeholder="请输入"
128
-                style="width: 75px"
129
-              ></el-input>
130
-              <el-select
131
-                v-model="scope.row.single_dose_unit"
132
-                placeholder="请选择"
133
-                style="width: 90px"
134
-              >
135
-                <el-option
136
-                  v-for="item in unit"
137
-                  :key="item.name"
138
-                  :label="item.name"
139
-                  :value="item.name"
140
-                >
141
-                </el-option>
142
-              </el-select>
143
-            </template>
144
-          </el-table-column>
145
-          <el-table-column label="用法" width="120">
146
-            <template slot-scope="scope">
147
-              <el-select
148
-                v-model="scope.row.delivery_way"
149
-                placeholder="请选择"
150
-              >
151
-                <el-option
152
-                  v-for="item in usage"
153
-                  :key="item.name"
154
-                  :label="item.name"
155
-                  :value="item.name"
156
-                >
157
-                </el-option>
158
-              </el-select>
159
-            </template>
160
-          </el-table-column>
161
-          <el-table-column label="频率" width="120">
162
-            <template slot-scope="scope">
163
-              <el-select
164
-                v-model="scope.row.execution_frequency"
165
-                placeholder="请选择"
166
-              >
167
-                <el-option
168
-                  v-for="item in frequency"
169
-                  :key="item.name"
170
-                  :label="item.name"
171
-                  :value="item.name"
172
-                >
173
-                </el-option>
174
-              </el-select>
175
-            </template>
176
-          </el-table-column>
177
-          <el-table-column label="天数" width="110">
178
-            <template slot-scope="scope">
179
-              <el-input
180
-                v-model="scope.row.day"
181
-                placeholder="请输入"
182
-                style="width: 75px"
183
-              ></el-input
184
-              >天
185
-            </template>
186
-          </el-table-column>
187
-          <el-table-column label="总量" width="200">
188
-            <template slot-scope="scope">
189
-              <el-input
190
-                v-model="scope.row.prescribing_number"
191
-                placeholder="请输入"
192
-                style="width: 75px"
193
-              ></el-input>
194
-              <el-select
195
-                v-model="scope.row.prescribing_number_unit"
196
-                placeholder="请选择"
197
-                style="width: 90px"
198
-              >
199
-                <el-option
200
-                  v-for="item in unit"
201
-                  :key="item.name"
202
-                  :label="item.name"
203
-                  :value="item.name"
204
-                >
205
-                </el-option>
206
-              </el-select>
207
-            </template>
208
-          </el-table-column>
209
-          <el-table-column label="单价" width="120">
210
-            <template slot-scope="scope">
211
-              <el-input
212
-                v-model="scope.row.price"
213
-                style="width: 80px"
214
-              ></el-input
215
-              >元
216
-            </template>
217
-          </el-table-column>
218
-          <el-table-column label="备注" width="120">
219
-            <template slot-scope="scope">
220
-              <el-input
221
-                v-model="scope.row.remark"
222
-                placeholder=""
223
-              ></el-input>
224
-            </template>
225
-          </el-table-column>
226
-        </el-table>
113
+            >
114
+              <el-table-column fixed label="药品名称" width="230">
115
+                <template slot-scope="scope">
116
+                  {{scope.row.advice_name}}
117
+                </template>
118
+              </el-table-column>
119
+              <el-table-column label="单次用量" width="200">
120
+                <template slot-scope="scope">
121
+                  {{scope.row.single_dose}}{{scope.row.single_dose_unit}}
122
+                </template>
123
+              </el-table-column>
124
+              <el-table-column label="用法" width="120">
125
+                <template slot-scope="scope">
126
+                  {{scope.row.delivery_way}}
127
+                </template>
128
+              </el-table-column>
129
+              <el-table-column label="频率" width="120">
130
+                <template slot-scope="scope">
131
+                  {{scope.row.execution_frequency}}
132
+                </template>
133
+              </el-table-column>
134
+              <el-table-column label="天数" width="110">
135
+                <template slot-scope="scope">
136
+                  {{scope.row.day}}天
137
+                </template>
138
+              </el-table-column>
139
+              <el-table-column label="总量" width="200">
140
+                <template slot-scope="scope">
141
+                  {{scope.row.prescribing_number}}{{scope.row.prescribing_number_unit}}
142
+                </template>
143
+              </el-table-column>
144
+              <el-table-column label="单价" width="120">
145
+                <template slot-scope="scope">
146
+                  {{scope.row.price}}元
147
+                </template>
148
+              </el-table-column>
149
+              <el-table-column label="备注" width="120">
150
+                <template slot-scope="scope">
151
+                  {{scope.row.remark}}
152
+                </template>
153
+              </el-table-column>
154
+              <el-table-column label="操作" width="120">
155
+                <template slot-scope="scope">
156
+                  <el-button
157
+                    @click.native.prevent="delects(scope.$index,scope,item)"
158
+                    type="text"
159
+                    size="small">
160
+                    删除
161
+                  </el-button>
162
+                </template>
163
+              </el-table-column>
164
+            </el-table>
227 165
 
228
-        <el-table
229
-          v-if="new_type == 2"
230
-          :data="project"
231
-          style="width: 100%"
232
-          max-height="250"
233
-          border
234
-          :row-style="{ color: '#303133' }"
235
-          :header-cell-style="{
166
+            <el-table
167
+              v-if="item.project.length > 0"
168
+              :data="item.project"
169
+              style="width: 100%"
170
+              max-height="250"
171
+              border
172
+              :row-style="{ color: '#303133' }"
173
+              :header-cell-style="{
236 174
                   backgroundColor: 'rgb(245, 247, 250)',
237 175
                   color: '#606266',
238 176
                 }"
239
-        >
240
-          <el-table-column fixed label="替换项目名称" width="230">
241
-            <template slot-scope="scope">
242
-              <el-select
243
-                v-model="scope.row.drug_name"
244
-                placeholder="请选择"
245
-                @change="changeid2(scope.row,scope.$index)"
246
-              >
247
-                <el-option
248
-                  v-for="item in projectlist"
249
-                  :key="item.id"
250
-                  :label="item.name"
251
-                  :value="item.id"
252
-                >
253
-                </el-option>
254
-              </el-select>
255
-            </template>
256
-          </el-table-column>
257
-          <el-table-column label="组" width="120">
258
-            <template slot-scope="scope">
259
-              {{scope.row.translate}}
260
-            </template>
261
-          </el-table-column>
262
-          <el-table-column label="单次用量" width="200">
263
-            <template slot-scope="scope">
264
-              <el-input
265
-                v-model="scope.row.single_dose"
266
-                placeholder="请输入内容"
267
-              ></el-input>
268
-              {{ scope.row.unit }}
269
-            </template>
270
-          </el-table-column>
271
-          <el-table-column label="用法" width="120">
272
-            <template slot-scope="scope">
273
-              <el-select
274
-                v-model="scope.row.delivery_way"
275
-                placeholder="请选择"
276
-              >
277
-                <el-option
278
-                  v-for="item in usage"
279
-                  :key="item.name"
280
-                  :label="item.name"
281
-                  :value="item.name"
282
-                >
283
-                </el-option>
284
-              </el-select>
285
-            </template>
286
-          </el-table-column>
287
-          <el-table-column label="频率" width="120">
288
-            <template slot-scope="scope">
289
-              <el-select
290
-                v-model="scope.row.execution_frequency"
291
-                placeholder="请选择"
292
-              >
293
-                <el-option
294
-                  v-for="item in frequency"
295
-                  :key="item.name"
296
-                  :label="item.name"
297
-                  :value="item.name"
298
-                >
299
-                </el-option>
300
-              </el-select>
301
-            </template>
302
-          </el-table-column>
303
-          <el-table-column label="天数" width="110">
304
-            <template slot-scope="scope">
305
-              <el-input
306
-                v-model="scope.row.day"
307
-                placeholder="请输入"
308
-                style="width: 75px"
309
-              ></el-input>天
310
-            </template>
311
-          </el-table-column>
312
-          <el-table-column label="总量" width="200">
313
-            <template slot-scope="scope">
314
-              <el-input
315
-                v-model="scope.row.prescribing_number"
316
-                placeholder="请输入"
317
-                style="width: 75px"
318
-              ></el-input>
319
-              {{ scope.row.unit }}
320
-            </template>
321
-          </el-table-column>
322
-          <el-table-column label="单价" width="120">
323
-            <template slot-scope="scope">
324
-              <el-input
325
-                v-model="scope.row.price"
326
-                style="width: 80px"
327
-              ></el-input
328
-              >元
329
-            </template>
330
-          </el-table-column>
331
-          <el-table-column label="备注" width="120">
332
-            <template slot-scope="scope">
333
-              <el-input
334
-                v-model="scope.row.remark"
335
-                placeholder=""
336
-              ></el-input>
337
-            </template>
338
-          </el-table-column>
339
-          <el-table-column label="推送频率" width="120">
340
-            <template slot-scope="scope">
341
-              <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
342
-              <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>
343
-              <div v-if="scope.row.frequency_type == 3">{{scope.row.week_days}}</div>
344
-            </template>
345
-          </el-table-column>
346
-          <el-table-column fixed="right" label="操作" width="102">
347
-            <template slot-scope="scope">
348
-              <el-button
349
-                @click.native.prevent="addopen(scope.$index)"
350
-                type="text"
351
-                size="small">
352
-                推送
353
-              </el-button>
354
-            </template>
355
-          </el-table-column>
356
-        </el-table>
357
-        -->
177
+            >
178
+              <el-table-column fixed label="项目名称" width="230">
179
+                <template slot-scope="scope">
180
+                  <div v-if="scope.row.type == 2">{{scope.row.project.project_name}}</div>
181
+                  <div v-if="scope.row.type == 3">{{scope.row.good_info.good_name}}</div>
182
+                </template>
183
+              </el-table-column>
184
+              <el-table-column label="组" width="120">
185
+                <template slot-scope="scope">
186
+                  <div v-if="scope.row.type == 2">{{scope.row.project.translate}}</div>
187
+                  <div v-if="scope.row.type == 3">{{scope.row.good_info.translate}}</div>
188
+                </template>
189
+              </el-table-column>
190
+              <el-table-column label="单次用量" width="120">
191
+                <template slot-scope="scope">
192
+                  {{scope.row.single_dose}}
193
+                  {{ scope.row.unit }}
194
+                </template>
195
+              </el-table-column>
196
+              <el-table-column label="用法" width="120">
197
+                <template slot-scope="scope">
198
+                  {{scope.row.delivery_way}}
199
+                </template>
200
+              </el-table-column>
201
+              <el-table-column label="频率" width="120">
202
+                <template slot-scope="scope">
203
+                  {{scope.row.execution_frequency}}
204
+                </template>
205
+              </el-table-column>
206
+              <el-table-column label="天数" width="110">
207
+                <template slot-scope="scope">
208
+                  {{scope.row.day}}天
209
+                </template>
210
+              </el-table-column>
211
+              <el-table-column label="总量" width="100">
212
+                <template slot-scope="scope">
213
+                  {{scope.row.count}}
214
+                  {{ scope.row.unit }}
215
+                </template>
216
+              </el-table-column>
217
+              <el-table-column label="单价" width="120">
218
+                <template slot-scope="scope">
219
+                  {{scope.row.price}}元
220
+                </template>
221
+              </el-table-column>
222
+              <el-table-column label="备注" width="120">
223
+                <template slot-scope="scope">
224
+                  {{scope.row.remark}}
225
+                </template>
226
+              </el-table-column>
227
+              <el-table-column label="推送频率" width="120">
228
+                <template slot-scope="scope">
229
+                  <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
230
+                  <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>
231
+                  <div v-if="scope.row.frequency_type == 3">{{scope.row.week_days}}</div>
232
+                </template>
233
+              </el-table-column>
234
+              <el-table-column fixed="right" label="操作" width="102">
235
+                <template slot-scope="scope">
236
+                  <el-button
237
+                    @click.native.prevent="delects(scope.$index,scope,item)"
238
+                    type="text"
239
+                    size="small">
240
+                    删除
241
+                  </el-button>
242
+                </template>
243
+              </el-table-column>
244
+            </el-table>
245
+          </el-tab-pane>
246
+        </el-tabs>
247
+
248
+
358 249
 
359 250
       </el-container>
360 251
     </div>
361
-    <el-dialog
362
-      title="推送频率设置"
363
-      :visible.sync="dialogVisible"
364
-      width="30%"
365
-      :before-close="handleClose">
366
-      <span>周期提醒</span>
367
-      <el-radio-group v-model="frequency_type">
368
-        <el-radio :label="1">每次必推</el-radio>
369
-        <el-radio :label="2">天数频率</el-radio>
370
-        <el-radio :label="3">星期频率</el-radio>
371
-      </el-radio-group>
372
-      <div v-if="frequency_type == 2">
373
-        <el-input style="width: 50px" v-model="day_count"></el-input>&nbsp;
374
-        天/一次
375
-      </div>
376
-      <div v-if="frequency_type == 3">
377
-        <el-checkbox-group v-model="week_days">
378
-          <el-checkbox label="周一" name="周一" key="1">周一</el-checkbox>
379
-          <el-checkbox label="周二" name="周二" key="2">周二</el-checkbox>
380
-          <el-checkbox label="周三" name="周三" key="3">周三</el-checkbox>
381
-          <el-checkbox label="周四" name="周四" key="4">周四</el-checkbox>
382
-          <el-checkbox label="周五" name="周五" key="5">周五</el-checkbox>
383
-          <el-checkbox label="周六" name="周六" key="6">周六</el-checkbox>
384
-          <el-checkbox label="周日" name="周日" key="7">周日</el-checkbox>
385
-        </el-checkbox-group>
386
-      </div>
387
-
388
-      <span slot="footer" class="dialog-footer">
389
-        <button @click="lili">调试</button>
390
-    <el-button @click="dialogVisible = false">取 消</el-button>
391
-    <el-button type="primary" @click="baocun">确 定</el-button>
392
-  </span>
393
-    </el-dialog>
394 252
   </div>
395 253
 </template>
396 254
 <script>
@@ -401,7 +259,9 @@ import {
401 259
   replaceconfig,
402 260
   deletedrugsbatch,
403 261
   batchdeleteitems,
404
-  getmodeconfigs
262
+  getmodeconfigs,
263
+  ptemplateinformation,
264
+  deleteone
405 265
 } from "@/api/batch/batch";
406 266
 
407 267
 export default {
@@ -462,6 +322,9 @@ export default {
462 322
       week_days:[],//周期提醒星期
463 323
       tabhang:0,//tab的下标
464 324
       hang:0,//行数
325
+      list:[],
326
+      isshow:0,//是否显示处方
327
+      tmpid:0,
465 328
 
466 329
     }
467 330
   },
@@ -472,6 +335,8 @@ export default {
472 335
     }
473 336
     // console.log("this.modeOptions",this.modeOptions)
474 337
     this.getdrugconfigs();
338
+    this.isshow = 0
339
+    this.tmpid = 0;
475 340
   },
476 341
   methods: {
477 342
     save() {
@@ -520,21 +385,52 @@ export default {
520 385
         }
521 386
       });
522 387
     },
523
-
388
+    test(val){
389
+      console.log("val?:",val);
390
+      this.tmpid = val.id
391
+      var params = {
392
+        mode_id:this.modeOptions_value,
393
+        patient_id:val.id,
394
+      }
395
+      ptemplateinformation(params).then((res) =>{
396
+        if (res.data.state == 1){
397
+          this.list = res.data.data.list
398
+          this.isshow = 1
399
+        }
400
+      })
401
+    },
524 402
     lili() {
525
-      console.log("this.multipleSelection",this.multipleSelection);
526
-      console.log("this.tableData",this.tableData)
403
+      console.log("this.list",this.list);
404
+      console.log("this.multipleSelection",this.multipleSelection)
527 405
       // console.log("this.mode",this.modeOptions_value)
528 406
       // console.log("this.projectlist2",this.projectlist2)
529 407
       // console.log("patient_value",this.patient_value)
530 408
     },
531
-    addopen(hang){
532
-      this.hang = hang
533
-      //清空
534
-      this.week_days = [];
535
-      this.day_count = "";
536
-      this.frequency_type = 1;
537
-      this.dialogVisible = true
409
+    delects(hang,sc,item){
410
+      console.log("hang",hang)
411
+      console.log("sc",sc)
412
+      console.log("item",item)
413
+      var params ={
414
+        type:item.type,//1药品2项目
415
+        id:sc.row.id,
416
+      }
417
+      var params2 = {
418
+        mode_id:this.modeOptions_value,
419
+        patient_id:this.tmpid,
420
+      }
421
+      deleteone(params).then((res) =>{
422
+        if (res.data.state == 1){
423
+          this.$message.success('删除成功')
424
+          ptemplateinformation(params2).then((res) =>{
425
+            if (res.data.state == 1){
426
+              this.list = res.data.data.list
427
+              this.isshow = 1
428
+            }
429
+          })
430
+        }
431
+      })
432
+
433
+
538 434
     },
539 435
     changetype(){
540 436
       console.log(">>>>>>>",this.new_type)

+ 1 - 1
src/xt_pages/outpatientDoctorStation/batch_mode_template.vue Voir le fichier

@@ -50,7 +50,7 @@
50 50
           </div>
51 51
         </div>
52 52
 
53
-        <button @click="lili">调试</button>
53
+<!--        <button @click="lili">调试</button>-->
54 54
         <el-button @click="save">保存</el-button>
55 55
       </div>
56 56
 

+ 1 - 1
src/xt_pages/outpatientDoctorStation/batch_replacement.vue Voir le fichier

@@ -65,7 +65,7 @@
65 65
           </div>
66 66
         </div>
67 67
 
68
-        <button @click="lili">调试</button>
68
+<!--        <button @click="lili">调试</button>-->
69 69
         <el-button @click="save">保存</el-button>
70 70
       </div>
71 71