cloud-web-corejs 1.0.54-dev.355 → 1.0.54-dev.357
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/App.vue +21 -20
- package/src/components/table/index.js +1 -1
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.css +197 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min copy.js +6073 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +6075 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +1 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.scss +199 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1593 -1
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +4 -1
- package/src/components/xform/mixins/scriptHttp.js +172 -1
- package/src/index.js +209 -190
- package/src/mixins/table/index.js +152 -0
- package/src/router/modules/customer.js +9 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div id="app" :class="{mobileApp:isMobile}">
|
|
3
|
-
<router-view/>
|
|
2
|
+
<div id="app" :class="{ mobileApp: isMobile }">
|
|
3
|
+
<router-view />
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script>
|
|
8
|
-
import settting from
|
|
8
|
+
import settting from "@/settings.js";
|
|
9
9
|
|
|
10
10
|
export default {
|
|
11
|
-
name:
|
|
11
|
+
name: "App",
|
|
12
12
|
data() {
|
|
13
13
|
let isMobile = this.getIsMobile();
|
|
14
14
|
return {
|
|
15
|
-
isMobile: isMobile
|
|
16
|
-
}
|
|
15
|
+
isMobile: isMobile,
|
|
16
|
+
};
|
|
17
17
|
},
|
|
18
18
|
created() {
|
|
19
|
-
if (process.env.NODE_ENV !== "development") {
|
|
19
|
+
/* if (process.env.NODE_ENV !== "development") {
|
|
20
20
|
window.addEventListener(
|
|
21
21
|
'hashchange',
|
|
22
22
|
event => {
|
|
@@ -37,31 +37,32 @@ export default {
|
|
|
37
37
|
sessionStorage.setItem('toHome', '1');
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
}
|
|
40
|
+
} */
|
|
41
41
|
|
|
42
|
-
window.addEventListener(
|
|
42
|
+
window.addEventListener("load", async (event) => {
|
|
43
43
|
// 滚动事件变为 scroll
|
|
44
44
|
let title = settting.title;
|
|
45
|
-
if (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
if (
|
|
46
|
+
location.host.indexOf("pcp.sc.5mall.com") == 0 ||
|
|
47
|
+
location.host.indexOf("pipuat.bears.com.cn") == 0
|
|
48
|
+
) {
|
|
49
|
+
title = "产品创新平台PIP";
|
|
50
|
+
} else if (location.host.indexOf("chigo.sc.5mall.com") == 0) {
|
|
51
|
+
title = "志高营销平台";
|
|
52
|
+
} else if (location.host.indexOf("ngerp.sc.5mall.com") == 0) {
|
|
53
|
+
title = "NG ERP";
|
|
51
54
|
}
|
|
52
55
|
document.title = title;
|
|
53
56
|
});
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
mounted() {
|
|
57
57
|
},
|
|
58
|
+
mounted() {},
|
|
58
59
|
methods: {
|
|
59
60
|
getIsMobile() {
|
|
60
61
|
const userAgent = navigator.userAgent;
|
|
61
62
|
const mobileRegex = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/i;
|
|
62
63
|
return mobileRegex.test(userAgent);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
64
|
+
},
|
|
65
|
+
},
|
|
65
66
|
};
|
|
66
67
|
</script>
|
|
67
68
|
<style>
|