dit':
          obj.data.action = layEvent;
          form.val("form", obj.data);
          break;
        case 'delete':
          layer.confirm('真的删除 '+obj.data.name +'吗？', function(index){
            $.ajax({
              url: API.delete,
              type:'get',
              data: {uuid: obj.data.uuid},
              success:function(data){
                if (data.ret !== 200) {
                  layer.msg(data.msg);
                  return;
                }
                layer.msg(