1.0.1 修复软件控制权限
This commit is contained in:
@@ -227,6 +227,7 @@ const SoftwareControlManagement: FC<SoftwareControlManagementProps> = () => {
|
||||
|
||||
async function QueryUserSoftwareControlCollection(tableParams: TableModel.TableParams, options?: SoftwareModel.SoftwareControlQueryParams) {
|
||||
try {
|
||||
debugger
|
||||
setLoading(true);
|
||||
let res = await SoftwareControl.GetUserSoftwareControlCollection(tableParams, options ?? {});
|
||||
setData(res.collection);
|
||||
@@ -275,7 +276,7 @@ const SoftwareControlManagement: FC<SoftwareControlManagementProps> = () => {
|
||||
|
||||
|
||||
async function QuerySoftwareControlByCondition(values: any) {
|
||||
await QueryUserSoftwareControlCollection(values);
|
||||
await QueryUserSoftwareControlCollection(tableParams, values);
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -291,7 +292,7 @@ const SoftwareControlManagement: FC<SoftwareControlManagementProps> = () => {
|
||||
<Form.Item label="软件" name='softwareId' style={{ marginBottom: 5 }}>
|
||||
<Select placeholder="请选择用户名称" style={{ width: 200 }} options={softwareOptions} />
|
||||
</Form.Item>
|
||||
<Form.Item label="是否永久" name='IsForever' style={{ marginBottom: 5 }}>
|
||||
<Form.Item label="是否永久" name='isForever' style={{ marginBottom: 5 }}>
|
||||
<Select placeholder="请选择是否永久" style={{ width: 200 }} options={[{ label: "是", value: true }, { label: "否", value: false }]} />
|
||||
</Form.Item>
|
||||
<Form.Item label="备注" name='remark' style={{ marginBottom: 5 }}>
|
||||
|
||||
Reference in New Issue
Block a user