Commit 55f133be authored by 仇晓婷's avatar 仇晓婷

部门

parent 70d317c7
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<Col :span="24"> <Col :span="24">
<FormItem :label="l('cityName')"> <FormItem :label="l('cityName')">
<Cascader :data="citys" v-model="entity.location"></Cascader> <Cascader :data="citys" v-model="location"></Cascader>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12"> <Col :span="12">
...@@ -72,7 +72,8 @@ export default { ...@@ -72,7 +72,8 @@ export default {
title02: "", title02: "",
organization_Id: 0, organization_Id: 0,
organization_Type: "", organization_Type: "",
departcode: "" departcode: "",
name:'',
}, },
property: [], property: [],
location: [], location: [],
...@@ -119,6 +120,7 @@ export default { ...@@ -119,6 +120,7 @@ export default {
} }
let location = this.location; let location = this.location;
let paramsdata = { let paramsdata = {
parentTitle:this.entity.name,
name: this.entity.title02, //部门名称 name: this.entity.title02, //部门名称
parent_Id: this.entity.id, //上级部门 [id] parent_Id: this.entity.id, //上级部门 [id]
code: this.entity.departcode, //部门编号 code: this.entity.departcode, //部门编号
......
...@@ -66,7 +66,8 @@ export default { ...@@ -66,7 +66,8 @@ export default {
organization_Id: 0, organization_Id: 0,
// organizationType: "" // organizationType: ""
departcode: "", departcode: "",
title02: "" title02: "",
}, },
property: [], property: [],
location: [], location: [],
...@@ -108,6 +109,7 @@ export default { ...@@ -108,6 +109,7 @@ export default {
} }
let location = this.location; let location = this.location;
let paramsdata = { let paramsdata = {
parentTitle:'',
name: this.entity.title02, //部门名称 name: this.entity.title02, //部门名称
parent_Id: 0, //上级部门 [id] parent_Id: 0, //上级部门 [id]
code: this.entity.departcode, //部门编号 code: this.entity.departcode, //部门编号
......
...@@ -106,6 +106,7 @@ export default { ...@@ -106,6 +106,7 @@ export default {
let location = this.city_level; let location = this.city_level;
let property = this.propertyList.join(","); let property = this.propertyList.join(",");
let paramsdata = { let paramsdata = {
parentTitle:this.row.parent.name,
id: this.entity.id, id: this.entity.id,
name: this.entity.name, //部门名称 name: this.entity.name, //部门名称
parent_Id: this.entity.parent_Id, //上级部门 [id] parent_Id: this.entity.parent_Id, //上级部门 [id]
...@@ -154,7 +155,7 @@ export default { ...@@ -154,7 +155,7 @@ export default {
property: this.row.property, property: this.row.property,
id: this.row.id, id: this.row.id,
organization_Id: this.row.organization_Id, organization_Id: this.row.organization_Id,
organizationType: this.row.organizationType organizationType: this.row.organizationType,
}; };
if (!model.property) { if (!model.property) {
model.property = ""; model.property = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment