Alex Cheung 1 год назад
Родитель
Сommit
ab6f683834
3 измененных файлов: 26 добавлений и 5 удалений
  1. +3
    -1
      src/assets/style/styles.css
  2. +20
    -2
      src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js
  3. +3
    -2
      src/utils/FieldUtils.js

+ 3
- 1
src/assets/style/styles.css Просмотреть файл

@@ -46,4 +46,6 @@ img
.huerotate {-webkit-filter: hue-rotate(180deg);}
.rss.opacity {-webkit-filter: opacity(50%);}

img:hover{-webkit-filter:none;}
img:hover{-webkit-filter:none;}

/* iframe#webpack-dev-server-client-overlay{display:none!important} */

+ 20
- 2
src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js Просмотреть файл

@@ -209,7 +209,6 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => {
</Grid>
</Grid>
</Grid>

<Grid item xs={12} md={12} lg={12}>
<Grid container direction="row" justifyContent="flex-start" alignItems="center">
<Grid item xs={12} md={3} lg={3}
@@ -231,7 +230,7 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => {
/>
{attachment.name}
</Grid>
<Grid item xs={12} md={3} lg={3}>
{/* <Grid item xs={12} md={3} lg={3}>
<label htmlFor="uploadFileBtn">
<Button
aria-label={intl.formatMessage({id: 'uploadFileBtn'})}
@@ -240,6 +239,25 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => {
size="large"
>{attachment ? intl.formatMessage({id: 'uploadFileBtn'}) : intl.formatMessage({id: 'reUpload'})}</Button>
</label>
</Grid> */}
</Grid>
</Grid>
<Grid item xs={12} md={12} lg={12}>
<Grid container direction="row" justifyContent="flex-start" alignItems="center">
<Grid item xs={12} md={3} lg={3}
sx={{ display: 'flex', alignItems: 'center' }}>
</Grid>
<Grid item xs={12} md={6} lg={6} >
<label htmlFor="uploadFileBtn">
<Button
aria-label={intl.formatMessage({id: 'uploadFileBtn'})}
component="span"
variant="outlined"
size="large"
>{attachment ? intl.formatMessage({id: 'uploadFileBtn'}) : intl.formatMessage({id: 'reUpload'})}</Button>
</label>
</Grid>
<Grid item xs={12} md={3} lg={3}>
</Grid>
</Grid>
</Grid>


+ 3
- 2
src/utils/FieldUtils.js Просмотреть файл

@@ -55,12 +55,13 @@ export const getTextArea = ({ label, valueName, form, disabled, inputProps, ...p
valueName: valueName,
form: form,
disabled: disabled,
multiline: true,
row: 10,
minRows: 4,
maxRows: 4,
inputProps: inputProps,
InputProps: {
row: 10,
multiline: true,
inputComponent: 'textarea',
style: { minHeight:'42.5px', maxHeight: '50vh',height: 'auto' },
},
props


Загрузка…
Отмена
Сохранить