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
21e9cd39
Commit
21e9cd39
authored
Feb 22, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '1.内置字段判断逻辑优化2.表配置选项保存逻辑优化'
parent
9faf6988
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletion
+9
-1
事件选中.png
src/assets/images/workOptions/事件选中.png
+0
-0
工单发起选中.png
src/assets/images/workOptions/工单发起选中.png
+0
-0
TableView.jsx
...ages/bsmanager/base/tablemanager/components/TableView.jsx
+6
-0
AddModal.jsx
src/pages/bsmanager/workOrder/incident/AddModal.jsx
+3
-0
EditTypeModal.jsx
src/pages/bsmanager/workOrder/incident/EditTypeModal.jsx
+0
-1
No files found.
src/assets/images/workOptions/事件选中.png
0 → 100644
View file @
21e9cd39
This diff was suppressed by a .gitattributes entry.
src/assets/images/workOptions/工单发起选中.png
0 → 100644
View file @
21e9cd39
This diff was suppressed by a .gitattributes entry.
src/pages/bsmanager/base/tablemanager/components/TableView.jsx
View file @
21e9cd39
...
...
@@ -533,6 +533,12 @@ const TableView = props => {
const
newData
=
[...
dataSource
];
const
item
=
newData
[
index
];
newData
.
splice
(
index
,
1
,
{
...
item
,
...
row
});
// 内置字段同步更改
if
(
index
<
defaultData
.
length
)
{
const
newDefaultData
=
[...
defaultData
];
newDefaultData
.
splice
(
index
,
1
,
{
...
item
,
...
row
});
setDefaultData
(
newDefaultData
);
}
setDataSource
(
newData
);
};
// 是否显示默认字段
...
...
src/pages/bsmanager/workOrder/incident/AddModal.jsx
View file @
21e9cd39
...
...
@@ -64,6 +64,7 @@ import PreviewModal from './PreviewModal';
import
EditTypeModal
from
'./EditTypeModal'
;
import
eventImg
from
'@/assets/images/workOptions/事件.png'
;
import
caseImg
from
'@/assets/images/workOptions/工单.png'
;
// import caseImg from '@/assets/images/workOptions/工单发起选中.png';
const
{
Option
}
=
Select
;
const
AddModal
=
props
=>
{
...
...
@@ -523,6 +524,7 @@ const AddModal = props => {
if
(
obj
.
CreateMode
===
0
||
1
)
{
obj
.
CreateMode
=
obj
.
CreateMode
.
toString
();
}
obj
.
CreateMode
=
value
if
(
editable
!=
true
)
{
obj
.
Editable
=
false
;
}
else
{
...
...
@@ -1220,6 +1222,7 @@ const AddModal = props => {
const
chooseFlowOk
=
prop
=>
{
setEventFlowId
(
prop
);
setEditTypeModal
(
false
)
};
const
pickFiled
=
fileds
=>
{
...
...
src/pages/bsmanager/workOrder/incident/EditTypeModal.jsx
View file @
21e9cd39
...
...
@@ -37,7 +37,6 @@ const EditTypeModal = props => {
if
(
selectedRowKeys
.
length
)
{
callBackSubmit
(
selectedRowKeys
.
toString
());
}
onCancel
();
};
const
columns
=
[
...
...
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