소스 검색

装集客项目更新

lijiangwei 4 년 전
부모
커밋
561644e645
2개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 5
      uis/views/customer/edit.html
  2. 1 1
      uis/views/customer/index.html

+ 0 - 5
uis/views/customer/edit.html

@@ -136,14 +136,9 @@
                 if(data_project && data_project.length > 0){
                     tempData = data_project.map(item=>{
                         if(id && editdata['project']){
-                           if(typeof editdata['project'] === 'number'){
-                               editdata['project'] = [editdata['project']]
-                           }
                            editdata['project'].forEach(item1=>{
                                if(item.id === item1){
                                    item.selected = 'selected'
-                               }else{
-                                   item.selected = ''
                                }
                            })
                         }

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

@@ -182,7 +182,7 @@
                 layer.confirm('确定要删除吗?', function (index) {
                     layer.close(index);
                     admin.req({
-                        url: '/customer/reportcustomer/' + data.id + '/'
+                        url: '/customer/report_customer/' + data.id + '/'
                         , type: 'delete'
                         , done: function (res) {
                             table.reload('customer_datagrid', {});