Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
55f133be
Commit
55f133be
authored
May 07, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门
parent
70d317c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
Addrow.vue
pages/basicData/department/Addrow.vue
+4
-2
add.vue
pages/basicData/department/add.vue
+3
-1
edit.vue
pages/basicData/department/edit.vue
+2
-1
No files found.
pages/basicData/department/Addrow.vue
View file @
55f133be
...
...
@@ -26,7 +26,7 @@
<Col
:span=
"24"
>
<FormItem
:label=
"l('cityName')"
>
<Cascader
:data=
"citys"
v-model=
"
entity.
location"
></Cascader>
<Cascader
:data=
"citys"
v-model=
"location"
></Cascader>
</FormItem>
</Col>
<Col
:span=
"12"
>
...
...
@@ -72,7 +72,8 @@ export default {
title02
:
""
,
organization_Id
:
0
,
organization_Type
:
""
,
departcode
:
""
departcode
:
""
,
name
:
''
,
},
property
:
[],
location
:
[],
...
...
@@ -119,6 +120,7 @@ export default {
}
let
location
=
this
.
location
;
let
paramsdata
=
{
parentTitle
:
this
.
entity
.
name
,
name
:
this
.
entity
.
title02
,
//部门名称
parent_Id
:
this
.
entity
.
id
,
//上级部门 [id]
code
:
this
.
entity
.
departcode
,
//部门编号
...
...
pages/basicData/department/add.vue
View file @
55f133be
...
...
@@ -66,7 +66,8 @@ export default {
organization_Id
:
0
,
// organizationType: ""
departcode
:
""
,
title02
:
""
title02
:
""
,
},
property
:
[],
location
:
[],
...
...
@@ -108,6 +109,7 @@ export default {
}
let
location
=
this
.
location
;
let
paramsdata
=
{
parentTitle
:
''
,
name
:
this
.
entity
.
title02
,
//部门名称
parent_Id
:
0
,
//上级部门 [id]
code
:
this
.
entity
.
departcode
,
//部门编号
...
...
pages/basicData/department/edit.vue
View file @
55f133be
...
...
@@ -106,6 +106,7 @@ export default {
let
location
=
this
.
city_level
;
let
property
=
this
.
propertyList
.
join
(
","
);
let
paramsdata
=
{
parentTitle
:
this
.
row
.
parent
.
name
,
id
:
this
.
entity
.
id
,
name
:
this
.
entity
.
name
,
//部门名称
parent_Id
:
this
.
entity
.
parent_Id
,
//上级部门 [id]
...
...
@@ -154,7 +155,7 @@ export default {
property
:
this
.
row
.
property
,
id
:
this
.
row
.
id
,
organization_Id
:
this
.
row
.
organization_Id
,
organizationType
:
this
.
row
.
organizationType
organizationType
:
this
.
row
.
organizationType
,
};
if
(
!
model
.
property
)
{
model
.
property
=
""
;
...
...
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