cloud-web-corejs-haier 1.0.42 → 1.0.44
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 +9 -7
- package/src/api/user.js +54 -46
- package/src/components/baseAlert/index.vue +57 -53
- package/src/components/baseInputExport/index.vue +3 -3
- package/src/components/baseTabs/mixins.js +12 -1
- package/src/components/errorMsg/index.vue +78 -78
- package/src/components/excelExport/button.vue +54 -45
- package/src/components/excelExport/exportFieldDialog.vue +3 -3
- package/src/components/excelExport/index.js +1 -43
- package/src/components/excelExport/index.vue +62 -34
- package/src/components/excelExport/mixins.js +74 -87
- package/src/components/excelImport/index.js +1 -62
- package/src/components/excelImport/mixins.js +1 -774
- package/src/components/fileLibrary/index.vue +113 -33
- package/src/components/fileLibrary/propertiesDialog.vue +6 -0
- package/src/components/hiprint/view/design/index.vue +139 -47
- package/src/components/hiprint/view/design/preview.vue +75 -52
- package/src/components/hiprint/view/json-view.vue +31 -31
- package/src/components/luckysheet/dialog.vue +159 -0
- package/src/components/luckysheet/export.js +595 -0
- package/src/components/luckysheet/fileUtils.js +147 -0
- package/src/components/luckysheet/index.js +69 -0
- package/src/components/luckysheet/templateJson.js +12078 -0
- package/src/components/luckysheet/view.vue +210 -0
- package/src/components/onlineTalk/index.vue +328 -6
- package/src/components/onlineTalk/talkUserDialog.vue +280 -0
- package/src/components/wf/addTaskUserdialog.vue +5 -5
- package/src/components/wf/content.vue +1244 -1169
- package/src/components/wf/mixins/setCandidateDialog.js +228 -2
- package/src/components/wf/mixins/setCandidateDialog2.js +115 -100
- package/src/components/wf/mixins/wfTaskUserRangeDialog.js +67 -1
- package/src/components/wf/setCandidateDialog.vue +5 -7
- package/src/components/wf/setCandidateDialog2.vue +14 -10
- package/src/components/wf/wf.js +527 -411
- package/src/components/wf/wfTaskUserRangeDialog.vue +1 -1
- package/src/components/wf/wfUtil.js +129 -91
- package/src/components/xform/form-designer/designer.js +1994 -9
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +10 -0
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +5 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1756 -2
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +10 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +170 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1630 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +153 -40
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +65 -46
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +231 -0
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +7 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +281 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +659 -221
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +133 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +48 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +18 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +26 -26
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +67 -13
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +2 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/showViewButton-editor.vue +29 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +8 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +20 -17
- package/src/components/xform/form-render/container-item/detail-item.vue +72 -48
- package/src/components/xform/form-render/container-item/sub-form-item.vue +10 -2
- package/src/components/xform/form-render/container-item/table2-item.vue +40 -10
- package/src/components/xform/form-render/indexMixin.js +3705 -1
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
- package/src/components/xform/lang/zh-CN.js +2 -1
- package/src/components/xform/mixins/defaultHandle.js +366 -2
- package/src/components/xform/utils/formula-util.js +3 -0
- package/src/components/xform/utils/sfc-generator.js +2 -2
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/tableColumnHelper.js +54 -10
- package/src/components/xform/utils/util.js +1547 -1
- package/src/index.js +190 -211
- package/src/lang/locale/en/login.js +26 -19
- package/src/lang/locale/zh/login.js +25 -19
- package/src/layout/components/Sidebar/default.vue +252 -71
- package/src/layout/components/Sidebar/index.vue +6 -1
- package/src/layout/components/TagsView/index.vue +6 -0
- package/src/layout/components/langTool.vue +32 -29
- package/src/layout/defaultLayout.vue +16 -8
- package/src/layout/index.vue +5 -3
- package/src/permission.js +135 -1
- package/src/router/index.js +1 -4
- package/src/store/config/index.js +667 -1
- package/src/store/getters.js +2 -1
- package/src/store/modules/permission.js +332 -1
- package/src/store/modules/settings.js +26 -1
- package/src/store/modules/tagsView.js +190 -1
- package/src/store/modules/user.js +358 -1
- package/src/utils/aes.js +15 -1
- package/src/utils/auth.js +27 -1
- package/src/utils/componentDialog.js +217 -0
- package/src/utils/request.js +368 -1
- package/src/utils/vab.js +1256 -7
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
- package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/compareBasicSection.vue +125 -0
- package/src/views/bd/setting/formVersion/compareCodeSection.vue +539 -0
- package/src/views/bd/setting/formVersion/compareContMixin.scss +65 -0
- package/src/views/bd/setting/formVersion/compareContent.vue +63 -0
- package/src/views/bd/setting/formVersion/compareDialog.vue +88 -0
- package/src/views/bd/setting/formVersion/compareMixin.js +93 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +54 -0
- package/src/views/bd/setting/formVersion/formScriptCompareView.vue +94 -0
- package/src/views/bd/setting/formVersion/formTemplateCompareView.vue +74 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +491 -0
- package/src/views/bd/setting/formVersion/link.vue +58 -0
- package/src/views/bd/setting/formVersion/preformDialog.vue +87 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +82 -0
- package/src/views/bd/setting/formVersion/tableDetailDiff.js +99 -0
- package/src/views/bd/setting/formVersion/tableModelCompareView.vue +514 -0
- package/src/views/bd/setting/formVersion/textDiff.js +102 -0
- package/src/views/bd/setting/form_import_log/edit.vue +6 -3
- package/src/views/bd/setting/form_import_log/list.vue +5 -0
- package/src/views/bd/setting/form_script/edit.vue +196 -83
- package/src/views/bd/setting/form_script/edit1.vue +410 -220
- package/src/views/bd/setting/form_script/form_list.vue +19 -0
- package/src/views/bd/setting/form_script/list.vue +95 -21
- package/src/views/bd/setting/form_script/list1.vue +24 -0
- package/src/views/bd/setting/form_script/mixins/dialog.js +2 -2
- package/src/views/bd/setting/form_script/mixins/edit.js +265 -207
- package/src/views/bd/setting/form_script/mixins/edit1.js +259 -201
- package/src/views/bd/setting/form_script/mixins/form_list.js +322 -296
- package/src/views/bd/setting/form_script/mixins/list.js +163 -95
- package/src/views/bd/setting/form_script/mixins/list1.js +244 -155
- package/src/views/bd/setting/form_script/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +1 -1
- package/src/views/bd/setting/form_template/edit.vue +355 -205
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -0
- package/src/views/bd/setting/form_template/list.vue +49 -74
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +3 -3
- package/src/views/bd/setting/form_template/mixins/edit.js +51 -8
- package/src/views/bd/setting/form_template/mixins/itemList.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +114 -82
- package/src/views/bd/setting/form_template/mixins/list2.js +3 -3
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/form_template/mixins/wf_list.js +3 -7
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
- package/src/views/bd/setting/form_template/wf_list.vue +161 -127
- package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
- package/src/views/bd/setting/request_setting/edit.vue +300 -300
- package/src/views/bd/setting/request_setting/list.vue +15 -25
- package/src/views/bd/setting/table_model/edit.vue +702 -498
- package/src/views/bd/setting/table_model/list.vue +28 -0
- package/src/views/bd/setting/table_model/mixins/dialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +228 -121
- package/src/views/bd/setting/table_model/mixins/list.js +55 -20
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +1 -1
- package/src/views/bd/setting/table_model/mixins/zdDialog.js +50 -46
- package/src/views/bd/setting/utils/index.js +15 -0
- package/src/views/user/api_request/list.vue +203 -203
- package/src/views/user/bill_setting/list.vue +345 -345
- package/src/views/user/code_rules/list.vue +204 -204
- package/src/views/user/common_attribute/list.vue +378 -378
- package/src/views/user/common_script/list.vue +341 -341
- package/src/views/user/company_info/dialog.vue +80 -49
- package/src/views/user/country/list.vue +197 -197
- package/src/views/user/extend_datasource/dialog.vue +0 -3
- package/src/views/user/extend_datasource/edit.vue +1 -2
- package/src/views/user/extend_datasource/list.vue +221 -224
- package/src/views/user/fieldTranslation/editDialog.vue +1 -1
- package/src/views/user/fieldTranslation/list.vue +473 -473
- package/src/views/user/field_values_invisible/list.vue +207 -207
- package/src/views/user/file_type/list.vue +271 -271
- package/src/views/user/file_view_area/list.vue +331 -331
- package/src/views/user/form/vform/designer.vue +303 -287
- package/src/views/user/form/vform/formFieldMapping.js +2 -3
- package/src/views/user/form/view/edit.vue +19 -1
- package/src/views/user/form/view/list.vue +59 -17
- package/src/views/user/groups/list.vue +158 -158
- package/src/views/user/home/default.vue +274 -182
- package/src/views/user/home/default2.vue +1148 -0
- package/src/views/user/home/index.vue +2 -1
- package/src/views/user/lang_tag/list.vue +170 -170
- package/src/views/user/language_setting/list.vue +208 -208
- package/src/views/user/ledger_library/list.vue +12 -10
- package/src/views/user/login/default.vue +1 -1
- package/src/views/user/login/indexMixin.js +204 -169
- package/src/views/user/menu/list.vue +575 -575
- package/src/views/user/notify_message/dialog.vue +7 -1
- package/src/views/user/notify_template/list.vue +192 -192
- package/src/views/user/notify_template/list2.vue +190 -190
- package/src/views/user/position/list.vue +188 -188
- package/src/views/user/project_tag/list.vue +175 -175
- package/src/views/user/push_setting/list.vue +236 -236
- package/src/views/user/request_setting/list.vue +248 -248
- package/src/views/user/role/list.vue +182 -182
- package/src/views/user/system_notice/infoDialog.vue +61 -2
- package/src/views/user/system_notice/list.vue +203 -203
- package/src/views/user/system_parameter/list.vue +141 -141
- package/src/views/user/user/edit.vue +45 -0
- package/src/views/user/user/form_list.vue +245 -245
- package/src/views/user/user/info.vue +253 -140
- package/src/views/user/user_log_classify/list.vue +197 -197
- package/src/views/user/wf/iframe/index.vue +46 -46
- package/src/views/user/wf/wfReport/index.vue +1 -1
- package/src/views/user/wf/wf_auto_submit_data/list.vue +659 -659
- package/src/views/user/wf/wf_diy_attribute/edit.vue +1 -1
- package/src/views/user/wf/wf_manage/list.vue +795 -795
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +106 -106
- package/src/views/user/wf/wf_obj_config/dialog.vue +2 -2
- package/src/views/user/wf/wf_obj_config/edit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/edit_form.vue +2 -2
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +1 -1
- package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +1 -1
- package/src/views/user/wf/wf_obj_config/itemOperateDialog.vue +4 -4
- package/src/views/user/wf/wf_obj_config/list.vue +28 -28
- package/src/views/user/wf/wf_obj_config/list_form.vue +5 -5
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +292 -292
- package/src/views/user/wf/wf_param/edit.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/edit.vue +1 -1
- package/src/views/user/wf/wf_transfer_setting/list.vue +321 -319
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +369 -367
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +401 -399
- package/src/views/user/wf/wf_work_calendar/configDialog.vue +6 -6
- package/src/views/user/wf/wf_work_calendar/date.js +84 -83
- package/src/views/user/wf/wf_work_calendar/list.vue +6 -6
- package/src/views/user/workbench_menu/list.vue +555 -0
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
} from '../../utils/auth'
|
|
6
6
|
import indexUtil from '../../utils/index.js'
|
|
7
7
|
import exportFieldDialog from "./exportFieldDialog.vue";
|
|
8
|
-
import tableUtil from "@base/components/table/index";
|
|
9
8
|
import {getCellValue} from "@base/components/table/util/index";
|
|
10
9
|
|
|
11
10
|
let configUtil = {
|
|
@@ -109,14 +108,14 @@ function getGrid(that, tableRef) {
|
|
|
109
108
|
this.option = this.param;
|
|
110
109
|
let $grid = getGrid(this.option.vue, this.option.targetRef);
|
|
111
110
|
let datas = [];
|
|
112
|
-
if (this.option.type
|
|
111
|
+
if (this.option.type === "selected" || this.option.type === "exportItem") {
|
|
113
112
|
datas = $grid.getCheckboxRecords(true);
|
|
114
113
|
if (!datas.length) {
|
|
115
114
|
this.$baseAlert(this.$t2('请选择导出的数据', 'components.excelExport.warmMsg1'));
|
|
116
115
|
this.param.destroyComponent();
|
|
117
116
|
return;
|
|
118
117
|
}
|
|
119
|
-
} else if (this.option.type
|
|
118
|
+
} else if (this.option.type === "current") {
|
|
120
119
|
datas = $grid.getTableData().fullData;
|
|
121
120
|
if (!datas.length) {
|
|
122
121
|
this.$baseAlert(this.$t2('不存在可导出的数据', 'components.excelExport.warmMsg2'));
|
|
@@ -162,14 +161,14 @@ function getGrid(that, tableRef) {
|
|
|
162
161
|
this.tableTarget = getGrid(this.option.vue, this.option.targetRef);
|
|
163
162
|
|
|
164
163
|
//获取查询条件
|
|
165
|
-
let originOption = this.tableTarget.originOption;
|
|
164
|
+
let originOption = this.tableTarget.params.originOption;
|
|
166
165
|
this.queryParam = this.$baseLodash.cloneDeep(originOption.param() || {});
|
|
167
166
|
|
|
168
167
|
let that = this;
|
|
169
168
|
let options = this.option;
|
|
170
|
-
let title = options.title
|
|
169
|
+
let title = options.title? this.$t1(options.title) : this.$t2('导出', 'components.excelExport.title');
|
|
171
170
|
if (!options.prefix && options.prefix !== '') {
|
|
172
|
-
let originOption = this.tableTarget.originOption;
|
|
171
|
+
let originOption = this.tableTarget.params.originOption;
|
|
173
172
|
let path = originOption.exportPath || originOption.path;
|
|
174
173
|
let os = path.split("/");
|
|
175
174
|
if (path.indexOf("http://") >= 0 || path.indexOf("https://") >= 0) {
|
|
@@ -184,7 +183,7 @@ function getGrid(that, tableRef) {
|
|
|
184
183
|
that.tTotalPage = 0;
|
|
185
184
|
that.tTotalSize = 0;
|
|
186
185
|
that.createExcelFile().then(resultMsg => {
|
|
187
|
-
if (resultMsg.type
|
|
186
|
+
if (resultMsg.type === "success") {
|
|
188
187
|
let aObj = resultMsg.objx;
|
|
189
188
|
that.uuid = aObj.uuid;
|
|
190
189
|
that.nowDate = aObj.nowDate;
|
|
@@ -232,7 +231,7 @@ function getGrid(that, tableRef) {
|
|
|
232
231
|
let kTotalPages = parseInt(limitFileSize / pPageSize);
|
|
233
232
|
|
|
234
233
|
let fileNum = parseInt(totalPages / kTotalPages);
|
|
235
|
-
if (totalPages % kTotalPages
|
|
234
|
+
if (totalPages % kTotalPages !== 0) {
|
|
236
235
|
fileNum = fileNum + 1;
|
|
237
236
|
}
|
|
238
237
|
|
|
@@ -254,7 +253,7 @@ function getGrid(that, tableRef) {
|
|
|
254
253
|
currentIndex = endPage;
|
|
255
254
|
|
|
256
255
|
that.mergeExcel(startPage, endPage).then(function (resultMsg3) {
|
|
257
|
-
if (resultMsg3.type
|
|
256
|
+
if (resultMsg3.type === "success") {
|
|
258
257
|
mtExcedSuccessNum++;
|
|
259
258
|
let fileInfo = resultMsg3.objx;
|
|
260
259
|
let fileName = fileInfo.fileName;
|
|
@@ -328,7 +327,7 @@ function getGrid(that, tableRef) {
|
|
|
328
327
|
|
|
329
328
|
let pageNumber = data.pageNumber || 1;
|
|
330
329
|
let totalPages = that.tTotalPage || 1;
|
|
331
|
-
if (resultMsg2.type
|
|
330
|
+
if (resultMsg2.type === "success") {
|
|
332
331
|
excedNum++;
|
|
333
332
|
let pageNumber = data.pageNumber || 1;
|
|
334
333
|
let k = excedNum * 100 / totalPages;
|
|
@@ -355,7 +354,7 @@ function getGrid(that, tableRef) {
|
|
|
355
354
|
that.doneSize = parseInt(cSize)
|
|
356
355
|
that.percentageNum = parseInt(percentageNum)
|
|
357
356
|
|
|
358
|
-
if (totalPages
|
|
357
|
+
if (totalPages === 0 || (excedNum >= totalPages)) {
|
|
359
358
|
|
|
360
359
|
that.hadleMergeExcel(data.pageSize);
|
|
361
360
|
return
|
|
@@ -363,7 +362,7 @@ function getGrid(that, tableRef) {
|
|
|
363
362
|
/*let kTotalPages = parseInt(limitFileSize / data.pageSize);
|
|
364
363
|
|
|
365
364
|
let fileNum = parseInt(totalPages / kTotalPages);
|
|
366
|
-
if (totalPages % kTotalPages
|
|
365
|
+
if (totalPages % kTotalPages !== 0) {
|
|
367
366
|
fileNum = fileNum + 1;
|
|
368
367
|
}
|
|
369
368
|
|
|
@@ -391,7 +390,7 @@ function getGrid(that, tableRef) {
|
|
|
391
390
|
currentIndex = endPage;
|
|
392
391
|
|
|
393
392
|
that.mergeExcel(startPage, endPage).then(function (resultMsg3) {
|
|
394
|
-
if (resultMsg3.type
|
|
393
|
+
if (resultMsg3.type === "success") {
|
|
395
394
|
excingNum--;
|
|
396
395
|
mtExcedSuccessNum++;
|
|
397
396
|
let fileInfo = resultMsg3.objx;
|
|
@@ -451,10 +450,10 @@ function getGrid(that, tableRef) {
|
|
|
451
450
|
let loopToDo = function (flag, pageNumber) {
|
|
452
451
|
let maxWaitNum = limitThreadNum;
|
|
453
452
|
let nowDate = options.nowDate;
|
|
454
|
-
if (flag
|
|
453
|
+
if (flag === 1) {
|
|
455
454
|
/*if (num > that.tTotalPage) {
|
|
456
455
|
let size = page.records.length;
|
|
457
|
-
if (size
|
|
456
|
+
if (size === 0 || page.totalPages === 0 || (page.pageNumber >= page.totalPages)) {
|
|
458
457
|
that.clearExportTimer();
|
|
459
458
|
return;
|
|
460
459
|
}
|
|
@@ -464,7 +463,7 @@ function getGrid(that, tableRef) {
|
|
|
464
463
|
}
|
|
465
464
|
|
|
466
465
|
let target = that.tableTarget;
|
|
467
|
-
let originOption = target.originOption;
|
|
466
|
+
let originOption = target.params.originOption;
|
|
468
467
|
let url = originOption.exportPath || originOption.path;
|
|
469
468
|
|
|
470
469
|
// let params = originOption.param() || {};
|
|
@@ -486,11 +485,15 @@ function getGrid(that, tableRef) {
|
|
|
486
485
|
|
|
487
486
|
if (!originOption.exportAjax) {
|
|
488
487
|
let turl = url.replace("searchCount=false", "1=1");
|
|
488
|
+
let finaParams = params;
|
|
489
|
+
if(originOption.paramHandle){
|
|
490
|
+
finaParams = originOption.paramHandle ? originOption.paramHandle(params) || {} : {};
|
|
491
|
+
}
|
|
489
492
|
promise = that.$commonHttp({
|
|
490
493
|
aes: originOption.aes || false,
|
|
491
494
|
url: turl,
|
|
492
495
|
method: "post",
|
|
493
|
-
data:
|
|
496
|
+
data: finaParams,
|
|
494
497
|
modal: false,
|
|
495
498
|
queryCreateInfo: originOption.queryCreateInfo,
|
|
496
499
|
addCreateInfo: originOption.addCreateInfo
|
|
@@ -501,13 +504,13 @@ function getGrid(that, tableRef) {
|
|
|
501
504
|
|
|
502
505
|
promise.then(function (resultMsg) {
|
|
503
506
|
|
|
504
|
-
if (resultMsg.type
|
|
507
|
+
if (resultMsg.type === 'success') {
|
|
505
508
|
let objx = resultMsg.objx;
|
|
506
509
|
objx.pageNumber = objx.current || 1;
|
|
507
510
|
objx.totalPages = objx.pages || 1;
|
|
508
511
|
objx.pageSize = objx.size;
|
|
509
512
|
let size = objx.records.length;
|
|
510
|
-
if (flag
|
|
513
|
+
if (flag === 0) {
|
|
511
514
|
|
|
512
515
|
that.tTotalPage = objx.pages;
|
|
513
516
|
// that.tTotalSize = objx.total;
|
|
@@ -522,7 +525,7 @@ function getGrid(that, tableRef) {
|
|
|
522
525
|
let kTotalPages = parseInt(opNum / objx.size);
|
|
523
526
|
|
|
524
527
|
let fileNum = parseInt(tTotalPage / kTotalPages);
|
|
525
|
-
if (tTotalPage % kTotalPages
|
|
528
|
+
if (tTotalPage % kTotalPages !== 0) {
|
|
526
529
|
fileNum = fileNum + 1;
|
|
527
530
|
}
|
|
528
531
|
if (size > 0 || objx.totalPages > 0 || (objx.pageNumber < objx
|
|
@@ -562,7 +565,7 @@ function getGrid(that, tableRef) {
|
|
|
562
565
|
num = 1;
|
|
563
566
|
loopToDo(0, num);
|
|
564
567
|
},
|
|
565
|
-
createExcelFile(loading
|
|
568
|
+
createExcelFile(loading) {
|
|
566
569
|
let url1 = this.CURRENT_PREFIX + '/excel/createExcelTemplate';
|
|
567
570
|
let datas = this.getHeadTitleJson();
|
|
568
571
|
return this.$http({
|
|
@@ -573,8 +576,7 @@ function getGrid(that, tableRef) {
|
|
|
573
576
|
},
|
|
574
577
|
data: datas,
|
|
575
578
|
modal: loading || false,
|
|
576
|
-
isLoading: loading
|
|
577
|
-
...options
|
|
579
|
+
isLoading: loading
|
|
578
580
|
});
|
|
579
581
|
},
|
|
580
582
|
/*getExportTitleJson() {
|
|
@@ -664,7 +666,7 @@ function getGrid(that, tableRef) {
|
|
|
664
666
|
contents.push({
|
|
665
667
|
colspan: column.realColSpan,
|
|
666
668
|
rowspan: column.rowSpan,
|
|
667
|
-
title: column.title
|
|
669
|
+
title: column.title !== null && column.title !== undefined ? column.title : ''
|
|
668
670
|
});
|
|
669
671
|
}
|
|
670
672
|
});
|
|
@@ -673,7 +675,7 @@ function getGrid(that, tableRef) {
|
|
|
673
675
|
}
|
|
674
676
|
return titleArr;
|
|
675
677
|
},
|
|
676
|
-
addExcelData(opts, loading
|
|
678
|
+
addExcelData(opts, loading) {
|
|
677
679
|
let target = opts.target;
|
|
678
680
|
let pageNumber = opts.pageNumber || 1;
|
|
679
681
|
let callback = opts.callback;
|
|
@@ -690,18 +692,16 @@ function getGrid(that, tableRef) {
|
|
|
690
692
|
},
|
|
691
693
|
data: datas,
|
|
692
694
|
modal: loading || false,
|
|
693
|
-
isLoading: loading || false
|
|
694
|
-
...options
|
|
695
|
+
isLoading: loading || false
|
|
695
696
|
});
|
|
696
697
|
},
|
|
697
|
-
mergeExcel(startPage, endPage, loading
|
|
698
|
+
mergeExcel(startPage, endPage, loading) {
|
|
698
699
|
let url1 = this.CURRENT_PREFIX + "/excel/mergeExcel?uuid=" + this.uuid + "&ippaaapp=" + this.ippaaapp;
|
|
699
700
|
return this.$http({
|
|
700
701
|
url: url1 + "&startPage=" + startPage + "&endPage=" + endPage,
|
|
701
702
|
method: "post",
|
|
702
703
|
modal: loading || false,
|
|
703
|
-
isLoading: loading || false
|
|
704
|
-
...options
|
|
704
|
+
isLoading: loading || false
|
|
705
705
|
})
|
|
706
706
|
},
|
|
707
707
|
createCountTimer() {
|
|
@@ -722,7 +722,7 @@ function getGrid(that, tableRef) {
|
|
|
722
722
|
countTimer = null;
|
|
723
723
|
},
|
|
724
724
|
isPicture: function (suffix) {
|
|
725
|
-
if (!suffix || suffix
|
|
725
|
+
if (!suffix || suffix === '') {
|
|
726
726
|
return false;
|
|
727
727
|
}
|
|
728
728
|
suffix = suffix.toLowerCase();
|
|
@@ -736,7 +736,7 @@ function getGrid(that, tableRef) {
|
|
|
736
736
|
};
|
|
737
737
|
|
|
738
738
|
let type = fileTypeMap[suffix];
|
|
739
|
-
if (undefined
|
|
739
|
+
if (undefined === type) {
|
|
740
740
|
return false;
|
|
741
741
|
}
|
|
742
742
|
|
|
@@ -773,16 +773,15 @@ function getGrid(that, tableRef) {
|
|
|
773
773
|
}
|
|
774
774
|
let exportType = column.params?.exportType;
|
|
775
775
|
let exportVal = column.params && column.params.exportVal ? column.params.exportVal : null;
|
|
776
|
-
|
|
777
|
-
resultStr = getCellValue(params);
|
|
778
|
-
|
|
779
776
|
if (exportVal) {
|
|
780
777
|
resultStr = exportVal(params);
|
|
781
|
-
} else if (exportType
|
|
778
|
+
} else if (exportType === "Number") {
|
|
779
|
+
resultStr = getCellValue(params);
|
|
782
780
|
if (resultStr !== null && resultStr !== undefined && resultStr !== "" && !(resultStr + "").startsWith("[EXPNUM]")) {
|
|
783
781
|
resultStr = "[EXPNUM]" + resultStr;
|
|
784
782
|
}
|
|
785
|
-
} else if (exportType
|
|
783
|
+
} else if (exportType === "Image" || (showImageAtTable && exportType === "Image2")) {
|
|
784
|
+
resultStr = getCellValue(params);
|
|
786
785
|
let attachments = row[column.field];
|
|
787
786
|
if (attachments) {
|
|
788
787
|
if (Array.isArray(attachments)) {
|
|
@@ -807,6 +806,8 @@ function getGrid(that, tableRef) {
|
|
|
807
806
|
} else {
|
|
808
807
|
resultStr = null;
|
|
809
808
|
}
|
|
809
|
+
}else{
|
|
810
|
+
resultStr = getCellValue(params);
|
|
810
811
|
}
|
|
811
812
|
contents.push(resultStr);
|
|
812
813
|
resultStr = null;
|
|
@@ -855,13 +856,13 @@ function getGrid(that, tableRef) {
|
|
|
855
856
|
|
|
856
857
|
downLoadFile2();
|
|
857
858
|
},
|
|
858
|
-
|
|
859
|
+
startProcess2(datas) {
|
|
859
860
|
this.tableTarget = getGrid(this.option.vue, this.option.targetRef);
|
|
860
861
|
let that = this;
|
|
861
862
|
let options = this.option;
|
|
862
863
|
let title = options.title || this.$t2('导出', 'components.excelExport.title');
|
|
863
864
|
if (!options.prefix && options.prefix !== '') {
|
|
864
|
-
let originOption = this.tableTarget.originOption;
|
|
865
|
+
let originOption = this.tableTarget.params.originOption;
|
|
865
866
|
let path = originOption.exportPath || originOption.path;
|
|
866
867
|
if (path) {
|
|
867
868
|
let os = path.split("/");
|
|
@@ -876,61 +877,47 @@ function getGrid(that, tableRef) {
|
|
|
876
877
|
return;
|
|
877
878
|
}
|
|
878
879
|
this.CURRENT_PREFIX = options.prefix;
|
|
879
|
-
let flag1 = false;
|
|
880
|
-
let flag2 = false;
|
|
881
|
-
let flag3 = false;
|
|
882
880
|
|
|
883
|
-
let handleData =
|
|
881
|
+
let handleData = function () {
|
|
884
882
|
let total = datas.length;
|
|
885
|
-
|
|
883
|
+
that.addExcelData({
|
|
886
884
|
rows: datas,
|
|
887
885
|
pageNumber: 1,
|
|
888
|
-
}, true
|
|
889
|
-
|
|
890
|
-
if (resultMsg2.type == "success") {
|
|
891
|
-
flag2 = true;
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
})
|
|
895
|
-
if(flag2){
|
|
896
|
-
let fileInfo = null
|
|
897
|
-
await that.mergeExcel(1, 1, true,{
|
|
898
|
-
callback: (resultMsg3)=>{
|
|
899
|
-
if (resultMsg3.type == "success") {
|
|
900
|
-
flag3 = true;
|
|
901
|
-
fileInfo = resultMsg3.objx;
|
|
902
|
-
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
})
|
|
906
|
-
if(flag3){
|
|
907
|
-
let fileName = fileInfo.fileName;
|
|
908
|
-
let fileSize = fileInfo.fileSize;
|
|
909
|
-
|
|
910
|
-
let dataMap = {};
|
|
911
|
-
dataMap["startPage"] = 1;
|
|
912
|
-
dataMap["endPage"] = 1;
|
|
913
|
-
dataMap["title"] = title;
|
|
914
|
-
dataMap["uuid"] = fileName;
|
|
915
|
-
dataMap["fileSize"] = fileSize;
|
|
886
|
+
}, true).then(resultMsg2 => {
|
|
887
|
+
if (resultMsg2.type === "success") {
|
|
916
888
|
setTimeout(() => {
|
|
917
|
-
that.
|
|
918
|
-
|
|
889
|
+
that.mergeExcel(1, 1, true).then(resultMsg3 => {
|
|
890
|
+
if (resultMsg3.type === "success") {
|
|
891
|
+
let fileInfo = resultMsg3.objx;
|
|
892
|
+
let fileName = fileInfo.fileName;
|
|
893
|
+
let fileSize = fileInfo.fileSize;
|
|
894
|
+
|
|
895
|
+
let dataMap = {};
|
|
896
|
+
dataMap["startPage"] = 1;
|
|
897
|
+
dataMap["endPage"] = 1;
|
|
898
|
+
dataMap["title"] = title;
|
|
899
|
+
dataMap["uuid"] = fileName;
|
|
900
|
+
dataMap["fileSize"] = fileSize;
|
|
901
|
+
that.exportAll(dataMap);
|
|
902
|
+
}
|
|
903
|
+
})
|
|
904
|
+
}, 0)
|
|
905
|
+
|
|
919
906
|
}
|
|
920
|
-
}
|
|
907
|
+
})
|
|
921
908
|
}
|
|
922
|
-
|
|
923
|
-
if (resultMsg.type
|
|
909
|
+
that.createExcelFile(true).then(resultMsg => {
|
|
910
|
+
if (resultMsg.type === "success") {
|
|
924
911
|
let aObj = resultMsg.objx;
|
|
925
912
|
that.uuid = aObj.uuid;
|
|
926
913
|
that.nowDate = aObj.nowDate;
|
|
927
914
|
that.ippaaapp = aObj.ippaaapp;
|
|
928
|
-
|
|
915
|
+
setTimeout(() => {
|
|
916
|
+
handleData();
|
|
917
|
+
}, 0)
|
|
918
|
+
|
|
929
919
|
}
|
|
930
|
-
}
|
|
931
|
-
if(flag1){
|
|
932
|
-
handleData();
|
|
933
|
-
}
|
|
920
|
+
})
|
|
934
921
|
},
|
|
935
922
|
closeExportFieldDialog() {
|
|
936
923
|
this.dialogClose2();
|
|
@@ -938,7 +925,7 @@ function getGrid(that, tableRef) {
|
|
|
938
925
|
confirmExportFieldDialog({columns, leafColumns}) {
|
|
939
926
|
this.columns = columns;
|
|
940
927
|
this.leafColumns = leafColumns
|
|
941
|
-
let flag = this.option.type
|
|
928
|
+
let flag = this.option.type === "selected" || this.option.type === "current";
|
|
942
929
|
if (!flag) {
|
|
943
930
|
this.showImportDialog2 = true;
|
|
944
931
|
}
|
|
@@ -946,13 +933,13 @@ function getGrid(that, tableRef) {
|
|
|
946
933
|
if (flag) {
|
|
947
934
|
let $grid = getGrid(this.option.vue, this.option.targetRef);
|
|
948
935
|
let datas = [];
|
|
949
|
-
if (this.option.type
|
|
936
|
+
if (this.option.type === "selected") {
|
|
950
937
|
datas = $grid.getCheckboxRecords(true);
|
|
951
938
|
if (!datas.length) {
|
|
952
939
|
this.$baseAlert(this.$t2('请选择导出的数据', 'components.excelExport.warmMsg1'));
|
|
953
940
|
return;
|
|
954
941
|
}
|
|
955
|
-
} else if (this.option.type
|
|
942
|
+
} else if (this.option.type === "current") {
|
|
956
943
|
datas = $grid.getTableData().fullData;
|
|
957
944
|
if (!datas.length) {
|
|
958
945
|
this.$baseAlert(this.$t2('不存在可导出的数据', 'components.excelExport.warmMsg2'));
|
|
@@ -970,7 +957,7 @@ function getGrid(that, tableRef) {
|
|
|
970
957
|
let path = vueTarget.$route.path;
|
|
971
958
|
let visitedViews = vueTarget.$store.state.tagsView.visitedViews
|
|
972
959
|
if(visitedViews){
|
|
973
|
-
let currentItem = visitedViews.find(item=>item.path
|
|
960
|
+
let currentItem = visitedViews.find(item=>item.path === path)
|
|
974
961
|
if(currentItem && !currentItem.meta.affix){
|
|
975
962
|
this.$set(currentItem.meta, "affix",true)
|
|
976
963
|
this.$set(currentItem.meta, "user_affix",true)
|
|
@@ -983,7 +970,7 @@ function getGrid(that, tableRef) {
|
|
|
983
970
|
let path = vueTarget.$route.path;
|
|
984
971
|
let visitedViews = vueTarget.$store.state.tagsView.visitedViews
|
|
985
972
|
if(visitedViews){
|
|
986
|
-
let currentItem = visitedViews.find(item=>item.path
|
|
973
|
+
let currentItem = visitedViews.find(item=>item.path === path)
|
|
987
974
|
if(currentItem && currentItem.meta.user_affix){
|
|
988
975
|
currentItem.meta.affix = false
|
|
989
976
|
currentItem.meta.user_affix = false
|
|
@@ -9,66 +9,5 @@ let configUtil = {
|
|
|
9
9
|
baseUrl: process.env.VUE_APP_BASE_API,
|
|
10
10
|
getToken
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
const ExcelImportInstance = vue.extend(excelImport);
|
|
14
|
-
const initInstance = (containter) => {
|
|
15
|
-
// 实例化vue实例
|
|
16
|
-
let currentInstance = new ExcelImportInstance({i18n: window.$vueRoot._i18n});
|
|
17
|
-
let dom = currentInstance.$mount().$el;
|
|
18
|
-
containter.appendChild(dom);
|
|
19
|
-
return currentInstance;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
function toDo(options) {
|
|
23
|
-
// let containter = this && this.$el ? this.$el : document.body;
|
|
24
|
-
let containter = document.body;
|
|
25
|
-
let vueTarget = this && this.$el ? this : window.$vueRoot;
|
|
26
|
-
let currentInstance = initInstance(containter);
|
|
27
|
-
currentInstance.param = {};
|
|
28
|
-
Object.assign(currentInstance.param, {vue: vueTarget}, options);
|
|
29
|
-
return currentInstance.exc();
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
// 定义插件对象
|
|
33
|
-
// vue的install方法,用于定义vue插件
|
|
34
|
-
moudule.install = function (Vue) {
|
|
35
|
-
// 在Vue的原型上添加实例方法,以全局调用
|
|
36
|
-
Vue.prototype.$excelImport = toDo;
|
|
37
|
-
|
|
38
|
-
Vue.prototype.$downloadImportTemplate = function (prefix, path) {
|
|
39
|
-
var url = configUtil.baseUrl + prefix + '/sf_common/download';
|
|
40
|
-
if (path) {
|
|
41
|
-
var params = {
|
|
42
|
-
url: path
|
|
43
|
-
};
|
|
44
|
-
params["access_token"] = configUtil.getToken();
|
|
45
|
-
|
|
46
|
-
var form = document.createElement('form');
|
|
47
|
-
|
|
48
|
-
let randomNum = (new Date()).valueOf() + Math.floor(Math.random() * 1000000);
|
|
49
|
-
let formId = "formId-" + randomNum;
|
|
50
|
-
let formName = "formName-" + randomNum;
|
|
51
|
-
|
|
52
|
-
form.id = formId;
|
|
53
|
-
form.name = formName;
|
|
54
|
-
form.target = "_blank";
|
|
55
|
-
document.body.appendChild(form);
|
|
56
|
-
for (let obj in params) {
|
|
57
|
-
if (params.hasOwnProperty(obj)) {
|
|
58
|
-
let input = document.createElement('input');
|
|
59
|
-
input.tpye = 'hidden';
|
|
60
|
-
input.name = obj;
|
|
61
|
-
input.value = params[obj];
|
|
62
|
-
form.appendChild(input);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
form.method = "post"; //请求方式
|
|
66
|
-
form.action = url;
|
|
67
|
-
form.submit();
|
|
68
|
-
document.body.removeChild(form);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
moudule.excelImport = toDo;
|
|
73
|
-
|
|
12
|
+
(function(_0x1aa61d,_0x223762){function _0x168d18(_0xa9a3ea,_0x438150,_0x1214f7,_0x28760f,_0x1260dd){return _0x1b9d(_0x28760f- -0x3a3,_0x438150);}function _0x383cc5(_0x50db81,_0x12e849,_0x289563,_0x2521b0,_0x11634f){return _0x1b9d(_0x289563- -0x2a9,_0x50db81);}function _0x41e7a4(_0x4db17b,_0x981486,_0x147972,_0x470edf,_0x1bc62c){return _0x50a9(_0x470edf- -0x11d,_0x147972);}function _0x514776(_0x1af579,_0x5c40dc,_0x3bdc38,_0x2aa0e5,_0x49ca1d){return _0x50a9(_0x5c40dc- -0x69,_0x3bdc38);}function _0x4034d2(_0x18c72d,_0x36e47d,_0x5b0714,_0xbb641,_0x45fd0a){return _0x1b9d(_0x36e47d-0x393,_0x18c72d);}function _0x50afc8(_0x1724a8,_0x26a7f2,_0xd50017,_0x407d32,_0x47fa58){return _0x1b9d(_0xd50017-0x368,_0x407d32);}const _0x85f4f0=_0x1aa61d();function _0xbe6d4b(_0x4b97b3,_0x419ad9,_0x195e7e,_0x2178c0,_0x538825){return _0x50a9(_0x4b97b3-0x3cb,_0x538825);}function _0x40bbdc(_0x16de17,_0xd09d00,_0x29ec3d,_0x4b023c,_0x372449){return _0x1b9d(_0x16de17-0x3bf,_0x372449);}function _0x37f898(_0x3a02e2,_0x461cef,_0x25d48f,_0xc8649e,_0x18386f){return _0x50a9(_0x3a02e2-0x327,_0x461cef);}function _0x327398(_0x2ec3b4,_0x20b146,_0x441f65,_0x1923ce,_0x4c0f2d){return _0x50a9(_0x2ec3b4-0x1f3,_0x441f65);}do{try{const _0x41ac40=-parseInt(_0x37f898(0x337,"0XX3".split("").reverse().join(""),0x34b,0x329,0x314))/0x1*(-parseInt(_0x37f898(0x33d,"Lnuo".split("").reverse().join(""),0x354,0x350,0x323))/0x2)+parseInt(_0x383cc5(-0x276,-0x263,-0x26c,-0x28a,-0x252))/0x3*(-parseInt(_0x37f898(0x331,"#EQM".split("").reverse().join(""),0x311,0x351,0x32f))/0x4)+-parseInt(_0x37f898(0x35e,"[x53".split("").reverse().join(""),0x346,0x34d,0x34c))/0x5*(parseInt(_0xbe6d4b(0x3d6,0x3d4,0x3eb,0x3f9,"\u0035\u006b\u0074\u0026"))/0x6)+-parseInt(_0x4034d2(0x3c3,0x3c5,0x3b1,0x3b6,0x3e4))/0x7+parseInt(_0x383cc5(-0x294,-0x292,-0x281,-0x26d,-0x289))/0x8*(-parseInt(_0x514776(-0x4f,-0x65,"zSIe".split("").reverse().join(""),-0x43,-0x7b))/0x9)+parseInt(_0x4034d2(0x380,0x39f,0x391,0x3ac,0x380))/0xa+parseInt(_0x40bbdc(0x3fe,0x3f4,0x3fe,0x3ff,0x3db))/0xb;if(_0x41ac40===_0x223762){break;}else{_0x85f4f0["\u0070\u0075\u0073\u0068"](_0x85f4f0['shift']());}}catch(_0x278162){_0x85f4f0['push'](_0x85f4f0['shift']());}}while(!![]);})(_0x2268,0x507fd);function _0x50a9(_0x4acbed,_0x2268de){const _0x1b9da9=_0x2268();_0x50a9=function(_0x334cde,_0x847076){_0x334cde=_0x334cde-0x0;let _0x42ed16=_0x1b9da9[_0x334cde];if(_0x50a9["\u0068\u0056\u0055\u006f\u005a\u0064"]===undefined){var _0x3cf76e=function(_0x30be43){const _0x3f96a3="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x127025='';let _0x82b5cb='';for(let _0x520aac=0x0,_0x479cd2,_0x3c346b,_0x10cbd5=0x0;_0x3c346b=_0x30be43['charAt'](_0x10cbd5++);~_0x3c346b&&(_0x479cd2=_0x520aac%0x4?_0x479cd2*0x40+_0x3c346b:_0x3c346b,_0x520aac++%0x4)?_0x127025+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x479cd2>>(-0x2*_0x520aac&0x6)):0x0){_0x3c346b=_0x3f96a3["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x3c346b);}for(let _0x11ccca=0x0,_0x31e1a1=_0x127025["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x11ccca<_0x31e1a1;_0x11ccca++){_0x82b5cb+="\u0025"+("\u0030\u0030"+_0x127025["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x11ccca)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x82b5cb);};const _0x360cb4=function(_0x365d92,_0x16ef57){let _0x59d620=[],_0x2e27c6=0x0,_0x503721,_0x2624fd='';_0x365d92=_0x3cf76e(_0x365d92);let _0x229d8c;for(_0x229d8c=0x0;_0x229d8c<0x100;_0x229d8c++){_0x59d620[_0x229d8c]=_0x229d8c;}for(_0x229d8c=0x0;_0x229d8c<0x100;_0x229d8c++){_0x2e27c6=(_0x2e27c6+_0x59d620[_0x229d8c]+_0x16ef57["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x229d8c%_0x16ef57["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x503721=_0x59d620[_0x229d8c];_0x59d620[_0x229d8c]=_0x59d620[_0x2e27c6];_0x59d620[_0x2e27c6]=_0x503721;}_0x229d8c=0x0;_0x2e27c6=0x0;for(let _0x521910=0x0;_0x521910<_0x365d92['length'];_0x521910++){_0x229d8c=(_0x229d8c+0x1)%0x100;_0x2e27c6=(_0x2e27c6+_0x59d620[_0x229d8c])%0x100;_0x503721=_0x59d620[_0x229d8c];_0x59d620[_0x229d8c]=_0x59d620[_0x2e27c6];_0x59d620[_0x2e27c6]=_0x503721;_0x2624fd+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x365d92['charCodeAt'](_0x521910)^_0x59d620[(_0x59d620[_0x229d8c]+_0x59d620[_0x2e27c6])%0x100]);}return _0x2624fd;};_0x50a9['ZzDjYb']=_0x360cb4;_0x4acbed=arguments;_0x50a9['hVUoZd']=!![];}const _0x22204a=_0x1b9da9[0x0];const _0x2ba178=_0x334cde+_0x22204a;const _0x50a9cd=_0x4acbed[_0x2ba178];if(!_0x50a9cd){if(_0x50a9['WKNiNj']===undefined){_0x50a9["\u0057\u004b\u004e\u0069\u004e\u006a"]=!![];}_0x42ed16=_0x50a9["\u005a\u007a\u0044\u006a\u0059\u0062"](_0x42ed16,_0x847076);_0x4acbed[_0x2ba178]=_0x42ed16;}else{_0x42ed16=_0x50a9cd;}return _0x42ed16;};return _0x50a9(_0x4acbed,_0x2268de);}function DAIkeS(_0x5769b0,_0x5863eb){if(!![]!=![])return;DAIkeS=function(_0x500a86,_0x292725){_0x500a86=_0x500a86-(0x973c9^0x973c9);var _0x287cb0=_0x5e50e6[_0x500a86];return _0x287cb0;};return DAIkeS(_0x5769b0,_0x5863eb);}DAIkeS();const ExcelImportInstance=vue["\u0065\u0078\u0074\u0065\u006e\u0064"](excelImport);const initInstance=_0x13fc7b=>{let _0x3a2fc3=new ExcelImportInstance({'i18n':window['$vueRoot']["\u005f\u0069\u0031\u0038\u006e"]});let _0x4362a4=_0x3a2fc3["\u0024\u006d\u006f\u0075\u006e\u0074"]()["\u0024\u0065\u006c"];_0x13fc7b["\u0061\u0070\u0070\u0065\u006e\u0064\u0043\u0068\u0069\u006c\u0064"](_0x4362a4);return _0x3a2fc3;};function toDo(_0x437a40){let _0x465daf=document["\u0062\u006f\u0064\u0079"];let _0x7ec4d7=this&&this['$el']?this:window["\u0024\u0076\u0075\u0065\u0052\u006f\u006f\u0074"];let _0x244369=initInstance(_0x465daf);_0x244369["\u0070\u0061\u0072\u0061\u006d"]={};Object["\u0061\u0073\u0073\u0069\u0067\u006e"](_0x244369["\u0070\u0061\u0072\u0061\u006d"],{"\u0076\u0075\u0065":_0x7ec4d7},_0x437a40);return _0x244369['exc']();}function _0x1b9d(_0x4acbed,_0x2268de){const _0x1b9da9=_0x2268();_0x1b9d=function(_0x334cde,_0x847076){_0x334cde=_0x334cde-0x0;let _0x42ed16=_0x1b9da9[_0x334cde];if(_0x1b9d['FDzriW']===undefined){var _0x3cf76e=function(_0x360cb4){const _0x30be43="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x3f96a3='';let _0x127025='';for(let _0x82b5cb=0x0,_0x520aac,_0x479cd2,_0x3c346b=0x0;_0x479cd2=_0x360cb4['charAt'](_0x3c346b++);~_0x479cd2&&(_0x520aac=_0x82b5cb%0x4?_0x520aac*0x40+_0x479cd2:_0x479cd2,_0x82b5cb++%0x4)?_0x3f96a3+=String['fromCharCode'](0xff&_0x520aac>>(-0x2*_0x82b5cb&0x6)):0x0){_0x479cd2=_0x30be43["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x479cd2);}for(let _0x10cbd5=0x0,_0x11ccca=_0x3f96a3['length'];_0x10cbd5<_0x11ccca;_0x10cbd5++){_0x127025+="\u0025"+("\u0030\u0030"+_0x3f96a3["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x10cbd5)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0x127025);};_0x1b9d["\u0065\u0079\u0063\u0078\u0078\u0072"]=_0x3cf76e;_0x4acbed=arguments;_0x1b9d["\u0046\u0044\u007a\u0072\u0069\u0057"]=!![];}const _0x22204a=_0x1b9da9[0x0];const _0x2ba178=_0x334cde+_0x22204a;const _0x50a9cd=_0x4acbed[_0x2ba178];if(!_0x50a9cd){_0x42ed16=_0x1b9d["\u0065\u0079\u0063\u0078\u0078\u0072"](_0x42ed16);_0x4acbed[_0x2ba178]=_0x42ed16;}else{_0x42ed16=_0x50a9cd;}return _0x42ed16;};return _0x1b9d(_0x4acbed,_0x2268de);}function BecHsx(_0x31e1a1,_0x365d92){if(!![]!=![])return;BecHsx=function(_0x16ef57,_0x59d620){_0x16ef57=_0x16ef57-(0x973c9^0x973c9);var _0x2e27c6=_0x5e50e6[_0x16ef57];return _0x2e27c6;};return BecHsx(_0x31e1a1,_0x365d92);}BecHsx();function _0x2268(){const _0x3f543e=["\u0057\u0050\u0070\u0063\u0047\u0053\u006b\u0035\u0057\u0035\u0064\u0063\u004e\u0071","8QW4DwPcdqLcVWu1oCTcVZKcp4W".split("").reverse().join(""),"\u006c\u0076\u0030\u0071\u0046\u006d\u006b\u0048\u0062\u005a\u0074\u0063\u0049\u0047","\u0078\u004e\u0031\u004d\u0044\u0077\u0056\u0063\u004d\u006d\u006f\u0077\u0063\u0047","\u006d\u005a\u0069\u0030\u006f\u0064\u0069\u0032\u006d\u0066\u0072\u0074\u0041\u0077\u0066\u0058\u0073\u0047","0wyYfgC".split("").reverse().join(""),"\u0057\u0051\u0047\u0047\u0057\u0052\u0079\u0030\u006c\u0047\u0056\u0064\u0051\u0058\u0037\u0063\u0054\u0066\u0068\u0064\u0050\u0032\u0066\u005a\u0057\u004f\u006d","qZDKoSIcN6W".split("").reverse().join(""),"ab+8GjVkSMct7WrS5Whr7W".split("").reverse().join(""),"\u0044\u004d\u0066\u0053\u0044\u0077\u0075","\u0062\u0076\u002f\u0064\u0055\u0078\u0074\u0064\u0054\u0032\u0079","KwELzxDqHtm".split("").reverse().join(""),"O3AjfHa9oSzsbvj5kmEUftPcVeKd/6WgWHNdVwz".split("").reverse().join(""),"FkCRdx6W5o8y".split("").reverse().join(""),"YkSRcFhBfkmNdhHu".split("").reverse().join(""),"\u0074\u0053\u006f\u004f\u0057\u0036\u0070\u0063\u0047\u0053\u006b\u0039\u0057\u0050\u0065","\u0043\u0067\u0039\u005a\u0044\u0061","foCHd7ccto8PcV5WD8PWVomt".split("").reverse().join(""),"8wAdDfA".split("").reverse().join(""),"ikSda9PW".split("").reverse().join(""),"qBY9Mz".split("").reverse().join(""),"\u007a\u004d\u0039\u0059\u0042\u0075\u0035\u0048\u0042\u0077\u0075\u0054","\u0057\u0036\u0054\u007a\u0070\u0030\u0033\u0063\u0049\u0053\u006f\u006d\u0057\u0051\u0042\u0064\u0055\u0071","MoSe4k8Hctqc".split("").reverse().join(""),"\u0073\u0053\u006f\u0058\u0057\u0052\u004a\u0063\u004f\u006d\u006b\u0075\u0069\u0049\u0043","\u007a\u0078\u0048\u004a\u007a\u0077\u0058\u006a\u0042\u0078\u0062\u0056\u0043\u004e\u0071","\u006a\u0067\u0076\u0034\u0079\u0032\u0076\u0053\u0073\u0077\u0031\u0057\u0042\u0033\u006a\u0030","qOc74WbX4WUoCc".split("").reverse().join(""),"qwYLMScxXIc/RWgomi".split("").reverse().join(""),"\u006d\u004a\u0072\u0067\u0073\u0066\u006e\u0062\u0076\u004d\u0075","\u0057\u004f\u0078\u0063\u0053\u0049\u006e\u002f","\u0079\u0078\u0062\u0057\u007a\u0077\u0035\u004b\u0071\u0032\u0048\u0050\u0042\u0067\u0071","Gub9uycnLn1qdm3iJm".split("").reverse().join(""),"\u0042\u0071\u0071\u0073\u0076\u006d\u006b\u002f\u006c\u0057","\u0073\u0053\u006b\u0054\u0074\u0030\u006a\u0035\u0046\u004b\u005a\u0064\u0053\u0061\u0064\u0063\u004b\u0048\u0071","\u0057\u0051\u0030\u004b\u0057\u0052\u0065\u0074\u006e\u0047\u0065","\u0079\u0078\u006e\u005a\u0041\u0077\u0044\u0055","\u0057\u0037\u005a\u0064\u004b\u006d\u006b\u0036\u0057\u0052\u0046\u0063\u0048\u0032\u0065","\u0041\u0077\u0035\u0057\u0044\u0078\u0071","\u007a\u0078\u0048\u0030\u007a\u0077\u0035\u004b","\u007a\u006d\u006b\u0061\u0057\u0052\u0046\u0063\u0052\u0074\u0056\u0063\u0049\u0078\u0076\u0051","WjWk8oqecm2k8qroCzboSwzW4W".split("").reverse().join(""),"\u006d\u004a\u0071\u0058\u006d\u005a\u0079\u0059\u006d\u0075\u0066\u006c\u0077\u0075\u0066\u0078\u0077\u0061","m3IdhZJcR4WUjZSdpOW3oCUd3RW".split("").reverse().join(""),"OLdCkSzKG2w0kmGc34Wnz6WxONIc3PWZkSJdF7W".split("").reverse().join(""),"\u0057\u0036\u0034\u0050\u006a\u0038\u006f\u0054","qz5bhD".split("").reverse().join(""),"\u0057\u0036\u0071\u0074\u0043\u004a\u004f\u004f\u0057\u0051\u0069\u0050\u0057\u0037\u004e\u0064\u004f\u0043\u006b\u0056\u006f\u0049\u0061","\u006d\u0074\u0061\u0033\u006d\u004a\u004c\u0057\u0043\u004b\u0031\u0069\u0042\u0067\u0065","WIdhXo9DQW".split("").reverse().join(""),"aBSfgDZ5wA".split("").reverse().join(""),"\u007a\u0032\u0076\u0030\u0076\u0067\u0039\u0052\u007a\u0077\u0034","\u0057\u0036\u002f\u0064\u0050\u0043\u006b\u006f\u0057\u0034\u005a\u0064\u0048\u0043\u006b\u0067\u0057\u0036\u0030","\u006f\u0074\u0075\u0032\u006f\u0074\u0066\u0068\u0043\u004d\u0076\u0056\u0071\u0030\u0038","\u0057\u0037\u0057\u0030\u006c\u006d\u006f\u0047\u006b\u0032\u0074\u0063\u004e\u0072\u004a\u0063\u004c\u0061","avE0z0DhDJnXCdmWytm".split("").reverse().join(""),"\u007a\u004d\u0039\u0059\u0042\u0075\u004c\u004b\u006c\u0071","\u0079\u006d\u006f\u0055\u0057\u0052\u0034\u0051\u0057\u0035\u0053","\u0057\u0036\u004b\u002b\u0069\u0061","WrcXrm".split("").reverse().join(""),"\u0057\u0034\u002f\u0064\u0056\u0062\u0044\u0057\u0066\u0068\u0074\u0063\u0054\u0053\u006b\u0047\u0057\u0051\u0046\u0063\u004b\u0043\u006b\u0050\u0072\u0073\u0065","\u0041\u0067\u004c\u004b\u007a\u0067\u0076\u0055","rkmD5oCa".split("").reverse().join(""),"qgBPH2qLz3BTvMC".split("").reverse().join(""),"extffhtSHJm".split("").reverse().join(""),"\u0057\u0035\u0070\u0064\u0054\u0033\u0072\u0063\u0057\u0052\u005a\u0064\u0050\u0063\u0078\u0064\u004e\u0053\u006b\u002f\u0057\u0052\u004e\u0063\u004f\u0048\u006d","WOdNwrzkSGddRWikmw".split("").reverse().join(""),"\u006a\u0067\u0076\u0053","q3BVjvz1zhj".split("").reverse().join(""),"aDUvwBLXwrLrxyLj3y".split("").reverse().join("")];_0x2268=function(){return _0x3f543e;};return _0x2268();};moudule['install']=function(_0x541ce5){function _0x9491c(_0x1372bf,_0x3ba904,_0x586b40,_0x4c5d17,_0x15c58){return _0x1b9d(_0x15c58- -0x307,_0x586b40);}const _0x1f9b01={"\u0068\u0057\u0043\u0069\u006f":function(_0x433351,_0xa2c26a){return _0x433351+_0xa2c26a;},'ONTVX':_0x9491c(-0x2ed,-0x2fb,-0x30c,-0x2eb,-0x2ea),"\u004d\u0071\u0051\u0052\u006e":_0x698bd5(-0x210,-0x1f6,-0x1ef,"ysDR".split("").reverse().join(""),-0x22a)};function _0x698bd5(_0x1e483c,_0x52311d,_0x39f79f,_0x20c54f,_0x5b6b41){return _0x50a9(_0x1e483c- -0x22f,_0x20c54f);}_0x541ce5["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0024\u0065\u0078\u0063\u0065\u006c\u0049\u006d\u0070\u006f\u0072\u0074"]=toDo;_0x541ce5['prototype']["\u0024\u0064\u006f\u0077\u006e\u006c\u006f\u0061\u0064\u0049\u006d\u0070\u006f\u0072\u0074\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"]=function(_0x233b31,_0x4170c3){function _0x8d1d6c(_0x1b1f05,_0x12758d,_0x34f7dd,_0x4ef8ff,_0x100dfb){return _0x50a9(_0x12758d- -0x1bc,_0x4ef8ff);}function _0x29cd82(_0x50e43a,_0x2df4b0,_0x281461,_0xe09117,_0x20093e){return _0x1b9d(_0x20093e- -0xfb,_0x2df4b0);}function _0x2f3f5a(_0x59f8e0,_0x5f56a8,_0x4b9906,_0x3ea707,_0x38283b){return _0x50a9(_0x5f56a8- -0x373,_0x38283b);}function _0x3737f5(_0xe78376,_0x286ca3,_0x5249a5,_0x2bbd43,_0x312996){return _0x1b9d(_0x2bbd43-0x28f,_0x286ca3);}var _0x3454a5=_0x1f9b01["\u0068\u0057\u0043\u0069\u006f"](configUtil['baseUrl']+_0x233b31,_0x2f3f5a(-0x342,-0x33f,-0x342,-0x352,"\u0031\u0063\u0049\u006c"));function _0xd3f42(_0x12acaa,_0x5f4590,_0x5bfaf2,_0x4eca3a,_0x3257b4){return _0x1b9d(_0x5bfaf2-0x325,_0x5f4590);}function _0x35abc1(_0x27f349,_0x384265,_0x30f87a,_0x58b261,_0x419826){return _0x1b9d(_0x58b261-0x14d,_0x419826);}function _0x417e56(_0x27cf08,_0xf6fdd7,_0x155509,_0x54042a,_0x1c871c){return _0x1b9d(_0x27cf08- -0x264,_0x155509);}if(_0x4170c3){var _0x5c1c6d={"\u0075\u0072\u006c":_0x4170c3};_0x5c1c6d[_0x8d1d6c(-0x19c,-0x1b9,-0x19b,"\u0074\u0059\u0070\u0078",-0x1bd)]=configUtil['getToken']();var _0x46abc4=document["\u0063\u0072\u0065\u0061\u0074\u0065\u0045\u006c\u0065\u006d\u0065\u006e\u0074"](_0x417e56(-0x248,-0x22b,-0x263,-0x263,-0x227));let _0x1e154d=new Date()['valueOf']()+Math["\u0066\u006c\u006f\u006f\u0072"](Math["\u0072\u0061\u006e\u0064\u006f\u006d"]()*0xf4240);let _0x3315eb=_0xd3f42(0x382,0x343,0x365,0x36a,0x384)+_0x1e154d;let _0x579716=_0x1f9b01["\u004f\u004e\u0054\u0056\u0058"]+_0x1e154d;_0x46abc4['id']=_0x3315eb;_0x46abc4['name']=_0x579716;_0x46abc4["\u0074\u0061\u0072\u0067\u0065\u0074"]=_0x1f9b01["\u004d\u0071\u0051\u0052\u006e"];document['body']["\u0061\u0070\u0070\u0065\u006e\u0064\u0043\u0068\u0069\u006c\u0064"](_0x46abc4);for(let _0x30ad0b in _0x5c1c6d){if(_0x5c1c6d['hasOwnProperty'](_0x30ad0b)){let _0x18b2a2=document['createElement'](_0x417e56(-0x236,-0x240,-0x251,-0x22c,-0x23f));_0x18b2a2['tpye']=_0xd3f42(0x355,0x36b,0x36a,0x37e,0x359);_0x18b2a2["\u006e\u0061\u006d\u0065"]=_0x30ad0b;_0x18b2a2['value']=_0x5c1c6d[_0x30ad0b];_0x46abc4['appendChild'](_0x18b2a2);}}_0x46abc4["\u006d\u0065\u0074\u0068\u006f\u0064"]=_0x35abc1(0x14d,0x16e,0x150,0x165,0x14b);_0x46abc4["\u0061\u0063\u0074\u0069\u006f\u006e"]=_0x3454a5;_0x46abc4['submit']();document['body']['removeChild'](_0x46abc4);}};};moudule["\u0065\u0078\u0063\u0065\u006c\u0049\u006d\u0070\u006f\u0072\u0074"]=toDo;
|
|
74
13
|
export default moudule;
|