|
@@ -5,11 +5,11 @@ import { CloseOutlined, RightOutlined } from '@ant-design/icons'
|
|
|
export const InputNode = () => {
|
|
|
return (
|
|
|
<>
|
|
|
- <div className="shadow-card min-h-18 w-52 cursor-default">
|
|
|
- <div className="bg-hex-15388B text-light-500 leading-6 h-6 px-4 text-12px rounded-t-sm">
|
|
|
- 发起人
|
|
|
+ <div className="shadow-card cursor-default p-1 bg-hex-bfbfbf rounded-lg">
|
|
|
+ <div className=" text-light-500 leading-7 h-7 text-12px ml-1">发起人</div>
|
|
|
+ <div className="text-14px px-4px py-5px leading-22px text-black text-opacity-85 bg-white rounded-4px h-32px">
|
|
|
+ 具有新建权限的员工
|
|
|
</div>
|
|
|
- <div className="text-14px p-4 bg-white rounded-b-sm">具有新建权限的员工</div>
|
|
|
</div>
|
|
|
<Handle type="source" position="bottom" />
|
|
|
</>
|
|
@@ -44,7 +44,7 @@ export const CommonNode = props => {
|
|
|
return (
|
|
|
<>
|
|
|
<Handle type="target" position="top" />
|
|
|
- <div className="min-h-18 w-52 node_content">
|
|
|
+ {/* <div className="min-h-18 w-52 node_content">
|
|
|
<div className="bg-hex-f78b22 text-light-500 leading-6 h-6 px-4 text-12px rounded-t-sm flex justify-between items-center">
|
|
|
<span>审批人</span>
|
|
|
<span className="remove_node" onClick={removeNode}>
|
|
@@ -59,6 +59,22 @@ export const CommonNode = props => {
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </div> */}
|
|
|
+ <div className="shadow-card cursor-default p-1 bg-hex-1890ff rounded-lg node_content">
|
|
|
+ <div className="relative text-light-500 leading-7 h-7 text-12px ml-1 flex justify-between items-center">
|
|
|
+ <div>审批人</div>
|
|
|
+ <div
|
|
|
+ className="remove_node w-24px h-24px bg-hex-ff4d4f align-middle"
|
|
|
+ onClick={removeNode}>
|
|
|
+ <CloseOutlined size={12} />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div className="text-14px px-4px py-5px leading-22px text-black text-opacity-85 bg-white rounded-4px h-32px flex justify-between cursor-pointer">
|
|
|
+ <div>请选择选批人</div>
|
|
|
+ <div>
|
|
|
+ <RightOutlined />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<Handle type="source" position="bottom" />
|
|
|
</>
|