帧视界壹通告,付费看视频的微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

227 lines
7.0 KiB

10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="auth-firm">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="认证企业" />
  5. <!--身份信息页面-->
  6. <view class="container">
  7. <view class="form-item">
  8. <view class="label">法人真实姓名</view>
  9. <view class="input">
  10. <input type="text" v-model="certifiedIndividual.name" />
  11. </view>
  12. </view>
  13. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  14. <view class="form-item">
  15. <view class="label">法人身份证号</view>
  16. <view class="input">
  17. <input type="text" v-model="certifiedIndividual.card" />
  18. </view>
  19. </view>
  20. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  21. <view class="form-item">
  22. <view class="label">营业执照</view>
  23. <view class="avatarFace" @click="uploadImage('tradeImage')">
  24. <image v-if="certifiedIndividual.tradeImage" :src="certifiedIndividual.tradeImage"
  25. style="width: 100%;height: 100%"></image>
  26. <image v-else src="../static/auth/2.png" style="width: 100%;height: 100%"></image>
  27. </view>
  28. </view>
  29. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  30. <view class="form-item">
  31. <view class="label">其他资质</view>
  32. <view class="avatarFace" @click="uploadImage('otherImage')">
  33. <image v-if="certifiedIndividual.otherImage" :src="certifiedIndividual.otherImage"
  34. style="width: 100%;height: 100%"></image>
  35. <image v-else src="../static/auth/2.png" style="width: 100%;height: 100%"></image>
  36. </view>
  37. </view>
  38. </view>
  39. <!--请仔细阅读平台用户协议隐私协议-->
  40. <view class="agree">
  41. <!-- <view> -->
  42. <uv-checkbox-group v-model="checkboxValue" placement="column" size="35" activeColor="#008000"
  43. inactiveColor="#999999">
  44. <uv-checkbox shape='circle' :checked="true" name="apple" :label="labelValue ? labelValue : ''"
  45. iconSize="35">
  46. </uv-checkbox>
  47. </uv-checkbox-group>
  48. 请仔细阅读平台<span style="color:#009dff">用户协议</span><span style="color:#009dff">隐私协议</span>
  49. <!-- </view> -->
  50. </view>
  51. <!--下一步按钮-->
  52. <button @click="onNextClick" class="bottomBtn">
  53. 立即认证
  54. </button>
  55. <confirmationPopup ref="confirmationPopup" title="提示" cancel :cancelText="cancelText[type]" @confirm="submit"
  56. round="0" @cancel="$refs.confirmationPopup.close()" :confirmText="confirmText[type]">
  57. <view class="confirmationPopup" v-if="type == 0">
  58. 电子认证服务协议
  59. 数字证书(以下简称证书)是电子商务认证有限公司(以下简称广东)签发的网上凭证是为身份确实资信可靠的个人单位和服务器等在网上进行安全电子交易安全电子事务处理等提供的一种身份认证凡企业机关团体行政事业等单位个人和服务器数字证书申请人(以下简称证书申请人)均可向广东业务受理审批单位申请领用数字证书为了保障数字证书申请人的合法权利维护电子商务认证有限公司的合法经营权益双方本着自愿平等的原则达成以下协议书条款双方共同遵守执行第三方认证是
  60. XX制造网为其XX通会员提供的一项以标准化审核认证为主要内容的服务
  61. 含资质认证与实地认证
  62. 实地认证的审核认证服务内容要包括会员的工商注册信息销售贸易能力和()产品设计开发能力体系和产品认证生产能力和质量管理实景照片等内容资质认证的审核认证服务内容主要包括会员的工商注册信息经营资
  63. 生产许可资质等内容
  64. 第三方认证审核分为初次审核和年度复审两种类型初次审核是指对会员进行首次审核并出具报告年度复审是指为了认证保证报告所反映的实际情况的时效性而对会员进行的每年一次的复审XX制造网根据用户提交的服务申请及用户进行的自评情况与用户确定服务购买意向并签署合同用户支付相应费用后XX制造网委托第三方认证机构在约定的日期进行审核并出具相应的认证报告XX制造网将使用专有标识对通过审核
  65. 的用户的展示厅进行标注
  66. </view>
  67. <view class="confirmationPopup" style="padding: 70rpx 20rpx;" v-if="type == 1">
  68. 本次认证需付费确认
  69. </view>
  70. </confirmationPopup>
  71. </view>
  72. </template>
  73. <script>
  74. import '../../common.css'; // 引入公共 CSS 文件
  75. import confirmationPopup from '@/components/toast/confirmationPopup.vue';
  76. import {
  77. mapState
  78. } from 'vuex'
  79. export default {
  80. data() {
  81. return {
  82. name: 'xiaohua',
  83. idCard: '2101472154874512',
  84. cancelText: ['不同意', '取消'],
  85. confirmText: ['同意', '同意并支付'],
  86. type: 0,
  87. labelValue: '', // 如果labelValue为空,则不会显示任何内容
  88. checkboxValue: [],
  89. }
  90. },
  91. components: {
  92. confirmationPopup,
  93. },
  94. computed: {
  95. ...mapState(['certifiedIndividual']),
  96. },
  97. methods: {
  98. uploadImage(key) {
  99. this.$Oss.ossUploadImage({
  100. success: url => {
  101. this.$nextTick(() => {
  102. this.$set(this.certifiedIndividual, key, url);
  103. })
  104. }
  105. })
  106. },
  107. onNextClick() {
  108. if (this.$utils.verificationAll(this.certifiedIndividual, {
  109. imageReverseSide: '请上传身份证背面',
  110. imageStraight: '请上传身份证正面',
  111. card: '请输入身份证号',
  112. name: '请输入姓名',
  113. })) {
  114. return
  115. }
  116. this.$refs.confirmationPopup.open()
  117. },
  118. submit() {
  119. this.$refs.confirmationPopup.close()
  120. if (this.type == 0) {
  121. setTimeout(() => {
  122. this.type = 1
  123. this.$refs.confirmationPopup.open()
  124. }, 500)
  125. } else {
  126. this.$api('infoSubmitCompanyCertification', this.certifiedIndividual,
  127. res => {
  128. if (res.code == 200) {
  129. uni.showToast({
  130. title: '认证成功',
  131. icon: 'none'
  132. })
  133. setTimeout(() => {
  134. uni.redirectTo({
  135. url: '/pages/index/center'
  136. })
  137. }, 500)
  138. }
  139. })
  140. }
  141. },
  142. }
  143. }
  144. </script>
  145. <style scoped lang="scss">
  146. * {
  147. box-sizing: border-box;
  148. margin: 0;
  149. padding: 0;
  150. }
  151. .auth-firm {
  152. .container {
  153. padding: 100rpx 50rpx 50rpx 50rpx;
  154. //border: 1px solid red;
  155. .header {
  156. margin-bottom: 40rpx;
  157. font-size: 28rpx;
  158. color: #666;
  159. }
  160. .form-item {
  161. margin-bottom: 40rpx;
  162. .label {
  163. font-size: 36rpx;
  164. margin-bottom: 10px;
  165. display: block;
  166. }
  167. .input {
  168. font-size: 30rpx;
  169. margin-top: 40rpx;
  170. background-color: #f7f7f7;
  171. padding: 20rpx;
  172. border: 1px solid #66666633;
  173. }
  174. .avatarFace {
  175. width: 150rpx;
  176. height: 150rpx;
  177. }
  178. }
  179. }
  180. .agree {
  181. display: flex;
  182. justify-content: center;
  183. position: fixed;
  184. bottom: 12%;
  185. left: 5%;
  186. }
  187. .confirmationPopup {
  188. max-height: 60vh;
  189. overflow-y: auto;
  190. overflow-x: hidden;
  191. width: 600rpx;
  192. padding: 20rpx;
  193. text-align: center;
  194. }
  195. }
  196. </style>