|
|
@@ -219,7 +219,8 @@
|
|
|
placeholder="请选择培训机构"/>
|
|
|
</el-form-item>-->
|
|
|
<el-form-item v-show="form.execOrgType" label="培训机构" prop="planExecOrgIdList">
|
|
|
- <org-tree-select v-model="form.planExecOrgIdList" :queryData="form.execOrgType" ref="orgTreeSelect"
|
|
|
+<!-- <p>{{form.planExecOrgIdList}}</p>-->
|
|
|
+ <org-tree-select :default-node="form.planExecOrgIdList" :queryData="form.execOrgType" ref="orgTreeSelect"
|
|
|
@selectNode="queryNode" :disable="true">
|
|
|
</org-tree-select>
|
|
|
</el-form-item>
|
|
|
@@ -527,6 +528,10 @@ export default {
|
|
|
const id = row.id || this.ids
|
|
|
getPlan(id).then(response => {
|
|
|
this.form = response.data;
|
|
|
+ console.log(this.form,'ffffff')
|
|
|
+ //将 this.form.planExecOrgIdList中的元素转为字符串
|
|
|
+ this.form.planExecOrgIdList = this.form.planExecOrgIdList.map(element => element.toString());
|
|
|
+ console.log("this.form.planExecOrgIdList", this.form.planExecOrgIdList);
|
|
|
this.formFileListDefualtValue = this.form.fileList;
|
|
|
this.open = true;
|
|
|
this.title = "修改教育培训计划";
|