fix
This commit is contained in:
parent
41cbac698a
commit
51a0d85b24
@ -68,6 +68,8 @@ export default {
|
||||
methods: {
|
||||
scanOrder() {
|
||||
if (this.isPass !== 2) return this.$common.msgToast("护照资料还在审核中");
|
||||
if (this.isPass !== 2 && this.isPass === 4)
|
||||
return this.$common.msgToast("资料审核未通过请重新注册");
|
||||
uni.removeStorageSync("scanlist");
|
||||
uni.scanCode({
|
||||
onlyFromCamera: false,
|
||||
@ -91,6 +93,8 @@ export default {
|
||||
},
|
||||
goConsignmen() {
|
||||
if (this.isPass !== 2) return this.$common.msgToast("护照资料还在审核中");
|
||||
if (this.isPass !== 2 && this.isPass === 4)
|
||||
return this.$common.msgToast("资料审核未通过请重新注册");
|
||||
uni.navigateTo({
|
||||
url: "/pages/consignment-painting/index",
|
||||
});
|
||||
|
@ -250,6 +250,7 @@ export default {
|
||||
isChecked: false,
|
||||
isFddSuccess: false,
|
||||
radiovalue: "0",
|
||||
typeId: "",
|
||||
};
|
||||
},
|
||||
async onLoad(options) {
|
||||
@ -302,7 +303,7 @@ export default {
|
||||
this.fileList = uni.getStorageSync("info").fileList || [];
|
||||
this.fileList2 = uni.getStorageSync("info").fileList2 || [];
|
||||
this.video = uni.getStorageSync("info").video || "";
|
||||
this.radiovalue = uni.getStorageSync("info").radiovalue;
|
||||
this.radiovalue = uni.getStorageSync("info").radiovalue ?? "0";
|
||||
this.passport = uni.getStorageSync("info").passport || [];
|
||||
this.passport2 = uni.getStorageSync("info").passport2 || [];
|
||||
this.passportId = uni.getStorageSync("info").passportId || "";
|
||||
@ -328,6 +329,8 @@ export default {
|
||||
async completeRegistration() {
|
||||
const res1 = await this.checkFdd();
|
||||
if (!res1) return this.$common.msgToast("法大大验证未通过");
|
||||
if (res1 && this.typeId !== this.radiovalue)
|
||||
return this.$common.msgToast("法大大验证失效请重新认证");
|
||||
if (!this.checked.length)
|
||||
return this.$common.msgToast("请阅读并勾选协议");
|
||||
if (!this.name) return this.$common.msgToast("请输入姓名");
|
||||
@ -515,6 +518,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async fddRealName() {
|
||||
console.log(this.radiovalue);
|
||||
if (this.radiovalue === "0") {
|
||||
if (!this.num || !this.name)
|
||||
return this.$common.msgToast("姓名和身份证号不能为空");
|
||||
@ -554,6 +558,7 @@ export default {
|
||||
return this.$api.login.checkFdd().then((res) => {
|
||||
if (res.status === 0) {
|
||||
this.isFddSuccess = res.data.isVerify;
|
||||
this.typeId = res.data.idType;
|
||||
return res.data.isVerify;
|
||||
} else {
|
||||
this.$common.msgToast(res.msg);
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{248:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var s=r(t(249));e.__webpack_require_UNI_MP_PLUGIN__=t,n(s.default)}).call(this,t(1)["default"],t(2)["createPage"])},249:function(e,n,t){"use strict";t.r(n);var r=t(250),s=t(252);for(var o in s)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return s[e]}))}(o);t(254);var a,i=t(33),c=Object(i["default"])(s["default"],r["render"],r["staticRenderFns"],!1,null,"71e217db",null,!1,r["components"],a);c.options.__file="pages/home/index.vue",n["default"]=c.exports},250:function(e,n,t){"use strict";t.r(n);var r=t(251);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},251:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return s})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return o})),t.d(n,"components",(function(){return r}));try{r={titleBlock:function(){return t.e("components/title-block/title-block").then(t.bind(null,414))},uDivider:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-divider/u-divider")]).then(t.bind(null,439))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var s=function(){var e=this,n=e.$createElement,t=(e._self._c,e.addressList.length);e.$mp.data=Object.assign({},{$root:{g0:t}})},o=!1,a=[];s._withStripped=!0},252:function(e,n,t){"use strict";t.r(n);var r=t(253),s=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=s.a},253:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=r(t(63)),o=r(t(65)),a=function(){Promise.all([t.e("common/vendor"),t.e("components/uiq-tabbar/uiq-tabbar")]).then(function(){return resolve(t(447))}.bind(null,t)).catch(t.oe)},i={name:"index",onLoad:function(){e.hideTabBar()},onShow:function(){this.getAddress(),this.pddIsPass()},components:{tabbar:a},data:function(){return{addressList:[],isPass:0}},methods:{scanOrder:function(){if(2!==this.isPass)return this.$common.msgToast("护照资料还在审核中");e.removeStorageSync("scanlist"),e.scanCode({onlyFromCamera:!1,success:function(n){console.log("条码类型:"+n.scanType),console.log("条码内容:"+n.result),e.navigateTo({url:"/pages/scanFeedback/index?url="+n.result})}})},getAddress:function(){var e=this;return(0,o.default)(s.default.mark((function n(){var t;return s.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.deposit.address();case 2:t=n.sent,console.log(t),0===t.status?e.addressList=t.data.data:e.$common.msgToast(t.msg);case 5:case"end":return n.stop()}}),n)})))()},goConsignmen:function(){if(2!==this.isPass)return this.$common.msgToast("护照资料还在审核中");e.navigateTo({url:"/pages/consignment-painting/index"})},pddIsPass:function(){var e=this;return(0,o.default)(s.default.mark((function n(){var t;return s.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.deposit.fddIsPass();case 2:t=n.sent,0===t.status?e.isPass=t.data.fdd.status:e.$common.msgToast(t.msg);case 4:case"end":return n.stop()}}),n)})))()}}};n.default=i}).call(this,t(2)["default"])},254:function(e,n,t){"use strict";t.r(n);var r=t(255),s=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=s.a},255:function(e,n,t){}},[[248,"common/runtime","common/vendor"]]]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{248:function(e,n,t){"use strict";(function(e,n){var s=t(4);t(26);s(t(25));var o=s(t(249));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},249:function(e,n,t){"use strict";t.r(n);var s=t(250),o=t(252);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t(254);var a,i=t(33),c=Object(i["default"])(o["default"],s["render"],s["staticRenderFns"],!1,null,"71e217db",null,!1,s["components"],a);c.options.__file="pages/home/index.vue",n["default"]=c.exports},250:function(e,n,t){"use strict";t.r(n);var s=t(251);t.d(n,"render",(function(){return s["render"]})),t.d(n,"staticRenderFns",(function(){return s["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return s["recyclableRender"]})),t.d(n,"components",(function(){return s["components"]}))},251:function(e,n,t){"use strict";var s;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return s}));try{s={titleBlock:function(){return t.e("components/title-block/title-block").then(t.bind(null,414))},uDivider:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-divider/u-divider")]).then(t.bind(null,439))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.addressList.length);e.$mp.data=Object.assign({},{$root:{g0:t}})},r=!1,a=[];o._withStripped=!0},252:function(e,n,t){"use strict";t.r(n);var s=t(253),o=t.n(s);for(var r in s)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return s[e]}))}(r);n["default"]=o.a},253:function(e,n,t){"use strict";(function(e){var s=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=s(t(63)),r=s(t(65)),a=function(){Promise.all([t.e("common/vendor"),t.e("components/uiq-tabbar/uiq-tabbar")]).then(function(){return resolve(t(447))}.bind(null,t)).catch(t.oe)},i={name:"index",onLoad:function(){e.hideTabBar()},onShow:function(){this.getAddress(),this.pddIsPass()},components:{tabbar:a},data:function(){return{addressList:[],isPass:0}},methods:{scanOrder:function(){return 2!==this.isPass?this.$common.msgToast("护照资料还在审核中"):2!==this.isPass&&4===this.isPass?this.$common.msgToast("资料审核未通过请重新注册"):(e.removeStorageSync("scanlist"),void e.scanCode({onlyFromCamera:!1,success:function(n){console.log("条码类型:"+n.scanType),console.log("条码内容:"+n.result),e.navigateTo({url:"/pages/scanFeedback/index?url="+n.result})}}))},getAddress:function(){var e=this;return(0,r.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.deposit.address();case 2:t=n.sent,console.log(t),0===t.status?e.addressList=t.data.data:e.$common.msgToast(t.msg);case 5:case"end":return n.stop()}}),n)})))()},goConsignmen:function(){return 2!==this.isPass?this.$common.msgToast("护照资料还在审核中"):2!==this.isPass&&4===this.isPass?this.$common.msgToast("资料审核未通过请重新注册"):void e.navigateTo({url:"/pages/consignment-painting/index"})},pddIsPass:function(){var e=this;return(0,r.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.deposit.fddIsPass();case 2:t=n.sent,0===t.status?e.isPass=t.data.fdd.status:e.$common.msgToast(t.msg);case 4:case"end":return n.stop()}}),n)})))()}}};n.default=i}).call(this,t(2)["default"])},254:function(e,n,t){"use strict";t.r(n);var s=t(255),o=t.n(s);for(var r in s)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return s[e]}))}(r);n["default"]=o.a},255:function(e,n,t){}},[[248,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/index.js.map
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon",
|
||||
"u-icon": "/uview-ui/components/u-icon/u-icon"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "/uview-ui/components/u-icon/u-icon",
|
||||
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user