帧视界壹通告,付费看视频的微信小程序
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.

259 lines
7.9 KiB

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