|
@ -58,16 +58,16 @@ |
|
|
} |
|
|
} |
|
|
" @close="onCloseAddNew" /> |
|
|
" @close="onCloseAddNew" /> |
|
|
|
|
|
|
|
|
<template #footer v-hasPremi="['business:home:event','control:event:event:disposalAndRelease','control:event:event:disposeOf','home:notice:releaseEvent']"> |
|
|
<template #footer v-if="check(['business:home:event','control:event:event:disposalAndRelease','control:event:event:disposeOf','home:notice:releaseEvent'])"> |
|
|
<template v-hasPremi="['home:notice:closeEvent']"> |
|
|
<template v-if="check(['home:notice:closeEvent'])"> |
|
|
<Button :loading="submitLoading" v-if="activeName == '1'" style="margin-top: 30px;padding: 0 24px" |
|
|
<Button :loading="submitLoading" v-if="activeName == '1'" style="margin-top: 30px;padding: 0 24px" |
|
|
@click.native="onEnd">终止</Button> |
|
|
@click.native="onEnd">终止</Button> |
|
|
</template> |
|
|
</template> |
|
|
<Button :loading="submitLoading" v-if="activeName == '-1' || activeName == '0'" style="margin-top: 30px;padding: 0 24px" |
|
|
<Button :loading="submitLoading" v-if="check(['home:notice:closeEvent']) && (activeName == '-1' || activeName == '0')" style="margin-top: 30px;padding: 0 24px" |
|
|
@click.native="onDelete">解除</Button> |
|
|
@click.native="onDelete">解除</Button> |
|
|
<Button :style="{ marginTop: '30px', backgroundColor: '#0e708b', padding: '0 24px' }" |
|
|
<Button :style="{ marginTop: '30px', backgroundColor: '#0e708b', padding: '0 24px' }" |
|
|
@click.native="modelVisible = false">取消</Button> |
|
|
@click.native="modelVisible = false">取消</Button> |
|
|
<template v-hasPremi="['home:notice:disposeEvent']"> |
|
|
<template v-if="check(['home:notice:disposeEvent'])"> |
|
|
<Button :loading="submitLoading" v-if="!isError && (activeName == '-1')" style="margin-top: 30px;padding: 0 24px" |
|
|
<Button :loading="submitLoading" v-if="!isError && (activeName == '-1')" style="margin-top: 30px;padding: 0 24px" |
|
|
@click.native="updateEvent">处置</Button> |
|
|
@click.native="updateEvent">处置</Button> |
|
|
<Button :loading="submitLoading" v-if="!isError && ( activeName == '0')" style="margin-top: 30px;padding: 0 24px" |
|
|
<Button :loading="submitLoading" v-if="!isError && ( activeName == '0')" style="margin-top: 30px;padding: 0 24px" |
|
@ -92,6 +92,7 @@ import EventPlanDialog from "./eventPlanDialog/index.vue"; |
|
|
import Button from "@screen/components/Buttons/Button.vue"; |
|
|
import Button from "@screen/components/Buttons/Button.vue"; |
|
|
import request from "@/utils/request"; |
|
|
import request from "@/utils/request"; |
|
|
import { Message } from "element-ui"; |
|
|
import { Message } from "element-ui"; |
|
|
|
|
|
import { checkPermi } from "@/utils/permission.js"; |
|
|
var moment = require("moment"); |
|
|
var moment = require("moment"); |
|
|
import { |
|
|
import { |
|
|
eventDetails, |
|
|
eventDetails, |
|
@ -234,6 +235,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
|
|
|
|
|
|
check(arr){ |
|
|
|
|
|
return checkPermi(arr); |
|
|
|
|
|
}, |
|
|
videoClick(type){ |
|
|
videoClick(type){ |
|
|
this.realVideo = ''; |
|
|
this.realVideo = ''; |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|