|
@@ -18,15 +18,16 @@
|
|
</div>
|
|
</div>
|
|
<!-- 批量预约/改约 -->
|
|
<!-- 批量预约/改约 -->
|
|
<div class="cartographer_big">
|
|
<div class="cartographer_big">
|
|
- <el-dialog title="批量预约 / 改约" width="100%" :modal="false" :visible.sync="rescheduleBool" :before-close="rescheduleClose">
|
|
|
|
- <Reschedule v-if="rescheduleBool" />
|
|
|
|
|
|
+ <el-dialog title="批量预约 / 改约" width="100%" :modal="false" :visible.sync="rescheduleBool"
|
|
|
|
+ :before-close="rescheduleClose">
|
|
|
|
+ <Reschedule v-if="rescheduleBool" :recordSelected="recordSelected"/>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
<!-- 批量派工/改派 -->
|
|
<!-- 批量派工/改派 -->
|
|
<div class="cartographer_big">
|
|
<div class="cartographer_big">
|
|
<el-dialog title="批量派工 / 改派" width="100%" :modal="false" :visible.sync="reassignmentBool"
|
|
<el-dialog title="批量派工 / 改派" width="100%" :modal="false" :visible.sync="reassignmentBool"
|
|
:before-close="reassignmentClose">
|
|
:before-close="reassignmentClose">
|
|
- <Reassignment v-if="reassignmentBool" />
|
|
|
|
|
|
+ <Reassignment v-if="reassignmentBool" :recordSelected="recordSelected"/>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
</template-page>
|
|
</template-page>
|
|
@@ -149,12 +150,20 @@ export default {
|
|
{
|
|
{
|
|
name: '批量下派改派',
|
|
name: '批量下派改派',
|
|
click: () => {
|
|
click: () => {
|
|
|
|
+ if (this.recordSelected.length === 0) {
|
|
|
|
+ this.$message.warning('请勾选工单')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.reassignmentBool = true
|
|
this.reassignmentBool = true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
name: '批量预约改约',
|
|
name: '批量预约改约',
|
|
click: () => {
|
|
click: () => {
|
|
|
|
+ if (this.recordSelected.length === 0) {
|
|
|
|
+ this.$message.warning('请勾选工单')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.rescheduleBool = true
|
|
this.rescheduleBool = true
|
|
}
|
|
}
|
|
},
|
|
},
|