|
|
@@ -4,13 +4,13 @@
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-body">
|
|
|
<div
|
|
|
- v-for="clientOrgnization in clientOrgnizations"
|
|
|
- :key="clientOrgnization.id"
|
|
|
+ v-for="clientOrganization in clientOrganizations"
|
|
|
+ :key="clientOrganization.id"
|
|
|
>
|
|
|
<TreeViewNode
|
|
|
- :node="clientOrgnization"
|
|
|
+ :node="clientOrganization"
|
|
|
:is-root="true"
|
|
|
- :is-show-check="clientOrgnization.isShowCheck"
|
|
|
+ :is-show-check="clientOrganization.isShowCheck"
|
|
|
@node-expand="nodeExpand"
|
|
|
@node-select="nodeSelect"
|
|
|
/>
|
|
|
@@ -62,7 +62,7 @@ export default {
|
|
|
'infoWindowDto': {},
|
|
|
'datas': [],
|
|
|
sendData: {},
|
|
|
- clientOrgnizations: [],
|
|
|
+ clientOrganizations: [],
|
|
|
};
|
|
|
},
|
|
|
|
|
|
@@ -120,7 +120,7 @@ export default {
|
|
|
$.ajax({
|
|
|
type: 'get',
|
|
|
dataType: 'json',
|
|
|
- url: Common.getApiURL('orgnizationResource/getClientOrgnizations'),
|
|
|
+ url: Common.getApiURL('organizationResource/getClientOrganizations'),
|
|
|
beforeSend: function (request) {
|
|
|
Common.addTokenToRequest(request);
|
|
|
},
|
|
|
@@ -154,7 +154,7 @@ export default {
|
|
|
// });
|
|
|
// }
|
|
|
|
|
|
- _self.clientOrgnizations = data;
|
|
|
+ _self.clientOrganizations = data;
|
|
|
_self.reSelectedNode(_self.fieldValue);
|
|
|
},
|
|
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if (ids != undefined) {
|
|
|
- this.clientOrgnizations.forEach(function (item) {
|
|
|
+ this.clientOrganizations.forEach(function (item) {
|
|
|
setOpen(item);
|
|
|
});
|
|
|
}
|