cloud-web-corejs 1.0.54-dev.555 → 1.0.54-dev.557
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 -3
- package/src/components/baseAlert/mixins.js +1 -61
- package/src/components/baseInputExport/mixins.js +1 -391
- package/src/components/errorMsg/mixins.js +1 -96
- package/src/components/excelImport/mixins.js +1 -774
- package/src/components/fileLibrary/index.vue +15 -17
- 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 +1 -12
- package/src/components/luckysheet/export.js +1 -591
- package/src/components/luckysheet/fileUtils.js +1 -147
- package/src/components/luckysheet/index.js +1 -72
- package/src/components/luckysheet/view.vue +0 -92
- package/src/components/oplogTable/mixins.js +1 -80
- package/src/components/table/index.js +1 -1044
- package/src/components/wf/wf.js +1 -2156
- package/src/components/wf/wfUtil.js +1 -279
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1752
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1630
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +1 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -3043
- package/src/components/xform/form-render/container-item/table2-item.vue +12 -4
- package/src/components/xform/form-render/indexMixin.js +1 -3677
- package/src/mixins/tableTree/index.js +1 -196
- package/src/router/modules/customer.js +7 -7
- package/src/store/modules/permission.js +2 -2
- package/src/views/bd/setting/bd_attach_setting/mixins/list.js +1 -239
- package/src/views/bd/setting/form_script/mixins/dialog.js +1 -130
- package/src/views/bd/setting/form_script/mixins/edit.js +2 -199
- package/src/views/bd/setting/form_script/mixins/edit1.js +2 -193
- package/src/views/bd/setting/form_script/mixins/list.js +1 -236
- package/src/views/bd/setting/form_script/mixins/list1.js +1 -410
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +1 -278
- package/src/views/bd/setting/form_template/mixins/edit.js +1 -225
- package/src/views/bd/setting/form_template/mixins/list.js +1 -665
- package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +1 -187
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +1 -294
- package/src/views/bd/setting/menu_kind/mixins/list.js +1 -201
- package/src/views/bd/setting/table_model/mixins/edit.js +1 -1189
- package/src/views/bd/setting/table_model/mixins/list.js +1 -427
- package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +1 -195
- package/src/views/user/ledger_library/list.vue +12 -10
- package/src/views/user/position/list.vue +68 -124
- package/src/components/luckysheet/README.md +0 -329
- package/src/components/luckysheet/colorTest.js +0 -54
- package/src/components/luckysheet/exportExample.js +0 -182
- package/src/components/luckysheet/fileConversionExample.js +0 -127
- package/src/components/luckysheet/testExport.js +0 -57
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +0 -1639
- package/src/components/xform/utils/formula-util copy 2.js +0 -945
- package/src/components/xform/utils/formula-util copy.js +0 -856
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<span>
|
|
3
|
-
<el-button type="primary" class="button-sty" @click="show">
|
|
4
|
-
|
|
5
|
-
</el-button>
|
|
6
|
-
<el-dialog :visible="visible" :maskClosable="false"
|
|
7
|
-
@cancel="hideModal">
|
|
3
|
+
<el-button type="primary" class="button-sty" @click="show"> 查看模板json </el-button>
|
|
4
|
+
<el-dialog :visible="visible" :maskClosable="false" @cancel="hideModal">
|
|
8
5
|
<!-- <el-spin :spinning="spinning" style="min-height: 100px"> -->
|
|
9
|
-
|
|
6
|
+
<el-input type="textarea" :rows="2" style="width: 40vw" v-model:value="jsonOut" />
|
|
10
7
|
<!-- </el-spin> -->
|
|
11
8
|
<template slot="title">
|
|
12
9
|
<div>
|
|
13
10
|
<div style="margin-right: 20px">JSON</div>
|
|
14
|
-
<el-switch
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
<el-switch
|
|
12
|
+
active-text="tid模式"
|
|
13
|
+
inactive-text="默认"
|
|
14
|
+
v-model:checked="tidMode"
|
|
15
|
+
@change="onModeChange"
|
|
16
|
+
/>
|
|
17
|
+
<el-switch
|
|
18
|
+
active-text="美化"
|
|
19
|
+
inactive-text="压缩"
|
|
20
|
+
v-model:checked="beautify"
|
|
21
|
+
@change="onModeChange"
|
|
22
|
+
/>
|
|
18
23
|
</div>
|
|
19
24
|
</template>
|
|
20
25
|
<template slot="footer">
|
|
21
|
-
<el-button key="close" type="info" @click="hideModal">
|
|
22
|
-
关闭
|
|
23
|
-
</el-button>
|
|
26
|
+
<el-button key="close" type="info" @click="hideModal"> 关闭 </el-button>
|
|
24
27
|
</template>
|
|
25
28
|
</el-dialog>
|
|
26
29
|
</span>
|
|
@@ -32,7 +35,7 @@ export default {
|
|
|
32
35
|
props: {
|
|
33
36
|
template: {
|
|
34
37
|
type: Object,
|
|
35
|
-
}
|
|
38
|
+
},
|
|
36
39
|
},
|
|
37
40
|
data() {
|
|
38
41
|
return {
|
|
@@ -41,41 +44,38 @@ export default {
|
|
|
41
44
|
jsonOut: "",
|
|
42
45
|
tidMode: false,
|
|
43
46
|
beautify: false,
|
|
44
|
-
}
|
|
47
|
+
};
|
|
45
48
|
},
|
|
46
49
|
computed: {},
|
|
47
50
|
watch: {},
|
|
48
|
-
created() {
|
|
49
|
-
},
|
|
50
|
-
mounted() {
|
|
51
|
-
},
|
|
51
|
+
created() {},
|
|
52
|
+
mounted() {},
|
|
52
53
|
methods: {
|
|
53
54
|
hideModal() {
|
|
54
|
-
this.visible = false
|
|
55
|
+
this.visible = false;
|
|
55
56
|
},
|
|
56
57
|
show() {
|
|
57
|
-
this.visible = true
|
|
58
|
-
this.spinning = true
|
|
58
|
+
this.visible = true;
|
|
59
|
+
this.spinning = true;
|
|
59
60
|
setTimeout(() => {
|
|
60
61
|
let json = this.tidMode ? this.template.getJsonTid() : this.template.getJson();
|
|
61
62
|
let beautify = this.beautify ? 2 : 0;
|
|
62
63
|
this.jsonOut = JSON.stringify(json, null, beautify);
|
|
63
|
-
this.spinning = false
|
|
64
|
-
}, 500)
|
|
64
|
+
this.spinning = false;
|
|
65
|
+
}, 500);
|
|
65
66
|
},
|
|
66
67
|
onModeChange() {
|
|
67
68
|
this.show();
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
72
|
</script>
|
|
73
|
-
<style lang="
|
|
74
|
-
|
|
73
|
+
<style lang="scss" scoped>
|
|
74
|
+
::v-deep .ant-modal-body {
|
|
75
75
|
padding: 0px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
::v-deep .ant-modal-content {
|
|
79
79
|
margin-bottom: 24px;
|
|
80
80
|
}
|
|
81
81
|
</style>
|
|
@@ -27,10 +27,6 @@
|
|
|
27
27
|
<i class="el-icon-check el-icon"></i>
|
|
28
28
|
{{ $t2("确 定", "system.button.confirm2") }}
|
|
29
29
|
</el-button>
|
|
30
|
-
<!-- <el-button type="primary" @click="testBase64Download" class="button-sty">
|
|
31
|
-
<i class="el-icon-check el-icon"></i>
|
|
32
|
-
{{ $t1("测试base64下载") }}
|
|
33
|
-
</el-button> -->
|
|
34
30
|
</span>
|
|
35
31
|
</el-dialog>
|
|
36
32
|
</template>
|
|
@@ -120,14 +116,7 @@ export default {
|
|
|
120
116
|
*/
|
|
121
117
|
fileToBase64Async(file) {
|
|
122
118
|
return fileToBase64(file);
|
|
123
|
-
}
|
|
124
|
-
testBase64Download() {
|
|
125
|
-
let base64 = this.options.base64;
|
|
126
|
-
const fileName = `电子表格_${new Date().getTime()}.xlsx`;
|
|
127
|
-
const convertedFile = base64ToFile(base64, fileName);
|
|
128
|
-
|
|
129
|
-
saveAs(convertedFile, fileName);
|
|
130
|
-
}, */,
|
|
119
|
+
}
|
|
131
120
|
},
|
|
132
121
|
};
|
|
133
122
|
</script>
|