瀏覽代碼

新分支

28169 1 年之前
父節點
當前提交
45eca8240c

+ 12 - 15
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue 查看文件

@@ -477,21 +477,18 @@ export default {
477 477
       }
478 478
       this.accepts = accepts;
479 479
      console.log("accepts", accepts);
480
-      // var arr = [];
481
-      // if (this.accepts.precaution) {
482
-      //   var precaution = this.accepts.precaution.split(",");
483
-      //   // console.log("precaution", precaution);
484
-      //   // console.log("hhh", this.precaution_arr);
485
-      //   for (let i = 0; i < precaution.length; i++) {
486
-      //     for (let j = 0; j < this.precaution_arr.length; j++) {
487
-      //       if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
488
-      //         // console.log("aaaa");
489
-      //         this.arr.push(this.precaution_arr[j].name);
490
-      //       }
491
-      //     }
492
-      //   }
493
-      //   this.precautionTwo = this.arr;
494
-      // }
480
+      var arr = [];
481
+      if (this.accepts.precaution) {
482
+        var precaution = this.accepts.precaution.split(",");
483
+        for (let i = 0; i < precaution.length; i++) {
484
+          for (let j = 0; j < this.precaution_arr.length; j++) {
485
+            if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
486
+              this.arr.push(this.precaution_arr[j].name);
487
+            }
488
+          }
489
+        }
490
+        this.precautionTwo = this.arr;
491
+      }
495 492
 
496 493
       this.getPermission();
497 494
       for (var index in this.receiveTreatmentAsses) {

+ 5 - 5
src/xt_pages/log/index.vue 查看文件

@@ -77,7 +77,7 @@
77 77
               <el-pagination
78 78
                 @size-change="handleSizeChange"
79 79
                 @current-change="handleCurrentChange"
80
-                :page-size="10"
80
+                :page-sizes="[10, 50, 100,500]"
81 81
                 background
82 82
                 style="margin-top:20px;float: right"
83 83
                 :total="total"
@@ -157,7 +157,7 @@
157 157
               <el-pagination
158 158
                 @size-change="handleSizeChangeOne"
159 159
                 @current-change="handleCurrentChangeOne"
160
-                :page-size="10"
160
+                :page-sizes="[10, 50, 100,500]"
161 161
                 background
162 162
                 style="margin-top:20px;float: right"
163 163
                 :total="total"
@@ -244,7 +244,7 @@
244 244
               <el-pagination
245 245
                 @size-change="handleSizeChangeTwo"
246 246
                 @current-change="handleCurrentChangeTwo"
247
-                :page-size="10"
247
+                :page-sizes="[10, 50, 100,500]"
248 248
                 background
249 249
                 style="margin-top:20px;float: right"
250 250
                 :total="total"
@@ -331,7 +331,7 @@
331 331
               <el-pagination
332 332
                 @size-change="handleSizeChangeThree"
333 333
                 @current-change="handleCurrentChangeThree"
334
-                :page-size="10"
334
+                :page-sizes="[10, 50, 100,500]"
335 335
                 background
336 336
                 style="margin-top:20px;float: right"
337 337
                 :total="total"
@@ -410,7 +410,7 @@
410 410
               <el-pagination
411 411
                 @size-change="handleSizeChangeFour"
412 412
                 @current-change="handleCurrentChangeFour"
413
-                :page-size="10"
413
+                :page-sizes="[10, 50, 100,500]"
414 414
                 background
415 415
                 style="margin-top:20px;float: right"
416 416
                 :total="total"

+ 1 - 1
src/xt_pages/user/vascularAccess.vue 查看文件

@@ -459,7 +459,7 @@
459 459
         <el-button type="primary" @click="updatedVasularAccess('form')">保存</el-button>
460 460
      </span>
461 461
      </el-dialog>
462
-     <sitemap> </sitemap>
462
+     <!-- <sitemap> </sitemap> -->
463 463
     </div>
464 464
 
465 465
      <multi-select-box