|
|
@ -359,7 +359,6 @@ export default { |
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
|
if (code === 0) { |
|
|
|
this.OrganizationaltypeList = data; |
|
|
|
console.log(this.OrganizationaltypeList,"his.Organizationaltype"); |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
@ -369,7 +368,7 @@ export default { |
|
|
|
handleprocessl(row){ |
|
|
|
this.showprocess=true |
|
|
|
this.EditList=row |
|
|
|
console.log(row,this.fmData,"row"); |
|
|
|
|
|
|
|
}, |
|
|
|
//关闭审查 |
|
|
|
|
|
|
@ -379,7 +378,7 @@ export default { |
|
|
|
}, |
|
|
|
//成员管理 |
|
|
|
handleshowMember(row){ |
|
|
|
console.log (row,this.fmData,"row"); |
|
|
|
|
|
|
|
this.showMember=true |
|
|
|
this.fmData=row |
|
|
|
|
|
|
@ -392,8 +391,8 @@ export default { |
|
|
|
//修改 |
|
|
|
handleEdit(row){ |
|
|
|
this.showAdd=true |
|
|
|
this.formTitle="新增" |
|
|
|
console.log(row,"row"); |
|
|
|
this.formTitle="修改" |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.ref_form.initForm("edit", row.id); |
|
|
|
}); |
|
|
@ -452,8 +451,8 @@ if (code === 0) { |
|
|
|
|
|
|
|
this.tableData.forEach(item => { |
|
|
|
this.options.forEach(item1 => { |
|
|
|
console.log(item1, "item1"); |
|
|
|
console.log(item1.children, "item1.children"); |
|
|
|
|
|
|
|
|
|
|
|
if (Array.isArray(item1.children)) { |
|
|
|
item1.children.forEach(item2 => { |
|
|
|
if (item2.value.toString() == item.type) { |
|
|
@ -465,7 +464,6 @@ if (code === 0) { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
console.log(this.tableData, "this.tableData"); |
|
|
|
} else { |
|
|
|
// 错误处理逻辑 |
|
|
|
} |
|
|
|