|
@ -86,17 +86,23 @@ |
|
|
<el-form-item label="负责人" |
|
|
<el-form-item label="负责人" |
|
|
label-width="150px" |
|
|
label-width="150px" |
|
|
prop="principal"> |
|
|
prop="principal"> |
|
|
<el-select v-model="editPrincipalData.principal" |
|
|
<el-input v-model="editPrincipalData.principal" |
|
|
placeholder="请选择" |
|
|
placeholder="请输入" |
|
|
clearable |
|
|
clearable |
|
|
style="width: 200px" |
|
|
style="width: 200px" |
|
|
class="item_width_4"> |
|
|
class="item_width_4"> |
|
|
<el-option v-for="item in staffs" |
|
|
</el-input> |
|
|
:key="item.value" |
|
|
</el-form-item> |
|
|
:label="item.label" |
|
|
<el-form-item label="联系电话" |
|
|
:value="item.value"> |
|
|
label-width="150px" |
|
|
</el-option> |
|
|
prop="principalMobile"> |
|
|
</el-select> |
|
|
<el-input v-model="editPrincipalData.principalMobile" |
|
|
|
|
|
placeholder="请输入" |
|
|
|
|
|
clearable |
|
|
|
|
|
style="width: 200px" |
|
|
|
|
|
class="item_width_4"> |
|
|
|
|
|
|
|
|
|
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<span slot="footer" class="dialog-footer"> |
|
|
<span slot="footer" class="dialog-footer"> |
|
@ -121,7 +127,8 @@ |
|
|
principal: '', |
|
|
principal: '', |
|
|
principalMobile: '', |
|
|
principalMobile: '', |
|
|
partyOrgId: '', |
|
|
partyOrgId: '', |
|
|
principalStaffId: '' |
|
|
// principalStaffId: '', |
|
|
|
|
|
principalMobile:'' |
|
|
}, |
|
|
}, |
|
|
searchH: 0, |
|
|
searchH: 0, |
|
|
dataForm: { |
|
|
dataForm: { |
|
@ -135,27 +142,27 @@ |
|
|
partyOrgTypes: [ |
|
|
partyOrgTypes: [ |
|
|
{ |
|
|
{ |
|
|
value: '0', |
|
|
value: '0', |
|
|
label: '省委' |
|
|
label: '省委书记' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
value: '1', |
|
|
value: '1', |
|
|
label: '市委' |
|
|
label: '市委书记' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
value: '2', |
|
|
value: '2', |
|
|
label: '区委' |
|
|
label: '区委书记' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
value: '3', |
|
|
value: '3', |
|
|
label: '党工委' |
|
|
label: '党工委书记' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
value: '4', |
|
|
value: '4', |
|
|
label: '党委' |
|
|
label: '党委书记' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
value: '5', |
|
|
value: '5', |
|
|
label: '支部' |
|
|
label: '支部书记' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
value: '6', |
|
|
value: '6', |
|
@ -209,6 +216,7 @@ |
|
|
}) |
|
|
}) |
|
|
this.editPrincipalData.partyOrgId = row.id |
|
|
this.editPrincipalData.partyOrgId = row.id |
|
|
this.editPrincipalData.principal = row.principal |
|
|
this.editPrincipalData.principal = row.principal |
|
|
|
|
|
this.editPrincipalData.principalMobile = row.principalMobile |
|
|
this.$http.post('/data/aggregator/org/staff-select-list/'+row.agencyId,{'params': {}}).then(({ data: res }) =>{ |
|
|
this.$http.post('/data/aggregator/org/staff-select-list/'+row.agencyId,{'params': {}}).then(({ data: res }) =>{ |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') |
|
|
return this.$message.error(res.internalMsg ? res.internalMsg : res.msg ? res.msg : '查询失败') |
|
@ -221,7 +229,7 @@ |
|
|
this.staffs.forEach(s => { |
|
|
this.staffs.forEach(s => { |
|
|
if (this.editPrincipalData.principal === s.value){ |
|
|
if (this.editPrincipalData.principal === s.value){ |
|
|
this.editPrincipalData.principal = s.name |
|
|
this.editPrincipalData.principal = s.name |
|
|
this.editPrincipalData.principalStaffId = s.value |
|
|
// this.editPrincipalData.principalStaffId = s.value |
|
|
this.editPrincipalData.principalMobile = s.mobile |
|
|
this.editPrincipalData.principalMobile = s.mobile |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
@ -249,7 +257,7 @@ |
|
|
principal: '', |
|
|
principal: '', |
|
|
principalMobile: '', |
|
|
principalMobile: '', |
|
|
partyOrgId: '', |
|
|
partyOrgId: '', |
|
|
principalStaffId: '' |
|
|
// principalStaffId: '' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 查询列表 |
|
|
// 查询列表 |
|
|