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
b78a0951
Commit
b78a0951
authored
Dec 15, 2022
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uploadImage
parent
ad46a806
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
FormItems.jsx
src/components/InitForm/FormItems.jsx
+1
-0
index.jsx
src/pages/device/account/index.jsx
+18
-1
columns.js
src/pages/setting/organization/columns.js
+1
-0
No files found.
src/components/InitForm/FormItems.jsx
View file @
b78a0951
...
@@ -1254,6 +1254,7 @@ function UploadDragger({ item, colProps }) {
...
@@ -1254,6 +1254,7 @@ function UploadDragger({ item, colProps }) {
},
},
}
}
}
}
transform=
{
(
value
)
=>
{
transform=
{
(
value
)
=>
{
console
.
log
(
'11'
,
value
);
const
key
=
item
.
key
??
item
.
dataIndex
;
const
key
=
item
.
key
??
item
.
dataIndex
;
const
transvalue
=
value
?.
map
((
it
)
=>
{
const
transvalue
=
value
?.
map
((
it
)
=>
{
if
(
it
.
response
)
{
if
(
it
.
response
)
{
...
...
src/pages/device/account/index.jsx
View file @
b78a0951
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-15 1
8:38:16
* @Last Modified time: 2022-12-15 1
9:13:39
*/
*/
import
*
as
React
from
'react'
;
import
*
as
React
from
'react'
;
...
@@ -785,6 +785,7 @@ function Model(props) {
...
@@ -785,6 +785,7 @@ function Model(props) {
title
:
'设备编号'
,
title
:
'设备编号'
,
dataIndex
:
'equipmentNo'
,
dataIndex
:
'equipmentNo'
,
key
:
'equipmentNo'
,
key
:
'equipmentNo'
,
search
:
false
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
width
:
120
,
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
...
@@ -792,6 +793,7 @@ function Model(props) {
...
@@ -792,6 +793,7 @@ function Model(props) {
{
{
title
:
'设备名称'
,
title
:
'设备名称'
,
dataIndex
:
'equipmentName'
,
dataIndex
:
'equipmentName'
,
search
:
false
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
width
:
120
,
key
:
'equipmentName'
,
key
:
'equipmentName'
,
...
@@ -800,6 +802,7 @@ function Model(props) {
...
@@ -800,6 +802,7 @@ function Model(props) {
{
{
title
:
'公司名称'
,
title
:
'公司名称'
,
align
:
'center'
,
align
:
'center'
,
search
:
false
,
dataIndex
:
'organizationName'
,
dataIndex
:
'organizationName'
,
width
:
120
,
width
:
120
,
key
:
'organizationId'
,
key
:
'organizationId'
,
...
@@ -810,6 +813,7 @@ function Model(props) {
...
@@ -810,6 +813,7 @@ function Model(props) {
{
{
title
:
'部门名称'
,
title
:
'部门名称'
,
width
:
120
,
width
:
120
,
search
:
false
,
align
:
'center'
,
align
:
'center'
,
valueType
:
'treeSelect'
,
valueType
:
'treeSelect'
,
dataIndex
:
'departmentName'
,
dataIndex
:
'departmentName'
,
...
@@ -824,6 +828,7 @@ function Model(props) {
...
@@ -824,6 +828,7 @@ function Model(props) {
{
{
title
:
'工厂名称'
,
title
:
'工厂名称'
,
dataIndex
:
'factoryName'
,
dataIndex
:
'factoryName'
,
search
:
false
,
key
:
'factoryId'
,
key
:
'factoryId'
,
width
:
120
,
width
:
120
,
align
:
'center'
,
align
:
'center'
,
...
@@ -835,6 +840,7 @@ function Model(props) {
...
@@ -835,6 +840,7 @@ function Model(props) {
title
:
'车间名称'
,
title
:
'车间名称'
,
dataIndex
:
'shopName'
,
dataIndex
:
'shopName'
,
align
:
'center'
,
align
:
'center'
,
search
:
false
,
width
:
120
,
width
:
120
,
valueType
:
'select'
,
valueType
:
'select'
,
options
:
{
options
:
{
...
@@ -848,6 +854,7 @@ function Model(props) {
...
@@ -848,6 +854,7 @@ function Model(props) {
},
},
{
{
title
:
'工段名称'
,
title
:
'工段名称'
,
search
:
false
,
width
:
120
,
width
:
120
,
dataIndex
:
'sectionName'
,
dataIndex
:
'sectionName'
,
align
:
'center'
,
align
:
'center'
,
...
@@ -862,6 +869,7 @@ function Model(props) {
...
@@ -862,6 +869,7 @@ function Model(props) {
},
},
{
{
title
:
'产线名称'
,
title
:
'产线名称'
,
search
:
false
,
width
:
120
,
width
:
120
,
dataIndex
:
'productLineName'
,
dataIndex
:
'productLineName'
,
valueType
:
'select'
,
valueType
:
'select'
,
...
@@ -886,6 +894,7 @@ function Model(props) {
...
@@ -886,6 +894,7 @@ function Model(props) {
{
{
title
:
'设备编号'
,
title
:
'设备编号'
,
dataIndex
:
'equipmentNo'
,
dataIndex
:
'equipmentNo'
,
search
:
false
,
key
:
'equipmentNo'
,
key
:
'equipmentNo'
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
width
:
120
,
...
@@ -894,6 +903,7 @@ function Model(props) {
...
@@ -894,6 +903,7 @@ function Model(props) {
{
{
title
:
'设备名称'
,
title
:
'设备名称'
,
dataIndex
:
'equipmentName'
,
dataIndex
:
'equipmentName'
,
search
:
false
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
width
:
120
,
key
:
'equipmentName'
,
key
:
'equipmentName'
,
...
@@ -905,6 +915,7 @@ function Model(props) {
...
@@ -905,6 +915,7 @@ function Model(props) {
dataIndex
:
'organizationName'
,
dataIndex
:
'organizationName'
,
width
:
120
,
width
:
120
,
key
:
'organizationId'
,
key
:
'organizationId'
,
search
:
false
,
valueType
:
'select'
,
valueType
:
'select'
,
options
:
{
path
:
'/auth/sysDepartment/query/organization/selectbox'
,
params
:
{}
},
options
:
{
path
:
'/auth/sysDepartment/query/organization/selectbox'
,
params
:
{}
},
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
...
@@ -913,6 +924,7 @@ function Model(props) {
...
@@ -913,6 +924,7 @@ function Model(props) {
title
:
'部门名称'
,
title
:
'部门名称'
,
width
:
120
,
width
:
120
,
align
:
'center'
,
align
:
'center'
,
search
:
false
,
valueType
:
'treeSelect'
,
valueType
:
'treeSelect'
,
dataIndex
:
'departmentName'
,
dataIndex
:
'departmentName'
,
key
:
'departmentId'
,
key
:
'departmentId'
,
...
@@ -925,6 +937,7 @@ function Model(props) {
...
@@ -925,6 +937,7 @@ function Model(props) {
},
},
{
{
title
:
'工厂名称'
,
title
:
'工厂名称'
,
search
:
false
,
dataIndex
:
'factoryName'
,
dataIndex
:
'factoryName'
,
key
:
'factoryId'
,
key
:
'factoryId'
,
width
:
120
,
width
:
120
,
...
@@ -936,6 +949,7 @@ function Model(props) {
...
@@ -936,6 +949,7 @@ function Model(props) {
{
{
title
:
'车间名称'
,
title
:
'车间名称'
,
dataIndex
:
'shopName'
,
dataIndex
:
'shopName'
,
search
:
false
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
width
:
120
,
valueType
:
'select'
,
valueType
:
'select'
,
...
@@ -954,6 +968,7 @@ function Model(props) {
...
@@ -954,6 +968,7 @@ function Model(props) {
dataIndex
:
'sectionName'
,
dataIndex
:
'sectionName'
,
align
:
'center'
,
align
:
'center'
,
key
:
'sectionId'
,
key
:
'sectionId'
,
search
:
false
,
valueType
:
'select'
,
valueType
:
'select'
,
options
:
{
options
:
{
path
:
'/auth/sysSection/getAllSectionSelectionByShop'
,
path
:
'/auth/sysSection/getAllSectionSelectionByShop'
,
...
@@ -967,6 +982,7 @@ function Model(props) {
...
@@ -967,6 +982,7 @@ function Model(props) {
width
:
120
,
width
:
120
,
dataIndex
:
'productLineName'
,
dataIndex
:
'productLineName'
,
valueType
:
'select'
,
valueType
:
'select'
,
search
:
false
,
key
:
'productLineName'
,
key
:
'productLineName'
,
align
:
'center'
,
align
:
'center'
,
options
:
{
options
:
{
...
@@ -1148,6 +1164,7 @@ function Model(props) {
...
@@ -1148,6 +1164,7 @@ function Model(props) {
title
:
'设备编号'
,
title
:
'设备编号'
,
dataIndex
:
'equipmentNo'
,
dataIndex
:
'equipmentNo'
,
key
:
'equipmentNo'
,
key
:
'equipmentNo'
,
searchfalse
,
align
:
'center'
,
align
:
'center'
,
width
:
120
,
width
:
120
,
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
...
...
src/pages/setting/organization/columns.js
View file @
b78a0951
...
@@ -30,6 +30,7 @@ function getcolumns(setdrawer) {
...
@@ -30,6 +30,7 @@ function getcolumns(setdrawer) {
width
:
180
,
width
:
180
,
dataIndex
:
'departmentCode'
,
dataIndex
:
'departmentCode'
,
key
:
'departmentCode'
,
key
:
'departmentCode'
,
hideInTable
:
true
,
formItemProps
:
{
formItemProps
:
{
rules
:
[
rules
:
[
{
{
...
...
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