cloud-web-corejs 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/jsonImport/exportDialog.vue +1 -1
- package/src/components/jsonImport/index.vue +151 -202
- package/src/components/jsonImport/mixins.js +1 -309
- package/src/layout/components/Sidebar/default.vue +8 -5
- package/src/store/config/index.js +3 -0
- package/src/store/modules/permission.js +2 -2
- package/src/views/bd/setting/form_script/list.vue +223 -223
- package/src/views/bd/setting/form_script/list1.vue +444 -444
- package/src/views/bd/setting/form_template/list.vue +766 -766
- package/src/views/bd/setting/menu_kind/list.vue +266 -262
- package/src/views/bd/setting/table_model/list.vue +491 -491
- package/src/views/user/home/index.vue +2 -1
package/package.json
CHANGED
|
@@ -1,202 +1,151 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-if="showContent">
|
|
3
|
-
<el-dialog
|
|
4
|
-
:title="$t1('导入发布')"
|
|
5
|
-
:append-to-body="falseValue"
|
|
6
|
-
:modal-append-to-body="falseValue"
|
|
7
|
-
:close-on-click-modal="falseValue"
|
|
8
|
-
:visible.sync="showImportDialog"
|
|
9
|
-
:modal="falseValue"
|
|
10
|
-
custom-class="dialog-style"
|
|
11
|
-
width="501px"
|
|
12
|
-
v-el-drag-dialog
|
|
13
|
-
>
|
|
14
|
-
<
|
|
15
|
-
<div
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
class="
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
:title="$t2('
|
|
104
|
-
:append-to-body="
|
|
105
|
-
:modal-append-to-body="
|
|
106
|
-
:close-on-click-modal="falseValue"
|
|
107
|
-
:visible.sync="
|
|
108
|
-
:modal="falseValue"
|
|
109
|
-
custom-class="dialog-style"
|
|
110
|
-
width="
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</el-dialog>
|
|
153
|
-
<el-dialog
|
|
154
|
-
:title="$t2('结果', 'components.excelImport.resultTitle')"
|
|
155
|
-
:append-to-body="true"
|
|
156
|
-
:modal-append-to-body="true"
|
|
157
|
-
:close-on-click-modal="falseValue"
|
|
158
|
-
:visible.sync="showImportResult"
|
|
159
|
-
:modal="falseValue"
|
|
160
|
-
custom-class="dialog-style list-dialog"
|
|
161
|
-
width="1200px"
|
|
162
|
-
v-el-drag-dialog
|
|
163
|
-
>
|
|
164
|
-
<div>
|
|
165
|
-
<div class="box-style">
|
|
166
|
-
<div class="cont">
|
|
167
|
-
<div class="table-div">
|
|
168
|
-
<vxe-grid
|
|
169
|
-
id="resGrid"
|
|
170
|
-
ref="resGrid"
|
|
171
|
-
height="440px"
|
|
172
|
-
v-bind="resOption"
|
|
173
|
-
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
174
|
-
@custom="$vxeTableUtil.customHandle"
|
|
175
|
-
>
|
|
176
|
-
<template #form>
|
|
177
|
-
<div class="clearfix screen-btns">
|
|
178
|
-
<div class="fl">
|
|
179
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">
|
|
180
|
-
导出
|
|
181
|
-
</vxe-button>
|
|
182
|
-
</div>
|
|
183
|
-
<div class="fr"></div>
|
|
184
|
-
</div>
|
|
185
|
-
</template>
|
|
186
|
-
</vxe-grid>
|
|
187
|
-
</div>
|
|
188
|
-
</div>
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
</el-dialog>
|
|
192
|
-
</div>
|
|
193
|
-
</template>
|
|
194
|
-
|
|
195
|
-
<script>
|
|
196
|
-
import {mixins} from './mixins';
|
|
197
|
-
|
|
198
|
-
export default {
|
|
199
|
-
mixins: [mixins],
|
|
200
|
-
components: {}
|
|
201
|
-
};
|
|
202
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="showContent">
|
|
3
|
+
<el-dialog
|
|
4
|
+
:title="$t1('导入发布')"
|
|
5
|
+
:append-to-body="falseValue"
|
|
6
|
+
:modal-append-to-body="falseValue"
|
|
7
|
+
:close-on-click-modal="falseValue"
|
|
8
|
+
:visible.sync="showImportDialog"
|
|
9
|
+
:modal="falseValue"
|
|
10
|
+
custom-class="dialog-style"
|
|
11
|
+
width="501px"
|
|
12
|
+
v-el-drag-dialog
|
|
13
|
+
>
|
|
14
|
+
<div class="import-box">
|
|
15
|
+
<!-- <div class="tips">{{ $t2('请下载文件模板,填写信息后再上传文件', 'components.excelImport.tip') }}</div>-->
|
|
16
|
+
<el-upload v-if="!fileRaw" ref="uploadBtn" action="" class="upload-file" :auto-upload="false"
|
|
17
|
+
:on-change="fileChange">
|
|
18
|
+
<div class="el-upload-dragger">
|
|
19
|
+
<i class="el-icon-upload"></i>
|
|
20
|
+
<div class="el-upload__text"><em>{{ $t2('点击上传', 'components.excelImport.uploadBUtton') }}</em></div>
|
|
21
|
+
</div>
|
|
22
|
+
</el-upload>
|
|
23
|
+
<div class="upload-finish" v-if="fileRaw">
|
|
24
|
+
<img :src="require('@/resources' + '/images/ico-txt.svg')" class="ico"/>
|
|
25
|
+
<p class="name">{{ fileRaw.name }}</p>
|
|
26
|
+
<!-- <p>2022-1-17</p> -->
|
|
27
|
+
<el-tooltip :enterable="false" class="item" effect="dark"
|
|
28
|
+
:content="$t2('关闭', 'components.excelImport.closeBUtton')" placement="bottom">
|
|
29
|
+
<i
|
|
30
|
+
class="el-icon-error js-close"
|
|
31
|
+
@click="
|
|
32
|
+
fileRaw = false;
|
|
33
|
+
$refs.uploadBtn.clearFiles();
|
|
34
|
+
"
|
|
35
|
+
></i>
|
|
36
|
+
</el-tooltip>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<span slot="footer" class="dialog-footer">
|
|
40
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose1">
|
|
41
|
+
<i class="el-icon-close el-icon"></i>
|
|
42
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
43
|
+
</el-button>
|
|
44
|
+
<el-button type="primary" @click="dialogPrimary1" class="button-sty">
|
|
45
|
+
<i class="el-icon-check el-icon"></i>
|
|
46
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
|
47
|
+
</el-button>
|
|
48
|
+
</span>
|
|
49
|
+
</el-dialog>
|
|
50
|
+
<el-dialog
|
|
51
|
+
ref="importDialog"
|
|
52
|
+
:title="$t2('导入', 'components.excelImport.title')"
|
|
53
|
+
:append-to-body="falseValue"
|
|
54
|
+
:modal-append-to-body="falseValue"
|
|
55
|
+
:close-on-click-modal="falseValue"
|
|
56
|
+
:visible.sync="showImportDialog2"
|
|
57
|
+
:modal="falseValue"
|
|
58
|
+
custom-class="dialog-style"
|
|
59
|
+
width="501px"
|
|
60
|
+
height="250px"
|
|
61
|
+
@close="dialogClose2"
|
|
62
|
+
v-el-drag-dialog
|
|
63
|
+
>
|
|
64
|
+
<div>
|
|
65
|
+
<div class="import-box">
|
|
66
|
+
<div class="tips">
|
|
67
|
+
{{ $t2('导入中,请勿关闭当前窗口', 'components.excelImport.tip2') }}
|
|
68
|
+
<!-- <span class="fr">耗时:<em class="time-txt">0 时 0 分 0 秒 </em></span> -->
|
|
69
|
+
</div>
|
|
70
|
+
<!-- <el-progress :text-inside="true" :stroke-width="26" :percentage="percentageNum"
|
|
71
|
+
class="export-progress"></el-progress>-->
|
|
72
|
+
<div class="i-status">
|
|
73
|
+
<div class="item">
|
|
74
|
+
<i class="el-icon-success f-green"></i>
|
|
75
|
+
{{ $t2('成功', 'components.excelImport.success') }}:
|
|
76
|
+
<span class="successNum" @click="showSuccessResult">{{ totalSuccessNum }}</span>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="item">
|
|
79
|
+
<i class="el-icon-error f-red"></i>
|
|
80
|
+
{{ $t2('失败', 'components.excelImport.fail') }}:
|
|
81
|
+
<span class="failNum" @click="showErrorResult">{{ totalErrorNum }}</span>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div slot="footer" class="dialog-footer" center="true">
|
|
87
|
+
<div class="fl import-count">
|
|
88
|
+
<span class="f-red doneNum">0</span>
|
|
89
|
+
/
|
|
90
|
+
<span class="dataSize">0</span>
|
|
91
|
+
</div>
|
|
92
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose2">
|
|
93
|
+
<i class="el-icon-close el-icon"></i>
|
|
94
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
95
|
+
</el-button>
|
|
96
|
+
<el-button type="primary" class="button-sty" @click="dialogPrimary2">
|
|
97
|
+
<i class="el-icon-check el-icon"></i>
|
|
98
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
|
99
|
+
</el-button>
|
|
100
|
+
</div>
|
|
101
|
+
</el-dialog>
|
|
102
|
+
<el-dialog
|
|
103
|
+
:title="$t2('结果', 'components.excelImport.resultTitle')"
|
|
104
|
+
:append-to-body="true"
|
|
105
|
+
:modal-append-to-body="true"
|
|
106
|
+
:close-on-click-modal="falseValue"
|
|
107
|
+
:visible.sync="showImportResult"
|
|
108
|
+
:modal="falseValue"
|
|
109
|
+
custom-class="dialog-style list-dialog"
|
|
110
|
+
width="1200px"
|
|
111
|
+
v-el-drag-dialog
|
|
112
|
+
>
|
|
113
|
+
<div>
|
|
114
|
+
<div class="box-style">
|
|
115
|
+
<div class="cont">
|
|
116
|
+
<div class="table-div">
|
|
117
|
+
<vxe-grid
|
|
118
|
+
id="resGrid"
|
|
119
|
+
ref="resGrid"
|
|
120
|
+
height="440px"
|
|
121
|
+
v-bind="resOption"
|
|
122
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
123
|
+
@custom="$vxeTableUtil.customHandle"
|
|
124
|
+
>
|
|
125
|
+
<template #form>
|
|
126
|
+
<div class="clearfix screen-btns">
|
|
127
|
+
<div class="fl">
|
|
128
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">
|
|
129
|
+
导出
|
|
130
|
+
</vxe-button>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="fr"></div>
|
|
133
|
+
</div>
|
|
134
|
+
</template>
|
|
135
|
+
</vxe-grid>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</el-dialog>
|
|
141
|
+
</div>
|
|
142
|
+
</template>
|
|
143
|
+
|
|
144
|
+
<script>
|
|
145
|
+
import {mixins} from './mixins';
|
|
146
|
+
|
|
147
|
+
export default {
|
|
148
|
+
mixins: [mixins],
|
|
149
|
+
components: {}
|
|
150
|
+
};
|
|
151
|
+
</script>
|