Explorar o código

装集客项目更新

lijiangwei %!s(int64=4) %!d(string=hai) anos
pai
achega
1bcf588782
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 2 2
      uis/views/customer/edit.html
  2. 1 1
      uis/views/customer/index.html

+ 2 - 2
uis/views/customer/edit.html

@@ -159,10 +159,10 @@
 
         form.on('submit(component-form-element)', function (data) {
             if (id) {
-                var url = '/reportcustomer/' + id + '/';
+                var url = '/customer/reportcustomer/' + id + '/';
                 var type = 'put';
             } else {
-                url = '/reportcustomer/';
+                url = '/customer/reportcustomer/';
                 type = 'post'
             }
             if(data.field.source) data.field.source = parseInt(data.field.source);

+ 1 - 1
uis/views/customer/index.html

@@ -124,7 +124,7 @@
 
         table.render({
             elem: '#customer_datagrid'
-            , url: '/reportcustomer/'
+            , url: '/customer/reportcustomer/'
             , cols: [[
                 {field: 'name', title: '姓名', width: 200}
                 , {field: 'gender_text', title: "性别", width: 70}