Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
problem_rectification
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
David Yang
problem_rectification
Commits
9b9085cc
Commit
9b9085cc
authored
Jul 21, 2026
by
David Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: ui
parent
2d3757b2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
10 deletions
+31
-10
.umirc.ts
.umirc.ts
+9
-2
table.jsx
src/catalyst-ui-kit/javascript/table.jsx
+4
-1
index.jsx
src/components/record-workbench/index.jsx
+0
-0
index.jsx
src/pages/RecordDetailDrawer/index.jsx
+13
-1
index.jsx
src/pages/problem_rectification/flow-table/index.jsx
+0
-0
index.jsx
src/pages/problem_rectification/list/index.jsx
+0
-0
problem-rectification.business-flow.md
...blem_rectification/problem-rectification.business-flow.md
+0
-0
problemRectificationFormService.js
.../problem_rectification/problemRectificationFormService.js
+5
-6
problemRectificationListService.js
.../problem_rectification/problemRectificationListService.js
+0
-0
subjectsDefinition.md
src/services/subjectsDefinition.md
+0
-0
No files found.
.umirc.ts
View file @
9b9085cc
...
...
@@ -12,13 +12,15 @@ const ROUTE_PATHS = {
problemRectification
:
'/problem_rectification'
,
issueRectificationArchive
:
'/issue_rectification_archive'
,
problemRectificationForm
:
'/problem_rectification_form'
,
problemRectificationFlowTable
:
'/problem_rectification_flow_table'
,
}
as
const
;
const
APP_BASE_PATH
=
'/problem_rectification_new/'
;
export
default
defineConfig
({
layout
:
false
,
fastRefresh
:
true
,
base
:
'/problem_rectification_new/'
,
publicPath
:
'/problem_rectification_new/'
,
base
:
APP_BASE_PATH
,
publicPath
:
APP_BASE_PATH
,
alias
:
{
react
:
resolvePackageRoot
(
'react'
),
'react-dom'
:
resolvePackageRoot
(
'react-dom'
),
...
...
@@ -58,6 +60,10 @@ export default defineConfig({
path
:
ROUTE_PATHS
.
problemRectificationForm
,
component
:
'./problem_rectification/form/index'
,
},
{
path
:
ROUTE_PATHS
.
problemRectificationFlowTable
,
component
:
'./problem_rectification/flow-table/index'
,
},
],
},
],
...
...
@@ -88,5 +94,6 @@ export default defineConfig({
define
:
{
STREAMS_API_URL
:
'/api'
,
STREAMS_PARSER_URL
:
'/parser'
,
PROBLEM_RECTIFICATION_APP_BASE_PATH
:
APP_BASE_PATH
,
},
});
src/catalyst-ui-kit/javascript/table.jsx
View file @
9b9085cc
...
...
@@ -16,6 +16,7 @@ export function Table({
dense
=
false
,
grid
=
false
,
striped
=
false
,
scrollable
=
true
,
className
,
children
,
...
props
...
...
@@ -27,7 +28,9 @@ export function Table({
{
...
props
}
className=
{
clsx
(
className
,
'-mx-(--gutter) overflow-x-auto whitespace-nowrap'
,
'-mx-(--gutter)'
,
scrollable
&&
'overflow-x-auto'
,
'whitespace-nowrap'
,
)
}
>
<
div
...
...
src/components/record-workbench/index.jsx
View file @
9b9085cc
This diff is collapsed.
Click to expand it.
src/pages/RecordDetailDrawer/index.jsx
View file @
9b9085cc
...
...
@@ -15,6 +15,8 @@ import {
isViewAccessible
,
}
from
'@/utils/subjectView'
;
const
EMPTY_ARRAY
=
[];
function
CloseIcon
()
{
return
(
<
svg
viewBox=
"0 0 20 20"
fill=
"none"
aria
-
hidden=
"true"
className=
"size-5"
>
...
...
@@ -46,6 +48,7 @@ const RecordDetailDrawer = (props, ref) => {
readonly
=
false
,
filterView
=
[],
preferredViewName
,
disabledFields
=
EMPTY_ARRAY
,
}
=
props
;
const
[
refreshKey
,
setRefreshKey
]
=
useState
(()
=>
Date
.
now
());
...
...
@@ -122,6 +125,15 @@ const RecordDetailDrawer = (props, ref) => {
const
activeView
=
detailViews
.
find
((
view
)
=>
view
.
name
===
activeTabKey
)
||
detailViews
[
0
];
const
drawerWidth
=
isFullscreen
?
'100vw'
:
typeof
width
===
'number'
?
`
${
width
}
px`
:
width
;
const
disabledFieldSet
=
useMemo
(
()
=>
new
Set
(
disabledFields
.
flatMap
((
fieldName
)
=>
[
fieldName
,
`metadata.
${
fieldName
}
`
]),
),
[
disabledFields
],
);
const
isDrawerFieldDisabled
=
(
fieldPath
,
currentView
)
=>
disabledFieldSet
.
has
(
fieldPath
)
||
isFieldDisabled
(
fieldPath
,
currentView
);
const
closeDrawer
=
()
=>
{
onClose
?.();
...
...
@@ -209,7 +221,7 @@ const RecordDetailDrawer = (props, ref) => {
onFieldUpdate=
{
handleFieldUpdate
}
onDataChange=
{
onDataChange
}
readonly=
{
readonly
}
isFieldDisabled=
{
isFieldDisabled
}
isFieldDisabled=
{
is
Drawer
FieldDisabled
}
/>
)
}
</
main
>
...
...
src/pages/problem_rectification/flow-table/index.jsx
0 → 100644
View file @
9b9085cc
This diff is collapsed.
Click to expand it.
src/pages/problem_rectification/list/index.jsx
View file @
9b9085cc
This diff is collapsed.
Click to expand it.
src/pages/problem_rectification/problem-rectification.business-flow.md
View file @
9b9085cc
This diff is collapsed.
Click to expand it.
src/pages/problem_rectification/problemRectificationFormService.js
View file @
9b9085cc
...
...
@@ -10,7 +10,10 @@ import {
sendNotice
,
updateRecord
,
}
from
'@/services/DataService'
;
import
{
normalizeProblemRectificationRecord
}
from
'./problemRectificationListService'
;
import
{
getProblemRectificationFormUrl
,
normalizeProblemRectificationRecord
,
}
from
'./problemRectificationListService'
;
import
{
normalizeText
,
toArray
}
from
'@/utils/subjectView'
;
const
MESSAGE_REFERENCE_SUBJECT
=
'message_reference_id'
;
...
...
@@ -147,11 +150,7 @@ async function sendFlowNotice({ title, content, fromUserId, toUserIds = [] }) {
}
function
buildReturnUrl
(
messageName
)
{
if
(
typeof
window
===
'undefined'
)
{
return
`/problem_rectification_form?id=
${
messageName
}
`
;
}
return
`
${
window
.
location
.
origin
}
/problem_rectification_form?id=
${
messageName
}
`
;
return
getProblemRectificationFormUrl
(
messageName
);
}
function
resolveCurrentStep
(
messageRecord
)
{
...
...
src/pages/problem_rectification/problemRectificationListService.js
View file @
9b9085cc
This diff is collapsed.
Click to expand it.
src/services/subjectsDefinition.md
View file @
9b9085cc
This diff is collapsed.
Click to expand it.
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