Hwt 2 years ago
parent
commit
6aa83159e5

+ 3 - 3
operationSupport/src/views/patrolManagement/components/weekContent.vue

@@ -19,7 +19,7 @@
               class="task-set"
               v-if="matchingTime(keyValues(inx), item).isActive"
             >
-              <span @click="resultTime(keyValues(inx), item) ? null : addItem(keyValues(inx), item,'1',matchingTime(keyValues(inx), item).currentUsers)">
+              <span @click="resultTime(keyValues(inx), item) ? null : addItem(keyValues(inx), item,'1',matchingTime(keyValues(inx), item).currentUsers,matchingTime(keyValues(inx), item).recordId)">
                 {{ matchingTime(keyValues(inx), item).partolName }}</span>
               <!-- <span>{{ matchingTime(keyValues(inx), item).currentUsers }}</span> -->
             </div>
@@ -74,7 +74,7 @@ export default {
     };
   },
   methods: {
-    addItem (itemTime, item, distinguish, currentUsers) {
+    addItem (itemTime, item, distinguish, currentUsers, recordId) {
       new Promise((resolve) => {
         this.$store.dispatch('addPopup', {
           url: '/patrolManagement/popups/weekEditAdd.vue',
@@ -86,7 +86,7 @@ export default {
             dateDe: itemTime,
             item: item,
             distinguish: distinguish,
-            recordId: this.recordId,
+            recordId: recordId,
             currentUsers: currentUsers
           },
           title: '排班'

+ 16 - 0
operationSupport/src/views/patrolManagement/popups/weekEditAdd.vue

@@ -179,6 +179,7 @@ export default {
     },
     // /czc-community/patrol/record/standard/list/type
     standardRecord () {
+      debugger
       this.$http.get('/czc-community/patrol/record/standard/list/type', { recordId: this.params.recordId }).then(({ data, status, msg }) => {
 
         if (status == 0) {
@@ -219,4 +220,19 @@ export default {
         margin-left: 120px !important;
     }
 }
+</style>
+
+<style lang='scss'>
+.el-cascader-panel {
+    .el-scrollbar:first-child {
+        .el-checkbox {
+            display: block !important;
+        }
+    }
+    .el-scrollbar:nth-child(2) {
+        .el-checkbox {
+            display: block !important;
+        }
+    }
+}
 </style>