zhaowei
2 天以前 57fdca64e4e6d2573f116917b87c4c9155053c23
src/views/system/modules/QuartzJobDetails.vue
@@ -1,16 +1,10 @@
<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>
@@ -19,32 +13,26 @@
  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
@@ -54,8 +42,8 @@
      },
      handleOk() {
        this.close()
      },
    },
      }
    }
  }
</script>
<style>