瀏覽代碼

去除调试按钮

mainqaq 2 年之前
父節點
當前提交
41838bffe0
共有 1 個文件被更改,包括 43 次插入7 次删除
  1. 43 7
      src/xt_pages/outpatientDoctorStation/batch_mode_template.vue

+ 43 - 7
src/xt_pages/outpatientDoctorStation/batch_mode_template.vue 查看文件

280
                         <el-input v-model="scope.row.remark" placeholder=""></el-input>
280
                         <el-input v-model="scope.row.remark" placeholder=""></el-input>
281
                       </template>
281
                       </template>
282
                     </el-table-column>
282
                     </el-table-column>
283
+                    <el-table-column
284
+                      label="推送频率"
285
+                      width="120"><!--这------------里-->
286
+                      <template slot-scope="scope">
287
+
288
+                      </template>
289
+                    </el-table-column>
283
                     <el-table-column
290
                     <el-table-column
284
                       fixed="right"
291
                       fixed="right"
285
                       label="操作"
292
                       label="操作"
286
                       width="120">
293
                       width="120">
287
                       <template slot-scope="scope">
294
                       <template slot-scope="scope">
288
                         <el-button
295
                         <el-button
289
-                          @click.native.prevent="addRow(scope.$index, item.tableDatas)"
296
+                          @click.native.prevent="addRow2(scope.$index, item.project)"
290
                           type="text"
297
                           type="text"
291
                           size="small">
298
                           size="small">
292
                           添加
299
                           添加
293
                         </el-button>
300
                         </el-button>
294
                         <el-button
301
                         <el-button
295
-                          @click.native.prevent="deleteRow(scope.$index, item.tableDatas)"
302
+                          @click.native.prevent="deleteRow(scope.$index, item.project)"
296
                           type="text"
303
                           type="text"
297
                           size="small">
304
                           size="small">
298
                           移除
305
                           移除
343
         }],
350
         }],
344
         project:[{
351
         project:[{
345
           id:"",
352
           id:"",
353
+          translate:"组",
346
           drug_name:"王小美",
354
           drug_name:"王小美",
347
           single_dose:0,
355
           single_dose:0,
348
           single_dose_unit: '',
356
           single_dose_unit: '',
374
           }],
382
           }],
375
           project:[{
383
           project:[{
376
             id:"",
384
             id:"",
377
-            drug_name:"王小美",
385
+            translate:"组",
386
+            name:"王小美",
378
             single_dose:0,
387
             single_dose:0,
379
-            single_dose_unit: '',
380
-            delivery_way: '给药途径',
388
+            unit: '',
389
+            delivery_way: '用法',
381
             execution_frequency: '执行频率',
390
             execution_frequency: '执行频率',
382
             day: 0,
391
             day: 0,
383
             prescribing_number:0,
392
             prescribing_number:0,
384
-            prescribing_number_unit:"",
385
             price:"",
393
             price:"",
386
             remark:"",
394
             remark:"",
387
           }],
395
           }],
467
       rows.splice(index, 1);
475
       rows.splice(index, 1);
468
     },
476
     },
469
     addRow(index, rows){
477
     addRow(index, rows){
470
-      rows.splice(index+1,0,{date:'2016-05-02',name:'hah',province:'上海',city:'普陀区',address:'shngahai',zip:20033});
478
+      rows.splice(index+1,0,{
479
+        id:"",
480
+        drug_name: '',
481
+        single_dose:0,
482
+        single_dose_unit: '',
483
+        delivery_way: '给药途径',
484
+        execution_frequency: '执行频率',
485
+        day: 0,
486
+        prescribing_number:0,
487
+        prescribing_number_unit:"",
488
+        price:"",
489
+        remark:"",
490
+      });
491
+    },
492
+    addRow2(index, rows){
493
+      rows.splice(index+1,0,{
494
+        id:"",
495
+        translate:"组",
496
+        drug_name:"王小美",
497
+        single_dose:0,
498
+        single_dose_unit: '',
499
+        delivery_way: '给药途径',
500
+        execution_frequency: '执行频率',
501
+        day: 0,
502
+        prescribing_number:0,
503
+        prescribing_number_unit:"",
504
+        price:"",
505
+        remark:"",
506
+      });
471
     },
507
     },
472
     qieusername(){
508
     qieusername(){
473
       var params = {
509
       var params = {