64 lines
1.4 KiB
Vue
64 lines
1.4 KiB
Vue
<template>
|
|
<j-modal
|
|
:title="$t('standardRegulationLibrary.standardResolutionSheet')"
|
|
:maskClosable="false"
|
|
:width="width"
|
|
:visible="visible"
|
|
:confirm-loading="confirmLoading"
|
|
switchFullscreen
|
|
@cancel="handleCancel">
|
|
|
|
<a-spin :spinning="confirmLoading">
|
|
<div class="page-container">
|
|
<standard-resolution-sheet ref="resolutionSheet" />
|
|
</div>
|
|
</a-spin>
|
|
|
|
<template v-slot:footer>
|
|
<a-button @click="handleCancel">{{ $t('close') }}</a-button>
|
|
</template>
|
|
|
|
</j-modal>
|
|
</template>
|
|
|
|
<script>
|
|
import StandardResolutionSheet from '../../../../components/StandardResolutionSheet.vue'
|
|
|
|
export default {
|
|
name: 'StandardResolutionSheetModal',
|
|
components: { StandardResolutionSheet },
|
|
data () {
|
|
return {
|
|
width: '90%',
|
|
visible: false,
|
|
confirmLoading: false,
|
|
splitId: null
|
|
}
|
|
},
|
|
methods: {
|
|
open (id) {
|
|
this.visible = true
|
|
this.$nextTick(() => {
|
|
this.$refs.resolutionSheet.splitId = id
|
|
this.$refs.resolutionSheet.initClauseFieldList()
|
|
this.$refs.resolutionSheet.initDetailInfo()
|
|
})
|
|
},
|
|
handleCancel () {
|
|
this.visible = false
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="less">
|
|
.page-container {
|
|
min-height: 250px;
|
|
height: calc(100vh - 200px - 55px - 54px - 48px);
|
|
}
|
|
|
|
/deep/ .ant-modal-body {
|
|
background: #F0F2F4;
|
|
}
|
|
</style>
|