joincomp.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <ion-view view-title="{{'joincompTitle'| translate }}">
  2. <ion-content ng-init="init()">
  3. <div class="joincomp-tip " ng-if="is_show_jointip">
  4. <div class="title">
  5. <label for=""><i class="ion-ios-checkmark-outline"></i></label>
  6. <label for="">{{'successjointipTitle'| translate }}</label>
  7. </div>
  8. </div>
  9. <div class="comp-logo-box">
  10. </div>
  11. <form name="form" novalidate>
  12. <div class="list list-inset compname-div">
  13. <label class="item item-input" ng-class="{'true':'border-red'}[form.compid.$dirty &&form.compid.$invalid]">
  14. <input type="tel" name="compid" ng-model="data.compid" ng-pattern="/^[1-9]\d{0,10}$/" required placeholder="{{'entercompanycodetipTitle'| translate }}">
  15. </label>
  16. <!--<span class="colorred" ng-show="form.compid.$dirty &&form.compid.$invalid">&nbsp;&nbsp;请输入正确的公司代号</span>-->
  17. </div>
  18. <button type="submit" class="create-comp-button button button-block calm" ng-disabled="form.compid.$invalid||form.compid.$pristine" ng-click="joincomp()">{{'joincompTitle'| translate }}</button>
  19. </form>
  20. <div class="line-hr" ng-if="addedcomp.compid!=undefined">
  21. <div>
  22. <ion-item class=" comp-item item-avatar item-icon-right" type="item-text-wrap">
  23. <img ng-src="{{file_thumbnail_path}}">
  24. <label for="">{{addedcomp.name}}</label>
  25. <p><i class="ion-ios-person-outline icon-accessory ion-person"></i>{{'administratorTitle' | translate}} {{addedcomp.compadmin}}</p>
  26. </ion-item>
  27. <div class="comp-op">
  28. <div>
  29. <label for="">{{'hadjoinedTitle' | translate}}: {{addedcomp.usrcount}}{{'personTitle' | translate}}</label>
  30. <!-- <button class="button button-outline button-calm" ng-click="tocompinfo(0,0)">申请</button> -->
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </ion-content>
  36. </ion-view>