|
@@ -41,7 +41,6 @@ export default {
|
|
|
async created() {
|
|
|
this.searchSite();
|
|
|
this.search();
|
|
|
- this.searchinfos();
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|
|
@@ -94,10 +93,10 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
async onSubmit() {
|
|
|
- console.log(this.user.id);
|
|
|
+ console.log(this.user.uid);
|
|
|
let form = {};
|
|
|
- form.userid = this.user.id;
|
|
|
- form.username = '测试neme';
|
|
|
+ form.userid = this.user.uid;
|
|
|
+ form.username = this.user.name;
|
|
|
form.product_id = this.policyInfo.id;
|
|
|
form.product_name = this.policyInfo.name;
|
|
|
form.market_userid = this.policyInfo.userid;
|