|
@@ -153,7 +153,7 @@
|
|
|
<el-button @click="cancelUpdate">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <!--短信-->
|
|
|
+ <!--盖章短信-->
|
|
|
<el-dialog :visible.sync="messageIsShow" width="600px" append-to-body :before-close = "cancelMessage" center>
|
|
|
<el-form ref="messageForm" :disabled="false" :model="messageForm" v-if="messageIsShow" label-width="150px" class="demo-form-inline" :inline="true" @submit.native.prevent>
|
|
|
<el-form-item label="验证码" prop="validCode">
|
|
@@ -173,6 +173,24 @@
|
|
|
<el-button @click="cancelMessage">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!--授权编号激活短信-->
|
|
|
+ <el-dialog :visible.sync="messageIfShow" width="600px" append-to-body :before-close = "cancelMessages" center>
|
|
|
+ <el-form ref="messageForm" :disabled="false" :model="messagesForm" v-if="messageIfShow" label-width="150px" class="demo-form-inline" :inline="true" @submit.native.prevent>
|
|
|
+ <el-form-item label="验证码" prop="validCode">
|
|
|
+ <el-input v-model="messagesForm.validCode" style="width: 200px" maxlength="6"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button :disabled="!showCode" type="success" @click="send">点击获取验证码
|
|
|
+ <span v-show="!showCode" class="count">{{countCode}} s</span>
|
|
|
+ </el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="checkCode">确定</el-button>
|
|
|
+ <el-button @click="cancelMessages">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
<!--人脸二维码-->
|
|
|
<el-dialog :visible.sync="faceIsShow" width="500px" append-to-body :before-close = "cancelFace" center>
|
|
|
<img :src="'data:image/jpeg;base64,' + this.fileUrl" style="overflow: auto; width: 100%; height: 100%;"/>
|
|
@@ -193,6 +211,7 @@ import { listCompanyHandler } from "@/api/common/companyHandler";
|
|
|
import {getCreditDetail,getFile} from "@/api/service/credit/credit";
|
|
|
import {accAdd} from "@/utils/calculation";
|
|
|
import {sendMessage,checkCode,faceAuth,checkFaceAuth} from "@/api/service/credit/message";
|
|
|
+import {cfcaProjectNo} from "@/api/service/credit/cfcaProject";
|
|
|
import pdfShow from "../credit/pdfShow";
|
|
|
import {getToken} from "@/utils/auth";
|
|
|
export default {
|
|
@@ -200,10 +219,14 @@ export default {
|
|
|
components: {pdfShow},
|
|
|
data() {
|
|
|
return {
|
|
|
- //短信验证码倒计时
|
|
|
+ //盖章短信验证码倒计时
|
|
|
show: true,
|
|
|
count: '',
|
|
|
timer: null,
|
|
|
+ //授权编号激活短信验证码倒计时
|
|
|
+ showCode: true,
|
|
|
+ countCode: '',
|
|
|
+ timerCode: null,
|
|
|
//融资id
|
|
|
zfrId: '',
|
|
|
//需要缴纳的费用
|
|
@@ -257,10 +280,14 @@ export default {
|
|
|
updateForm:{},
|
|
|
//意愿类型
|
|
|
zfpAuthType:'',
|
|
|
- //短信展示
|
|
|
+ //盖章短信展示
|
|
|
messageIsShow:false,
|
|
|
- //短信
|
|
|
+ //盖章短信
|
|
|
messageForm:{validCode:""},
|
|
|
+ //授信编号激活短信展示
|
|
|
+ messageIfShow:false,
|
|
|
+ //授权编号激活短信
|
|
|
+ messagesForm:{validCode:""},
|
|
|
//人脸二维码
|
|
|
fileUrl:"",
|
|
|
//控制人脸二维码是否展示
|
|
@@ -526,11 +553,16 @@ export default {
|
|
|
this.confirmIsShow = false;
|
|
|
this.resetUpdate();
|
|
|
},
|
|
|
- //关闭短信
|
|
|
+ //关闭盖章短信
|
|
|
cancelMessage(){
|
|
|
this.messageIsShow = false;
|
|
|
this.resetMessage();
|
|
|
},
|
|
|
+ //关闭授权编号激活短信
|
|
|
+ cancelMessages(){
|
|
|
+ this.messageIfShow = false;
|
|
|
+ this.resetMessages();
|
|
|
+ },
|
|
|
//关闭二维码
|
|
|
cancelFace(){
|
|
|
this.faceIsShow = false;
|
|
@@ -549,6 +581,12 @@ export default {
|
|
|
};
|
|
|
this.resetForm("messageForm");
|
|
|
},
|
|
|
+ resetMessages() {
|
|
|
+ this.messagesForm = {
|
|
|
+ validCode:""
|
|
|
+ };
|
|
|
+ this.resetForm("messagesForm");
|
|
|
+ },
|
|
|
//获取合同文件
|
|
|
getContractFile(){
|
|
|
const loading = this.$loading({
|
|
@@ -579,46 +617,53 @@ export default {
|
|
|
selectType(){
|
|
|
listCompanyHandler().then((response) => {
|
|
|
if(response.data == true){
|
|
|
- var zfrId= this.zfrId
|
|
|
- listChargeStatus(zfrId).then((response) => {
|
|
|
+ cfcaProjectNo().then((response) =>{
|
|
|
debugger
|
|
|
- if(response.data[0]){
|
|
|
- if(response.data[0].zciStatus == '00'){
|
|
|
- this.$confirm(
|
|
|
- '请缴纳手续费'+ this.needPay + '元',
|
|
|
- "警告",
|
|
|
- {
|
|
|
- confirmButtonText: "去缴费",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }
|
|
|
- ).then(function () {
|
|
|
- return updateChargeStatus(zfrId);
|
|
|
- }).then(() =>{
|
|
|
- //选择签署意愿
|
|
|
- if(this.zfpAuthType == "00"){
|
|
|
- this.confirmIsShow = true;
|
|
|
+ if(response.data.scyCfcaAuthNumber == null){
|
|
|
+ this.messageIfShow = true;
|
|
|
+ }else{
|
|
|
+ var zfrId= this.zfrId
|
|
|
+ listChargeStatus(zfrId).then((response) => {
|
|
|
+ if(response.data[0]){
|
|
|
+ if(response.data[0].zciStatus == '00'){
|
|
|
+ this.$confirm(
|
|
|
+ '请缴纳手续费'+ this.needPay + '元',
|
|
|
+ "警告",
|
|
|
+ {
|
|
|
+ confirmButtonText: "去缴费",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }
|
|
|
+ ).then(function () {
|
|
|
+ return updateChargeStatus(zfrId);
|
|
|
+ }).then(() =>{
|
|
|
+ //选择签署意愿
|
|
|
+ if(this.zfpAuthType == "00"){
|
|
|
+ this.confirmIsShow = true;
|
|
|
+ }else{
|
|
|
+ this.checking();
|
|
|
+ }
|
|
|
+ })
|
|
|
}else{
|
|
|
- this.checking();
|
|
|
+ //选择签署意愿
|
|
|
+ if(this.zfpAuthType == "00"){
|
|
|
+ this.confirmIsShow = true;
|
|
|
+ }else{
|
|
|
+ this.checking();
|
|
|
+ }
|
|
|
}
|
|
|
- })
|
|
|
- }else{
|
|
|
+ }else{
|
|
|
//选择签署意愿
|
|
|
if(this.zfpAuthType == "00"){
|
|
|
this.confirmIsShow = true;
|
|
|
}else{
|
|
|
this.checking();
|
|
|
}
|
|
|
- }
|
|
|
- }else{
|
|
|
- //选择签署意愿
|
|
|
- if(this.zfpAuthType == "00"){
|
|
|
- this.confirmIsShow = true;
|
|
|
- }else{
|
|
|
- this.checking();
|
|
|
- }
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
+
|
|
|
}else{
|
|
|
this.$message.error('此操作需经办人权限,请确认您是否是经办人');
|
|
|
}
|