diff --git a/src/i18n/en.json b/src/i18n/en.json new file mode 100644 index 0000000..f34470a --- /dev/null +++ b/src/i18n/en.json @@ -0,0 +1,9 @@ +{ + "lowcode.c257d5e8": "search", + "lowcode.61c8ac8c": "dsdsa", + "lowcode.f53187a0": "test", + "lowcode.97ad00dd": "createMaterial", + "lowcode.61dcef52": "sadasda", + "lowcode.45f4c42a": "gfdgfd", + "lowcode.c6f5a652": "fsdafds" +} \ No newline at end of file diff --git a/src/i18n/zh.json b/src/i18n/zh.json new file mode 100644 index 0000000..95a54cd --- /dev/null +++ b/src/i18n/zh.json @@ -0,0 +1,9 @@ +{ + "lowcode.c257d5e8": "查询", + "lowcode.61c8ac8c": "地方", + "lowcode.f53187a0": "测试", + "lowcode.97ad00dd": "创建物料资产包", + "lowcode.61dcef52": "terterere", + "lowcode.45f4c42a": "gdfgdf", + "lowcode.c6f5a652": "fsdaf" +} \ No newline at end of file diff --git a/src/lowcode/dataSource.json b/src/lowcode/dataSource.json new file mode 100644 index 0000000..751bbb4 --- /dev/null +++ b/src/lowcode/dataSource.json @@ -0,0 +1,7 @@ +{ + "dataHandler": { + "type": "JSFunction", + "value": "function dataHanlder(res){\n return res;\n}" + }, + "list": [] +} \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js new file mode 100644 index 0000000..bc25b91 --- /dev/null +++ b/src/router/index.js @@ -0,0 +1,21 @@ +import { createRouter, createWebHashHistory } from 'vue-router' + +const routes = [ + { + path: '/', + redirect: '/createVm' + }, + { + path: '/createVm', + component: () => import('../views/createVm.vue') + }, + { + path: '/a', + component: () => import('../views/AbPage.vue') + } +] + +export default createRouter({ + history: createWebHashHistory(), + routes +}) diff --git a/src/stores/index.js b/src/stores/index.js new file mode 100644 index 0000000..17f2019 --- /dev/null +++ b/src/stores/index.js @@ -0,0 +1,4 @@ +export { test2 } from './test2' +export { test3 } from './test3' +export { test4 } from './test4' +export { test1 } from './test1' \ No newline at end of file diff --git a/src/stores/test1.js b/src/stores/test1.js new file mode 100644 index 0000000..d6ace21 --- /dev/null +++ b/src/stores/test1.js @@ -0,0 +1,11 @@ +import { defineStore } from 'pinia' +export const test1 = defineStore({ + id: 'test1', + state: () => ({ name1: 'xxx' }), + getters: { + count() {} + }, + actions: { + actions() {} + } +}) diff --git a/src/stores/test2.js b/src/stores/test2.js new file mode 100644 index 0000000..5af9e06 --- /dev/null +++ b/src/stores/test2.js @@ -0,0 +1,11 @@ +import { defineStore } from 'pinia' +export const test2 = defineStore({ + id: 'test2', + state: () => ({ name1: 'xxx1' }), + getters: { + count() {} + }, + actions: { + actions() {} + } +}) diff --git a/src/stores/test3.js b/src/stores/test3.js new file mode 100644 index 0000000..3f76fbf --- /dev/null +++ b/src/stores/test3.js @@ -0,0 +1,11 @@ +import { defineStore } from 'pinia' +export const test3 = defineStore({ + id: 'test3', + state: () => ({ name1: 'xxx' }), + getters: { + count() {} + }, + actions: { + actions() {} + } +}) diff --git a/src/stores/test4.js b/src/stores/test4.js new file mode 100644 index 0000000..3f03bee --- /dev/null +++ b/src/stores/test4.js @@ -0,0 +1,17 @@ +import { defineStore } from 'pinia' +export const test4 = defineStore({ + id: 'test4', + state: () => ({ + addEvs: false, + period: { value: 1, unit: 'month' }, + planId: '', + addHss: false, + productId: '', + scenario: 'all', + addCbr: false, + region: '', + amount: 1 + }), + getters: {}, + actions: {} +}) diff --git a/src/views/AbPage.vue b/src/views/AbPage.vue new file mode 100644 index 0000000..8113c52 --- /dev/null +++ b/src/views/AbPage.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/views/createVm.vue b/src/views/createVm.vue new file mode 100644 index 0000000..345105b --- /dev/null +++ b/src/views/createVm.vue @@ -0,0 +1,417 @@ + + + + +