Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
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
wuhao
ems3.3
Commits
74b9d280
Commit
74b9d280
authored
Sep 18, 2023
by
左玲玲
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
滚动条整体修改
parent
6782a1c9
Changes
56
Show whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
531 additions
and
497 deletions
+531
-497
.stylelintrc.js
.stylelintrc.js
+0
-5
index.jsx
src/components/DrawerPro/index.jsx
+1
-1
AvatarDropdown.jsx
src/components/RightContent/AvatarDropdown.jsx
+1
-1
index.jsx
src/components/TagView/index.jsx
+3
-2
global.less
src/global.less
+40
-3
index.jsx
src/pages/check/order/index.jsx
+1
-1
index.jsx
src/pages/check/plan/index.jsx
+66
-66
Project.jsx
src/pages/check/standard/Project.jsx
+1
-1
index.jsx
src/pages/check/standard/index.jsx
+1
-1
index.jsx
src/pages/check/task/index.jsx
+194
-194
index.jsx
src/pages/device/account/index.jsx
+1
-1
index.jsx
src/pages/device/model/index.jsx
+1
-1
index.jsx
src/pages/device/supplier/index.jsx
+19
-19
index.jsx
src/pages/device/type/index.jsx
+1
-1
index.jsx
src/pages/lease/contract/index.jsx
+1
-1
index.jsx
src/pages/lease/ledger/index.jsx
+1
-1
index.less
src/pages/lease/ledger/index.less
+4
-3
index.jsx
src/pages/lease/supplier/index.jsx
+1
-1
index.jsx
src/pages/lifeparts/count/index.jsx
+1
-1
index.jsx
src/pages/lifeparts/criterion/index.jsx
+1
-1
index.jsx
src/pages/lifeparts/warning/index.jsx
+1
-1
Project.jsx
src/pages/maintain/criterion/Project.jsx
+1
-1
index.jsx
src/pages/maintain/criterion/index.jsx
+1
-1
index.jsx
src/pages/maintain/orders/index.jsx
+1
-1
index.jsx
src/pages/maintain/plan/index.jsx
+69
-69
index.jsx
src/pages/maintain/workOrder/index.jsx
+65
-65
index.jsx
src/pages/repair/failure/index.jsx
+3
-3
index.jsx
src/pages/repair/fault/index.jsx
+1
-1
index.jsx
src/pages/repair/order/index.jsx
+4
-4
index.jsx
src/pages/repair/outsourcing/index.jsx
+1
-1
index.jsx
src/pages/repair/platform/index.jsx
+4
-4
index.jsx
src/pages/repair/track/index.jsx
+4
-4
index.jsx
src/pages/setting/factory/index.jsx
+1
-1
index.jsx
src/pages/setting/organization/index.jsx
+1
-1
index.jsx
src/pages/setting/production/index.jsx
+1
-1
index.jsx
src/pages/setting/role/index.jsx
+2
-2
index.jsx
src/pages/setting/section/index.jsx
+1
-1
index.jsx
src/pages/setting/users/index.jsx
+1
-1
index.jsx
src/pages/setting/workshop/index.jsx
+1
-1
index.jsx
src/pages/spare/edgestore/index.jsx
+1
-1
index.jsx
src/pages/spare/instore/index.jsx
+3
-3
index.jsx
src/pages/spare/outstore/index.jsx
+5
-5
index.jsx
src/pages/spare/personalstore/index.jsx
+1
-1
index.jsx
src/pages/spare/record/index.jsx
+1
-1
index.jsx
src/pages/spare/requisition/index.jsx
+5
-5
index.jsx
src/pages/spare/setting/index.jsx
+1
-1
index.jsx
src/pages/spare/spareback/index.jsx
+3
-3
index.jsx
src/pages/spare/stock/index.jsx
+1
-1
index.jsx
src/pages/spare/supplier/index.jsx
+1
-1
index.jsx
src/pages/spare/userecord/index.jsx
+1
-1
index.jsx
src/pages/system/dictionary/index.jsx
+1
-1
index.jsx
src/pages/system/field/index.jsx
+1
-1
Notice.jsx
src/pages/system/pushsetting/Notice.jsx
+1
-1
index.jsx
src/pages/system/pushsetting/index.jsx
+1
-1
index.jsx
src/pages/system/rules/index.jsx
+1
-1
index.jsx
src/pages/welcome/index.jsx
+1
-1
No files found.
.stylelintrc.js
deleted
100644 → 0
View file @
6782a1c9
const
fabric
=
require
(
'@umijs/fabric'
);
module
.
exports
=
{
...
fabric
.
stylelint
,
};
src/components/DrawerPro/index.jsx
View file @
74b9d280
...
@@ -21,7 +21,7 @@ function DrawerPro(props) {
...
@@ -21,7 +21,7 @@ function DrawerPro(props) {
placement=
"right"
placement=
"right"
closable=
{
true
}
closable=
{
true
}
getContainer=
{
false
}
getContainer=
{
false
}
style=
{
{
position
:
'absolute'
,
transform
:
'translateX(0)'
,
maxWidth
:
'100%'
}
}
style=
{
{
position
:
'absolute'
,
transform
:
'translateX(0)'
}
}
width=
{
'100%'
}
width=
{
'100%'
}
destroyOnClose=
{
true
}
destroyOnClose=
{
true
}
{
...
props
}
{
...
props
}
...
...
src/components/RightContent/AvatarDropdown.jsx
View file @
74b9d280
...
@@ -16,7 +16,7 @@ import Utf8 from 'crypto-js/enc-utf8';
...
@@ -16,7 +16,7 @@ import Utf8 from 'crypto-js/enc-utf8';
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
io
from
'socket.io-client'
;
import
io
from
'socket.io-client'
;
const
{
NODE_ENV
}
=
process
.
env
;
const
{
NODE_ENV
}
=
process
.
env
;
const
websocketUrl
=
NODE_ENV
==
"development"
?
"ws://192.168.40.11
0
:9933"
:
`
${
window
.
location
.
protocol
==
"http:"
?
"ws"
:
"wss"
}
://
${
window
.
location
.
host
}
`
;
const
websocketUrl
=
NODE_ENV
==
"development"
?
"ws://192.168.40.11
1
:9933"
:
`
${
window
.
location
.
protocol
==
"http:"
?
"ws"
:
"wss"
}
://
${
window
.
location
.
host
}
`
;
const
socket
=
io
(
websocketUrl
,
{
const
socket
=
io
(
websocketUrl
,
{
reconnectionDelay
:
4000
,
reconnectionDelay
:
4000
,
transports
:
[
'websocket'
],
transports
:
[
'websocket'
],
...
...
src/components/TagView/index.jsx
View file @
74b9d280
...
@@ -163,14 +163,15 @@ const TagView = ({ children, home }) => {
...
@@ -163,14 +163,15 @@ const TagView = ({ children, home }) => {
</
div
>
</
div
>
<
div
className=
{
styles
.
child
}
>
<
div
className=
{
styles
.
child
}
>
<
div
className=
{
styles
.
contianbox
}
>
<
div
className=
{
styles
.
contianbox
}
>
<
Scrollbars
{
/*
<Scrollbars
thumbMinSize={10}
thumbMinSize={10}
autoHide
autoHide
style={{ width: '100%', height: '100%' }}
style={{ width: '100%', height: '100%' }}
hideTracksWhenNotNeeded={true}
hideTracksWhenNotNeeded={true}
>
>
{refresh && children}
{refresh && children}
</
Scrollbars
>
</Scrollbars> */
}
<
div
style=
{
{
width
:
"100%"
,
height
:
"100%"
}
}
>
{
refresh
&&
children
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</>
</>
...
...
src/global.less
View file @
74b9d280
...
@@ -422,6 +422,42 @@ ol {
...
@@ -422,6 +422,42 @@ ol {
}
}
}
}
.runtime-keep-alive-layout,
.ant-table-content,
.ant-drawer-body {
&::-webkit-scrollbar {
/*滚动条整体样式*/
width: 5px;
/*高宽分别对应横竖滚动条的尺寸*/
height: 5px;
}
&::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
// border-radius: 5px;
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: #c1c1c1;
}
&::-webkit-scrollbar-track {
/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 0;
background: #fff;
}
}
.page-title {
.page-title {
margin-bottom: 0;
margin-bottom: 0;
font-weight: 700;
font-weight: 700;
...
@@ -461,9 +497,10 @@ ol {
...
@@ -461,9 +497,10 @@ ol {
.runtime-keep-alive-layout,
.runtime-keep-alive-layout,
.runtime-keep-alive-layout-no {
.runtime-keep-alive-layout-no {
height: auto !important;
// height: auto !important;
min-height: 100% !important;
// min-height: 100% !important;
overflow: hidden !important;
// overflow: hidden !important;
position: static !important;
>div {
>div {
height: 100%;
height: 100%;
...
...
src/pages/check/order/index.jsx
View file @
74b9d280
...
@@ -248,7 +248,7 @@ function Order(props) {
...
@@ -248,7 +248,7 @@ function Order(props) {
},
[
drawer
?.
val
,
drawer
?.
item
?.
id
]);
},
[
drawer
?.
val
,
drawer
?.
item
?.
id
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
点检接单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
点检接单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/check/plan/index.jsx
View file @
74b9d280
...
@@ -450,7 +450,7 @@ function Plan(props) {
...
@@ -450,7 +450,7 @@ function Plan(props) {
});
});
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
点检计划
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
点检计划
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/check/standard/Project.jsx
View file @
74b9d280
...
@@ -110,7 +110,7 @@ function Project({ equipmentCheckStandardId }) {
...
@@ -110,7 +110,7 @@ function Project({ equipmentCheckStandardId }) {
},
[
drawer
?.
id
]);
},
[
drawer
?.
id
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
columns=
{
columns
}
columns=
{
columns
}
actionRef=
{
actionRef
}
actionRef=
{
actionRef
}
...
...
src/pages/check/standard/index.jsx
View file @
74b9d280
...
@@ -133,7 +133,7 @@ function Standard(props) {
...
@@ -133,7 +133,7 @@ function Standard(props) {
},
[
drawer
?.
id
]);
},
[
drawer
?.
id
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
点检标准
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
点检标准
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/check/task/index.jsx
View file @
74b9d280
...
@@ -574,7 +574,7 @@ function Task(props) {
...
@@ -574,7 +574,7 @@ function Task(props) {
},
[
activeTabKey
]);
},
[
activeTabKey
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
点检工单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
点检工单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/device/account/index.jsx
View file @
74b9d280
...
@@ -2288,7 +2288,7 @@ function Model(props) {
...
@@ -2288,7 +2288,7 @@ function Model(props) {
const
containderef
=
useRef
();
const
containderef
=
useRef
();
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
div
className=
"ant-card-head"
style=
{
{
backgroundColor
:
'white'
}
}
>
<
div
className=
"ant-card-head"
style=
{
{
backgroundColor
:
'white'
}
}
>
<
div
className=
"ant-card-head-wrapper"
>
<
div
className=
"ant-card-head-wrapper"
>
<
div
className=
"ant-card-head-title"
>
<
div
className=
"ant-card-head-title"
>
...
...
src/pages/device/model/index.jsx
View file @
74b9d280
...
@@ -132,7 +132,7 @@ function Model(props) {
...
@@ -132,7 +132,7 @@ function Model(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
设备型号
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
设备型号
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/device/supplier/index.jsx
View file @
74b9d280
...
@@ -420,7 +420,7 @@ function Supplier(props) {
...
@@ -420,7 +420,7 @@ function Supplier(props) {
}
}
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
设备供应商
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
设备供应商
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/device/type/index.jsx
View file @
74b9d280
...
@@ -193,7 +193,7 @@ function Type(props) {
...
@@ -193,7 +193,7 @@ function Type(props) {
},
[
drawer
?.
val
]);
},
[
drawer
?.
val
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
设备类型
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
设备类型
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/lease/contract/index.jsx
View file @
74b9d280
...
@@ -573,7 +573,7 @@ function Contract(props) {
...
@@ -573,7 +573,7 @@ function Contract(props) {
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
租赁合同
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
租赁合同
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/lease/ledger/index.jsx
View file @
74b9d280
...
@@ -342,7 +342,7 @@ const Ledger = () => {
...
@@ -342,7 +342,7 @@ const Ledger = () => {
</
div
>
</
div
>
<
div
className=
{
styles
.
ledgercontent
}
>
<
div
className=
{
styles
.
ledgercontent
}
>
<
div
className=
{
styles
.
ledgerleft
}
>
<
div
className=
{
styles
.
ledgerleft
}
>
<
TreeRender
url=
"/auth/sysFactory/getTree"
onselected=
{
onselecteTree
}
noaction=
{
true
}
/>
<
TreeRender
url=
"/auth/sysFactory/getTree"
onselected=
{
onselecteTree
}
noaction=
{
true
}
maxWidth=
{
240
}
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
ledgerright
}
>
<
div
className=
{
styles
.
ledgerright
}
>
<
AutoTable
<
AutoTable
...
...
src/pages/lease/ledger/index.less
View file @
74b9d280
.ledgerbox {
.ledgerbox {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
overflow: hidden;
//
overflow: hidden;
background-color: #fff;
background-color: #fff;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
position: relative;
//
position: relative;
.ledgerheader {
.ledgerheader {
width: 100%;
width: 100%;
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
.ledgercontent {
.ledgercontent {
flex: 1;
flex: 1;
width: 100%;
width: 100%;
overflow: hidden;
//
overflow: hidden;
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
flex: 1;
flex: 1;
border-left: 1px solid #f0f0f0;
border-left: 1px solid #f0f0f0;
overflow: hidden;
overflow: hidden;
overflow-y: auto;
}
}
}
}
}
}
\ No newline at end of file
src/pages/lease/supplier/index.jsx
View file @
74b9d280
...
@@ -380,7 +380,7 @@ function Supplier(props) {
...
@@ -380,7 +380,7 @@ function Supplier(props) {
}
}
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
设备供应商
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
设备供应商
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/lifeparts/count/index.jsx
View file @
74b9d280
...
@@ -212,7 +212,7 @@ function Warning(props) {
...
@@ -212,7 +212,7 @@ function Warning(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
寿命件台账
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
寿命件台账
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/lifeparts/criterion/index.jsx
View file @
74b9d280
...
@@ -118,7 +118,7 @@ function Criterion(props) {
...
@@ -118,7 +118,7 @@ function Criterion(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
寿命件标准
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
寿命件标准
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/lifeparts/warning/index.jsx
View file @
74b9d280
...
@@ -205,7 +205,7 @@ function Warning(props) {
...
@@ -205,7 +205,7 @@ function Warning(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
寿命件预警
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
寿命件预警
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/maintain/criterion/Project.jsx
View file @
74b9d280
...
@@ -109,7 +109,7 @@ function Project({ equipmentMaintainStandardId }) {
...
@@ -109,7 +109,7 @@ function Project({ equipmentMaintainStandardId }) {
});
});
},
[
drawer
?.
id
]);
},
[
drawer
?.
id
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
columns=
{
columns
}
columns=
{
columns
}
actionRef=
{
actionRef
}
actionRef=
{
actionRef
}
...
...
src/pages/maintain/criterion/index.jsx
View file @
74b9d280
...
@@ -141,7 +141,7 @@ function Criterion(props) {
...
@@ -141,7 +141,7 @@ function Criterion(props) {
},
[
drawer
?.
equipmentModelId
]);
},
[
drawer
?.
equipmentModelId
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
保养标准
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
保养标准
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/maintain/orders/index.jsx
View file @
74b9d280
...
@@ -190,7 +190,7 @@ function Orders(props) {
...
@@ -190,7 +190,7 @@ function Orders(props) {
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
保养接单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
保养接单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/maintain/plan/index.jsx
View file @
74b9d280
...
@@ -549,7 +549,7 @@ function Plan(props) {
...
@@ -549,7 +549,7 @@ function Plan(props) {
},
[
activeTabKey
]);
},
[
activeTabKey
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
保养计划
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
保养计划
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/maintain/workOrder/index.jsx
View file @
74b9d280
...
@@ -815,7 +815,7 @@ function WorkOrder(props) {
...
@@ -815,7 +815,7 @@ function WorkOrder(props) {
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
保养工单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
保养工单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/repair/failure/index.jsx
View file @
74b9d280
...
@@ -179,7 +179,7 @@ function Failure(props) {
...
@@ -179,7 +179,7 @@ function Failure(props) {
}
}
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
故障报修
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
故障报修
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/repair/fault/index.jsx
View file @
74b9d280
...
@@ -355,7 +355,7 @@ function Fault(props) {
...
@@ -355,7 +355,7 @@ function Fault(props) {
}
}
}
}
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
故障设置
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
故障设置
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/repair/order/index.jsx
View file @
74b9d280
...
@@ -1693,7 +1693,7 @@ function Failure(props) {
...
@@ -1693,7 +1693,7 @@ function Failure(props) {
const
containderef
=
useRef
();
const
containderef
=
useRef
();
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
ref=
{
containderef
}
>
<
div
ref=
{
containderef
}
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
维修工单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
维修工单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/repair/outsourcing/index.jsx
View file @
74b9d280
...
@@ -556,7 +556,7 @@ function Failure(props) {
...
@@ -556,7 +556,7 @@ function Failure(props) {
}
}
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
ref=
{
containderef
}
>
<
div
ref=
{
containderef
}
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
外协工单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
外协工单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/repair/platform/index.jsx
View file @
74b9d280
...
@@ -446,7 +446,7 @@ function Platform(props) {
...
@@ -446,7 +446,7 @@ function Platform(props) {
}
}
}
}
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
接单平台
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
接单平台
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/repair/track/index.jsx
View file @
74b9d280
...
@@ -686,7 +686,7 @@ function Failure(props) {
...
@@ -686,7 +686,7 @@ function Failure(props) {
}
}
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
ref=
{
containderef
}
>
<
div
ref=
{
containderef
}
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
追踪工单
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
追踪工单
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/factory/index.jsx
View file @
74b9d280
...
@@ -131,7 +131,7 @@ function Factory(props) {
...
@@ -131,7 +131,7 @@ function Factory(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
工厂管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
工厂管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/organization/index.jsx
View file @
74b9d280
...
@@ -196,7 +196,7 @@ function Type(props) {
...
@@ -196,7 +196,7 @@ function Type(props) {
},
[
drawer
.
val
]);
},
[
drawer
.
val
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
组织管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
组织管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/production/index.jsx
View file @
74b9d280
...
@@ -136,7 +136,7 @@ function Section(props) {
...
@@ -136,7 +136,7 @@ function Section(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
产线管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
产线管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/role/index.jsx
View file @
74b9d280
...
@@ -227,7 +227,7 @@ function Role(props) {
...
@@ -227,7 +227,7 @@ function Role(props) {
);
);
};
};
// 数据分权
// 数据分权
const
distribution
=
(
text
,
row
,
_
,
action
)
=>
{};
const
distribution
=
(
text
,
row
,
_
,
action
)
=>
{
};
const
columns
=
useMemo
(()
=>
{
const
columns
=
useMemo
(()
=>
{
let
defcolumn
=
getcolumns
(
setDrawer
);
let
defcolumn
=
getcolumns
(
setDrawer
);
...
@@ -245,7 +245,7 @@ function Role(props) {
...
@@ -245,7 +245,7 @@ function Role(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
角色管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
角色管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/section/index.jsx
View file @
74b9d280
...
@@ -136,7 +136,7 @@ function Section(props) {
...
@@ -136,7 +136,7 @@ function Section(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
工段管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
工段管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/users/index.jsx
View file @
74b9d280
...
@@ -268,7 +268,7 @@ function User(props) {
...
@@ -268,7 +268,7 @@ function User(props) {
}
}
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
用户管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
用户管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/setting/workshop/index.jsx
View file @
74b9d280
...
@@ -135,7 +135,7 @@ function Factory(props) {
...
@@ -135,7 +135,7 @@ function Factory(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
车间管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
车间管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/edgestore/index.jsx
View file @
74b9d280
...
@@ -101,7 +101,7 @@ function Edgestore(props) {
...
@@ -101,7 +101,7 @@ function Edgestore(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
线边库存
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
线边库存
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/instore/index.jsx
View file @
74b9d280
...
@@ -121,7 +121,7 @@ function Instore(props) {
...
@@ -121,7 +121,7 @@ function Instore(props) {
return
res
?.
data
?.
dataList
;
return
res
?.
data
?.
dataList
;
});
});
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
入库管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
入库管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/outstore/index.jsx
View file @
74b9d280
...
@@ -129,7 +129,7 @@ function Outstore(props) {
...
@@ -129,7 +129,7 @@ function Outstore(props) {
},
[
activeTabKey
]);
},
[
activeTabKey
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
出库管理
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
出库管理
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/personalstore/index.jsx
View file @
74b9d280
...
@@ -110,7 +110,7 @@ function Personalstore(props) {
...
@@ -110,7 +110,7 @@ function Personalstore(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
个人库存
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
个人库存
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/record/index.jsx
View file @
74b9d280
...
@@ -101,7 +101,7 @@ function Record(props) {
...
@@ -101,7 +101,7 @@ function Record(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
出入库记录
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
出入库记录
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/requisition/index.jsx
View file @
74b9d280
...
@@ -138,11 +138,11 @@ function Requisition(props) {
...
@@ -138,11 +138,11 @@ function Requisition(props) {
};
};
const
columns
=
useMemo
(()
=>
{
const
columns
=
useMemo
(()
=>
{
let
defcolumn
=
getcolumns
(
setdrawer
,
drawer
?.
type
,
currentUser
?.
fullName
).
filter
(
let
defcolumn
=
getcolumns
(
setdrawer
,
drawer
?.
type
,
currentUser
?.
fullName
).
filter
(
(
it
)
=>
it
.
key
==
activeTabKey
,
(
it
)
=>
it
.
key
==
activeTabKey
,
)[
0
]?.
columns
;
)[
0
]?.
columns
;
let
defpath
=
let
defpath
=
getcolumns
(
setdrawer
,
drawer
?.
type
).
filter
((
it
)
=>
it
.
key
==
activeTabKey
)[
0
]?.
pathconfig
??
{};
getcolumns
(
setdrawer
,
drawer
?.
type
).
filter
((
it
)
=>
it
.
key
==
activeTabKey
)[
0
]?.
pathconfig
??
{};
if
(
activeTabKey
==
1
)
{
if
(
activeTabKey
==
1
)
{
return
defcolumn
.
concat
({
return
defcolumn
.
concat
({
title
:
'操作'
,
title
:
'操作'
,
...
@@ -165,7 +165,7 @@ function Requisition(props) {
...
@@ -165,7 +165,7 @@ function Requisition(props) {
},
[
activeTabKey
]);
},
[
activeTabKey
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
备件领用
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
备件领用
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/setting/index.jsx
View file @
74b9d280
...
@@ -114,7 +114,7 @@ function Setting(props) {
...
@@ -114,7 +114,7 @@ function Setting(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
备件设置
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
备件设置
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/spareback/index.jsx
View file @
74b9d280
...
@@ -164,7 +164,7 @@ function Spareback(props) {
...
@@ -164,7 +164,7 @@ function Spareback(props) {
},
[
activeTabKey
]);
},
[
activeTabKey
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
备件回冲
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
备件回冲
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/stock/index.jsx
View file @
74b9d280
...
@@ -39,7 +39,7 @@ function Stock(props) {
...
@@ -39,7 +39,7 @@ function Stock(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
备件库存
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
备件库存
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/supplier/index.jsx
View file @
74b9d280
...
@@ -142,7 +142,7 @@ function Supplier(props) {
...
@@ -142,7 +142,7 @@ function Supplier(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
备件供应商
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
备件供应商
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/spare/userecord/index.jsx
View file @
74b9d280
...
@@ -101,7 +101,7 @@ function Record(props) {
...
@@ -101,7 +101,7 @@ function Record(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
使用记录
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
使用记录
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/system/dictionary/index.jsx
View file @
74b9d280
...
@@ -194,7 +194,7 @@ function Type(props) {
...
@@ -194,7 +194,7 @@ function Type(props) {
},
[
drawer
.
val
]);
},
[
drawer
.
val
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
数据字典
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
数据字典
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/system/field/index.jsx
View file @
74b9d280
...
@@ -148,7 +148,7 @@ function Field(props) {
...
@@ -148,7 +148,7 @@ function Field(props) {
},
[
drawer
?.
formId
]);
},
[
drawer
?.
formId
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
div
className=
"ant-card-head"
>
<
div
className=
"ant-card-head"
>
<
div
className=
"ant-card-head-wrapper"
>
<
div
className=
"ant-card-head-wrapper"
>
<
div
className=
"ant-card-head-title"
>
<
div
className=
"ant-card-head-title"
>
...
...
src/pages/system/pushsetting/Notice.jsx
View file @
74b9d280
...
@@ -109,7 +109,7 @@ function Project({ businessMsgOptionId }) {
...
@@ -109,7 +109,7 @@ function Project({ businessMsgOptionId }) {
});
});
},
[
drawer
?.
id
]);
},
[
drawer
?.
id
]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
columns=
{
columns
}
columns=
{
columns
}
actionRef=
{
actionRef
}
actionRef=
{
actionRef
}
...
...
src/pages/system/pushsetting/index.jsx
View file @
74b9d280
...
@@ -171,7 +171,7 @@ function Pushsetting(props) {
...
@@ -171,7 +171,7 @@ function Pushsetting(props) {
};
};
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
推送配置
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
推送配置
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/system/rules/index.jsx
View file @
74b9d280
...
@@ -162,7 +162,7 @@ function Rules(props) {
...
@@ -162,7 +162,7 @@ function Rules(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
{
<
h3
className=
"page-title"
>
编号规则
</
h3
>
}
pagetitle=
{
<
h3
className=
"page-title"
>
编号规则
</
h3
>
}
columns=
{
columns
}
columns=
{
columns
}
...
...
src/pages/welcome/index.jsx
View file @
74b9d280
...
@@ -92,7 +92,7 @@ function Welcome(props) {
...
@@ -92,7 +92,7 @@ function Welcome(props) {
},
[]);
},
[]);
return
(
return
(
<
div
style=
{
{
position
:
'relative'
}
}
>
<
div
>
<
AutoTable
<
AutoTable
pagetitle=
"系统首页"
pagetitle=
"系统首页"
columns=
{
columns
}
columns=
{
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