Parcourir la source

增加是否用印字段

Renxy il y a 2 ans
Parent
commit
4f4509a613
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      src/components/Flow/node/rect/mapServe.tsx

+ 13 - 0
src/components/Flow/node/rect/mapServe.tsx

@@ -39,11 +39,13 @@ export interface IConfig {
   data?: any;
   excel_info?: ExcelInfo;
   role_list?: string;
+  is_seal?: string | number;
 }
 
 const defaultConfig: IConfig = {
   muti_version: 1,
   is_start_node: 0,
+  is_seal: 0,
   excel_info: { file_name: '' },
 };
 
@@ -209,6 +211,17 @@ const Component = (props: any) => {
             { label: '否', value: 0 },
           ]}
         />
+        <RadioField
+          label="是否用印"
+          value={nodeConfig.is_seal}
+          onChange={value => {
+            onNodeConfigChange('is_seal', value);
+          }}
+          options={[
+            { label: '是', value: 1 },
+            { label: '否', value: 0 },
+          ]}
+        />
         {nodeConfig.is_start_node == 1 && (
           <>
             <InputFiled