Commit 34b778b8 authored by 5359's avatar 5359

企业用户法人证件号调整

parent ba76c66b
......@@ -42,7 +42,7 @@ import { post, get } from './scripts/hlsHttp'
import hlsUtil from './scripts/hlsUtil'
// if (process.env.CONFIG_ENV === 'uat') {
// if (process.env.CONFIG_ENV === 'prod') {
// const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
// }
......@@ -50,7 +50,7 @@ import hlsUtil from './scripts/hlsUtil'
Vue.use(directives)
Vue.use(filter)
//
//
import axios from 'axios'
Vue.prototype.$api = axios;
/**
......@@ -114,4 +114,4 @@ new Vue({
},
},
render: h => h(App),
}).$mount('#app-box')
\ No newline at end of file
}).$mount('#app-box')
......@@ -229,8 +229,7 @@
position: relative;
left: 50%;"
@click="next_step()"
>下一步
</button>
>下一步</button>
<p/>
<button v-if="showStatus== 1"
@click="go_forword()"
......@@ -434,8 +433,7 @@
@click="go_forword()"
class="next-step"
style="margin-top:20px"
>退出
</button>
>退出</button>
</div>
</list-item>
</h-content>
......@@ -585,8 +583,7 @@
class="next_step"
style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;"
@click="logout()"
>注销
</button>
>注销</button>
<!-- <div class="button_all">
<div v-if="isManagerFlag=='Y'"
class="next_step"
......@@ -596,7 +593,7 @@
class="next_step"
@click="logout()"
>注销</div>
</div> -->
</div>
<!-- 组织其他员工 -->
......@@ -732,11 +729,7 @@
class="next_step"
style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;"
@click="logout()"
>注销
</button>
>注销</button>
</div>
</list-item>
</h-content>
......@@ -800,8 +793,6 @@
authAttachmentId: "",
authOrgAttachmentId: "",
showStatus: "",
};
},
......@@ -1060,7 +1051,7 @@
!vm.organizationName ||
!vm.socialCode ||
!vm.legalRepresentativeName ||
!vm.legalRepresentativeCardNumber ||
// !vm.legalRepresentativeCardNumber ||
!vm.legalPhoneNumber
// ||
// !vm.cardUp ||
......@@ -1069,10 +1060,10 @@
vm.hlsPopup.showLongCenter("必输字端不能为空!");
return;
}
if (vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber)) {
vm.hlsPopup.showLongCenter("法定代表人身份证号有误");
return;
} else {
// if (vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber)) {
// vm.hlsPopup.showLongCenter("法定代表人身份证号有误");
// return;
// } else {
sessionStorage.setItem("organizationName_leg", vm.organizationName);
sessionStorage.setItem("cardUp_leg", vm.cardUp);
sessionStorage.setItem("busLic_leg", vm.busLic);
......@@ -1116,7 +1107,7 @@
vm.$vux.toast.text(res.message, "middle");
}
});
}
// }
},
next_step_oth() {
let vm = this;
......@@ -1124,7 +1115,7 @@
!vm.organizationName1 ||
!vm.socialCode1 ||
!vm.legalRepresentativeName1 ||
!vm.legalRepresentativeCardNumber1 ||
// !vm.legalRepresentativeCardNumber1 ||
!vm.jbName ||
!vm.jbPhoneNumber ||
!vm.jbIdNumber
......@@ -1134,10 +1125,10 @@
vm.hlsPopup.showLongCenter("必输字端不能为空!");
return;
}
if (vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber1)) {
vm.hlsPopup.showLongCenter("身份证号有误");
return;
} else {
// if (vm.hlsUtil.isCardID(vm.legalRepresentativeCardNumber1)) {
// vm.hlsPopup.showLongCenter("身份证号有误");
// return;
// } else {
sessionStorage.setItem("organizationName_oth", vm.organizationName1);
sessionStorage.setItem("cardUp_oth", vm.cardUp1);
sessionStorage.setItem("busLic_oth", vm.busLic1);
......@@ -1180,7 +1171,7 @@
vm.$vux.toast.text(res.message, "middle");
}
});
}
// }
},
UrlSearch() {
var name, value;
......@@ -1287,7 +1278,6 @@
var contextId = Request.contextId;
var verifycode = Request.verifycode;
var success = Request.passed;
// console.log('wwwwww',status)
let vm = this;
let url =
process.env.rootPath +
......@@ -1310,9 +1300,6 @@
vm.userInfo = data;
vm.faceAuthStatus = data.faceAuthStatus;
vm.orgAuthStatus = data.orgAuthStatus;
vm.agentType = data.dealerFlag ? data.dealerFlag : "Y";
vm.showStatus = "1";
if (data.ctitype == 2) {
......
......@@ -383,7 +383,7 @@ export default {
}
});
}
console.log(index);
// console.log(index);
}
});
},
......@@ -445,7 +445,7 @@ export default {
this.wxConfig();
var data = this.$route.params.userInfo;
var agentType = data.agentType;
console.log(data);
// console.log(data);
if (agentType == 1) {
// this.agentType = data.dealerFlag;
this.organizationName = data.name;
......
......@@ -180,9 +180,9 @@
vm.hlsPopup.hideLoading();
if (res.rows) {
if (res.rows.length > 0) {
console.log(res.rows);
// console.log(res.rows);
var results = res.rows[0];
var historyFlag = data.historyFlag;
var historyFlag = results.historyFlag;
if (historyFlag == 'N') {
vm.ctitype = results.ctitype;
if (results.ctitype == 1) {
......
......@@ -24,9 +24,9 @@ axios.interceptors.request.use(config => {
axios.interceptors.response.use(response => {
if ($config.debug) {
let postName = 'post'
console.log(postName + ' success')
console.log(postName + ' response ' + JSON.stringify(response.data, '', 2))
console.log(postName + ' End!')
// console.log(postName + ' success')
// console.log(postName + ' response ' + JSON.stringify(response.data, '', 2))
// console.log(postName + ' End!')
}
if (response.data.result === 'E' || response.data.code === 'E') {
hlsPopup.hideLoading()
......@@ -163,4 +163,4 @@ export function post(url, param) {
reject(err)
})
})
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment