compconnect.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <ion-view view-title="{{titleName[activeIndex]}}" hide-back-button="true">
  2. <ion-nav-buttons side="left">
  3. <button class="button button-clear" ng-click="back()">{{activeIndex==0?"取消":"上一步"}}</button>
  4. </ion-nav-buttons>
  5. <ion-content>
  6. <div class="button-bar striped">
  7. <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==0?true:false]"></button>
  8. <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==1?true:false]"></button>
  9. <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==2?true:false]"></button>
  10. <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==3?true:false]"></button>
  11. </div>
  12. <ion-slide-box show-pager="false" ng-init="lockSlide()" active-slide="activeIndex">
  13. <ion-slide>
  14. <form name="form" novalidate>
  15. <div class="list list-inset compname-div">
  16. <label class="item item-input" ng-class="{'true':'border-red'}[form.serialnumber.$dirty &&form.serialnumber.$invalid]">
  17. <input type="text" name="serialnumber" ng-model="serialnumber" ng-minlength="2" ng-maxlength="45" required placeholder="请输入序列号" reset-field>
  18. </label>
  19. </div>
  20. <button type="submit" class="create-comp-button button button-block calm" ng-disabled="form.serialnumber.$invalid||form.serialnumber.$pristine" ng-click="next(1,serialnumber)">下一步</button>
  21. </form>
  22. </ion-slide>
  23. <ion-slide>
  24. <div class="item item-divider"></div>
  25. <ion-item class="item item-icon-right item-text-wrap" ng-click="showmodal()">
  26. 公司
  27. <label class="label-right-text item-note">{{activecomp.name}}</label>
  28. <i class="icon ion-chevron-right icon-accessory"></i>
  29. </ion-item>
  30. <button class="create-comp-button button button-block calm" ng-click="next(2)">下一步</button>
  31. </ion-slide>
  32. <ion-slide>
  33. <div class="item item-divider"></div>
  34. <form name="formuser" novalidate>
  35. <div class="list notice-input">
  36. <label class="item item-input">
  37. <span class="input-label notice-title">用户名 :</span>
  38. <input type="text" name="username" required ng-model="activecomp.erpusr">
  39. </label>
  40. <label class="item item-input">
  41. <span class="input-label notice-title">密&nbsp;&nbsp;&nbsp;&nbsp;码 :</span>
  42. <input type="password" name="password" ng-minlength="1" ng-maxlength="45" required ng-model="activecomp.erppwd">
  43. </label>
  44. </div>
  45. <button type="submit" class="create-comp-button button button-block calm" ng-disabled="(formuser.username.$invalid||formuser.username.$pristine)||(formuser.password.$invalid||formuser.password.$pristine)" ng-click="commit(3)">提交</button>
  46. </form>
  47. </ion-slide>
  48. <ion-slide>
  49. <div class="marginTop30 ">
  50. <div class="center">
  51. <i class="icon ion-help assertive ion-ask"></i>
  52. <div class="marginTop10">是否需要导入部门信息</div>
  53. </div>
  54. <div class="row">
  55. <div class="col col-20 center">
  56. </div>
  57. <div class="col col-30 center">
  58. <button class="button button-clear button-positive" ng-click="parse()">
  59. 跳过
  60. </button>
  61. </div>
  62. <div class="col col-30 center">
  63. <button class="button button-clear button-positive" ng-click="importDept()">
  64. 导入
  65. </button>
  66. </div>
  67. <div class="col col-20 center">
  68. </div>
  69. </div>
  70. </div>
  71. </ion-slide>
  72. </ion-slide-box>
  73. </ion-content>
  74. </ion-view>