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
  | <template> 
 |      <el-dialog 
 |          :title="title" 
 |          width="80%" 
 |          text="用户协议" 
 |          :visible.sync="visible" 
 |          :confirm-working="isWorking" 
 |          @confirm="confirm" 
 |      > 
 |          <div class="list"> 
 |          </div> 
 |        <template  v-slot:footer> 
 |          <el-button type="primary"   @click="$emit('success');visible=false">同意</el-button> 
 |          <el-button @click="visible=false">返回</el-button> 
 |        </template> 
 |      </el-dialog> 
 |    
 |  </template> 
 |    
 |  <script> 
 |    
 |  import BaseOpera from '@/components/base/BaseOpera' 
 |  export default { 
 |    name: 'OperaAgreementWindow', 
 |    extends: BaseOpera, 
 |    components: { }, 
 |    data () { 
 |      return { 
 |        content: '' 
 |      } 
 |    }, 
 |    created () { 
 |    }, 
 |    methods: { 
 |      open (title, target) { 
 |        this.content = target 
 |        this.title = title 
 |        this.visible = true 
 |      } 
 |    } 
 |  } 
 |  </script> 
 |    
 |  <style lang="scss" scoped> 
 |  </style> 
 |  
  |