!2484 功能: 查找修改中板名、实体名、房名和柜名添加鼠标悬停显示文本

pull/2463/MERGE
张子涵 5 months ago committed by ChenX
parent 4edbada2e6
commit 01d7457f72

@ -60,14 +60,18 @@ export class BoardFindItem extends React.Component<IBoardProps, {}> {
option.compareType[k] = e.target.value; option.compareType[k] = e.target.value;
}} }}
/> />
<ToasterInput <Tooltip
inputClassName='toasterInput' content={option[k]}
type={CheckObjectType.BF} >
option={option} <ToasterInput
uiOption={uiOption} inputClassName='toasterInput'
optKey={k} type={CheckObjectType.BF}
onChange={e => option[k] = e.target.value} option={option}
/> uiOption={uiOption}
optKey={k}
onChange={e => option[k] = e.target.value}
/>
</Tooltip>
{ {
hasTolerance && hasTolerance &&
<input <input
@ -173,11 +177,21 @@ export class MatColorCom extends React.Component<IMatColorComProps>
}} }}
/> />
} }
<input <div>
tabIndex={1} <Tooltip
className={Classes.INPUT} content={option[EBoardKeyList.BrMat]}
value={option[EBoardKeyList.BrMat]} >
onChange={e => option[EBoardKeyList.BrMat] = e.target.value} /> <input
style={{
margin: "0 5px",
width: "75px",
}}
tabIndex={1}
className={Classes.INPUT}
value={option[EBoardKeyList.BrMat]}
onChange={e => option[EBoardKeyList.BrMat] = e.target.value} />
</Tooltip>
</div>
</div> </div>
<div> <div>
<Checkbox <Checkbox
@ -202,11 +216,21 @@ export class MatColorCom extends React.Component<IMatColorComProps>
}} }}
/> />
} }
<input <div>
tabIndex={1} <Tooltip
className={Classes.INPUT} content={option[EBoardKeyList.Mat]}
value={option[EBoardKeyList.Mat]} >
onChange={e => option[EBoardKeyList.Mat] = e.target.value} /> <input
style={{
margin: "0 5px",
width: "75px",
}}
tabIndex={1}
className={Classes.INPUT}
value={option[EBoardKeyList.Mat]}
onChange={e => option[EBoardKeyList.Mat] = e.target.value} />
</Tooltip>
</div>
</div> </div>
<div> <div>
<span></span> <span></span>
@ -221,11 +245,21 @@ export class MatColorCom extends React.Component<IMatColorComProps>
}} }}
/> />
} }
<input <div>
tabIndex={1} <Tooltip
className={Classes.INPUT} content={option[EBoardKeyList.Color]}
value={option[EBoardKeyList.Color]} >
onChange={e => option[EBoardKeyList.Color] = e.target.value} /> <input
style={{
margin: "0 5px",
width: "75px",
}}
tabIndex={1}
className={Classes.INPUT}
value={option[EBoardKeyList.Color]}
onChange={e => option[EBoardKeyList.Color] = e.target.value} />
</Tooltip>
</div>
</div> </div>
</div> </div>
<div className="flex"> <div className="flex">

@ -434,16 +434,24 @@ export default class BoardFindModifyModal extends React.Component<{ store?: Boar
option.compareType.brName = e.target.value as ECompareType; option.compareType.brName = e.target.value as ECompareType;
}} }}
/> />
<input <Tooltip
tabIndex={1} content={option.brName}
className={Classes.INPUT} >
value={option.brName} <input
onChange={e => style={{
{ margin: "0 5px",
option.brName = e.target.value; width: "75px",
this.setState({ userInputName: e.target.value }); }}
}} tabIndex={1}
/> className={Classes.INPUT}
value={option.brName}
onChange={e =>
{
option.brName = e.target.value;
this.setState({ userInputName: e.target.value });
}}
/>
</Tooltip>
<div className="select-name"> <div className="select-name">
<Button text="拾取" onClick={() => this.getBoardOption("brName", "选择板件获取板名")} /> <Button text="拾取" onClick={() => this.getBoardOption("brName", "选择板件获取板名")} />
<Popover <Popover
@ -522,16 +530,24 @@ export default class BoardFindModifyModal extends React.Component<{ store?: Boar
option.compareType.hardwareName = e.target.value as ECompareType; option.compareType.hardwareName = e.target.value as ECompareType;
}} }}
/> />
<input <Tooltip
tabIndex={1} content={option.hardwareName}
className={Classes.INPUT} >
value={option.hardwareName} <input
onChange={e => style={{
{ margin: "0 5px",
option.hardwareName = e.target.value; width: "75px",
this.setState({ hardwareInput: e.target.value }); }}
}} tabIndex={1}
/> className={Classes.INPUT}
value={option.hardwareName}
onChange={e =>
{
option.hardwareName = e.target.value;
this.setState({ hardwareInput: e.target.value });
}}
/>
</Tooltip>
<div className="select-name"> <div className="select-name">
<Button text="拾取" onClick={() => this.getHardWareOption("hardwareName", "选择五金获取实体名")} /> <Button text="拾取" onClick={() => this.getHardWareOption("hardwareName", "选择五金获取实体名")} />
<Popover <Popover

Loading…
Cancel
Save