提交 80ff5bfb 编写于 作者: zhongyao.qiao's avatar zhongyao.qiao

feat 太保查用户信息[上线后撤回]

上级 e4cc6961
...@@ -128,7 +128,6 @@ ...@@ -128,7 +128,6 @@
</template> </template>
</van-field> </van-field>
</van-form> </van-form>
<wx-open-launch-weapp <wx-open-launch-weapp
v-if="!(rightsNo || projectEquityNo === 'SZ202306011000938751')" v-if="!(rightsNo || projectEquityNo === 'SZ202306011000938751')"
id="checkBtn" id="checkBtn"
...@@ -224,7 +223,7 @@ ...@@ -224,7 +223,7 @@
import { getBanner, getCardTypes } from '@/api/entitlement'; import { getBanner, getCardTypes } from '@/api/entitlement';
import { import {
createOrderSzV2, createOrderSzV2,
queryUserInfo, taiBaoUserInfo,
uploadPointData, uploadPointData,
} from '@/api/question'; } from '@/api/question';
import { isWeixin } from '@/utils/index'; import { isWeixin } from '@/utils/index';
...@@ -343,8 +342,12 @@ export default { ...@@ -343,8 +342,12 @@ export default {
// this.$loading.show(); // this.$loading.show();
this.getBanner(7, rightsNo || projectEquityNo); this.getBanner(7, rightsNo || projectEquityNo);
this.loadCardTypes(); this.loadCardTypes();
if (
this.getUserInfo(); this.projectEquityNo === 'TB202309151004000001' &&
this.externalOrderNo
) {
this.getTaiBaoUserInfo();
}
this.initInsurancePath(); this.initInsurancePath();
this.$sendBuriedData( this.$sendBuriedData(
...@@ -363,14 +366,8 @@ export default { ...@@ -363,14 +366,8 @@ export default {
); );
}, },
methods: { methods: {
getUserInfo() { getTaiBaoUserInfo() {
const params = { taiBaoUserInfo(this.externalOrderNo)
projectEquityNo: this.projectEquityNo,
externalOrderNo: this.externalOrderNo,
rightsNo: this.rightsNo,
encryptedUserInfo: this.userInfo,
};
queryUserInfo(params)
.then((res) => { .then((res) => {
console.log('userinfo =>', res); console.log('userinfo =>', res);
if (!res?.data) return; if (!res?.data) return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册