toDeclare.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <ion-view view-title="{{viewtitle}}">
  2. <div class="bar bar-header" style="background-image: none;background-color: #3B8BD0;">
  3. <div class="button button-icon icon pus_blue" ng-click="goback()"></div>
  4. <button class="button button-icon icon goback whiteGoBack noneContent" ng-click="goback()"></button>
  5. <h1 class="bar_title" style="color: #fff">{{viewtitle}}</h1>
  6. </div>
  7. <ion-content ng-class="{'has-header':true}"
  8. style="margin:0 auto;max-width:20.5rem;">
  9. <div class="form-box">
  10. <div ng-repeat="list in formList" ng-init="outerIndex=$index"
  11. ng-class="{'hole-row':true,'row-margideclare':list.type=='upload'}"
  12. ng-style="{display:list.type=='group'?'block':''}"
  13. ng-show="formList[outerIndex-1].type!='toggle'||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='是')||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='10501')">
  14. <div class="input-title" ng-if="list.type != 'upload'" style="font-size: 18px"
  15. ng-show="formList[outerIndex-1].type!='toggle'||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='是')||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='10501')">
  16. <sup ng-if='list.needed' style="color:red;">*</sup>{{list.title}}
  17. </div>
  18. <div style="margin-right: 5px;font-size: 18px;width: 100%;padding: 10px 10px" ng-if="list.type == 'upload'"
  19. ng-show="formList[outerIndex-1].type!='toggle'||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='是')||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='10501')">
  20. <sup ng-if='list.needed' style="color:red;">*</sup>{{list.title}}
  21. </div>
  22. <div style="margin-right: 5px;font-size: 16px;width: 100%;padding: 0 10px" ng-if="list.type == 'upload'"
  23. ng-show="formList[outerIndex-1].type!='toggle'||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='是')||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='10501')">
  24. <span ng-if="list.remarkType=='normal'" style="color:#BFC2D3;">上传照片或扫描件,最多上传9个文件</span>
  25. <span ng-if="list.remarkType=='add'" style="color:#BFC2D3;">请在网页端下载<a href={{imgUrl+"/group3/M00/0B/1E/wKgBd17rFUaAEP-HAAAxjU0qXUk38.docx"}} target="_blank" class="nav-more">《法定代表人授权委托书》</a>,法定代表人签字并加盖企业公章后扫描或拍照上传。</span>
  26. <a ng-if="list.Lowerdie" ng-click="Lowerdie($index)">下载模板</a>
  27. </div>
  28. <table ng-if="list.type=='group'" class="table" style="width: 100%">
  29. <tr>
  30. <th>年份</th>
  31. <th>金额</th>
  32. </tr>
  33. <tr ng-repeat="item in list.form">
  34. <td>{{item.title}}</td>
  35. <td >
  36. <input
  37. placeholder="{{item.placeholder}}"
  38. ng-change="rdchange(outerIndex)"
  39. ng-disabled="item.saveKey=='estimateSubsidyMoney'"
  40. ng-keyup="clearNoNum(item,'content',item.regex)"
  41. type="text" ng-model="item.content"
  42. ng-bind="item.content"
  43. style="width:100%;border-radius:3px;padding:0 3px;"/>
  44. </td>
  45. </tr>
  46. </table>
  47. <div class="input-box" ng-class="{'declarewidth':list.type=='upload'}" >
  48. <!--普通输入框-->
  49. <input placeholder="{{list.placeholder}}"
  50. ng-if="list.type != 'upload'"
  51. ng-keyup="clearNoNum(list,'content',list.regex)"
  52. ng-disabled="list.regex==true"
  53. ng-click="selectItems(outerIndex)"
  54. ng-change="queryOrgName(outerIndex)" type="text" ng-model="list.content" ng-bind="list.content"
  55. style="width:100%;border-radius:3px;padding:0 3px;"/>
  56. <!-- 选择项目箭头 -->
  57. <i ng-if="list.type=='selectorgtype'||list.type=='companySelect'" class=" ion-ios-arrow-down position-fix"></i>
  58. <!-- 模糊查询下拉列表 -->
  59. <ul ng-show="list.fuzzyQuery&&isRelateUl" class="isRelateUl"
  60. style="overflow: visible;margin-left:5%">
  61. <li ng-repeat="org in orgList track by $index" style="overflow: visible;">
  62. <span ng-bind-html="ttt(org.name)" ng-click="setOrgName(org)">{{org.name}}</span>
  63. </li>
  64. </ul>
  65. <!--上传证明材料-->
  66. <div ng-if="list.type=='upload'"
  67. style="width:110px;background-color: #3B8BD0;padding: 3px" ng-click="addImage(outerIndex)">
  68. <a href="" style="font-size: 26px;color: white;text-decoration: none" >+</a>
  69. <span style="font-size:18px;color:white;">添加附件</span>
  70. </div>
  71. <ion-scroll ng-if="list.type=='upload'"
  72. ng-show="(list.imageSaveList.length>0&&formList[outerIndex-1].type!='toggle')||list.imagelist.length>0&&((formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='是')||(formList[outerIndex-1].type=='toggle'&&formList[outerIndex-1].content=='10501'))"
  73. scroll="true" has-bouncing="true" direction="x" scrollbar-x="false"
  74. delegate-handle="scrollimage" class="photo_div"
  75. style="margin-right:10px;overflow-x:hidden;overflow-y:hidden;height: auto">
  76. <div ng-repeat="image in list.imageSaveList track by $index"
  77. ng-init="imageIndex=$index">
  78. <span ng-bind="image.title" style="width:100%;height:85px;color:#8C8E9B" class="back-img" ng-click="shouBigImage(list.imageSaveList, $index)"></span>
  79. <span style="padding-left: 20px;color:#3B8BD0;"
  80. ng-click="deletePhoto(imageIndex,outerIndex)">删除</span>
  81. <br>
  82. </div>
  83. </ion-scroll>
  84. <input type="file" name="file" id="file" ng-model="changeFile" multiple
  85. style="display:none"/>
  86. </div>
  87. </div>
  88. <div class="submit-section" style="padding: 20px">
  89. <button ng-click="submitForm()" class="submit-button sbg-blue">提 交 申 请</button>
  90. </div>
  91. <br>
  92. <br>
  93. <br>
  94. <br>
  95. <br>
  96. <br>
  97. </div>
  98. </ion-content>
  99. <!--需求图片放大区域-->
  100. <div ng-show="bigImage" class="popover-backdrop">
  101. <ion-slide-box auto-play="false" does-continue="false" show-pager="true" delegate-handle="slide_detail">
  102. <ion-slide ng-repeat="image in imagelist track by $index" style="background-color:#000;">
  103. <button class="pswp_button_arrow" ng-click="hideBigImage()">&times;</button>
  104. <div class="pinch-zoom" style="width: 100%;height: 100%">
  105. <img class="img-responsive bigimage" style="overflow: auto"
  106. src="{{image.photoName | picturefilter}}" ng-click="hideBigImage()"/>
  107. </div>
  108. </ion-slide>
  109. </ion-slide-box>
  110. </div>
  111. </ion-view>