Commit 7906ce25 authored by 涂伟's avatar 涂伟

fix: '流程审查功能样式优化'

parent 55ed17cd
Pipeline #69151 waiting for manual action with stages
......@@ -74,7 +74,7 @@ const ProcessConfig = props => {
<Input disabled />
</Form.Item>
<Form.Item label="流程结束" name="flowEndBehavior">
<Radio.Group disabled={allDisabled}>
<Radio.Group>
<Radio value={0}>不做任何事情</Radio>
<Radio value={1}>直接关闭事件</Radio>
<Radio value={2}>事件转为待审核</Radio>
......@@ -87,7 +87,7 @@ const ProcessConfig = props => {
initialValue="多表显示"
rules={[{ required: true, message: '请选择办理样式' }]}
>
<Select placeholder="请选择办理样式" disabled={allDisabled}>
<Select placeholder="请选择办理样式">
<Option value="多表在办显示">多表在办显示</Option>
<Option value="多表显示">多表显示</Option>
<Option value="表堆叠显示">表堆叠显示</Option>
......@@ -95,13 +95,13 @@ const ProcessConfig = props => {
</Select>
</Form.Item>
<Form.Item label="编码样式" name="useFixedCodingRule">
<Radio.Group disabled={allDisabled}>
<Radio.Group>
<Radio value={false}>{form.getFieldValue('codingDefaultText')}</Radio>
<Radio value>{form.getFieldValue('coding12Text')}</Radio>
</Radio.Group>
</Form.Item>
<Form.Item label="接口配置" name="interfaceConfig">
<TextArea placeholder="请填写接口配置" disabled={allDisabled} />
<TextArea placeholder="请填写接口配置" />
</Form.Item>
</Form>
</Modal>
......
......@@ -193,7 +193,7 @@ const AddModal = props => {
<Input disabled />
</Form.Item>
<Form.Item label="规则名称" name="Name" rules={[{ required: true }]}>
<Input disabled={allDisabled} placeholder="请输入规则名称" />
<Input placeholder="请输入规则名称" />
</Form.Item>
<Form.Item label="起止节点" style={{ marginBottom: 0, message: '请选择节点' }} required>
<div style={{ display: 'flex' }}>
......@@ -202,7 +202,7 @@ const AddModal = props => {
style={{ width: '100%' }}
rules={[{ required: true, message: '请选择节点' }]}
>
<Select disabled={allDisabled}>
<Select>
{flowNodes.map((item, index) => (
<Option
value={item.Name}
......@@ -220,7 +220,7 @@ const AddModal = props => {
style={{ width: '100%' }}
rules={[{ required: true, message: '请选择节点' }]}
>
<Select disabled={allDisabled}>
<Select>
{flowNodes.map((item, index) => (
<Option
value={item.Name}
......@@ -250,14 +250,14 @@ const AddModal = props => {
},
]}
>
<Input disabled={allDisabled} placeholder="请输入默认时限" />
<Input placeholder="请输入默认时限" />
</Form.Item>
<Form.Item
name="TimeUnit"
style={{ width: '100%' }}
rules={[{ required: true, message: '请选择时限单位' }]}
>
<Select disabled={allDisabled}>
<Select>
<Option value="小时">小时</Option>
<Option value="自然日">自然日</Option>
<Option value="工作日">工作日</Option>
......@@ -270,7 +270,7 @@ const AddModal = props => {
name="TimeLimitField"
rules={[{ required: true, message: '请选择时限指派字段' }]}
>
<Select disabled={allDisabled}>
<Select>
{timeLimitFlowNodes.map(item => (
<Option value={item.Name} key={item.ID}>
<span>{item.Name}</span>
......@@ -287,7 +287,7 @@ const AddModal = props => {
name="TimeoutField"
rules={[{ required: true, message: '请选择超时记录字段' }]}
>
<Select disabled={allDisabled}>
<Select>
{timeLimitFlowNodesEnd.map(item => (
<Option value={item.Name} key={item.ID}>
<span>{item.Name}</span>
......
......@@ -445,11 +445,11 @@ const NodeEdit = props => {
name="NodeAliasName"
rules={[{ required: true, message: '请填写节点别名' }]}
>
<Input disabled={allDisabled} placeholder="请输入节点别名" />
<Input placeholder="请输入节点别名" />
</Form.Item>
<Form.Item label="节点类型">
<Form.Item name="NodeType" style={{ marginBottom: '10px' }}>
<Select disabled={allDisabled} placeholder="请选择节点类型" style={{ width: '334px' }}>
<Select placeholder="请选择节点类型" style={{ width: '334px' }}>
<Option value="办理">办理</Option>
<Option value="上报">上报</Option>
<Option value="分派">分派</Option>
......@@ -463,7 +463,7 @@ const NodeEdit = props => {
<Row span={24}>
<Col span={9}>
<Form.Item name="Rollbackable" valuePropName="checked" style={{ marginBottom: 0 }}>
<Checkbox disabled={allDisabled}>允许回退至</Checkbox>
<Checkbox>允许回退至</Checkbox>
</Form.Item>
</Col>
<Col span={9}>
......@@ -489,7 +489,6 @@ const NodeEdit = props => {
onChange={changTable}
showSearch
style={{ width: '100%' }}
disabled={allDisabled}
>
{eventTable.map(item => (
<Option value={item.Name} key={item.ID}>
......@@ -499,7 +498,7 @@ const NodeEdit = props => {
</Select>
</Form.Item>
<Form.Item label="移交方式" name="Handover">
<Radio.Group disabled={allDisabled}>
<Radio.Group>
<Radio value="移交选择人">移交选择人</Radio>
<Radio value="自处理">自处理</Radio>
<Radio value="移交默认人">移交默认人</Radio>
......@@ -558,7 +557,6 @@ const NodeEdit = props => {
unCheckedChildren="否"
checked={visibleChecked5}
onChange={change5}
disabled={allDisabled}
/>
</Form.Item>
<Form.Item
......@@ -619,7 +617,6 @@ const NodeEdit = props => {
unCheckedChildren="否"
checked={visibleChecked1}
onChange={change1}
disabled={allDisabled}
/>
{/* <Radio.Group>
<Radio value="0">否</Radio>
......@@ -632,7 +629,6 @@ const NodeEdit = props => {
unCheckedChildren="否"
checked={visibleChecked2}
onChange={change2}
disabled={allDisabled}
/>
{/* <Radio.Group>
<Radio value={0}>否</Radio>
......@@ -656,7 +652,7 @@ const NodeEdit = props => {
>
<div className={styles.filedListItem}>
<Form.Item name="Fields" style={{ marginBottom: 0, width: '100%' }}>
<Input disabled={allDisabled} placeholder="请选编辑字段" allowClear />
<Input placeholder="请选编辑字段" allowClear />
</Form.Item>
{allDisabled ? null : (
<Button
......
......@@ -120,7 +120,7 @@ const ProcessConfig = props => {
<Input disabled />
</Form.Item>
<Form.Item label="前端标签" name="WebLabel">
<Input disabled={allDisabled} placeholder="请输入前端标签" />
<Input placeholder="请输入前端标签" />
</Form.Item>
<Form.Item label="前端视图" name="WebPage">
<Select
......@@ -131,7 +131,6 @@ const ProcessConfig = props => {
optionLabelProp="label"
value={selectValue}
style={{ marginLeft: '-3px' }}
disabled={allDisabled}
>
<Option value="FeedbackAccount" label="FeedbackAccount">
<div style={{ marginRight: '6px' }}>
......@@ -158,11 +157,7 @@ const ProcessConfig = props => {
{selectValue === 'FeedbackAccount' && (
<div style={{ display: 'flex' }}>
<Form.Item name="WebParam" style={{ marginBottom: 0, width: '100%' }}>
<Input
disabled={allDisabled}
placeholder="请输入视图参数"
style={{ width: '100%' }}
/>
<Input placeholder="请输入视图参数" style={{ width: '100%' }} />
</Form.Item>
{allDisabled ? null : <Button onClick={addParama}>参数管理</Button>}
</div>
......@@ -174,32 +169,31 @@ const ProcessConfig = props => {
onSearch={changeParam}
showSearch
style={{ marginLeft: '-3px' }}
disabled={allDisabled}
>
{paramValue
? paramValue.map((item, index) => (
<Option key={index} value={item}>
{item}
</Option>
))
<Option key={index} value={item}>
{item}
</Option>
))
: ''}
</Select>
</Form.Item>
)}
{selectValue !== 'FeedbackAccount' && selectValue !== 'GisGatherProjectView' && (
<Form.Item name="WebParam" style={{ marginBottom: 0, width: '100%' }}>
<Input disabled={allDisabled} placeholder="请输入视图参数" />
<Input placeholder="请输入视图参数" />
</Form.Item>
)}
</Form.Item>
<Form.Item label="手持标签" name="MobileLabel">
<Input disabled={allDisabled} placeholder="请输入手持标签" />
<Input placeholder="请输入手持标签" />
</Form.Item>
<Form.Item label="手持视图" name="MobilePage">
<Input disabled={allDisabled} placeholder="请输入手持视图" />
<Input placeholder="请输入手持视图" />
</Form.Item>
<Form.Item label="手持参数" name="MobileParam">
<Input disabled={allDisabled} placeholder="请输入手持参数" />
<Input placeholder="请输入手持参数" />
</Form.Item>
</Form>
<ParmarModal
......
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