<template>
	<div class="g_bg_page g_pl_10 g_pr_10">
		<div class="g_h_10"></div>
		<div class="r_box g_text_c" style="padding: 48px 0 40px">
			<div>
				<i class="icon-check-1 iconfont" :style="{color: themeColor, 'font-size': '84px'}"></i>
			</div>
			<div class="g_mt_20 g_fs_18">关注成功</div>
			<div class="g_mt_8 g_fs_14" :style="{color: themeColor, 'text-decoration': 'underline'}" @click="goHome('/pages/home/index')">点此处查看更多职位</div>
		</div>
		<div class="r_box g_text_c g_h_56 g_mt_10 g_flex_row_between flex_center g_fs_16 g_pl_10 g_pr_10">
			<div class="g_fw_600">我的公司</div>
			<div class="g_c_9">{{ agencyInfo.fullName || agencyInfo.userName }}{{ agencyNum > 0 ? `（${agencyNum}人）` : "" }}</div>
		</div>
		<div class="r_box g_pl_10 g_pr_10 g_mt_10 g_pb_40">
			<div class="g_text_c g_fs_18 g_fw_600 g_pt_12 g_pb_12" style="border-bottom: 1rpx dotted #eee">添加公司成员</div>
			<div class="g_pt_12 g_c_3 g_fs_14">
				<p class="g_mb_10 g_fw_600">为什么要添加成员到公司?</p>
				<div class="g_pl_20 g_c_6">
					<p>1.发单号是以公司为单位进行发单和关注的。</p>
					<p>2.创建人关注发单号后，内部成员均可报名。</p>
					<p>3.公司成员无需再次关注，共享报名权限。</p>
					<p>4.系统自动完成公司内部数据汇总与统计。</p>
				</div>
			</div>
			<div class="g_mt_40 g_flex_row_center">
				<div class="g_flex_1">
					<rh-button btnText="去添加" size="auto" type="primary" @clickBtn="goPage('/root/merchantManagement/teamManage')"></rh-button>
					<!-- <rh-button btnText="手动添加" size="auto" @clickBtn="goPage('/root/person/addOrUpdataMember')"></rh-button> -->
				</div> 
				<div class="g_flex_1 g_ml_12">
					<rh-button btnText="回首页" size="auto" type="default" @clickBtn="goHome('/pages/home/index')"></rh-button>
					<!-- <rh-button btnText="手动添加" size="auto" @clickBtn="goPage('/root/person/addOrUpdataMember')"></rh-button> -->
				</div>
				<!-- <div class="g_w_120">
					<rh-button btnText="微信邀请" size="auto" type="primary" class="" @clickBtn="goPage('/root/person/memberApplyQRCode')"></rh-button>
        </div>-->
			</div>
		</div>
	</div>
</template>

<script>
export default {
	data() {
		return {
			themeColor: getApp().globalData.themeColor,
			ing: false,
			agencyNum: 0,
			agencyInfo: uni.getStorageSync("agencyInfo"),
		};
	},
	onLoad(options) {
		this.themeColor = getApp().globalData.themeColor;
		console.log(options);
		// this.getNum();
	},
	created() {},

	methods: {
		// getNum() {
		// 	let that = this;
		// 	this.G.Get(this.api.bind_getAgencyCorpUsersNum, "", (res) => {
		// 		console.log("res", res);
		// 		that.agencyNum = res;
		// 	});
		// },
		goPage(url) {
			uni.navigateTo({
				url,
			});
		},
		goHome(url) {
			// uni.$emit("updateJobList");
			uni.switchTab({
				url,
			});
		},
	},
};
</script>

<style></style>
