cloud-web-corejs 1.1.0-dev.5 → 1.1.0-dev.7
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/VabUpload/index.vue +1 -1
- package/src/components/VabUpload/view.vue +27 -26
- package/src/components/excelImport/index.vue +156 -156
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/langImport/index.vue +1 -1
- package/src/components/mobile/wf/addTaskUserdialog.vue +23 -3
- package/src/components/mobile/wf/content.vue +110 -67
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +22 -3
- package/src/components/mobile/wf/selectUserDialog.vue +122 -0
- package/src/components/mobile/wf/setCandidateDialog.vue +25 -4
- package/src/components/mobile/wf/urgingDialog.vue +26 -3
- package/src/components/mobile/wf/wfModifyDialog.vue +4 -0
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/xform/form-designer/designer.js +36 -52
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +185 -185
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +2 -2
- package/src/components/xform/form-designer/indexMixin.js +33 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +833 -860
- package/src/components/xform/form-designer/toolbar-panel/index.vue +874 -874
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +11 -7
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +30 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +53 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +154 -27
- package/src/components/xform/form-render/indexMixin.js +23 -3
- package/src/components/xform/styles/h5.scss +774 -588
- package/src/directive/append-to-body/index.js +48 -0
- package/src/index.js +4 -0
- package/src/layout/components/Sidebar/default.vue +1655 -1655
- package/src/router/index.js +48 -48
- package/src/utils/assetUrl.js +19 -0
- package/src/utils/vab.js +1283 -1279
- package/src/views/bd/setting/form_template/edit.vue +378 -356
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +6 -0
- package/src/views/bd/setting/form_template/formTemplateType.js +43 -0
- package/src/views/bd/setting/form_template/list.vue +304 -303
- package/src/views/bd/setting/form_template/mixins/edit.js +344 -280
- package/src/views/bd/setting/form_template/mixins/list.js +748 -721
- package/src/views/user/file_view_ins/list.vue +970 -970
- package/src/views/user/form/vform/designer.vue +823 -821
- package/src/views/user/home/default.vue +1117 -1117
- package/src/views/user/home/index.vue +103 -103
- package/src/views/user/notify_message/dialog.vue +139 -139
- package/src/views/user/outLink/form_view.vue +202 -202
- package/src/views/user/outLink/index.vue +110 -110
- package/src/views/user/wf/iframe/index.vue +51 -51
- package/src/views/user/wf/iframe/index2.vue +64 -64
- package/src/views/user/wf/wf_manage/list2.vue +871 -871
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +134 -134
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="containt">
|
|
3
|
-
<component
|
|
4
|
-
v-if="showWfContent && wfContent"
|
|
5
|
-
:is="wfContent"
|
|
6
|
-
visible-key="showWfContent"
|
|
7
|
-
:_dataId.sync="wfDataId"
|
|
8
|
-
:parent-target="_self"
|
|
9
|
-
:toWfArea.sync="toWfArea"
|
|
10
|
-
@reload="$reloadHandle"
|
|
11
|
-
></component>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
import { loadViewComponentAsync } from "@base/utils/resolveViewComponent";
|
|
17
|
-
export default {
|
|
18
|
-
data() {
|
|
19
|
-
return {
|
|
20
|
-
reportCode: null,
|
|
21
|
-
showWfContent: true,
|
|
22
|
-
wfContent: null,
|
|
23
|
-
wfDataId: '',
|
|
24
|
-
toWfArea: true
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
created() {
|
|
28
|
-
this.initData();
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
async initData() {
|
|
32
|
-
let wfDataId = this.$route.query.wfDataId;
|
|
33
|
-
let wfUrl = this.$route.query.wfUrl;
|
|
34
|
-
|
|
35
|
-
let url = wfUrl + '.vue';
|
|
36
|
-
let id = wfDataId;
|
|
37
|
-
this.wfDataId = !id || typeof id == 'object' ? 0 : id;
|
|
38
|
-
// this.showWfDialog = true;
|
|
39
|
-
this.showWfContent = true;
|
|
40
|
-
const res = await loadViewComponentAsync(url);
|
|
41
|
-
if (res.kind === "remote") {
|
|
42
|
-
this.$message({ message: "该单据归属子应用 " + res.owner + ",请从对应入口打开", type: "warning" });
|
|
43
|
-
}
|
|
44
|
-
this.wfContent = res.component;
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
</script>
|
|
50
|
-
|
|
51
|
-
<style></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<component
|
|
4
|
+
v-if="showWfContent && wfContent"
|
|
5
|
+
:is="wfContent"
|
|
6
|
+
visible-key="showWfContent"
|
|
7
|
+
:_dataId.sync="wfDataId"
|
|
8
|
+
:parent-target="_self"
|
|
9
|
+
:toWfArea.sync="toWfArea"
|
|
10
|
+
@reload="$reloadHandle"
|
|
11
|
+
></component>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
import { loadViewComponentAsync } from "@base/utils/resolveViewComponent";
|
|
17
|
+
export default {
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
reportCode: null,
|
|
21
|
+
showWfContent: true,
|
|
22
|
+
wfContent: null,
|
|
23
|
+
wfDataId: '',
|
|
24
|
+
toWfArea: true
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
created() {
|
|
28
|
+
this.initData();
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
async initData() {
|
|
32
|
+
let wfDataId = this.$route.query.wfDataId;
|
|
33
|
+
let wfUrl = this.$route.query.wfUrl;
|
|
34
|
+
|
|
35
|
+
let url = wfUrl + '.vue';
|
|
36
|
+
let id = wfDataId;
|
|
37
|
+
this.wfDataId = !id || typeof id == 'object' ? 0 : id;
|
|
38
|
+
// this.showWfDialog = true;
|
|
39
|
+
this.showWfContent = true;
|
|
40
|
+
const res = await loadViewComponentAsync(url);
|
|
41
|
+
if (res.kind === "remote") {
|
|
42
|
+
this.$message({ message: "该单据归属子应用 " + res.owner + ",请从对应入口打开", type: "warning" });
|
|
43
|
+
}
|
|
44
|
+
this.wfContent = res.component;
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style></style>
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="containt">
|
|
3
|
-
<component
|
|
4
|
-
v-if="showWfContent && wfContent"
|
|
5
|
-
:is="wfContent"
|
|
6
|
-
visible-key="showWfContent"
|
|
7
|
-
:outParam.sync="outParam"
|
|
8
|
-
:parent-target="_self"
|
|
9
|
-
@reload="$reloadHandle"
|
|
10
|
-
></component>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import { loadViewComponentAsync } from "@base/utils/resolveViewComponent";
|
|
16
|
-
export default {
|
|
17
|
-
data() {
|
|
18
|
-
return {
|
|
19
|
-
reportCode: null,
|
|
20
|
-
showWfContent: true,
|
|
21
|
-
wfContent: null,
|
|
22
|
-
outParam: null
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
created() {
|
|
26
|
-
this.login();
|
|
27
|
-
},
|
|
28
|
-
methods: {
|
|
29
|
-
async initData() {
|
|
30
|
-
let dataId = this.$route.query.dataId;
|
|
31
|
-
let purl = this.$route.query.url;
|
|
32
|
-
let param = this.$route.query.param;
|
|
33
|
-
if (param) {
|
|
34
|
-
this.outParam = JSON.parse(param)
|
|
35
|
-
}
|
|
36
|
-
let url = purl + '.vue';
|
|
37
|
-
this.showWfContent = true;
|
|
38
|
-
const res = await loadViewComponentAsync(url);
|
|
39
|
-
if (res.kind === "remote") {
|
|
40
|
-
this.$message({ message: "该单据归属子应用 " + res.owner + ",请从对应入口打开", type: "warning" });
|
|
41
|
-
}
|
|
42
|
-
this.wfContent = res.component;
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
login() {
|
|
46
|
-
let token = this.$route.query.access_token;
|
|
47
|
-
let url = this.$route.query.url;
|
|
48
|
-
if (token && url) {
|
|
49
|
-
this.$store
|
|
50
|
-
.dispatch('user/addToken', {
|
|
51
|
-
token
|
|
52
|
-
})
|
|
53
|
-
.then(() => {
|
|
54
|
-
this.$nextTick(() => {
|
|
55
|
-
this.initData();
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
</script>
|
|
63
|
-
|
|
64
|
-
<style></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="containt">
|
|
3
|
+
<component
|
|
4
|
+
v-if="showWfContent && wfContent"
|
|
5
|
+
:is="wfContent"
|
|
6
|
+
visible-key="showWfContent"
|
|
7
|
+
:outParam.sync="outParam"
|
|
8
|
+
:parent-target="_self"
|
|
9
|
+
@reload="$reloadHandle"
|
|
10
|
+
></component>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import { loadViewComponentAsync } from "@base/utils/resolveViewComponent";
|
|
16
|
+
export default {
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
reportCode: null,
|
|
20
|
+
showWfContent: true,
|
|
21
|
+
wfContent: null,
|
|
22
|
+
outParam: null
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
created() {
|
|
26
|
+
this.login();
|
|
27
|
+
},
|
|
28
|
+
methods: {
|
|
29
|
+
async initData() {
|
|
30
|
+
let dataId = this.$route.query.dataId;
|
|
31
|
+
let purl = this.$route.query.url;
|
|
32
|
+
let param = this.$route.query.param;
|
|
33
|
+
if (param) {
|
|
34
|
+
this.outParam = JSON.parse(param)
|
|
35
|
+
}
|
|
36
|
+
let url = purl + '.vue';
|
|
37
|
+
this.showWfContent = true;
|
|
38
|
+
const res = await loadViewComponentAsync(url);
|
|
39
|
+
if (res.kind === "remote") {
|
|
40
|
+
this.$message({ message: "该单据归属子应用 " + res.owner + ",请从对应入口打开", type: "warning" });
|
|
41
|
+
}
|
|
42
|
+
this.wfContent = res.component;
|
|
43
|
+
|
|
44
|
+
},
|
|
45
|
+
login() {
|
|
46
|
+
let token = this.$route.query.access_token;
|
|
47
|
+
let url = this.$route.query.url;
|
|
48
|
+
if (token && url) {
|
|
49
|
+
this.$store
|
|
50
|
+
.dispatch('user/addToken', {
|
|
51
|
+
token
|
|
52
|
+
})
|
|
53
|
+
.then(() => {
|
|
54
|
+
this.$nextTick(() => {
|
|
55
|
+
this.initData();
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
</script>
|
|
63
|
+
|
|
64
|
+
<style></style>
|