Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
d39f8ca4
Commit
d39f8ca4
authored
Nov 28, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '巡检反馈新增业务划分'
parent
018809d5
Pipeline
#64612
passed with stages
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
168 additions
and
0 deletions
+168
-0
AddModal.jsx
...s/bsmanager/patrolMaintenance/patrolFeedback/AddModal.jsx
+17
-0
patrolFeedback.jsx
...nager/patrolMaintenance/patrolFeedback/patrolFeedback.jsx
+0
-0
patrolFeedback.less
...ager/patrolMaintenance/patrolFeedback/patrolFeedback.less
+151
-0
No files found.
src/pages/bsmanager/patrolMaintenance/patrolFeedback/AddModal.jsx
View file @
d39f8ca4
...
@@ -78,6 +78,10 @@ const AddModal = props => {
...
@@ -78,6 +78,10 @@ const AddModal = props => {
if
(
type
===
'edit'
)
{
if
(
type
===
'edit'
)
{
CM_Feedback_QueryPatrolFeedback
({
id
:
formObj
.
id
}).
then
(
res
=>
{
CM_Feedback_QueryPatrolFeedback
({
id
:
formObj
.
id
}).
then
(
res
=>
{
form
.
setFieldsValue
({
...
res
.
data
});
form
.
setFieldsValue
({
...
res
.
data
});
console
.
log
(
res
.
data
);
if
(
!
res
.
data
.
businessGroup
)
{
form
.
setFieldsValue
({
businessGroup
:
'区域巡检'
});
}
let
aa
=
JSON
.
parse
(
res
.
data
.
mappingFields
);
let
aa
=
JSON
.
parse
(
res
.
data
.
mappingFields
);
getGetTaskSyncField
(
aa
);
// 获取字段名数据
getGetTaskSyncField
(
aa
);
// 获取字段名数据
...
@@ -86,6 +90,7 @@ const AddModal = props => {
...
@@ -86,6 +90,7 @@ const AddModal = props => {
getRoles
();
getRoles
();
});
});
}
else
{
}
else
{
form
.
setFieldsValue
({
businessGroup
:
'区域巡检'
});
getGetTaskSyncField
();
getGetTaskSyncField
();
getFeedbackTable
();
getFeedbackTable
();
getRoles
();
getRoles
();
...
@@ -675,6 +680,18 @@ const AddModal = props => {
...
@@ -675,6 +680,18 @@ const AddModal = props => {
<
Input
placeholder=
"巡检对象名称不可重复"
/>
<
Input
placeholder=
"巡检对象名称不可重复"
/>
</
Item
>
</
Item
>
</
Col
>
</
Col
>
<
Col
span=
{
23
}
>
<
Item
label=
"业务划分"
name=
"businessGroup"
labelCol=
{
{
span
:
4
}
}
>
<
Select
placeholder=
"请选择业务划分"
showSearch
>
<
Option
key=
"区域巡检"
value=
"区域巡检"
>
区域巡检
</
Option
>
<
Option
key=
"DMA巡检"
value=
"DMA巡检"
>
DMA巡检
</
Option
>
</
Select
>
</
Item
>
</
Col
>
<
Col
span=
{
23
}
>
<
Col
span=
{
23
}
>
<
Item
label=
"分组"
name=
"groupType"
labelCol=
{
{
span
:
4
}
}
>
<
Item
label=
"分组"
name=
"groupType"
labelCol=
{
{
span
:
4
}
}
>
<
Input
placeholder=
"请输入分组名称"
/>
<
Input
placeholder=
"请输入分组名称"
/>
...
...
src/pages/bsmanager/patrolMaintenance/patrolFeedback/patrolFeedback.jsx
View file @
d39f8ca4
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/patrolMaintenance/patrolFeedback/patrolFeedback.less
View file @
d39f8ca4
...
@@ -3,6 +3,9 @@
...
@@ -3,6 +3,9 @@
.contentContainers {
.contentContainers {
height: 100%;
height: 100%;
display: flex;
width: 100%;
position: relative;
.ant-table-wrapper {
.ant-table-wrapper {
height: calc(100% - 100px);
height: calc(100% - 100px);
...
@@ -14,6 +17,154 @@
...
@@ -14,6 +17,154 @@
.ant-pagination {
.ant-pagination {
padding: 10px;
padding: 10px;
}
}
.pickItem {
background-color: #aed8fa;
}
.listHover {
background-color: #f5f6f9;
}
.listItem {
display: flex;
justify-content: space-between;
font-size: 14px;
font-weight: 400;
color: #414e65;
cursor: pointer;
line-height: 28px;
align-items: center;
padding: 8px 14px;
}
.orgContainer {
// height: calc(100vh - 74px);
height: 100%;
width: 250px;
left: 0;
top: 0;
margin-right: 10px;
position: relative;
transition-property: width, left;
transition-duration: 0.5s;
white-space: nowrap;
.ant-card-body {
height: 100%;
}
.ant-tree {
padding-top: 6px;
.ant-tree-switcher {
line-height: 1;
margin-right: 0px !important;
color: #1890ff;
.ant-tree-switcher-line-icon {
margin-left: 5px;
}
}
}
.switcher {
display: block;
position: absolute;
font-size: 18px;
color: #1890ff !important;
top: 50%;
right: 2px;
transform: translate(0%, -50%);
z-index: 1;
}
}
.orgContainerHide {
// transform: translateX(-230px);
left: 0px;
top: 0;
width: 26px;
}
.userContainer {
height: 100%;
z-index: 999;
min-width: 800px;
background: white;
width: 100%;
position: relative;
transition: width 0.5s;
.title {
margin: 16px 0 10px 16px;
display: inline-block;
width: 270px;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ant-table-pagination {
padding-right: 12px;
background: white;
margin: 1px 0;
padding: 8px;
padding-right: 20px;
}
.ant-btn {
margin: 0px 10px;
.ant-btn-primary {
background: #50aefc;
}
}
.ant-input-search-button {
margin-left: 0px !important;
}
.ant-table-thead tr th {
font-weight: 600;
color: rgba(0, 0, 0, 0.85);
background-color: #f6f9fe;
}
.ant-table-cell {
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ant-table-wrapper {
height: calc(100% - 50px);
.ant-table {
height: calc(100% - 45px);
.ant-table-container {
height: 100%;
}
}
}
// .ant-table-body {
// height: calc(100vh - 210px);
// border-right: white;
// overflow: auto !important;
// }
.clickRowStyle {
background: #cfe7fd;
}
.ant-pagination {
z-index: 999;
border-top: 1px solid #f0eded;
}
}
}
}
...
...
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