|
|
|
|
@ -3,11 +3,11 @@
|
|
|
|
|
<view class="g_flex_row_between flex_center g_p_12 g_mb_12 g_bg_f" v-if="(userRole.recordStatus == 3 || userRole.recordStatus == 4 || userRole.recordStatus == 5) && from == '短链接'">
|
|
|
|
|
<view>关注该代理可查看其佣金, 点击直接关注</view>
|
|
|
|
|
<view>
|
|
|
|
|
<g-button type="primary" size="mini" fontSize="14" btnText="关注" @btnClick="handleSubmit"></g-button>
|
|
|
|
|
<g-button type="primary" size="mini" fontSize="14" btnText="关注" @clickBtn="handleSubmit"></g-button>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<g-list-job from="shareList" class="g_flex_1" :recordStatus="userRole.recordStatus" :list="query.list" @clickCard="goDetail" :loading="loading" :speed="speed" :query="query" :isShowLoginBtn="isLogin ? false : true" />
|
|
|
|
|
<applyFlow ref="applyFlow" @updateInfo="updateInfo" :userInfo="userInfo" :shareAgencyId="shareUserInfo.agencyId" :agencyInfo="agencyInfo"></applyFlow>
|
|
|
|
|
<applyFlow ref="applyFlow" @updateInfo="updateInfo" :navNewPage="false" :userInfo="userInfo" :shareAgencyId="shareUserInfo.agencyId" :agencyInfo="agencyInfo"></applyFlow>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
@ -132,7 +132,9 @@ export default {
|
|
|
|
|
updateInfo() {
|
|
|
|
|
let that = this;
|
|
|
|
|
that.getAgencyInfo().then(() => {
|
|
|
|
|
that.G.checkToken();
|
|
|
|
|
that.getUserRole().then(() => {
|
|
|
|
|
that.G.checkToken();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
@ -242,6 +244,7 @@ export default {
|
|
|
|
|
let that = this;
|
|
|
|
|
this.G.isLogin();
|
|
|
|
|
if (this.G.isLogin()) {
|
|
|
|
|
console.log("123123123213");
|
|
|
|
|
if (that.userInfo.agencyId) {
|
|
|
|
|
// that.submitConfirm = true;
|
|
|
|
|
that.$refs.applyFlow.applyFlowConfirm();
|
|
|
|
|
|