|
|
@ -13,7 +13,8 @@ |
|
|
|
<el-input v-model="dataForm.name" |
|
|
|
:placeholder="$t('dept.name')"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="$t('dept.partyCode')"> |
|
|
|
<el-form-item prop="partyCode" |
|
|
|
:label="$t('dept.partyCode')"> |
|
|
|
<el-input v-model="dataForm.partyCode" |
|
|
|
:placeholder="$t('dept.partyCode')"></el-input> |
|
|
|
</el-form-item> |
|
|
@ -49,7 +50,7 @@ |
|
|
|
prop="typeKey"> |
|
|
|
<el-select v-model="dataForm.typeKey" |
|
|
|
@change="changeOrgType" |
|
|
|
placeholder="街道类型"> |
|
|
|
placeholder="机构类型"> |
|
|
|
<el-option v-for="item in secondOrgDictList" |
|
|
|
:key="item.dictValue" |
|
|
|
:label="item.dictName" |
|
|
@ -100,6 +101,9 @@ export default { |
|
|
|
name: [ |
|
|
|
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
|
|
|
], |
|
|
|
partyCode: [ |
|
|
|
{ required: true, message: this.$t('validate.required'), trigger: 'change' } |
|
|
|
], |
|
|
|
parentName: [ |
|
|
|
{ required: true, message: this.$t('validate.required'), trigger: 'change' } |
|
|
|
], |
|
|
|