master
wangxia 4 weeks ago
parent 1c964d1c08
commit 007b2558be

@ -124,7 +124,7 @@
</div> </div>
<!-- 身份证号输入框 --> <!-- 身份证号输入框 -->
<div class="form-new-idcard g_flex_rowRight_columnCenter g_w_all" v-if="item.tip == 'slot-code-idcard'"> <div class="form-new-idcard g_flex_rowRight_columnCenter g_w_all" v-if="item.tip == 'slot-code-idcard'">
<u-input type="idcard" :clearable="false" :maxlength="18" :custom-style="{ fontSize: item.fontSize || ' 16px' }" :password-icon="false" :placeholder="item.placeholder" input-align="right" class="g_text_r g_w_all" placeholder-style="color:#999;font-size:16px;line-height:1" v-model="item.value" @blur="(e) => handleIDcard(e, item, index)" /> <u-input type="idcard" :clearable="false" :maxlength="18" :custom-style="{ fontSize: item.fontSize || ' 16px' }" :password-icon="false" :placeholder="item.placeholder" input-align="right" class="g_text_r g_w_all" placeholder-style="color:#999;font-size:16px;line-height:1" v-model="item.value" @input="(e) => handleIDcard(e, item, index)" @blur="(e) => handleIDcard(e, item, index)" />
</div> </div>
<!-- 家庭住址输入框 --> <!-- 家庭住址输入框 -->
<div class="form-new-address g_flex_rowRight_columnCenter g_w_all" v-if="item.tip == 'slot-address'"> <div class="form-new-address g_flex_rowRight_columnCenter g_w_all" v-if="item.tip == 'slot-address'">
@ -385,6 +385,7 @@ export default {
}, },
// //
handleIDcard(e, $item, $index) { handleIDcard(e, $item, $index) {
console.log('123123132',e);
this.$emit("changeIDcard", e); this.$emit("changeIDcard", e);
}, },
// //

@ -196,6 +196,7 @@ export default {
uni.setStorageSync("TABBAR_HEIGHT", res.height); uni.setStorageSync("TABBAR_HEIGHT", res.height);
}) })
.exec(); .exec();
}, },
data() { data() {
return { return {

@ -4,12 +4,12 @@
<u-modal v-model="submitConfirm" width="90%" negativeTop="150" confirmText="发布职位" :showTitle="false" :confirmStyle="{ color: '#576b95', 'font-weight': 600 }" :cancelStyle="{ color: '#000', 'font-weight': 600 }" :showConfirmButton="false"> <u-modal v-model="submitConfirm" width="90%" negativeTop="150" confirmText="发布职位" :showTitle="false" :confirmStyle="{ color: '#576b95', 'font-weight': 600 }" :cancelStyle="{ color: '#000', 'font-weight': 600 }" :showConfirmButton="false">
<div class="g_fs_17 g_text_c"> <div class="g_fs_17 g_text_c">
<div class style="padding: 42px 24px 36px"> <div class style="padding: 42px 24px 36px">
<div class="g_text_c g_fw_600 g_c_0">创建团队/企业</div> <div class="g_text_c g_fw_600 g_c_0">创建公司账号</div>
<div class="g_text_l g_c_6 g_mb_8 g_mt_24 g_pl_12">团队名称/企业简称</div> <div class="g_text_l g_c_6 g_mb_8 g_mt_24 g_pl_12">您的公司简称</div>
<div class="g_fs_14 g_pl_12 g_bg_f2 g_border_d g_radius_4 g_flex_row_start flex_center"> <div class="g_fs_14 g_pl_12 g_bg_f2 g_border_d g_radius_4 g_flex_row_start flex_center">
<u-input v-model="agencyInfo.fullName" :customStyle="{ color: disabled ? '#999' : '#333', fontSize: '17px' }" :disabled="disabled" height="96" placeholder="如:上海发财劳务"></u-input> <u-input v-model="agencyInfo.fullName" :customStyle="{ color: disabled ? '#999' : '#333', fontSize: '17px' }" :disabled="disabled" height="96" placeholder="如:上海发财劳务"></u-input>
</div> </div>
<div class="g_text_l g_c_9 g_mt_8 g_fs_14 g_pl_12">创建团队后可关注发单号浏览职位及工单报名</div> <div class="g_text_l g_c_9 g_mt_8 g_fs_14 g_pl_12">报名助手需以公司身份使用创建公司后可关注发单号浏览职位及工单报名</div>
</div> </div>
<div class="g_flex_row_center flex_center g_fw_600 g_border_e_t"> <div class="g_flex_row_center flex_center g_fw_600 g_border_e_t">
<div class="g_flex_1 g_h_50 g_text_c g_c_0 g_border_e_r" hover-class="thover" @click="submitConfirm = false" style="line-height: 50px">取消</div> <div class="g_flex_1 g_h_50 g_text_c g_c_0 g_border_e_r" hover-class="thover" @click="submitConfirm = false" style="line-height: 50px">取消</div>
@ -255,7 +255,9 @@ export default {
// //
applyFlowWidthoutAgencyConfirm() { applyFlowWidthoutAgencyConfirm() {
let that = this; let that = this;
this.confirmWithoutAgency = true; // this.confirmWithoutAgency = true;
this.submitConfirm = true;
return; return;
that.G.handleConfirm({ that.G.handleConfirm({
cancelText: "创建团队", cancelText: "创建团队",

@ -510,7 +510,7 @@
<div class="g_fs_12 g_c_6" style="margin-top: 8px">客服</div> <div class="g_fs_12 g_c_6" style="margin-top: 8px">客服</div>
</button> --> </button> -->
</div> </div>
<div class="g_flex_1 g_flex_row_center"> <div class="g_flex_1 g_flex_row_center" v-if="userinfo && userinfo.agencyId">
<div class="g_flex_none g_flex_column_center g_mr_12"> <div class="g_flex_none g_flex_column_center g_mr_12">
<g-button btnText="联系客服" class="g_w_100" size="small_auto" @clickBtn="goIm"></g-button> <g-button btnText="联系客服" class="g_w_100" size="small_auto" @clickBtn="goIm"></g-button>
</div> </div>
@ -611,6 +611,7 @@ export default {
onReady() { onReady() {
this.G.setNavStyle(); this.G.setNavStyle();
}, },
onShareAppMessage() { onShareAppMessage() {
// return this.G.shareFun("/root/detail/job?id=" + this.jobDetail.id, // return this.G.shareFun("/root/detail/job?id=" + this.jobDetail.id,
// "", this.jobDetail.jobName + " " + this.jobDetail.priceStr + " " + " "); // "", this.jobDetail.jobName + " " + this.jobDetail.priceStr + " " + " ");
@ -643,6 +644,18 @@ export default {
this.currentTime = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00"; this.currentTime = dateUtil.formatDateYMD(new Date().toLocaleDateString()) + " 06:00";
this.dateTimeArray = obj.dateTimeArray; this.dateTimeArray = obj.dateTimeArray;
this.dateTime = obj.dateTime; this.dateTime = obj.dateTime;
// uni.showShareMenu({
// withShareTicket: true,
// menus: ["shareAppMessage", "shareTimeline"],
// });
// //
// onShare1Timeline() {
// return {
// title: "",
// imageUrl: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/goxj2-qpwbo.png",
// query: { info: `{info:'test'}` },
// };
// },
}, },
data() { data() {
return { return {
@ -1404,7 +1417,8 @@ export default {
}); });
that.jobDetail.info = newList.join("丨"); that.jobDetail.info = newList.join("丨");
that.F.wyyxPost( that.F.wyyxPost(
that.api.wyyx_sendCard, { that.api.wyyx_sendCard,
{
conversationType: 1, conversationType: 1,
// senderUserId: uni.getStorageSync("apply-uid"), // id id // senderUserId: uni.getStorageSync("apply-uid"), // id id
// receiverUserId: cusData, // id // receiverUserId: cusData, // id
@ -1414,8 +1428,7 @@ export default {
jobDetail: { jobDetail: {
title: that.jobDetail.jobName, title: that.jobDetail.jobName,
info: that.jobDetail.info, info: that.jobDetail.info,
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : "",
.jobDetail.jobRequestLabelNames : "",
salaryClassifyValue: that.jobDetail.priceStr, salaryClassifyValue: that.jobDetail.priceStr,
serviceFee: that.jobDetail.fuWuFei, serviceFee: that.jobDetail.fuWuFei,
monthPay: that.jobDetail.monthPay, monthPay: that.jobDetail.monthPay,

@ -10,7 +10,7 @@
'background-image': info.supplierAccountCoverUrl ? `url(${info.supplierAccountCoverUrl})` : 'url(https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/v3/mbg.jpg)', 'background-image': info.supplierAccountCoverUrl ? `url(${info.supplierAccountCoverUrl})` : 'url(https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/v3/mbg.jpg)',
'background-size': '100% 100%', 'background-size': '100% 100%',
width: 'calc(100vw + ' + backgroundScale + 'px)', width: 'calc(100vw + ' + backgroundScale + 'px)',
height: 'calc(' + (100 / 1.2).toFixed(2) + 'vw + ' + moveDistance + 'px)', height: 'calc(' + (100 / 1.4).toFixed(2) + 'vw + ' + moveDistance + 'px)',
'transform-origin': '50% 0%', 'transform-origin': '50% 0%',
transform: `scale(${1 + backgroundScale * 0.008})`, transform: `scale(${1 + backgroundScale * 0.008})`,
}" }"
@ -18,7 +18,7 @@
</view> </view>
</view> </view>
<u-navbar backIconColor="#333" :borderBottom="false" :immersive="true" :customBack="goHome" :background="{ background: navColor }" :backIconName="fromShare ? 'home' : 'arrow-left'"></u-navbar> <u-navbar backIconColor="#333" :borderBottom="false" :immersive="true" :customBack="goHome" :background="{ background: navColor }" :backIconName="fromShare ? 'home' : 'arrow-left'"></u-navbar>
<scroll-view :refresher-enabled="true" class="scroll-container" scroll-y style="height: 100vh" refresher-default-style="none" @touchstart="onTouchStart" @touchmove="onTouchMove" :refresher-threshold="0" :refresher-triggered="isTrigger" @refresherrefresh="refreshJobList" @touchend="onTouchEnd" @scroll="checkScroll" @scrolltolower="reachBottom"> <scroll-view :refresher-enabled="true" class="scroll-container" scroll-y style="height: 100vh" refresher-default-style="none" @touchstart="onTouchStart" @touchmove="onTouchMove" @touchend="onTouchEnd" :refresher-threshold="0" @refresherrefresh="refreshJobList" @scroll="checkScroll" @scrolltolower="reachBottom">
<view <view
class="u-navbar-fixed" class="u-navbar-fixed"
:style="{ :style="{
@ -338,8 +338,8 @@ export default {
methods: { methods: {
// //
onTouchStart(e) { onTouchStart(e) {
if(this.isTouching){ if (this.isTouching) {
return false return false;
} }
this.isTouching = true; this.isTouching = true;
this.mtScroll = 0; this.mtScroll = 0;
@ -702,10 +702,10 @@ export default {
that.isSelf = true; that.isSelf = true;
} }
that.numSlot = [ that.numSlot = [
{ // {
name: "总职位", // name: "",
num: that.info.jobNum, // num: that.info.jobNum,
}, // },
{ {
name: "在招", name: "在招",
num: that.info.recruitmentJobNum, num: that.info.recruitmentJobNum,
@ -774,6 +774,7 @@ export default {
if (this.G.isLogin()) { if (this.G.isLogin()) {
if (that.userInfo.agencyId) { if (that.userInfo.agencyId) {
// that.submitConfirm = true; // that.submitConfirm = true;
// that.$refs.applyFlow.applyFlowWidthoutAgencyConfirm();
that.$refs.applyFlow.applyFlowConfirm(); that.$refs.applyFlow.applyFlowConfirm();
} else { } else {
that.$refs.applyFlow.applyFlowWidthoutAgencyConfirm(); that.$refs.applyFlow.applyFlowWidthoutAgencyConfirm();

@ -1,9 +1,10 @@
<template> <template>
<view class="p-root-detail-fellow g_w_all g_bg_page g_kuaishou"> <view class="p-root-detail-fellow g_w_all g_bg_page g_kuaishou">
<view style="padding-bottom: 200rpx;"> <view style="padding-bottom: 200rpx">
<AiApply class @outputInfo="getTownsManInfo" /> <AiApply class @outputInfo="getTownsManInfo" />
<view class="g_h_10"></view> <view class="g_h_10"></view>
<g-panel-form-slot :list="[ <g-panel-form-slot
:list="[
{ {
icon: '', icon: '',
label: '工友电话', label: '工友电话',
@ -16,7 +17,9 @@
pColumn: 8, pColumn: 8,
require: false, require: false,
}, },
]" @changeMobile="handleClickMobile"></g-panel-form-slot> ]"
@changeMobile="handleClickMobile"
></g-panel-form-slot>
<view class="g_h_10"></view> <view class="g_h_10"></view>
<g-panel-form-slot <g-panel-form-slot
:list="[ :list="[
@ -104,7 +107,8 @@
@updateIDInfo="handlerIDInfo" @updateIDInfo="handlerIDInfo"
></g-panel-form-slot> ></g-panel-form-slot>
<view class="g_h_10"></view> <view class="g_h_10"></view>
<g-panel-form-slot :list="[ <g-panel-form-slot
:list="[
{ {
icon: '', icon: '',
label: '上传附件', label: '上传附件',
@ -114,7 +118,9 @@
tip: 'slot-update-file', tip: 'slot-update-file',
pColumn: 16, pColumn: 16,
}, },
]" @updateFile="updateFile"> ]"
@updateFile="updateFile"
>
<template v-slot:after> <template v-slot:after>
<view class="g_flex_row_start g_p_10" v-if="imgList.length > 0"> <view class="g_flex_row_start g_p_10" v-if="imgList.length > 0">
<view v-for="(item, index) in imgList" class="g_position_rela" :class="index <= 2 ? 'g_mr_18' : ''" :key="index"> <view v-for="(item, index) in imgList" class="g_position_rela" :class="index <= 2 ? 'g_mr_18' : ''" :key="index">
@ -137,60 +143,71 @@
</template> </template>
<script> <script>
import AiApply from './components/AiApply.vue' import AiApply from "./components/AiApply.vue";
import { nationlist } from '../../utils/nation.js' import { nationlist } from "../../utils/nation.js";
export default { export default {
components: { components: {
AiApply, AiApply,
}, },
onReady() { onReady() {
this.G.setNavStyle() this.G.setNavStyle();
}, },
onShareAppMessage() { onShareAppMessage() {
return this.G.shareFun() return this.G.shareFun();
}, },
data() { data() {
return { return {
cdnBaseImg: this.G.store().cdnBaseImg, cdnBaseImg: this.G.store().cdnBaseImg,
info: { info: {
nation: '汉族', nation: "汉族",
}, },
nation: nationlist.map((item, index) => { nation: nationlist.map((item, index) => {
return item.name return item.name;
}), }),
nationIndex: 0, nationIndex: 0,
imgList: [], imgList: [],
};
},
watch: {
"info.idCard"() {
console.log("this.info.idCard", this.info.idCard);
if (this.info.idCard.length == 15 || this.info.idCard.length == 18) {
let info = this.G.getInfoByIDcard(this.info.idCard);
console.log("info info info ", info);
this.info.age = info.age;
this.info.sex = info.sex ? (info.sex == "男" ? 1 : 2) : "";
} }
}, },
},
onLoad(options) { onLoad(options) {
let that = this let that = this;
console.log('快速报名:', options) console.log("快速报名:", options);
if (options) { if (options) {
if (options.sex) { if (options.sex) {
options.sex = Number(options.sex) options.sex = Number(options.sex);
} else { } else {
options.sex = 1 options.sex = 1;
} }
if (options.nation) { if (options.nation) {
options.nation = options.nation.indexOf('族') > -1 ? options.nation : options.nation + '族' options.nation = options.nation.indexOf("族") > -1 ? options.nation : options.nation + "族";
} else { } else {
options.nation = '汉族' options.nation = "汉族";
} }
this.info = options this.info = options;
// //
that.nation.forEach((item, index) => { that.nation.forEach((item, index) => {
if (item == that.info.nation) { if (item == that.info.nation) {
that.nationIndex = index that.nationIndex = index;
} }
}) });
if (this.info.imgs) { if (this.info.imgs) {
this.imgList = this.info.imgs.split(',') this.imgList = this.info.imgs.split(",");
} }
} }
console.log('获取工友信息:', options) console.log("获取工友信息:", options);
}, },
onShow() { onShow() {
let that = this let that = this;
// that.nation.forEach((item, index) => { // that.nation.forEach((item, index) => {
// if (item == that.info.nation) { // if (item == that.info.nation) {
// console.log(that.info.nation); // console.log(that.info.nation);
@ -203,169 +220,165 @@ export default {
// }, 300); // }, 300);
}, },
created() { created() {
let that = this let that = this;
}, },
methods: { methods: {
getTownsManInfo(info) { getTownsManInfo(info) {
let that = this let that = this;
console.log('info', info) console.log("info", info);
that.info = { that.info = {
...info, ...info,
index: that.info.index, index: that.info.index,
nation: info.nation + '族', nation: info.nation + "族",
} };
}, },
handleClickName(e) { handleClickName(e) {
this.info.name = this.info.userName = e this.info.name = this.info.userName = e;
}, },
handleClickSex(e) { handleClickSex(e) {
this.info.sex = e this.info.sex = e;
}, },
handleClickAge(e) { handleClickAge(e) {
this.info.age = e this.info.age = e;
}, },
handleClickMobile(e) { handleClickMobile(e) {
this.info.tel = e this.info.tel = e;
}, },
handleClickNation(e) { handleClickNation(e) {
let that = this let that = this;
console.log(e.name) console.log(e.name);
this.info.nation = e.name this.info.nation = e.name;
that.nation.forEach((item, index) => { that.nation.forEach((item, index) => {
if (item == e.name) { if (item == e.name) {
// console.log(that.info.nation) // console.log(that.info.nation)
// console.log(index) // console.log(index)
that.nationIndex = index that.nationIndex = index;
} }
}) });
}, },
/** /**
* 获取上传的身份信息 * 获取上传的身份信息
*/ */
handlerIDInfo(res) { handlerIDInfo(res) {
console.log('res', res) console.log("res", res);
let that = this let that = this;
that.info.name = res.info.name that.info.name = res.info.name;
that.info.sex = res.info.sex ? (res.info.sex == '男' ? 1 : 2) : '' that.info.sex = res.info.sex ? (res.info.sex == "男" ? 1 : 2) : "";
that.info.age = res.info.age that.info.age = res.info.age;
that.info.nation = res.info.nationality + '族' that.info.nation = res.info.nationality + "族";
that.info.idCard = res.info.num that.info.idCard = res.info.num;
that.info.idCardImageUrl = res.image that.info.idCardImageUrl = res.image;
that.info.userName = res.info.name that.info.userName = res.info.name;
that.info.address = res.info.address that.info.address = res.info.address;
that.nation.forEach((item, index) => { that.nation.forEach((item, index) => {
console.log('item1', item) console.log("item1", item);
console.log('that.info.nation + "族"', that.info.nation + '族') console.log('that.info.nation + "族"', that.info.nation + "族");
if (item == that.info.nation) { if (item == that.info.nation) {
console.log('item2', item) console.log("item2", item);
that.nationIndex = index that.nationIndex = index;
} }
}) });
console.log('that.info', that.info) console.log("that.info", that.info);
console.log('that.nationIndex', that.nationIndex) console.log("that.nationIndex", that.nationIndex);
that.$forceUpdate() that.$forceUpdate();
}, },
// //
delImg(ind) { delImg(ind) {
this.imgList.splice( this.imgList.splice(
this.imgList.findIndex((item, index) => index == ind), this.imgList.findIndex((item, index) => index == ind),
1 1
) );
}, },
// //
updateFile(e) { updateFile(e) {
let that = this let that = this;
if (that.imgList.length < 4) { if (that.imgList.length < 4) {
that.imgList.push(e) that.imgList.push(e);
uni.hideLoading() uni.hideLoading();
} else { } else {
uni.showToast({ uni.showToast({
title: '最多只能上传4张', title: "最多只能上传4张",
icon: 'none', icon: "none",
}) });
} }
}, },
handleClickIDcard(e) { handleClickIDcard(e) {
this.info.idCard = e this.info.idCard = e;
if (this.info.idCard.length == 15 || this.info.idCard.length == 18) { console.log("eeeeee", this.info.idCard);
let info = this.G.getInfoByIDcard(this.info.idCard)
this.info.age = info.age
this.info.sex = info.sex ? (info.sex == '男' ? 1 : 2) : ''
this.$forceUpdate()
}
// console.log(this.G.getInfoByIDcard(this.info.idCard)); // console.log(this.G.getInfoByIDcard(this.info.idCard));
}, },
handleClickAddress(e) { handleClickAddress(e) {
this.info.address = e this.info.address = e;
}, },
goReturn() { goReturn() {
uni.navigateBack() uni.navigateBack();
}, },
handleSubmit() { handleSubmit() {
let that = this let that = this;
console.log('that.info.imgs', that.info.imgs) console.log("that.info.imgs", that.info.imgs);
console.log('that.imgList', that.imgList) console.log("that.imgList", that.imgList);
if (!that.info.name) { if (!that.info.name) {
uni.showToast({ uni.showToast({
icon: 'none', icon: "none",
title: '请输入姓名', title: "请输入姓名",
}) });
return false return false;
} }
if (!that.info.tel && !that.info.idCard) { if (!that.info.tel && !that.info.idCard) {
uni.showToast({ uni.showToast({
icon: 'none', icon: "none",
title: '请至少输入手机号或者身份证号', title: "请至少输入手机号或者身份证号",
}) });
return false return false;
} }
if (that.info.tel && !that.G.setReg(that.info.tel, 'tel')) { if (that.info.tel && !that.G.setReg(that.info.tel, "tel")) {
uni.showToast({ uni.showToast({
icon: 'none', icon: "none",
title: '请输入正确的手机号', title: "请输入正确的手机号",
}) });
return false return false;
} }
if (that.info.idCard && !that.G.isValidIdCard(that.info.idCard)) { if (that.info.idCard && !that.G.isValidIdCard(that.info.idCard)) {
uni.showToast({ uni.showToast({
icon: 'none', icon: "none",
title: '请输入正确的身份证号', title: "请输入正确的身份证号",
}) });
return false return false;
} }
console.log(that.info) console.log(that.info);
if (that.imgList.length > 0) { if (that.imgList.length > 0) {
that.info.imgs = that.imgList that.info.imgs = that.imgList;
} }
console.log('that.info.imgs', that.info.imgs) console.log("that.info.imgs", that.info.imgs);
uni.$emit('getTownsman', { info: that.info }) uni.$emit("getTownsman", { info: that.info });
uni.navigateBack() uni.navigateBack();
}, },
handleClickInfo() { handleClickInfo() {
let that = this let that = this;
that.G.uploadImg((res) => { that.G.uploadImg((res) => {
console.log('res', res) console.log("res", res);
that.info.name = res.info.name || '' that.info.name = res.info.name || "";
that.info.sex = res.info.sex ? (res.info.sex == '男' ? 1 : 2) : '' that.info.sex = res.info.sex ? (res.info.sex == "男" ? 1 : 2) : "";
that.info.age = res.info.age || '' that.info.age = res.info.age || "";
that.info.nation = res.info.nationality || '' that.info.nation = res.info.nationality || "";
that.info.idCard = res.info.num || '' that.info.idCard = res.info.num || "";
that.info.idCardImageUrl = res.image || '' that.info.idCardImageUrl = res.image || "";
that.info.userName = res.info.name || '' that.info.userName = res.info.name || "";
that.info.address = res.info.address || '' that.info.address = res.info.address || "";
that.nation.forEach((item, index) => { that.nation.forEach((item, index) => {
if (item == that.info.nation) { if (item == that.info.nation) {
that.nationIndex = index that.nationIndex = index;
} }
}) });
that.$forceUpdate() that.$forceUpdate();
}, 'idcard') }, "idcard");
}, },
}, },
} };
</script> </script>
<style> <style>

@ -109,8 +109,11 @@ export default {
onReady() { onReady() {
this.G.setNavStyle(); this.G.setNavStyle();
let that = this; let that = this;
uni.$on("getTownsman", function (data) { uni.$on("getTownsman", (data) => {
console.log("getTownsman", data); console.log("getTownsman", data);
//
let infoByIDcard = this.G.getInfoByIDcard(data.info.idCard);
data.info.age = infoByIDcard.age;
if (that.persenInfo.length == 0) { if (that.persenInfo.length == 0) {
that.persenInfo[0] = { that.persenInfo[0] = {
...data.info, ...data.info,

@ -9,18 +9,18 @@
<div class="g_mt_8 g_fs_14 g_c_main" style="text-decoration: underline" @click="goHome('/pages/home/index')"></div> <div class="g_mt_8 g_fs_14 g_c_main" style="text-decoration: underline" @click="goHome('/pages/home/index')"></div>
</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="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_fw_600">我的公司</div>
<div class="g_c_9">{{ agencyInfo.fullName || agencyInfo.userName }}{{ agencyNum > 0 ? `${agencyNum}人)` : "" }}</div> <div class="g_c_9">{{ agencyInfo.fullName || agencyInfo.userName }}{{ agencyNum > 0 ? `${agencyNum}人)` : "" }}</div>
</div> </div>
<div class="r_box g_pl_10 g_pr_10 g_mt_10 g_pb_40"> <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_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"> <div class="g_pt_12 g_c_3 g_fs_14">
<p class="g_mb_10 g_fw_600">为什么要添加成员到团队?</p> <p class="g_mb_10 g_fw_600">为什么要添加成员到公司?</p>
<div class="g_pl_20 g_c_6"> <div class="g_pl_20 g_c_6">
<p>1.发单号是以团队为单位进行发单和关注的</p> <p>1.发单号是以公司为单位进行发单和关注的</p>
<p>2.创建人关注发单号后内部成员均可报名</p> <p>2.创建人关注发单号后内部成员均可报名</p>
<p>3.团队成员无需再次关注共享报名权限</p> <p>3.公司成员无需再次关注共享报名权限</p>
<p>4.系统自动完成团队内部数据汇总与统计</p> <p>4.系统自动完成公司内部数据汇总与统计</p>
</div> </div>
</div> </div>
<div class="g_mt_40 g_flex_row_center"> <div class="g_mt_40 g_flex_row_center">
@ -51,7 +51,7 @@ export default {
}, },
onLoad(options) { onLoad(options) {
console.log(options); console.log(options);
this.getNum(); // this.getNum();
}, },
created() {}, created() {},

@ -15,7 +15,7 @@
@clickItem="handleClickItem" @clickItem="handleClickItem"
/> />
</view> </view>
<view class="g_pl_10 g_pr_10 g_pb_16" v-if="isCreator"> <!-- <view class="g_pl_10 g_pr_10 g_pb_16" v-if="isCreator">
<view class="g_bg_f g_pl_20 g_pr_20 g_radius_8"> <view class="g_bg_f g_pl_20 g_pr_20 g_radius_8">
<view class="g_flex_row_between g_h_56"> <view class="g_flex_row_between g_h_56">
<view class="g_flex_column_center g_fs_16 g_c_3">关注邀请</view> <view class="g_flex_column_center g_fs_16 g_c_3">关注邀请</view>
@ -25,7 +25,7 @@
</view> </view>
</view> </view>
<view class="g_fs_14 g_mt_8 g_pl_20 g_c_9"> 关闭后首页收到的发单号邀请不再主动弹出 </view> <view class="g_fs_14 g_mt_8 g_pl_20 g_c_9"> 关闭后首页收到的发单号邀请不再主动弹出 </view>
</view> </view> -->
<g-panel-form-item <g-panel-form-item
:list="[ :list="[
{ {

Loading…
Cancel
Save