提交 98cbf4ec 编写于 作者: zhongyao.qiao's avatar zhongyao.qiao

feat 入口增加字段

上级 117f3adc
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
userInfo = '', userInfo = '',
requestParm = '', requestParm = '',
token = '', token = '',
cardNo = '', param = '',
} = this.$route.query; } = this.$route.query;
let { rightsNo = '', identity = '' } = this.$route.query; let { rightsNo = '', identity = '' } = this.$route.query;
...@@ -139,15 +139,17 @@ export default { ...@@ -139,15 +139,17 @@ export default {
window.location.href = url; window.location.href = url;
return; return;
} }
if (requestParm || cardNo) { let cardNo = '';
if (requestParm || param) {
const params = { const params = {
requestParm, requestParm,
cardNo, cardNo: param,
}; };
const result = await getRequestParm(params); const result = await getRequestParm(params);
if (result.code === '000000') { if (result.code === '000000') {
rightsNo = result.data.rightsNo; rightsNo = result.data.rightsNo;
identity = result.data.identity || ''; identity = result.data.identity || '';
cardNo = result.data.cardNo || '';
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册