feat(app): 应用表单加性质 Switch+技术标识,列表加性质列且基石行模块/推送/删除置灰(消息卡片方案 B1)

This commit is contained in:
chenxing
2026-09-28 12:44:45 +08:00
parent 0080861482
commit 6a2c82c0ef
5 changed files with 58 additions and 6 deletions
+3 -1
View File
@@ -22,7 +22,7 @@ let onSuccessCallback: (() => void) | null = null;
// useForm 托管提交
const { form, loading: submitting, send: sendForm, onSuccess, onError } = useForm(
(dto) => Apis.AppSettings.addApp({ data: dto }),
{ initialForm: { name: '', categoryId: undefined, desc: '', clients: [], pcUrl: '', pcIcon: '', appUrl: '', appIcon: '', officialAccountUrl: '', dingtalkUrl: '' }, resetAfterSubmiting: true }
{ initialForm: { name: '', categoryId: undefined, desc: '', appCode: '', appNature: 'BUSINESS', clients: [], pcUrl: '', pcIcon: '', appUrl: '', appIcon: '', officialAccountUrl: '', dingtalkUrl: '' }, resetAfterSubmiting: true }
);
onSuccess(() => {
@@ -50,6 +50,8 @@ async function handleSubmit(formData: Record<string, any>) {
name: formData.name,
categoryId: formData.categoryId,
desc: formData.desc,
appCode: formData.appCode,
appNature: formData.appNature,
clients: formData.clients,
pcUrl: formData.pcUrl,
pcIcon: formData.pcIcon,