“linengliang”
2023-10-17 1c5776c08419256f936a8cf115459f4847d51b5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<template>
  <j-modal
    :title="'保养标准明细'"
    :width="1600"
    :visible="visible"
    :maskClosable="false"
    switchFullscreen
    @cancel="handleCancel"
    >
    <daily-maintenance-standard-detail :maintenanceStandardId="mainId"></daily-maintenance-standard-detail>
    <template slot="footer">
      <a-button
        :style="{marginRight: '8px'}"
        @click="handleCancel"
      >
        关闭
      </a-button>
    </template>
  </j-modal>
</template>
<script>
import DailyMaintenanceStandardDetail from './DailyMaintenanceStandardDetail'
  export default {
    name: 'EquipmentMaintenancePlanModal',
    components: {
      DailyMaintenanceStandardDetail
    },
    props:{
        mainId: {
        type: String,
        default: '-1',
        required: false
      }
    },
    data() {
      return {
        title:'',
        width:800,
        visible: false,
        disableSubmit: false
      }
    },
    methods:{
      close () {
        this.$emit('close');
        this.visible = false;
      },
      handleCancel () {
        this.close()
      }
    }
  }
</script>
 
<style scoped>
</style>