Commit 557da31f authored by TZW's avatar TZW

bug

parent d8a8d59b
......@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-01-31 14:49:20
* @Last Modified time: 2023-01-31 15:25:02
*/
import * as React from 'react';
......@@ -546,9 +546,10 @@ function Model(props) {
<a
onClick={async () => {
let res = await doFetch({
url: '/asset/equipmentLog/checkResumeType',
params: {},
url: '/asset/equipmentLog/getAllResumeType',
params: { equipmentId: row?.id },
});
console.log(res);
setDrawer((s) => ({
...s,
visible: true,
......@@ -571,14 +572,14 @@ function Model(props) {
),
key: '1',
},
{
label: <a>关联备件(暂缓)</a>,
key: '2',
},
{
label: <a>寿命件台账(暂缓)</a>,
key: '3',
},
// {
// label: <a>关联备件(暂缓)</a>,
// key: '2',
// },
// {
// label: <a>寿命件台账(暂缓)</a>,
// key: '3',
// },
]}
/>
);
......
......@@ -3,7 +3,7 @@
* @Author: Li Hanlin
* @Date: 2022-12-02 11:41:03
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-01-31 15:01:41
* @Last Modified time: 2023-01-31 15:14:34
*/
import * as React from 'react';
......@@ -606,7 +606,11 @@ function Failure(props) {
}
const menu = <Menu items={menulist} />;
return (
return row?.status == '5' ? (
<Button size="small" disabled>
更多
</Button>
) : (
<Dropdown
overlay={menu}
trigger={['click']}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment