|
|
@ -7,15 +7,16 @@ |
|
|
|
@keyup.enter.native="dataFormSubmitHandle()" |
|
|
|
label-width="120px" |
|
|
|
> |
|
|
|
<el-form-item label="所属组织名称" prop="orgName"> |
|
|
|
<el-form-item label="所属组织名称" prop="orgId"> |
|
|
|
<!-- <el-input v-model="dataForm.orgName" placeholder="所属组织名称"></el-input> --> |
|
|
|
<el-select v-model="dataForm.orgName" placeholder="所属组织名称"> |
|
|
|
<el-select v-model="dataForm.orgId" placeholder="所属组织名称"> |
|
|
|
<el-option |
|
|
|
ref="org" |
|
|
|
v-for="item in organizationList" |
|
|
|
:key="item.orgId" |
|
|
|
:label="item.orgName" |
|
|
|
:value="item.orgId" |
|
|
|
name="dataForm.orgName" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
@ -352,7 +353,11 @@ export default { |
|
|
|
.catch(() => {}); |
|
|
|
}, |
|
|
|
// 表单提交 |
|
|
|
dataFormSubmitHandle: debounce( |
|
|
|
dataFormSubmitHandle(){ |
|
|
|
console.log(this.dataForm) |
|
|
|
}, |
|
|
|
|
|
|
|
dataFormSubmitHandle2: debounce( |
|
|
|
function () { |
|
|
|
this.$refs["dataForm"].validate((valid) => { |
|
|
|
if (!valid) { |
|
|
|