dockingInput.html 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <ion-view style="background-color:#fff" title="对接录入">
  2. <div class="bar bar-header bar-header-blue">
  3. <div class="button button-icon icon pus_blue"></div>
  4. <button class="button button-icon icon goback whiteGoBack noneContent" ng-click="gobackpage()"></button>
  5. <h1 class="bar_title" style="color: #fff">对接录入</h1>
  6. </div>
  7. <ion-content class="has-header" scroll="true" delegate-handle="privateContent"
  8. style="margin:0 auto;max-width:20.5rem;background-color: #f2f2f2">
  9. <!--<ion-refresher pulling-text="" on-refresh="refreshData()" class="home_refresh tabs_refresh" refreshing-text="" pulling-icon-color="#3385ff" refreshing-icon="ion-checkmark-circled" refreshing-icon-color="#3385ff"></ion-refresher>-->
  10. <div class="form-box">
  11. <div ng-repeat="list in formList" ng-init="outerIndex=$index"
  12. ng-class="{'hole-row':true,'row-margin':list.rowMargin}" ng-click="selectItems(outerIndex)"
  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"
  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>
  17. {{list.title}}
  18. <span ng-if="list.type=='textarea'" style="width:100%;padding-left:5px;padding-top:5px;"><br><small
  19. style="color:#aaa;font-size: 12px;margin-left:3px;">≤{{list.maxlength}}字</small></span>
  20. </div>
  21. <div class="input-box">
  22. <!--普通输入框-->
  23. <input ng-if="list.type=='input'" placeholder="{{list.placeholder}}"
  24. ng-change="queryOrgName(outerIndex)" type="text" ng-model="list.content"
  25. style="width:100%;border-radius:3px;padding:0 3px;"/>
  26. <input ng-if="list.type=='select'||list.type=='selectDomain'||list.type=='affiliatedOrg'||list.type=='companyTaskSelect'"
  27. placeholder="{{list.placeholder}}"
  28. ng-disabled="list.type=='select'||list.type=='selectDomain'" type="text"
  29. ng-model="list.content" style="width:100%;border-radius:3px;padding:0 3px;"/>
  30. <!-- 对接时间 -->
  31. <span ng-if="list.type=='date'"
  32. ng-bind="list.content | datesubstring10"
  33. ng-click="openDatePicker('date',outerIndex)" style="display: inline-block;height:100%;line-height:34px;width:49%;border-radius:3px;padding:0 3px;" ></span>
  34. <!-- 选择项目箭头 -->
  35. <i ng-if="list.type=='select'||list.type=='selectDomain'||list.type=='affiliatedOrg'||list.type=='companyTaskSelect'"
  36. class=" ion-ios-arrow-down position-fix"></i>
  37. <!-- 模糊查询下拉列表 -->
  38. <ul ng-show="list.fuzzyQuery&&isRelateUl" class="isRelateUl"
  39. style="overflow: visible;margin-left:5%">
  40. <li ng-repeat="org in orgList track by $index" style="overflow: visible;">
  41. <span ng-bind-html="ttt(org.name)" ng-click="setOrgName(org)">{{org.name}}</span>
  42. </li>
  43. </ul>
  44. <!--输入框-->
  45. <textarea ng-if="list.type=='textarea'" class="add_list_txt" ng-model="list.content"
  46. placeholder="{{list.placeholder}}"
  47. style="font-size:12px;display:inline-block;vertical-align: top;width:100%;padding:5px 0;margin-top:0;border-bottom:none;"></textarea>
  48. <!--选择地区-->
  49. <ul ng-if="list.type=='selectArea'">
  50. <li ng-class="{'drop-down-box':true,'area-app':app}" ng-repeat="arealist in areaDropDown"
  51. ng-init="innerIndex=$index"
  52. ng-click="showAreaList(innerIndex,outerIndex,areaDropDown,'area')">
  53. <i class="drop-down-icon icon ion-arrow-down-b"></i>
  54. <input type="text" placeholder="{{arealist.title}}" disabled ng-model="arealist.selectName"
  55. style="width:100%;border-radius:3px;padding:0 3px;"/>
  56. </li>
  57. </ul>
  58. <!--标签-->
  59. <div class="lable-box" ng-if="list.recommend">
  60. {{list.recommend}}:<span ng-repeat="label in list.recommendLable" ng-bind="label"
  61. ng-click="selectLable(outerIndex,label)"></span>
  62. </div>
  63. <!--上传证明材料-->
  64. <div ng-if="list.type=='upload'"
  65. 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')"
  66. style="width:100%;">
  67. <img ng-show="list.doctype==4906" src="img/2018/raw_1533276639.png"
  68. style="width:100%;max-width:250px">
  69. <img ng-show="list.doctype==4907" src="img/2018/raw_1533276601.png"
  70. style="width:100%;max-width:250px">
  71. <a href="" class="upload-add" ng-click="addImage(outerIndex)">+</a>
  72. <!--<span ng-if="list.remarkType=='normal'" style="font-size:12px;color:#BFC2D3;">每张小于2M,支持JPG/PNG等格式,最多上传5张,请上传清晰、最近的年审的证件扫描件或照片</span>-->
  73. <span ng-if="list.remarkType=='normal'" style="font-size:12px;color:#BFC2D3;">每张小于2M,支持JPG/PNG等格式,最多上传5张</span>
  74. <span ng-if="list.remarkType=='manage'" ng-click="alertInfo()"
  75. style="font-size:12px;color:#BFC2D3;">每张小于2M,支持JPG/PNG等格式,最多上传5张。请下载<a
  76. href="{{url?url:'javascript:;'}}" download="管理员认证申请公函.docx">《企业认证申请公函》</a>,并加盖企业公章(合同章,财务章无效)后扫描或拍照上传</span>
  77. <!--<span ng-if="list.remarkType=='add'" style="font-size:12px;color:#BFC2D3;">每张小于2M,支持JPG/PNG等格式,最多上传5张。上传补充证明材料有利于认证审核通过,如奖状、奖杯、聘用书等</span>-->
  78. <span ng-if="list.remarkType=='add'"
  79. style="font-size:12px;color:#BFC2D3;">每张小于2M,支持JPG/PNG等格式。<br>建议:照片要有以下元素,如深入车间、座谈交流、企业标牌、实验室、企业研发中心等</span>
  80. <span ng-if="list.remarkType=='identify'" style="font-size:12px;color:#BFC2D3;">每张小于2M</span>
  81. </div>
  82. <ion-scroll ng-if="list.type=='upload'"
  83. ng-show="(list.imagelist.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'))"
  84. scroll="true" has-bouncing="true" direction="x" scrollbar-x="false"
  85. delegate-handle="scrollimage" class="photo_div"
  86. style="margin-right:10px;overflow-x:hidden;overflow-y:hidden;">
  87. <a class="photo_img" ng-repeat="image in list.imagelist track by $index"
  88. ng-init="imageIndex=$index">
  89. <img ng-src="{{image.photoName | picturefilter}}" style="width:100%;height:85px;"
  90. class="back-img"/>
  91. <span class="photo_delect delect_cammer"
  92. ng-click="deletePhoto(imageIndex,outerIndex)"></span>
  93. </a>
  94. </ion-scroll>
  95. <input type="file" name="file" id="file" accept="image/*" ng-model="changeFile" multiple
  96. style="display:none"/>
  97. <!-- 切换开关 -->
  98. <ion-toggle ng-if="list.type=='toggle'" ng-model="list.togglecontent"
  99. style="position:absolute;top:-10px;left:0;width:70px; border: none;height: 48px;line-height: 48px;padding:0;font-size: 100%;color: #000;"
  100. ng-change="watchIsChange(outerIndex)" ng-checked="list.togglecontent">
  101. <!-- <span style="font-size:12px;color:#aaa">{{tmp.togglecontent?"是":"否"}}</span> -->
  102. <span style="right:0" class="isactiveInfoWrap">{{list.togglecontent?"是":"否"}}</span>
  103. </ion-toggle>
  104. </div>
  105. </div>
  106. </div>
  107. <div class="submit-section row-margin">
  108. <!--<button ng-click="submitForm()" ng-class="{'submit-button':true,'sbg-blue':isChecked}">提交认证</button>-->
  109. <button ng-click="submitTaskDocking()" class="submit-button sbg-blue">提交录入</button>
  110. </div>
  111. <br>
  112. <br>
  113. <br>
  114. <br>
  115. <br>
  116. <br>
  117. </ion-content>
  118. <div ng-if="isWechat" ng-show="showMessage" class="container">
  119. <span class="message-box">{{messageTitle}}</span>
  120. </div>
  121. </ion-view>
  122. <style>
  123. .checkbox input, .checkbox-icon {
  124. opacity: 1 !important;
  125. }
  126. </style>