feat: 状态展示统一为圆点

- 新增状态圆点组件,用户管理、角色与字典的状态改用圆点
- 用户管理操作列放宽到 200,登录页移动端版本号紧随项目名
- 应用中心分组按内容高度排列
- 函数注释统一为展开式多行
- 格式校验脚本忽略不存在的目录
This commit is contained in:
Ray.Hao committed 2026-10-29 08:13:50 +08:00
1 parent 53a97cac21
commit f443eb6bbe
13 files changed
+133 -39

No files matched your search

+24 -8
View File
@@ -721,11 +721,17 @@ const xModalEvent: VxeModalListeners = {
const crudStore = {
/** 表单类型,true 表示修改,false 表示新增 */
isUpdate: true,
/** 加载表格数据 */
/**
* 加载表格数据
*/
commitQuery: () => xGridDom.value?.commitProxy("query"),
/** 清空表格数据 */
/**
* 清空表格数据
*/
clearTable: () => xGridDom.value?.reloadData([]),
/** 新增后是否跳入最后一页 */
/**
* 新增后是否跳入最后一页
*/
afterInsert: () => {
const pager = xGridDom.value?.getProxyInfo()?.pager;
if (pager) {
@@ -735,7 +741,9 @@ const crudStore = {
}
}
},
/** 删除后是否返回上一页 */
/**
* 删除后是否返回上一页
*/
afterDelete: () => {
const tableData: RowMeta[] = xGridDom.value!.getData();
const pager = xGridDom.value?.getProxyInfo()?.pager;
@@ -743,7 +751,9 @@ const crudStore = {
--pager.currentPage;
}
},
/** 点击显示弹窗 */
/**
* 点击显示弹窗
*/
onShowModal: (row?: RowMeta) => {
if (row) {
crudStore.isUpdate = true;
@@ -755,7 +765,9 @@ const crudStore = {
}
xModalDom.value?.open();
},
/** 确定并保存 */
/**
* 确定并保存
*/
onSubmitForm: () => {
if (xModalOpt.loading) return;
// 表单校验
@@ -775,7 +787,9 @@ const crudStore = {
callback();
});
},
/** 删除 */
/**
* 删除
*/
onDelete: (row?: RowMeta) => {
let ids = [];
if (row === undefined) {
@@ -808,7 +822,9 @@ const crudStore = {
onModify: (id: number, field: string, value: any) => {
console.debug("🚀 ~ onModify", { id, field, value });
},
/** 更多自定义方法 */
/**
* 更多自定义方法
*/
moreFn: () => {},
};
</script>