diff --git a/index.html b/index.html
index e214c13..de54b36 100644
--- a/index.html
+++ b/index.html
@@ -1,185 +1,175 @@
-
-
-
-
-
-
-
-
-
- %VITE_GLOB_API_URL%
-
-
+
+
+
+
+
+
+
+
+
+ %VITE_GLOB_API_URL%
+
+
-
-
-
-
-
-

-
-
-
-
%VITE_GLOB_APP_TITLE%
+ .dot i:nth-child(4) {
+ bottom: 0;
+ left: 0;
+ animation-delay: 1.2s;
+ }
+ @keyframes antRotate {
+ to {
+ transform: rotate(405deg);
+ }
+ }
+ @keyframes antRotate {
+ to {
+ transform: rotate(405deg);
+ }
+ }
+ @keyframes antSpinMove {
+ to {
+ opacity: 1;
+ }
+ }
+ @keyframes antSpinMove {
+ to {
+ opacity: 1;
+ }
+ }
+
+
-
-
-
-
+
+
diff --git a/src/components/Designer/src/components/componentProperty/PropertyOption.vue b/src/components/Designer/src/components/componentProperty/PropertyOption.vue
index 913d9a4..c2509a8 100644
--- a/src/components/Designer/src/components/componentProperty/PropertyOption.vue
+++ b/src/components/Designer/src/components/componentProperty/PropertyOption.vue
@@ -1,2002 +1,1642 @@
-
-
-
-
-
-
-
-
-
- {{ table.name }}
-
-
- {{ table.isMain ? t('主表') : t('附表') }}
-
-
-
-
-
-
-
-
- {{ field.name }}
-
-
- {{ getFieldType(field.type) }}
-
-
-
-
-
-
-
-
-
-
- API
- {{ t('数据字典') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- name
- value
-
-
-
-
-
-
-
-
-
-
-
- {{ field.name }}
-
-
- {{ getFieldType(field.type) }}
-
-
-
-
-
-
-
-
-
- {{ field.name }}
-
-
- {{ getFieldType(field.type) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ rule.name }}
-
-
-
-
-
-
-
-
- (data.options.computationalConfigValue = val)"
- v-model:computationalDialog="computationalDialog"
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ t('当前用户') }}
- {{ t('当前组织') }}
- {{ t('当前时间') }}
-
-
-
-
-
- {{ t('系统组织架构') }}
-
-
-
-
-
- {{ t('系统用户') }}
-
-
-
-
-
-
- 二次加载是决定编辑状态是否重新获取信息体数据
-
-
- {{ t('二次加载') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ t('联想弹层按钮') }}
- {{ t('表格选择数据按钮') }}
-
-
-
-
-
-
-
-
- {{ item.label }}
-
+
+
+
+
-
-
-
-
+
+
+
+
+ {{ table.name }}
+
+
+ {{ table.isMain ? t('主表') : t('附表') }}
+
+
+
+
+
+
+
+
+ {{ field.name }}
+
+
+ {{ getFieldType(field.type) }}
+
+
+
+
+
+
+
+
+
+
+ API
+ {{ t('数据字典') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ name
+ value
+
+
-
-
-
-
-
-
- name
- value
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{
- it.label
- }}
-
-
-
-
- {{
- it.label
- }}
-
-
-
-
- {{ t('固定二维码') }}
- {{ t('接口配置') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ t('点击上传') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ t('左') }}
- {{ t('中') }}
- {{ t('右') }}
-
-
-
-
-
-
- text
- picture
- picture-card
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ t('默认') }}
- {{ t('按钮') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Arial
- {{ t('宋体') }}
- {{ t('微软雅黑') }}
- {{ t('黑体') }}
- fangsong
-
-
-
-
-
-
-
- lighter
- normal
- bold
- 500
- 600
- 700
- 800
-
-
-
-
- italic
- normal
-
-
-
-
- {{ t('左对齐') }}
- {{ t('居中对齐') }}
- {{ t('右对齐') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ t('添加列') }}
-
-
-
-
-
-
-
-
-
- {{ t('顶部对齐') }}
- {{ t('居中对齐') }}
- {{ t('底部对齐') }}
-
-
-
-
-
- {{ t('左对齐') }}
- {{ t('右对齐') }}
- {{ t('居中') }}
- {{ t('两侧间隔相等') }}
- {{ t('两端对齐') }}
-
-
-
-
-
-
-
- {{ t('添加选项卡') }}
-
-
-
-
-
- line
- card
-
-
-
-
-
- {{ t('顶部') }}
- {{ t('右侧') }}
- {{ t('底部') }}
- {{ t('左侧') }}
-
-
-
-
-
-
{{ t('表头合并') }}
-
{{ t('添加') }}
-
-
-
-
-
-
+
+
+
+ {{ field.name }}
+
+
+ {{ getFieldType(field.type) }}
+
+
+
+
-
-
+
+
+
+
+ {{ field.name }}
+
+
+ {{ getFieldType(field.type) }}
+
+
+
+
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ rule.name }}
+
+
+
+
+
+
+
+
+ (data.options.computationalConfigValue = val)"
+ v-model:computationalDialog="computationalDialog"
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('当前用户') }}
+ {{ t('当前组织') }}
+ {{ t('当前时间') }}
+
+
+
+
+
+ {{ t('系统组织架构') }}
+
+
+
+
+
+ {{ t('系统用户') }}
+
+
+
+
+
+
+ 二次加载是决定编辑状态是否重新获取信息体数据
+
+
+ {{ t('二次加载') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('联想弹层按钮') }}
+ {{ t('表格选择数据按钮') }}
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ name
+ value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ it.label }}
+
+
+
+
+ {{ it.label }}
+
+
+
+
+ {{ t('固定二维码') }}
+ {{ t('接口配置') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('点击上传') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('左') }}
+ {{ t('中') }}
+ {{ t('右') }}
+
+
+
+
+
+
+ text
+ picture
+ picture-card
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('默认') }}
+ {{ t('按钮') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Arial
+ {{ t('宋体') }}
+ {{ t('微软雅黑') }}
+ {{ t('黑体') }}
+ fangsong
+
+
+
+
+
+
+
+ lighter
+ normal
+ bold
+ 500
+ 600
+ 700
+ 800
+
+
+
+
+ italic
+ normal
+
+
+
+
+ {{ t('左对齐') }}
+ {{ t('居中对齐') }}
+ {{ t('右对齐') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('添加列') }}
+
+
+
+
+
+
+
+
+
+ {{ t('顶部对齐') }}
+ {{ t('居中对齐') }}
+ {{ t('底部对齐') }}
+
+
+
+
+
+ {{ t('左对齐') }}
+ {{ t('右对齐') }}
+ {{ t('居中') }}
+ {{ t('两侧间隔相等') }}
+ {{ t('两端对齐') }}
+
+
+
+
+
+
+
+ {{ t('添加选项卡') }}
+
+
+
+
+
+ line
+ card
+
+
+
+
+
+ {{ t('顶部') }}
+ {{ t('右侧') }}
+ {{ t('底部') }}
+ {{ t('左侧') }}
+
+
+
+
+
+
{{ t('表头合并') }}
+
{{ t('添加') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/Form/src/componentMap.ts b/src/components/Form/src/componentMap.ts
index 11a968a..d3215eb 100644
--- a/src/components/Form/src/componentMap.ts
+++ b/src/components/Form/src/componentMap.ts
@@ -4,23 +4,13 @@ import type { ComponentType } from './types/index';
/**
* Component list, register here to setting it in the form
*/
-import {
- Input,
- InputNumber,
- Select,
- Radio,
- Checkbox,
- DatePicker,
- TreeSelect,
- Rate,
- Divider,
-} from 'ant-design-vue';
+import { Input, InputNumber, Select, Radio, Checkbox, DatePicker, TreeSelect, Rate, Divider } from 'ant-design-vue';
const DatasourceSelect = defineAsyncComponent({
- loader: () => import('/@/components/DataSourceSelect/src/DatasourceSelect.vue'),
+ loader: () => import('/@/components/DataSourceSelect/src/DatasourceSelect.vue')
});
const FormView = defineAsyncComponent({
- loader: () => import('./components/FormView.vue'),
+ loader: () => import('./components/FormView.vue')
});
import ApiRadioGroup from './components/ApiRadioGroup.vue';
@@ -74,7 +64,7 @@ import { XjrDatePicker } from '/@/components/DatePicker';
import { Slider } from '/@/components/Slider';
import { CodeTextArea } from '/@/components/Input';
import { OneForOne } from '/@/components/OneForOne';
-import SubForm from './components/SubForm.vue';
+import SubForm from './components/SubFormV2.vue';
import ErpApply from './components/ErpApply.vue';
import ErpUpload from './components/ErpUpload.vue';
import ErpCheck from './components/ErpCheck.vue';
@@ -154,11 +144,11 @@ componentMap.set('ErpCheck', ErpCheck);
componentMap.set('AutoComplete', AutoComplete);
export function add(compName: ComponentType, component: Component) {
- componentMap.set(compName, component);
+ componentMap.set(compName, component);
}
export function del(compName: ComponentType) {
- componentMap.delete(compName);
+ componentMap.delete(compName);
}
export { componentMap };
diff --git a/src/components/Form/src/components/SubFormV2.vue b/src/components/Form/src/components/SubFormV2.vue
new file mode 100644
index 0000000..ad3fe98
--- /dev/null
+++ b/src/components/Form/src/components/SubFormV2.vue
@@ -0,0 +1,584 @@
+
+
+
+
+
+
+
+ {{ t('合计:') }} {{ sum(data.map((x) => x[column.dataIndex as string])) }}
+
+
+
+
+
+
+ {{ index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/layouts/default/header/components/user-dropdown/DropDown.vue b/src/layouts/default/header/components/user-dropdown/DropDown.vue
new file mode 100644
index 0000000..817ac70
--- /dev/null
+++ b/src/layouts/default/header/components/user-dropdown/DropDown.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+ {{ getUserInfo.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue
index 715f90f..4ea952f 100644
--- a/src/layouts/default/header/index.vue
+++ b/src/layouts/default/header/index.vue
@@ -1,205 +1,173 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
diff --git a/src/layouts/default/setting/index.vue b/src/layouts/default/setting/index.vue
index 1a33387..402110e 100644
--- a/src/layouts/default/setting/index.vue
+++ b/src/layouts/default/setting/index.vue
@@ -1,26 +1,28 @@
-
-
-
-
+
+
+
diff --git a/src/views/secondDev/LoginForm.vue b/src/views/secondDev/LoginForm.vue
index e86c6d5..ff76ab2 100644
--- a/src/views/secondDev/LoginForm.vue
+++ b/src/views/secondDev/LoginForm.vue
@@ -38,7 +38,7 @@
-
@@ -195,7 +195,7 @@
}
.sub-button {
- height: 60px;
+ height: 48px;
font-size: 20px;
}