|
|
@ -78,7 +78,7 @@ |
|
|
|
top="5vh" |
|
|
|
class="dialog-h" |
|
|
|
:before-close="handleClose"> |
|
|
|
<el-form ref="principalRules" |
|
|
|
<el-form ref="refPrincipalRules" |
|
|
|
:inline="true" |
|
|
|
:model="editPrincipalData" |
|
|
|
:rules="principalRules" |
|
|
@ -203,6 +203,9 @@ |
|
|
|
methods:{ |
|
|
|
principal(row) { |
|
|
|
this.principalShow = true |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['refPrincipalRules'].resetFields(); |
|
|
|
}) |
|
|
|
this.editPrincipalData.partyOrgId = row.id |
|
|
|
this.editPrincipalData.principal = row.principal |
|
|
|
this.$http.post('/data/aggregator/org/staff-select-list/'+row.agencyId,{'params': {}}).then(({ data: res }) =>{ |
|
|
@ -220,7 +223,7 @@ |
|
|
|
this.editPrincipalData.principalMobile = s.mobile |
|
|
|
} |
|
|
|
}) |
|
|
|
this.$refs['principalRules'].validate((valid) => { |
|
|
|
this.$refs['refPrincipalRules'].validate((valid) => { |
|
|
|
if (!valid) { |
|
|
|
return false |
|
|
|
} |
|
|
|