Merge branch 'lichang' into lite
This commit is contained in:
@@ -240,13 +240,8 @@ function fnModalVisibleByEdit(licenseId: number) {
|
|||||||
* 进行表达规则校验
|
* 进行表达规则校验
|
||||||
*/
|
*/
|
||||||
function fnModalOk(e: any) {
|
function fnModalOk(e: any) {
|
||||||
// 获取列表数据
|
const next = () => {
|
||||||
fnGetList();
|
// 刷新授权状态
|
||||||
// 获取当前行数据
|
|
||||||
const item = tableState.data.find(
|
|
||||||
(item: any) => e.neType === item.neType && e.neId === item.neId
|
|
||||||
);
|
|
||||||
if (item) {
|
|
||||||
stateNeLicense(e.neType, e.neId).then(res => {
|
stateNeLicense(e.neType, e.neId).then(res => {
|
||||||
const row = tableState.data.find(
|
const row = tableState.data.find(
|
||||||
(item: any) => e.neType === item.neType && e.neId === item.neId
|
(item: any) => e.neType === item.neType && e.neId === item.neId
|
||||||
@@ -259,7 +254,10 @@ function fnModalOk(e: any) {
|
|||||||
row.status = '0';
|
row.status = '0';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
// 获取列表数据
|
||||||
|
fnGetList();
|
||||||
|
};
|
||||||
|
setTimeout(() => next(), 2_000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user