|
@@ -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: '排班'
|