refactor: 支持改变字典颜色

This commit is contained in:
caiyuchao
2025-08-01 18:15:43 +08:00
parent 4c32fa05ee
commit 2c0601a46b
8 changed files with 128 additions and 24 deletions

View File

@@ -25,6 +25,7 @@ export namespace LicenseApi {
remark: string; // 备注
action: number; // 操作
neCodeList: NeCode[]; // 操作
oldLicense: License;
}
export interface NeCode {
id: number; // 主键
@@ -56,6 +57,11 @@ export function updateLicense(data: LicenseApi.License) {
return requestClient.put('/license/license/update', data);
}
/** 重新License */
export function reapplyLicense(data: LicenseApi.License) {
return requestClient.put('/license/license/reapply', data);
}
/** 申请License */
export function applyLicense(data: LicenseApi.License) {
return requestClient.put('/license/license/apply', data);