cloud-web-corejs 1.0.45 → 1.0.46-dev.2
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/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +146 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +62 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +277 -33
- package/src/views/bd/setting/table_model/edit.vue +3 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +1 -1
- package/src/views/user/access_log/list.vue +346 -346
- package/src/views/user/home/default2.vue +979 -0
- package/src/views/user/home/index.vue +16 -14
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script>
|
|
14
|
+
import corejsConfig from "@/corejsConfig";
|
|
14
15
|
|
|
15
16
|
export default {
|
|
16
17
|
name: 'home',
|
|
@@ -64,22 +65,23 @@ export default {
|
|
|
64
65
|
let menus = res.objx || [];
|
|
65
66
|
let homeMenu = menus.find(menu => menu.type == 2 && menu.enabled);
|
|
66
67
|
let menuUrl = homeMenu?.url;
|
|
67
|
-
|
|
68
|
+
|
|
69
|
+
let str1 = "@base/views";
|
|
70
|
+
let str2 = "@/views";
|
|
71
|
+
let url = null;
|
|
68
72
|
if (menuUrl) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
let
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
73
|
+
url = menuUrl + '.vue';
|
|
74
|
+
} else {
|
|
75
|
+
let homeConfig = corejsConfig.homeConfig || {}
|
|
76
|
+
url = homeConfig.url ? homeConfig.url : '/user/home/default.vue'
|
|
77
|
+
}
|
|
78
|
+
if (url.startsWith(str1)) {
|
|
79
|
+
let a = url.slice(str1.length);
|
|
80
|
+
this.homeContent = require('@base/views' + url.slice(str1.length)).default;
|
|
81
|
+
} else if (url.startsWith(str2)) {
|
|
82
|
+
this.homeContent = require('@/views' + url.slice(str2.length)).default;
|
|
80
83
|
} else {
|
|
81
|
-
|
|
82
|
-
this.homeContent = require('@base/views' + url).default;
|
|
84
|
+
this.homeContent = require('@/views' + url).default;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
this.showHomeContent = true;
|