XMLWAN пре 3 година
родитељ
комит
d9e0cc4133
1 измењених фајлова са 8 додато и 38 уклоњено
  1. 8 38
      src/xt_pages/user/templateSummary.vue

+ 8 - 38
src/xt_pages/user/templateSummary.vue Прегледај датотеку

@@ -303,14 +303,7 @@
303 303
                         :value="item.value">
304 304
                         </el-option>
305 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 307
                   </el-row>
315 308
                   <el-row>
316 309
                     <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
@@ -322,14 +315,7 @@
322 315
                         :value="item.value">
323 316
                         </el-option>
324 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 319
                   </el-row>
334 320
                   <el-row>
335 321
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
@@ -575,14 +561,7 @@
575 561
                         :value="item.value">
576 562
                         </el-option>
577 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 565
                   </el-row>
587 566
                   <el-row>
588 567
                     <label class="title"><span class="name">阶段小结个体化透析方案</span> : </label>
@@ -594,14 +573,7 @@
594 573
                         :value="item.value">
595 574
                         </el-option>
596 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 577
                   </el-row>
606 578
                   <el-row>
607 579
                     <label class="title"><span class="name">阶段小结化验结果</span> : </label>
@@ -878,6 +850,7 @@
878 850
           template_summary_id:"",
879 851
           template_summary_content:"",
880 852
           template_plan_id:"",
853
+          template_summary_content:"",
881 854
           template_inspection_id:0,
882 855
           template_inspection_content:"",
883 856
           admin_user_id:this.$store.getters.xt_user.user.id,
@@ -1284,8 +1257,6 @@
1284 1257
         console.log("年",year)
1285 1258
         var month = this.form.start_year+"-"+this.form.start_month+"-"+"01"
1286 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 1260
          var params = {
1290 1261
             title:this.form.title,
1291 1262
             dry_weight:this.form.dry_weight.toString(),
@@ -1305,15 +1276,14 @@
1305 1276
             befor_weight:this.form.befor_weight.toString(),
1306 1277
             after_weight:this.form.after_weight.toString(),
1307 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 1281
             // template_inspection_content:JSON.stringify(this.form.template_inspection_content),
1311 1282
             admin_user_id:this.form.admin_user_id,
1312 1283
             record_time:this.form.record_time,
1313 1284
             after_pressure:this.form.after_pressure,
1314 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 1287
             template_plan_id:this.form.template_plan_id,
1318 1288
             template_inspection_id:this.form.template_inspection_id,
1319 1289
             patient_id:parseInt(this.patient_id),