Selaa lähdekoodia

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

csx 3 vuotta sitten
vanhempi
commit
76f7835bdf
1 muutettua tiedostoa jossa 8 lisäystä ja 38 poistoa
  1. 8 38
      src/xt_pages/user/templateSummary.vue

+ 8 - 38
src/xt_pages/user/templateSummary.vue Näytä tiedosto

303
                         :value="item.value">
303
                         :value="item.value">
304
                         </el-option>
304
                         </el-option>
305
                      </el-select>
305
                      </el-select>
306
-                     <keep-alive>
307
-                        <editor ref="edit_neditor"
308
-                                id="edit_editor1"
309
-                                style="width: 800px"
310
-                                v-bind:r_content="form.template_summary_content">
311
-                        </editor>
312
-                    </keep-alive>
313
-                     <!-- <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_summary_content"></el-input> -->
306
+                     <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_summary_content"></el-input>
314
                   </el-row>
307
                   </el-row>
315
                   <el-row>
308
                   <el-row>
316
                     <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
309
                     <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
322
                         :value="item.value">
315
                         :value="item.value">
323
                         </el-option>
316
                         </el-option>
324
                      </el-select>
317
                      </el-select>
325
-                     <keep-alive>
326
-                        <editor ref="edit_neditorOne"
327
-                                id="edit_editor"
328
-                                style="width: 800px"
329
-                                v-bind:r_content="form.template_plan_content">
330
-                        </editor>
331
-                    </keep-alive>
332
-                     <!-- <el-input style="margin:10px 0;" type="textarea"  autosize v-model="form.template_plan_content"></el-input> -->
318
+                     <el-input style="margin:10px 0;" type="textarea"  autosize v-model="form.template_plan_content"></el-input>
333
                   </el-row>
319
                   </el-row>
334
                   <el-row>
320
                   <el-row>
335
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
321
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
575
                         :value="item.value">
561
                         :value="item.value">
576
                         </el-option>
562
                         </el-option>
577
                      </el-select>
563
                      </el-select>
578
-                      <keep-alive>
579
-                        <editor ref="editor"
580
-                                id="edit_editor1"
581
-                                style="width: 800px"
582
-                                v-bind:r_content="form.template_summary_content">
583
-                        </editor>
584
-                    </keep-alive>
585
-                     <!-- <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_summary_content"></el-input> -->
564
+                     <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_summary_content"></el-input>
586
                   </el-row>
565
                   </el-row>
587
                   <el-row>
566
                   <el-row>
588
                     <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
567
                     <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
594
                         :value="item.value">
573
                         :value="item.value">
595
                         </el-option>
574
                         </el-option>
596
                      </el-select>
575
                      </el-select>
597
-                      <keep-alive>
598
-                        <editor ref="editorOne"
599
-                                id="edit_editor"
600
-                                style="width: 800px"
601
-                                v-bind:r_content="form.template_plan_content">
602
-                        </editor>
603
-                    </keep-alive>
604
-                     <!-- <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_plan_content"></el-input> -->
576
+                     <el-input style="margin:10px 0;" type="textarea" autosize v-model="form.template_plan_content"></el-input>
605
                   </el-row>
577
                   </el-row>
606
                   <el-row>
578
                   <el-row>
607
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
579
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
878
           template_summary_id:"",
850
           template_summary_id:"",
879
           template_summary_content:"",
851
           template_summary_content:"",
880
           template_plan_id:"",
852
           template_plan_id:"",
853
+          template_summary_content:"",
881
           template_inspection_id:0,
854
           template_inspection_id:0,
882
           template_inspection_content:"",
855
           template_inspection_content:"",
883
           admin_user_id:this.$store.getters.xt_user.user.id,
856
           admin_user_id:this.$store.getters.xt_user.user.id,
1284
         console.log("年",year)
1257
         console.log("年",year)
1285
         var month = this.form.start_year+"-"+this.form.start_month+"-"+"01"
1258
         var month = this.form.start_year+"-"+this.form.start_month+"-"+"01"
1286
         console.log("月",month)
1259
         console.log("月",month)
1287
-        console.log("hhhhhh",this.$refs.edit_neditor.r_content)
1288
-        console.log("ooooo",this.$refs.edit_neditorOne.r_content)
1289
          var params = {
1260
          var params = {
1290
             title:this.form.title,
1261
             title:this.form.title,
1291
             dry_weight:this.form.dry_weight.toString(),
1262
             dry_weight:this.form.dry_weight.toString(),
1305
             befor_weight:this.form.befor_weight.toString(),
1276
             befor_weight:this.form.befor_weight.toString(),
1306
             after_weight:this.form.after_weight.toString(),
1277
             after_weight:this.form.after_weight.toString(),
1307
             befor_pressure:this.form.befor_pressure,
1278
             befor_pressure:this.form.befor_pressure,
1308
-            // template_plan_content:this.form.template_plan_content,
1309
-            template_plan_content:this.$refs.edit_neditor.r_content,
1279
+            template_summary_content:this.form.template_summary_content,
1280
+            template_plan_content:this.form.template_plan_content,
1310
             // template_inspection_content:JSON.stringify(this.form.template_inspection_content),
1281
             // template_inspection_content:JSON.stringify(this.form.template_inspection_content),
1311
             admin_user_id:this.form.admin_user_id,
1282
             admin_user_id:this.form.admin_user_id,
1312
             record_time:this.form.record_time,
1283
             record_time:this.form.record_time,
1313
             after_pressure:this.form.after_pressure,
1284
             after_pressure:this.form.after_pressure,
1314
             template_summary_id:this.form.template_summary_id,
1285
             template_summary_id:this.form.template_summary_id,
1315
-            // template_summary_content:this.form.template_summary_content,
1316
-            template_summary_content:this.$refs.edit_neditorOne.r_content,
1286
+            template_summary_content:this.form.template_summary_content,
1317
             template_plan_id:this.form.template_plan_id,
1287
             template_plan_id:this.form.template_plan_id,
1318
             template_inspection_id:this.form.template_inspection_id,
1288
             template_inspection_id:this.form.template_inspection_id,
1319
             patient_id:parseInt(this.patient_id),
1289
             patient_id:parseInt(this.patient_id),