|
|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="customer-css"> |
|
|
<div class="customer-css"> |
|
|
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" width="830px" style="height: 680px;" class="customer-dialog" :show-close="!exceptionRuleLocked" @close="onDialogClosed"> |
|
|
|
|
|
|
|
|
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" width="830px" style="height: 680px;" class="customer-dialog" :show-close="!exceptionRuleLocked" :close-on-press-escape="!exceptionRuleLocked" :before-close="handleMainDialogBeforeClose" @close="onDialogClosed"> |
|
|
<el-form :inline="true" label-position="top" style="height: auto;"> |
|
|
<el-form :inline="true" label-position="top" style="height: auto;"> |
|
|
<!-- 时间和固定载具 --> |
|
|
<!-- 时间和固定载具 --> |
|
|
<el-row style="margin-top: -10px;"> |
|
|
<el-row style="margin-top: -10px;"> |
|
|
@ -1857,6 +1857,9 @@ export default { |
|
|
|
|
|
|
|
|
/*关闭modal*/ |
|
|
/*关闭modal*/ |
|
|
closeDialog(){ |
|
|
closeDialog(){ |
|
|
|
|
|
if (this.exceptionRuleLocked) { |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.stopSplitRuleLockPolling() |
|
|
this.stopSplitRuleLockPolling() |
|
|
this.clearExceptionRuleVisualMeta() |
|
|
this.clearExceptionRuleVisualMeta() |
|
|
this.resetPendingRuleFollowup() |
|
|
this.resetPendingRuleFollowup() |
|
|
@ -1866,6 +1869,13 @@ export default { |
|
|
this.$emit('update:visible', false); |
|
|
this.$emit('update:visible', false); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
handleMainDialogBeforeClose (done) { |
|
|
|
|
|
if (this.exceptionRuleLocked) { |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
done() |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
onDialogClosed () { |
|
|
onDialogClosed () { |
|
|
this.stopSplitRuleLockPolling() |
|
|
this.stopSplitRuleLockPolling() |
|
|
this.clearExceptionRuleVisualMeta() |
|
|
this.clearExceptionRuleVisualMeta() |
|
|
|