Commit 43d96f78f19009ba660945d47dd7a1225e1bf84a

Authored by 邱嘉伟
1 parent bcaa9a07

pref:样式修改

@@ -173,8 +173,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { @@ -173,8 +173,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
173 { 173 {
174 title: ( 174 title: (
175 <div style={{ display: 'flex', flexDirection: 'row' }}> 175 <div style={{ display: 'flex', flexDirection: 'row' }}>
176 - <span style={{ color: 'red' }}>*</span>  
177 <span>参数编码</span> 176 <span>参数编码</span>
  177 + <span style={{ color: 'red' }}>*</span>
178 </div> 178 </div>
179 ), 179 ),
180 dataIndex: 'code', 180 dataIndex: 'code',
@@ -196,8 +196,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { @@ -196,8 +196,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
196 { 196 {
197 title: ( 197 title: (
198 <div style={{ display: 'flex', flexDirection: 'row' }}> 198 <div style={{ display: 'flex', flexDirection: 'row' }}>
199 - <span style={{ color: 'red' }}>*</span>  
200 <span>参数名</span> 199 <span>参数名</span>
  200 + <span style={{ color: 'red' }}>*</span>
201 </div> 201 </div>
202 ), 202 ),
203 dataIndex: 'title', 203 dataIndex: 'title',
@@ -219,8 +219,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { @@ -219,8 +219,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
219 { 219 {
220 title: ( 220 title: (
221 <div style={{ display: 'flex', flexDirection: 'row' }}> 221 <div style={{ display: 'flex', flexDirection: 'row' }}>
222 - <span style={{ color: 'red' }}>*</span>  
223 <span>参数类型</span> 222 <span>参数类型</span>
  223 + <span style={{ color: 'red' }}>*</span>
224 </div> 224 </div>
225 ), 225 ),
226 dataIndex: 'type', 226 dataIndex: 'type',
@@ -253,6 +253,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { @@ -253,6 +253,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
253 render: (text, record) => 253 render: (text, record) =>
254 <div className="editable-cell "> 254 <div className="editable-cell ">
255 <QxFieldSetter 255 <QxFieldSetter
  256 + disabled={record.disabled}
256 value={record.valuesObj || []} 257 value={record.valuesObj || []}
257 params={{ appCode: 'appCode', useId: true }} 258 params={{ appCode: 'appCode', useId: true }}
258 valueOptions={getValueOptions(record)} 259 valueOptions={getValueOptions(record)}
@@ -266,6 +267,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { @@ -266,6 +267,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
266 showFieldOpt={!(nodeType === 'START')} 267 showFieldOpt={!(nodeType === 'START')}
267 // onChange={debounce((val) => handleField(val), 700)} 268 // onChange={debounce((val) => handleField(val), 700)}
268 onChange={(val) => handleChangeField(val, record)} 269 onChange={(val) => handleChangeField(val, record)}
  270 + popupOnBody={true}
  271 + inputDis={true}
269 /> 272 />
270 </div> 273 </div>
271 }, 274 },
@@ -775,7 +778,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { @@ -775,7 +778,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => {
775 > 778 >
776 <Input 779 <Input
777 className={'qx-parameter-setting--search'} 780 className={'qx-parameter-setting--search'}
778 - placeholder="按名称搜索" 781 + placeholder="参数编码/参数名搜索"
779 prefix={<QxBaseIcon type={'icon-app-search-line'} />} 782 prefix={<QxBaseIcon type={'icon-app-search-line'} />}
780 onChange={onChange} 783 onChange={onChange}
781 style={{ width: 219 }} 784 style={{ width: 219 }}