| | |
| | | |
| | | <template> |
| | | <a-modal :title="title" width="100%" :visible="visible" :maskClosable="false" @ok="handleOk" @cancel="handleCancel" |
| | | cancelText="关闭"> |
| | | <j-modal :title="title" width="100%" :visible="visible" :maskClosable="false" @ok="handleOk" @cancel="handleCancel" |
| | | :okButtonProps="{ class:{'jee-hidden': true} }" cancelText="关闭"> |
| | | <a-card :bordered="false"> |
| | | <div> |
| | | <pre> |
| | | {{textContent}} |
| | | </pre> |
| | | |
| | | </div> |
| | | <a-textarea :rows="3" v-model="textContent" readOnly/> |
| | | </a-card> |
| | | </a-modal> |
| | | </j-modal> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | export default { |
| | | name: 'QuartzJobDetails', |
| | | // mixins: [JeecgListMixin], |
| | | components: { |
| | | |
| | | }, |
| | | props: { |
| | | |
| | | }, |
| | | components: {}, |
| | | props: {}, |
| | | data() { |
| | | return { |
| | | title:'', |
| | | visible:false, |
| | | textContent:'', |
| | | title: '', |
| | | visible: false, |
| | | textContent: '' |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | watch: { |
| | | |
| | | }, |
| | | watch: {}, |
| | | methods: { |
| | | showDetails(record){ |
| | | // console.log(record) |
| | | this.visible = true |
| | | this.textContent = record.exceptionDetail |
| | | }, |
| | | showDetails(record) { |
| | | // console.log(record) |
| | | this.visible = true |
| | | this.textContent = record.exceptionDetail |
| | | }, |
| | | close() { |
| | | this.$emit('close') |
| | | this.visible = false |
| | |
| | | }, |
| | | handleOk() { |
| | | this.close() |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style> |