|
|
@ -367,15 +367,12 @@ |
|
|
|
toAdd() { |
|
|
|
this.viewState = 2 |
|
|
|
var orgSid = '' |
|
|
|
getOrgSidByPath({ |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
}).then((res) => { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
orgSid = res.data |
|
|
|
this.$refs['divadd'].showAdd(window.sessionStorage.getItem('userSid'), orgSid, window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1)) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.$refs['divadd'].showAdd(window.sessionStorage.getItem('userSid'), orgSid, window.sessionStorage.getItem( |
|
|
|
'defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1)) |
|
|
|
}, |
|
|
|
toEdit() { |
|
|
|
|
|
|
|