This commit is contained in:
rakesh 2022-01-25 14:03:21 +05:30
parent c3b1962bf6
commit e550b17649
3 changed files with 28 additions and 3 deletions

1
git_info.json Normal file
View File

@ -0,0 +1 @@
{"branch_name":"beta","last_commit_date":"2022-01-25T07:23:33.000Z","last_commit_author":"sidharth","last_commit_hash":"c3b1962bf6bb86f156d4aa412143c19cc6fffac5"}

View File

@ -17,6 +17,7 @@
details will be made available when the shipping carrier has processed details will be made available when the shipping carrier has processed
your package. your package.
</div> </div>
<iframe <iframe
class="my-5" class="my-5"
:src="url" :src="url"
@ -35,6 +36,29 @@ export default {
frameWidth: "100%", frameWidth: "100%",
}; };
}, },
computed: {
userId: {
get: function () {
return this.$store.state.accountOne.one.id;
},
},
},
watch:
{
userId()
{
this.url= "https://orderexplorer.crane.com//OrderExplorer/?account=" +this.userId ;
}
},
mounted()
{
if(this.userId)
{
this.url= "https://orderexplorer.crane.com//OrderExplorer/?account=" +this.userId ;
}
}
}; };
</script> </script>

View File

@ -4,7 +4,7 @@ import { invalidPoBoxAddress } from '@/services/util.service';
import { doFetchQuote } from '@/services/user_cart.service'; import { doFetchQuote } from '@/services/user_cart.service';
import { getField, updateField } from 'vuex-map-fields'; import { getField, updateField } from 'vuex-map-fields';
import humps from 'lodash-humps'; import humps from 'lodash-humps';
import { criteoUpdateUserEmail ,listrakEmailCapture} from "@/services/util.service"; import { criteoUpdateUserEmail } from "@/services/util.service";
/*eslint-disable*/ /*eslint-disable*/
const addresses = { const addresses = {
@ -318,9 +318,9 @@ export const accountOne = {
const basicInfo = await doFetchBasicInfo(); const basicInfo = await doFetchBasicInfo();
if (basicInfo) { if (basicInfo) {
commit('setOne', humps(basicInfo)); commit('setOne', humps(basicInfo));
// commit('setAddress', humps(basicInfo.addresses[0]));
commit('setAddresses', { addresses: humps(basicInfo.addresses), addressId: addressId }); commit('setAddresses', { addresses: humps(basicInfo.addresses), addressId: addressId });
listrakEmailCapture(basicInfo.email); // listrakEmailCapture(basicInfo.email);
} }
commit('inProgress', false); commit('inProgress', false);
commit('fetchInProgress', false); commit('fetchInProgress', false);