1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <ion-view view-title="{{titleName[activeIndex]}}" hide-back-button="true">
- <ion-nav-buttons side="left">
- <button class="button button-clear" ng-click="back()">{{activeIndex==0?"取消":"上一步"}}</button>
- </ion-nav-buttons>
- <ion-content>
- <div class="button-bar striped">
- <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==0?true:false]"></button>
- <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==1?true:false]"></button>
- <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==2?true:false]"></button>
- <button class="button" ng-class="{true:'striped-color',false:'striped-hover'}[activeIndex==3?true:false]"></button>
- </div>
- <ion-slide-box show-pager="false" ng-init="lockSlide()" active-slide="activeIndex">
- <ion-slide>
- <form name="form" novalidate>
- <div class="list list-inset compname-div">
- <label class="item item-input" ng-class="{'true':'border-red'}[form.serialnumber.$dirty &&form.serialnumber.$invalid]">
- <input type="text" name="serialnumber" ng-model="serialnumber" ng-minlength="2" ng-maxlength="45" required placeholder="请输入序列号" reset-field>
- </label>
- </div>
- <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>
- </form>
- </ion-slide>
- <ion-slide>
- <div class="item item-divider"></div>
- <ion-item class="item item-icon-right item-text-wrap" ng-click="showmodal()">
- 公司
- <label class="label-right-text item-note">{{activecomp.name}}</label>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <button class="create-comp-button button button-block calm" ng-click="next(2)">下一步</button>
- </ion-slide>
- <ion-slide>
- <div class="item item-divider"></div>
- <form name="formuser" novalidate>
- <div class="list notice-input">
- <label class="item item-input">
- <span class="input-label notice-title">用户名 :</span>
- <input type="text" name="username" required ng-model="activecomp.erpusr">
- </label>
- <label class="item item-input">
- <span class="input-label notice-title">密 码 :</span>
- <input type="password" name="password" ng-minlength="1" ng-maxlength="45" required ng-model="activecomp.erppwd">
- </label>
- </div>
- <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>
- </form>
- </ion-slide>
- <ion-slide>
- <div class="marginTop30 ">
- <div class="center">
- <i class="icon ion-help assertive ion-ask"></i>
- <div class="marginTop10">是否需要导入部门信息</div>
- </div>
- <div class="row">
- <div class="col col-20 center">
- </div>
- <div class="col col-30 center">
- <button class="button button-clear button-positive" ng-click="parse()">
- 跳过
- </button>
- </div>
- <div class="col col-30 center">
- <button class="button button-clear button-positive" ng-click="importDept()">
- 导入
- </button>
- </div>
- <div class="col col-20 center">
- </div>
- </div>
- </div>
- </ion-slide>
- </ion-slide-box>
- </ion-content>
- </ion-view>
|