cyl/master-im
wangxia 6 months ago
parent 9b9078f488
commit 9b94450074

@ -17,6 +17,7 @@ let userInfo = {// 用户信息模块
user_updateInviteId: "/assistant/circle/agency/agreeManualAdd",// 批量通过关注信息 user_updateInviteId: "/assistant/circle/agency/agreeManualAdd",// 批量通过关注信息
user_getTeamList: "/yishoudan/agency/group/user/listByUser",// 获取登录人团队列表 user_getTeamList: "/yishoudan/agency/group/user/listByUser",// 获取登录人团队列表
user_toggleTeam: "/yishoudan/agency/group/user/changeGroup",// 切换团队 user_toggleTeam: "/yishoudan/agency/group/user/changeGroup",// 切换团队
get_supplier_info: "/agency/getCompanyAuth",// 获取认证信息
/** /**
* 团队成员相关 * 团队成员相关
@ -33,7 +34,7 @@ let userInfo = {// 用户信息模块
order_getNewApplyNum: "/yishoudan/agency/group/user/apply/getNewApplyNum",// 获取申请加入的成员数量 order_getNewApplyNum: "/yishoudan/agency/group/user/apply/getNewApplyNum",// 获取申请加入的成员数量
order_getUserApplyList: "/yishoudan/agency/group/user/apply/userApplyList",// 获取申请加入的成员列表 order_getUserApplyList: "/yishoudan/agency/group/user/apply/userApplyList",// 获取申请加入的成员列表
order_userApplyApprove: "/yishoudan/agency/group/user/apply/approve",// 申请加入审批 order_userApplyApprove: "/yishoudan/agency/group/user/apply/approve",// 申请加入审批
} }
export default userInfo; export default userInfo;

@ -11,66 +11,6 @@
}" }"
@clickCard="goPage('/root/person/info')" @clickCard="goPage('/root/person/info')"
/> />
<view class="g_mt_10 g_mb_10 g_ml_10 g_mr_10" v-if="isLogin && isCreator">
<!-- 数据展示 -->
<view class="g_bg_f g_radius_8" v-if="false">
<view v-if="isHaveOrder" class="g_pt_12 g_pb_12 g_flex_row_between" style="border-bottom: 1px solid #f5f5f5">
<view class="g_fs_16 g_c_3 g_fw_600 g_flex_none g_pl_16">我的发单账号</view>
<view class="g_flex_row_end g_flex_1 g_pr_16" hover-class="thover" @click="goPage('/root/person/myOrder')">
<view class="g_fs_16 g_c_6">{{ userInfo.agencyName }}</view>
<view class="g_ml_6 g_flex_column_center">
<i class="iconfont icon-gengduo11 g_c_c"></i>
</view>
</view>
</view>
<view class="g_flex_row_center">
<view
v-for="(item, index) in userInfo.num"
:key="index"
@click="handleClickNum(item, index)"
hover-class="g_bg_e"
class="g_flex_row_center"
:style="{
'border-right': index < 3 && isHaveOrder ? '1px solid #f5f5f5' : 'none',
width: isHaveOrder ? '25%' : '100%',
}"
>
<view class="g_pt_16 g_pb_16">
<view class="g_flex_row_center g_fs_20 g_c_3 g_fw_bold">
<view style="position: relative">
{{ item.num }}
<view v-if="item.tip" style="position: absolute; right: -10px; top: 0" class="g_w_6 g_h_6 g_radius_50 g_bg_f40"></view>
</view>
</view>
<view class="g_flex_row_center g_fs_14 g_c_6 g_mt_4">{{ item.name }}</view>
</view>
</view>
</view>
<view v-if="isHaveOrder" style="border-top: 1px solid #f5f5f5" class="g_flex_row_between">
<view
v-for="(item, index) in mamageList"
:key="index"
class="g_flex_row_between g_pt_12 g_pb_12"
style="width: 50%"
hover-class="g_bg_e"
:style="{
'border-right': index < 1 ? '1px solid #f5f5f5' : 'none',
}"
@click="goPage(item.path)"
>
<view class="g_flex_row_start g_pl_16">
<view class="g_mr_5 g_flex_column_center">
<i class="t-icon g_w_20 g_h_20" :class="'t-' + item.icon" style="font-size: 20px; width: 20px; height: 20px"></i>
</view>
<view class="g_fs_16 g_c_3 g_flex_column_center">{{ item.name }}</view>
</view>
<view class="g_pr_13 g_flex_column_center">
<i class="iconfont icon-gengduo11 g_c_c"></i>
</view>
</view>
</view>
</view>
</view>
<view class="g_flex_row_between g_m_10" v-if="false"> <view class="g_flex_row_between g_m_10" v-if="false">
<g-panel-fond <g-panel-fond
style="width: 100%" style="width: 100%"
@ -337,14 +277,14 @@ export default {
that.userInfo.name = userInfo.userName || userInfo.aliasName; that.userInfo.name = userInfo.userName || userInfo.aliasName;
that.userInfo.tel = uni.getStorageSync("apply-tel"); that.userInfo.tel = uni.getStorageSync("apply-tel");
if (that.userInfo.num[0].name == "-") { // if (that.userInfo.num[0].name == "-") {
that.userInfo.num = [ // that.userInfo.num = [
{ // {
name: "-", // name: "-",
num: "-", // num: "-",
}, // },
]; // ];
} // }
that.userInfo.agencyName = userInfo.agencyName; that.userInfo.agencyName = userInfo.agencyName;
that.userInfo.teamType = userInfo.teamType; that.userInfo.teamType = userInfo.teamType;

@ -29,7 +29,7 @@
<g-panel-card-num :list="todayDataList" :border="true" :speed="1" :marginBottom="16" cusType="num" :height="26" :num="5" cusTitle="今日数据" @clickItem="handleClickNum" /> <g-panel-card-num :list="todayDataList" :border="true" :speed="1" :marginBottom="16" cusType="num" :height="26" :num="5" cusTitle="今日数据" @clickItem="handleClickNum" />
</view> --> </view> -->
<view class="g_mt_24"> <view class="g_mt_24" v-if="authInfo.realNameAuth == 2">
<view class="g_mb_10 g_fw_600 g_pl_16 g_fs_17">仅项目方可见</view> <view class="g_mb_10 g_fw_600 g_pl_16 g_fs_17">仅项目方可见</view>
<view class="g_p_16 g_bg_f g_radius_8 g_flex_row_between flex_center g_ml_10 g_mr_10"> <view class="g_p_16 g_bg_f g_radius_8 g_flex_row_between flex_center g_ml_10 g_mr_10">
<view class="g_flex_row_start flex_center"> <view class="g_flex_row_start flex_center">
@ -77,6 +77,7 @@ export default {
globalData: getApp().globalData, globalData: getApp().globalData,
showService: false, showService: false,
isLogin: false, isLogin: false,
authInfo: {}, //
userInfo: {}, userInfo: {},
agencyInfo: {}, agencyInfo: {},
upNum: 0, upNum: 0,
@ -179,7 +180,8 @@ export default {
console.log("that.agencyInfo", that.agencyInfo); console.log("that.agencyInfo", that.agencyInfo);
that.isLogin = uni.getStorageSync("apply-token") ? true : false; that.isLogin = uni.getStorageSync("apply-token") ? true : false;
// if (that.userInfo.agencyStatus == 1) { // if (that.userInfo.agencyStatus == 1) {
this.getData(); this.getAuthInfo();
// this.getData();
this.getJobList(); this.getJobList();
this.getCompanyInfo(); this.getCompanyInfo();
// } // }
@ -199,6 +201,14 @@ export default {
created() {}, created() {},
methods: { methods: {
getAuthInfo() {
let that = this;
console.log("this.agencyInfo.id", this.agencyInfo);
this.G.Get(this.api.get_supplier_info, { agencyId: this.agencyInfo.id || "" }, (res) => {
console.log("resresresresresres", res);
that.authInfo = res;
});
},
getJobList($type = "init") { getJobList($type = "init") {
let that = this; let that = this;
this.G.Get(this.api.get_user_supplieraccount_data, {}, (res) => { this.G.Get(this.api.get_user_supplieraccount_data, {}, (res) => {

Loading…
Cancel
Save