Commit a1ece2e4 authored by yzl's avatar yzl

修改UI

parent 82302030
......@@ -291,6 +291,8 @@
window.location.href = './?site_code=' + code;
}, 3000)
localStorage.setItem('feedBack', '');
} else {
notification.success({
message: '问题反馈失败',
......@@ -312,24 +314,28 @@
<Row>
<Col span={10}>
<Form autoComplete="off" form={form} {...formItemLayout} >
<Form.Item label="项目名称" name="项目名称" required initialValue={localStorage.getItem('feedBack')}>
<Input style={{width: 300,marginLeft: 20}} placeholder="请输入项目名称" disabled={!!localStorage.getItem('feedBack')} />
</Form.Item>
<Form.Item label="问题类型" name="问题类型" initialValue={'平台'} labelAlign="right" required>
<Select style={{width: 300}}>
<Select style={{width: 300,marginLeft: 20}}>
<Select.Option value="平台">平台</Select.Option>
<Select.Option value="手持端">手持端</Select.Option>
</Select>
</Form.Item>
<Form.Item label="发生时间" name="发生时间" required>
<div id="datetime" style={{width: 300}} className='ant-input' />
<div id="datetime" style={{width: 300,marginLeft: 20}} className='ant-input' />
</Form.Item>
<Form.Item label="问题描述" required name="问题描述">
<TextArea rows={4} placeholder="请描述遇到的问题~" style={{width: 780, resize: "none"}}
<TextArea rows={4} placeholder="请描述遇到的问题~" style={{width: 780, resize: "none",marginLeft: 20}}
showCount maxLength={200}
autoSize={{minRows: 3, maxRows: 5}}
/>
</Form.Item>
<Form.Item label="问题附件截图" required>
<div className='helpUploadBox'>
<div className='helpUploadBox' style={{marginLeft: 20}}>
<Upload
action={false}
showCount
maxLength={4}
className='helpUploadImg'
......@@ -348,11 +354,11 @@
</div>
</Form.Item>
<Form.Item label="姓名" name="姓名" labelAlign="right" required>
<Input style={{width: 300}} placeholder="平台联系人"/>
<Form.Item label="您的姓名" name="您的姓名" labelAlign="right" required>
<Input style={{width: 300,marginLeft: 20}} placeholder="请输入您的姓名"/>
</Form.Item>
<Form.Item label="联系方式" name="联系方式" required>
<Input style={{width: 300}} placeholder="请输入联系方式"/>
<Form.Item label="您的电话" name="您的电话" required>
<Input style={{width: 300,marginLeft: 20}} placeholder="请输入您的电话"/>
</Form.Item>
<Modal visible={modelfileList.previewVisible} footer={null} onCancel={onhandleCancel}
title="预览">
......@@ -361,24 +367,25 @@
</Form>
</Col>
<Col span={10} offset={4}>
<img src='./images/help/addBg.png' alt=""/>
<img src='./images/help/addBg.png' style={{marginLeft: 90}} alt=""/>
</Col>
</Row>
<Divider style={{width: '90%'}}/>
<Col span={14}>
<div style={{textAlign: 'right'}}>
<Button htmlType="reset" style={{margin: '0 20px'}} onClick={() => {
window.location.href = './?site_code=' + code;
}}>
返回
</Button>
<Button type="primary" onClick={() => saveData(ip, values, Groups, successImages)}>
提交
</Button>
</div>
</Col>
<Row>
<Form.Item>
<Button htmlType="reset" style={{margin: '0 20px'}} onClick={() => {
window.location.href = './?site_code=' + code;
}}>
返回
</Button>
<Button type="primary" onClick={() => saveData(ip, values, Groups, successImages)}>
提交
</Button>
</Form.Item>
</Row>
</div>
</div>
);
......
......@@ -152,7 +152,7 @@
}
.callback{
width: 150px;
width: 200px;
height: 160px;
margin-left: 30px;
padding-left: 30px;
......@@ -246,7 +246,7 @@
width: 100%;
height: 100%;
background-color: #fff;
padding: 20px;
padding: 80px;
.helpWrapTitle{
display: flex;
......@@ -306,6 +306,10 @@
}
.ant-input-disabled{
color: #333 !important;
}
.problemWrap{
background: #FFFFFF;
border-image: linear-gradient(0deg, #F5F9FF, #DCEAFF) 10 10;
......
......@@ -171,6 +171,7 @@
success: function (ret) {
if (ret.say.statusCode === '0000') {
const list = JSON.parse(ret.jsonData);
localStorage.setItem('feedBack',list[0]['平台名称'])
const projectId = list[0]['项目流水号'];
getContactsList(ipAddress , projectId);
......
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