فهرست منبع

orgnization->organization,Orgnization->Organization

yangzhijie 4 سال پیش
والد
کامیت
d896e89df5
2فایلهای تغییر یافته به همراه11 افزوده شده و 11 حذف شده
  1. 3 3
      packages/info/src/InfoWindow.vue
  2. 8 8
      packages/info/src/customer/ClientOrganizationInfo.vue

+ 3 - 3
packages/info/src/InfoWindow.vue

@@ -20,7 +20,7 @@
 var Common = require('../../common/Common.js').default;
 var QueryPage = require('./QueryPage.vue').default;
 var Loading = require('../../loading/src/Loading.vue').default;
-var ClientOrgnization = require('./customer/ClientOrgnizationInfo.vue').default;
+var ClientOrganization = require('./customer/ClientOrganizationInfo.vue').default;
 
 export default {
   name: 'InfoWindow',
@@ -28,7 +28,7 @@ export default {
   components: {
     QueryPage,
     Loading,
-    ClientOrgnization,
+    ClientOrganization,
   },
   props: {
     'whereClause':
@@ -164,7 +164,7 @@ export default {
       if (_self.$refs.infoComponent != undefined) {
         if (_self.componentName == 'QueryPage') {
           _self.$refs.infoComponent.pageSearch();
-        } else if (_self.componentName == 'ClientOrgnization') {
+        } else if (_self.componentName == 'ClientOrganization') {
           _self.$refs.infoComponent.refresh();
         }
       }

+ 8 - 8
packages/info/src/customer/ClientOrgnizationInfo.vue → packages/info/src/customer/ClientOrganizationInfo.vue

@@ -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);
         });
       }