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
d8a8d59b
Commit
d8a8d59b
authored
Jan 31, 2023
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
75637542
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
22 deletions
+61
-22
index.jsx
src/pages/device/account/index.jsx
+6
-1
columns.js
src/pages/device/supplier/columns.js
+1
-1
index.jsx
src/pages/device/supplier/index.jsx
+2
-2
index.jsx
src/pages/repair/order/index.jsx
+24
-12
index.jsx
src/pages/setting/organization/index.jsx
+2
-2
index.jsx
src/pages/setting/role/index.jsx
+2
-2
columns.js
src/pages/setting/users/columns.js
+17
-0
columns.js
src/pages/system/field/columns.js
+6
-1
index.jsx
src/pages/system/field/index.jsx
+1
-1
No files found.
src/pages/device/account/index.jsx
View file @
d8a8d59b
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-01-31
09:34:55
* @Last Modified time: 2023-01-31
14:49:20
*/
import
*
as
React
from
'react'
;
...
...
@@ -620,6 +620,11 @@ function Model(props) {
dataIndex
:
'equipmentTypeName'
,
key
:
'equipmentTypeId'
,
},
{
title
:
'设备型号'
,
dataIndex
:
'equipmentModelName'
,
key
:
'equipmentModelName'
,
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
...
...
src/pages/device/supplier/columns.js
View file @
d8a8d59b
...
...
@@ -254,7 +254,7 @@ function getcolumns(ifs) {
dataIndex
:
'title'
,
key
:
'title'
,
fieldProps
:
{
placeholder
:
'请输入'
,
placeholder
:
'请输入
职务
'
,
},
formItemProps
:
{
rules
:
[
...
...
src/pages/device/supplier/index.jsx
View file @
d8a8d59b
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-09 14:44:44
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-01-
18 15:25:43
* @Last Modified time: 2023-01-
31 13:50:19
*/
import
*
as
React
from
'react'
;
...
...
@@ -293,7 +293,7 @@ function Supplier(props) {
);
};
const
columns
=
useMemo
(()
=>
{
let
defcolumn
=
getcolumns
(
setDrawer
);
let
defcolumn
=
getcolumns
(
false
);
defcolumn
[
1
].
render
=
(
text
,
row
)
=>
{
return
(
<
a
...
...
src/pages/repair/order/index.jsx
View file @
d8a8d59b
...
...
@@ -3,7 +3,7 @@
* @Author: Li Hanlin
* @Date: 2022-12-02 11:41:03
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-01-31 1
1:18:25
* @Last Modified time: 2023-01-31 1
5:01:41
*/
import
*
as
React
from
'react'
;
...
...
@@ -775,6 +775,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
columns
}
onFinish=
{
async
(
vals
)
=>
{
let
params
=
{
...
...
@@ -802,7 +803,6 @@ function Failure(props) {
actionRef
.
current
.
reload
();
}
}
}
defaultFormValue=
{
drawer
?.
item
}
{
...
drawer
}
/>
</>
...
...
@@ -813,6 +813,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'申请追踪原因'
,
...
...
@@ -857,6 +858,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'申请外协原因'
,
...
...
@@ -901,6 +903,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'转单类型'
,
...
...
@@ -965,6 +968,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'退单原因'
,
...
...
@@ -1009,6 +1013,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'故障描述'
,
...
...
@@ -1081,8 +1086,8 @@ function Failure(props) {
},
{
title
:
'备注'
,
dataIndex
:
'rema
ker
'
,
key
:
'rema
ker
'
,
dataIndex
:
'rema
rk
'
,
key
:
'rema
rk
'
,
valueType
:
'textarea'
,
formItemProps
:
{
rules
:
[
...
...
@@ -1096,7 +1101,11 @@ function Failure(props) {
]
}
onFinish=
{
async
(
vals
)
=>
{
let
params
=
{
repairInfo
:
{
...
vals
},
repairProcess
:
{
reviewerResult
:
''
,
remark
:
vals
?.
remark
,
},
resultFlag
:
vals
?.
resultFlag
,
id
:
drawer
?.
item
.
id
,
};
let
res
=
await
doFetch
({
...
...
@@ -1122,6 +1131,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'申请追踪原因'
,
...
...
@@ -1159,8 +1169,8 @@ function Failure(props) {
},
{
title
:
'备注'
,
dataIndex
:
'rema
ker
'
,
key
:
'rema
ker
'
,
dataIndex
:
'rema
rk
'
,
key
:
'rema
rk
'
,
valueType
:
'textarea'
,
formItemProps
:
{
rules
:
[
...
...
@@ -1201,6 +1211,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'申请外协原因'
,
...
...
@@ -1238,8 +1249,8 @@ function Failure(props) {
},
{
title
:
'备注'
,
dataIndex
:
'rema
ker
'
,
key
:
'rema
ker
'
,
dataIndex
:
'rema
rk
'
,
key
:
'rema
rk
'
,
valueType
:
'textarea'
,
formItemProps
:
{
rules
:
[
...
...
@@ -1280,6 +1291,7 @@ function Failure(props) {
return
(
<>
<
InitForm
defaultFormValue=
{
drawer
?.
item
}
fields=
{
[
{
title
:
'退单原因'
,
...
...
@@ -1317,8 +1329,8 @@ function Failure(props) {
},
{
title
:
'备注'
,
dataIndex
:
'rema
ker
'
,
key
:
'rema
ker
'
,
dataIndex
:
'rema
rk
'
,
key
:
'rema
rk
'
,
valueType
:
'textarea'
,
formItemProps
:
{
rules
:
[
...
...
@@ -1332,7 +1344,7 @@ function Failure(props) {
]
}
onFinish=
{
async
(
vals
)
=>
{
let
params
=
{
repairProcess
:
{
reviewerResult
:
vals
.
re
viewerResult
},
repairProcess
:
{
reviewerResult
:
vals
.
re
ason
,
remark
:
vals
?.
reason
},
resultFlag
:
vals
.
resultFlag
,
id
:
drawer
?.
item
.
id
,
};
...
...
src/pages/setting/organization/index.jsx
View file @
d8a8d59b
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-24 11:16:02
* @Last Modified by: Li Hanlin
* @Last Modified time: 202
2-12-05 16:20:2
2
* @Last Modified time: 202
3-01-31 13:29:1
2
*/
import
*
as
React
from
'react'
;
import
{
useState
,
useMemo
,
useRef
}
from
'react'
;
...
...
@@ -151,7 +151,7 @@ function Type(props) {
return
(
<
PremButton
pop=
{
{
title
:
'是否删除该
设备类型
?'
,
title
:
'是否删除该
组织
?'
,
okText
:
'确认'
,
cancelText
:
'取消'
,
onConfirm
:
async
()
=>
{
...
...
src/pages/setting/role/index.jsx
View file @
d8a8d59b
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-09 14:44:44
* @Last Modified by: Li Hanlin
* @Last Modified time: 202
2-12-30 14:10:29
* @Last Modified time: 202
3-01-31 13:28:48
*/
import
*
as
React
from
'react'
;
...
...
@@ -99,7 +99,7 @@ function Role(props) {
return
(
<
PremButton
pop=
{
{
title
:
'是否删除该
工厂
?'
,
title
:
'是否删除该
角色
?'
,
okText
:
'确认'
,
cancelText
:
'取消'
,
onConfirm
:
async
()
=>
{
...
...
src/pages/setting/users/columns.js
View file @
d8a8d59b
...
...
@@ -109,6 +109,23 @@ function getcolumns(setDrawer, ifs, formRef) {
dataIndex
:
'statusName'
,
key
:
'status'
,
},
{
title
:
'个人图片'
,
dataIndex
:
'pictureUrl'
,
key
:
'pictureUrl'
,
render
:
(
text
,
row
)
=>
{
if
(
row
?.
pictureUrl
==
null
)
{
return
'暂无图片'
;
}
else
{
return
<
Image
width
=
{
70
}
src
=
{
row
.
pictureUrl
}
/>
;
}
},
},
{
title
:
'备注'
,
dataIndex
:
'remarks'
,
key
:
'remarks'
,
},
],
setDrawer
,
row
,
...
...
src/pages/system/field/columns.js
View file @
d8a8d59b
...
...
@@ -130,11 +130,16 @@ function getcolumns(ifs) {
formItemProps
:
{
rules
:
[
{
required
:
fals
e
,
required
:
tru
e
,
message
:
'此项为必填项'
,
},
],
},
fieldProps
:
{
placeholder
:
'请输入排序号,默认为0'
,
min
:
0
,
defaultValue
:
0
,
},
search
:
false
,
precision
:
0
,
},
...
...
src/pages/system/field/index.jsx
View file @
d8a8d59b
...
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified time: 2023-01-
13 17:07:03
* @Last Modified time: 2023-01-
31 14:06:49
*/
import
*
as
React
from
'react'
;
...
...
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