update 优化 升级框架依赖

This commit is contained in:
疯狂的狮子Li
2026-05-20 14:29:08 +08:00
parent a9b2d7745d
commit 04ed7bf7a7
19 changed files with 64 additions and 59 deletions

View File

@@ -230,8 +230,8 @@ const handleAdd = () => {
/** 修改按钮操作 */
const handleUpdate = async (row?: DemoVO) => {
reset();
const _id = row?.id || ids.value[0];
const res = await getDemo(_id);
const demoId = row?.id || ids.value[0];
const res = await getDemo(demoId);
Object.assign(form.value, res.data);
showDialog('修改测试单');
};
@@ -255,9 +255,9 @@ const submitForm = () => {
/** 删除按钮操作 */
const handleDelete = async (row?: DemoVO) => {
const _ids = row?.id || ids.value;
await modal.confirm('是否确认删除测试单编号为"' + _ids + '"的数据项?');
await delDemo(_ids);
const demoIds = row?.id || ids.value;
await modal.confirm('是否确认删除测试单编号为"' + demoIds + '"的数据项?');
await delDemo(demoIds);
modal.msgSuccess('删除成功');
await getList();
};

View File

@@ -362,7 +362,7 @@ const goTarget = (url: string) => {
}
}
:global(html.dark) {
html.dark {
.hero-panel {
background: radial-gradient(circle at top left, rgba(53, 109, 255, 0.18), transparent 30%), var(--app-surface-bg);
}

View File

@@ -401,8 +401,8 @@ const handleAdd = () => {
/** 修改按钮操作 */
const handleUpdate = async (row?: ClientVO) => {
resetForm();
const _id = row?.id || ids.value[0];
const res = await getClient(_id);
const clientId = row?.id || ids.value[0];
const res = await getClient(clientId);
Object.assign(form.value, res.data);
showDialog('修改客户端管理');
};
@@ -427,9 +427,9 @@ const submitForm = () => {
/** 删除按钮操作 */
const handleDelete = async (row?: ClientVO) => {
const _ids = row?.id || ids.value;
await modal.confirm('是否确认删除客户端管理编号为"' + _ids + '"的数据项?');
await delClient(_ids);
const clientIds = row?.id || ids.value;
await modal.confirm('是否确认删除客户端管理编号为"' + clientIds + '"的数据项?');
await delClient(clientIds);
modal.msgSuccess('删除成功');
await getList();
};

View File

@@ -188,7 +188,7 @@ td > img {
word-break: break-word;
}
:global(html.dark) {
html.dark {
.user-bind .third-app {
background: rgba(15, 23, 42, 0.64);
}

View File

@@ -268,9 +268,9 @@ const handleView = (row?: LeaveVO) => {
/** 删除按钮操作 */
const handleDelete = async (row?: LeaveVO) => {
const _ids = row?.id || ids.value;
await modal.confirm('是否确认删除请假编号为"' + _ids + '"的数据项?');
await delLeave(_ids);
const leaveIds = row?.id || ids.value;
await modal.confirm('是否确认删除请假编号为"' + leaveIds + '"的数据项?');
await delLeave(leaveIds);
modal.msgSuccess('删除成功');
await getList();
};

View File

@@ -188,7 +188,7 @@
</el-form-item>
<el-form-item label="状态" prop="status">
<el-radio-group v-model="form.status">
<el-radio v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.value">
<el-radio v-for="dict in sys_normal_disable" :key="dict.value" :value="dict.value">
{{ dict.label }}
</el-radio>
</el-radio-group>
@@ -300,8 +300,8 @@ const handleAdd = () => {
/** 修改按钮操作 */
const handleUpdate = async (row?: SpelVO) => {
resetForm();
const _id = row?.id || ids.value[0];
const res = await getSpel(_id);
const spelId = row?.id || ids.value[0];
const res = await getSpel(spelId);
Object.assign(form.value, res.data);
showDialog('修改流程spel表达式定义');
};
@@ -326,9 +326,9 @@ const submitForm = () => {
/** 删除按钮操作 */
const handleDelete = async (row?: SpelVO) => {
const _ids = row?.id || ids.value;
await modal.confirm('是否确认删除流程spel表达式定义编号为"' + _ids + '"的数据项?');
await delSpel(_ids);
const spelIds = row?.id || ids.value;
await modal.confirm('是否确认删除流程spel表达式定义编号为"' + spelIds + '"的数据项?');
await delSpel(spelIds);
modal.msgSuccess('删除成功');
await getList();
};

View File

@@ -361,7 +361,7 @@ onMounted(() => {
--el-button-hover-border-color: var(--el-color-warning-light-5);
}
:global(html.dark) {
html.dark {
.todo-action-btn {
--el-button-bg-color: rgba(148, 163, 184, 0.12);
--el-button-border-color: rgba(148, 163, 184, 0.3);