master
Aiden 3 months ago
parent 48b8fb44a0
commit 41cbac698a

@ -67,6 +67,7 @@ export default {
}, },
methods: { methods: {
scanOrder() { scanOrder() {
if (this.isPass !== 2) return this.$common.msgToast("护照资料还在审核中");
uni.removeStorageSync("scanlist"); uni.removeStorageSync("scanlist");
uni.scanCode({ uni.scanCode({
onlyFromCamera: false, onlyFromCamera: false,
@ -89,6 +90,7 @@ export default {
} }
}, },
goConsignmen() { goConsignmen() {
if (this.isPass !== 2) return this.$common.msgToast("护照资料还在审核中");
uni.navigateTo({ uni.navigateTo({
url: "/pages/consignment-painting/index", url: "/pages/consignment-painting/index",
}); });
@ -131,8 +133,6 @@ export default {
} }
.disabled-div { .disabled-div {
opacity: 0.5; /* 降低透明度 */ opacity: 0.5; /* 降低透明度 */
pointer-events: none; /* 阻止鼠标事件 */
user-select: none; /* 阻止文本被选择 */
} }
} }
.list { .list {

File diff suppressed because one or more lines are too long

@ -252,11 +252,20 @@ export default {
radiovalue: "0", radiovalue: "0",
}; };
}, },
async onLoad() { async onLoad(options) {
const res = await configFun(); const res = await configFun();
if (res.code === 200) { if (res.code === 200) {
this.needPersonSecret = res.data.needPersonSecret; this.needPersonSecret = res.data.needPersonSecret;
} }
const data = JSON.parse(decodeURIComponent(options.data));
this.name = data.name || "";
this.num = data.num || "";
this.fileList = data.fileList || [];
this.fileList2 = data.fileList2 || [];
this.radiovalue = data.radiovalue;
this.passport = data.passport || [];
this.passport2 = data.passport2 || [];
this.passportId = data.passportId || "";
}, },
async onShow() { async onShow() {
if (!uni.getStorageSync("telNum")) { if (!uni.getStorageSync("telNum")) {
@ -283,22 +292,11 @@ export default {
// } // }
// uni.setStorageSync("info", data) // uni.setStorageSync("info", data)
// } // }
if (uni.getStorageSync("info").keys().length) {
this.name = uni.getStorageSync("info").name || "";
this.num = uni.getStorageSync("info").num || "";
this.fileList = uni.getStorageSync("info").fileList || [];
this.fileList2 = uni.getStorageSync("info").fileList2 || [];
this.video = uni.getStorageSync("info").video || "";
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 || "";
uni.removeStorageSync("info");
}
}, },
watch: { watch: {
isFddSuccess(newValue) { isFddSuccess(newValue) {
if (newValue) { if (newValue) {
console.log(newValue);
this.name = uni.getStorageSync("info").name || ""; this.name = uni.getStorageSync("info").name || "";
this.num = uni.getStorageSync("info").num || ""; this.num = uni.getStorageSync("info").num || "";
this.fileList = uni.getStorageSync("info").fileList || []; this.fileList = uni.getStorageSync("info").fileList || [];
@ -568,7 +566,6 @@ export default {
name: this.name, name: this.name,
fileList: this.fileList, fileList: this.fileList,
fileList2: this.fileList2, fileList2: this.fileList2,
video: this.video,
radiovalue: this.radiovalue, radiovalue: this.radiovalue,
passport: this.passport, passport: this.passport,
passport2: this.passport2, passport2: this.passport2,
@ -576,7 +573,11 @@ export default {
}; };
uni.setStorageSync("info", data); uni.setStorageSync("info", data);
uni.navigateTo({ uni.navigateTo({
url: "/pages/realName/agreement?type=" + type, url:
"/pages/realName/agreement?type=" +
type +
"&data=" +
encodeURIComponent(JSON.stringify(data)),
}); });
}, },
groupChange(value) { groupChange(value) {

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

@ -49,15 +49,7 @@
} }
}, },
"subpackages": [ "subpackages": [
{
"root": "pagesFace",
"name": "pagesFace",
"pages": [
"pages/index/index",
"pages/webview/webview",
"pages/middle/middle"
]
}
], ],
"usingComponents": {} "usingComponents": {}
} }

File diff suppressed because one or more lines are too long

@ -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 o=r(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 r=t(250),o=t(252);for(var s in o)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(s);t(254);var a,c=t(33),i=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"71e217db",null,!1,r["components"],a);i.options.__file="pages/home/index.vue",n["default"]=i.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 o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return s})),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(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.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}})},s=!1,a=[];o._withStripped=!0},252:function(e,n,t){"use strict";t.r(n);var r=t(253),o=t.n(r);for(var s in r)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(s);n["default"]=o.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 o=r(t(63)),s=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)},c={name:"index",onLoad:function(){e.hideTabBar()},onShow:function(){this.getAddress(),this.pddIsPass()},components:{tabbar:a},data:function(){return{addressList:[],isPass:0}},methods:{scanOrder:function(){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,s.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(){e.navigateTo({url:"/pages/consignment-painting/index"})},pddIsPass:function(){var e=this;return(0,s.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=c}).call(this,t(2)["default"])},254:function(e,n,t){"use strict";t.r(n);var r=t(255),o=t.n(r);for(var s in r)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(s);n["default"]=o.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 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"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/index.js.map //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/index.js.map

@ -52,11 +52,6 @@
.main .order .disabled-div.data-v-71e217db { .main .order .disabled-div.data-v-71e217db {
opacity: 0.5; opacity: 0.5;
/* 降低透明度 */ /* 降低透明度 */
pointer-events: none;
/* 阻止鼠标事件 */
-webkit-user-select: none;
user-select: none;
/* 阻止文本被选择 */
} }
.main .list.data-v-71e217db { .main .list.data-v-71e217db {
margin-top: 40rpx; margin-top: 40rpx;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,10 +1,10 @@
{ {
"component": true,
"usingComponents": { "usingComponents": {
"u-popup": "/uview-ui/components/u-popup/u-popup", "u-popup": "/uview-ui/components/u-popup/u-popup",
"u-icon": "/uview-ui/components/u-icon/u-icon", "u-icon": "/uview-ui/components/u-icon/u-icon",
"u-line": "/uview-ui/components/u-line/u-line", "u-line": "/uview-ui/components/u-line/u-line",
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon", "u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon",
"u-gap": "/uview-ui/components/u-gap/u-gap" "u-gap": "/uview-ui/components/u-gap/u-gap"
}, }
"component": true
} }
Loading…
Cancel
Save