customFormDetail.2.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!--<ion-view view-title="tab-customFormDetail">
  2. <ion-content>
  3. <form ng-submit="vm.submit(vm.model,'expand-right')">
  4. <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
  5. <div class="col-xs-12 margin-top-30 margin-bottom-30">
  6. <button type="close" class="btn btn-primary pull-right margin-right-10" ng-click="closeModel()">关闭</button>
  7. <button type="button" class=" btn btn-primary" ng-click="save(vm.model)" ng-if="close">保存</button>
  8. <button type="submit" class="btn btn-primary pull-right margin-right-10" ng-disabled="ldloading.expand_right" ladda="ldloading.expand_right" data-style="expand-right">提交</button>
  9. <button type="button" ladda="ldloading.sm" class="btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET" ng-if="Reset">Reset</button>
  10. </div>
  11. </formly-form>
  12. </form>
  13. </ion-content>
  14. </ion-view>-->
  15. <!--123456456456123
  16. <form ng-submit="vm.submit(vm.model,'expand-right')">
  17. <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
  18. <div class="col-xs-12 margin-top-30 margin-bottom-30">
  19. <button type="close" class="btn btn-primary pull-right margin-right-10" ng-click="closeModel()">关闭</button>
  20. <button type="button" class=" btn btn-primary" ng-click="save(vm.model)" ng-if="close">保存</button>
  21. <button type="submit" class="btn btn-primary pull-right margin-right-10" ng-disabled="ldloading.expand_right" ladda="ldloading.expand_right" data-style="expand-right">提交</button>
  22. <button type="button" ladda="ldloading.sm" class="btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET" ng-if="Reset">Reset</button>
  23. </div>
  24. </formly-form>
  25. </form>-->
  26. <ion-view view-title="tab-customFormDetail" class="scroll-content has-header balanced-bg light">
  27. <ion-content>
  28. customFormDetail
  29. <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
  30. <div class="col-xs-12 margin-top-30 margin-bottom-30">
  31. <button type="close" class="btn btn-primary pull-right margin-right-10" ng-click="closeModel()">关闭</button>
  32. <button type="button" class=" btn btn-primary" ng-click="save(vm.model)" ng-if="close">保存</button>
  33. <button type="submit" class="btn btn-primary pull-right margin-right-10" ng-disabled="ldloading.expand_right" ladda="ldloading.expand_right" data-style="expand-right">提交</button>
  34. <button type="button" ladda="ldloading.sm" class="btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET" ng-if="Reset">Reset</button>
  35. </div>
  36. </formly-form>
  37. </ion-content>
  38. </ion-view>