Browse Source

入驻取消身份证限制

master
rose 4 years ago
parent
commit
8e805ddd70
  1. 12
      src/App.vue
  2. 2
      src/components/EntityApply/EntityApplyAdd.vue
  3. 2
      src/components/EntityApply/EntityApplyEdit.vue

12
src/App.vue

@ -8,7 +8,7 @@
<template>
<a-config-provider :locale="zh_CN">
<div class="d-flex flex-row flex-nowrap" id="app">
<!-- <btn-con /> -->
<btn-con />
<router-view class="flex-1 bg pa-3"></router-view>
</div>
</a-config-provider>
@ -17,11 +17,11 @@
<script>
import { mapState, mapActions, mapMutations } from 'vuex';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
// import BtnCon from 'components/BtnCom/BtnCon.vue';
import BtnCon from 'components/BtnCom/BtnCon.vue';
export default {
name: 'App',
// components: { BtnCon },
components: { BtnCon },
data() {
return { zh_CN };
},
@ -40,9 +40,9 @@ export default {
created() {
// //
// const userId = '1218763410024566784';
// const params = { userId };
// this.getUserId(params);
const userId = '1218763410024566784';
const params = { userId };
this.getUserId(params);
const that = this;
window.plugin = window.TallPlugin.init();

2
src/components/EntityApply/EntityApplyAdd.vue

@ -334,8 +334,6 @@ export default {
this.$message.error('请输入职务');
} else if (this.platform.isTel === false) {
this.$message.error('请输入联系电话');
} else if (this.platform.idCard === '') {
this.$message.error('请输入身份证号');
} else {
for (var i = 0; i < this.fileList.length; i++) {
this.filesUpload = this.filesUpload.concat(this.fileList[i].response.data[0].id);

2
src/components/EntityApply/EntityApplyEdit.vue

@ -303,8 +303,6 @@ export default {
this.$message.error('请输入联系电话');
} else if(this.platform.gender === undefined){
this.$message.error('请输入申请人性别');
} else if (this.platform.idCard === '') {
this.$message.error('请输入身份证号');
} else {
for (var i = 0; i < this.fileList.length; i++) {
console.log(this.fileList[i].response.data[0].id)

Loading…
Cancel
Save