提交 bb5674a0 编写于 作者: tony001's avatar tony001

zpc --- 调整高级组件

上级 dce66886
...@@ -120,7 +120,6 @@ export default class AppDepartmentSelect extends Vue { ...@@ -120,7 +120,6 @@ export default class AppDepartmentSelect extends Vue {
return; return;
} }
this.$http.get(_url).then((response: any) => { this.$http.get(_url).then((response: any) => {
console.log(response)
this.Nodesdata = response.data; this.Nodesdata = response.data;
this.$store.commit('addDepData', { srfkey: this.filter, orgData: response.data }); this.$store.commit('addDepData', { srfkey: this.filter, orgData: response.data });
}).catch((response: any) => { }).catch((response: any) => {
......
...@@ -236,7 +236,7 @@ export default class AppOrgSelect extends Vue { ...@@ -236,7 +236,7 @@ export default class AppOrgSelect extends Vue {
* @memberof AppOrgSelect * @memberof AppOrgSelect
*/ */
public emitValue(name:string,value:any){ public emitValue(name:string,value:any){
this.$emit('formitemvaluechange',{name:name,value:value}); this.$emit('select-change',{name:name,value:value});
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册