yq1 1 year ago
parent
commit
2f4ebedfc1

+ 5 - 3
src/xt_pages/workforce/components/ScheduleItem.vue View File

@@ -2,10 +2,12 @@
2 2
   <!-- 排班表填充内容 -->
3 3
     <div >
4 4
 
5
-      <div>
6
-          <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span>
5
+      <div >
6
+          <span :class='modeColor(scheduleDetail.mode_name)'>
7
+            {{scheduleDetail.patient}}
8
+          </span>
9
+          <br/>
7 10
           <template v-if="schedulMode">
8
-            <br/>
9 11
             <span v-if="scheduleDetail.mode_name.length>0"  :class='modeColor(scheduleDetail.mode_name)' >{{'('+scheduleDetail.mode_name+')'}}</span>
10 12
           </template>
11 13
           <template v-if="schedulFlag">

+ 2 - 2
src/xt_pages/workforce/components/editTableData.vue View File

@@ -467,7 +467,6 @@
467 467
           </el-table-column>
468 468
           <el-table-column
469 469
               :label="'周三 (' + weekTitle[2] + ')'"
470
-
471 470
               v-if="isShowThree"
472 471
               align="center"
473 472
           >
@@ -496,6 +495,7 @@
496 495
                     @dragover="allowDrop"
497 496
                 >
498 497
                   <schedule-item
498
+                      :schedulMode="modename_value"
499 499
                       :schedule-detail="scope.row.Wed_M"
500 500
                       :draggable="isEditForDate('Wed_M')&&scope.row.Wed_M ? 'true' : 'false'"
501 501
                       class="contitem"
@@ -511,7 +511,7 @@
511 511
                         scope.row
512 512
                       )
513 513
                     "
514
-                    :schedulMode="modename_value"
514
+                    
515 515
                   ></schedule-item>
516 516
                 </div>
517 517
               </template>