Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
feedback
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王华
feedback
Commits
a1ece2e4
Commit
a1ece2e4
authored
Apr 12, 2022
by
yzl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改UI
parent
82302030
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
24 deletions
+36
-24
add.html
add.html
+29
-22
index.less
css/index.less
+6
-2
index.html
index.html
+1
-0
No files found.
add.html
View file @
a1ece2e4
...
...
@@ -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
>
);
...
...
css/index.less
View file @
a1ece2e4
...
...
@@ -152,7 +152,7 @@
}
.callback{
width:
15
0px;
width:
20
0px;
height: 160px;
margin-left: 30px;
padding-left: 30px;
...
...
@@ -246,7 +246,7 @@
width: 100%;
height: 100%;
background-color: #fff;
padding:
2
0px;
padding:
8
0px;
.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;
...
...
index.html
View file @
a1ece2e4
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment