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
  | <template> 
 |      <GlobalWindow 
 |          :title="title" 
 |          :withFooter="false" 
 |          :visible.sync="visible" 
 |          :confirm-working="isWorking" 
 |          @confirm="confirm" 
 |      > 
 |          <div class="box"> 
 |              {{form.content}} 
 |          </div> 
 |      </GlobalWindow> 
 |  </template> 
 |    
 |  <script> 
 |    import BaseOpera from '@/components/base/BaseOpera' 
 |    import GlobalWindow from '@/components/common/GlobalWindow' 
 |    export default { 
 |      name: 'OperaInterfaceLogWindow', 
 |      extends: BaseOpera, 
 |      components: { GlobalWindow }, 
 |      data () { 
 |        return { 
 |          // 表单数据 
 |          form: { 
 |            content: '' 
 |          }, 
 |          // 验证规则 
 |          rules: { 
 |          } 
 |        } 
 |      }, 
 |      created () { 
 |        this.config({ 
 |          api: '/business/interfaceLog', 
 |          'field.id': 'id' 
 |        }) 
 |      } 
 |    } 
 |  </script> 
 |    
 |  <style lang="scss" scoped> 
 |      .box { 
 |          width: 100%; 
 |          font-size: 15px; 
 |          color: #222222; 
 |          word-wrap: break-word; 
 |      } 
 |  </style> 
 |  
  |