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
| <template>
| <div>
| <div style="margin: 100px;">
| <el-button type="primary" @click="click">请点击我</el-button>
| <import-picker ref="importPickerFunc" :shows.sync="shows" :title="title_value" :colos="colos" :code="code" />
| </div>
| </div>
| </template>
|
| <script>
| import ImportPicker from '@/components/ImportPicker'
|
| export default {
| name: 'Wljy',
| components: {
| ImportPicker
| },
| data() {
| return {
| title_value: '数据导入 / 用户角色',
| code: '2',
| shows: false
| }
| },
| mounted() {
|
| },
| methods: {
| click() {
| this.shows = true
| this.$refs.importPickerFunc.newDataFunc()
| },
| colos() {
| this.shows = false
| }
| }
| }
| </script>
|
| <style scoped>
|
| </style>
|
|