|
|
|
@ -43,9 +43,7 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class=" ">
|
|
|
|
<view class=" ">
|
|
|
|
<g-panel-detail-item label="报名人" from="resident-info" beforeIcon="icon-phone" @clickItem="goTel(orderDetail.agencyTel)" :remarkValue="orderDetail.agencyTel" :value="orderDetail.downFullName || orderDetail.downProviderName" />
|
|
|
|
<g-panel-detail-item label="报名人" from="resident-info" beforeIcon="icon-phone" @clickItem="goTel(orderDetail.agencyTel)" :remarkValue="orderDetail.agencyTel" :value="orderDetail.downFullName || orderDetail.downProviderName" />
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 用户信息 -->
|
|
|
|
<!-- 用户信息 -->
|
|
|
|
@ -352,25 +350,21 @@
|
|
|
|
</g-panel-fixed>
|
|
|
|
</g-panel-fixed>
|
|
|
|
</u-popup>
|
|
|
|
</u-popup>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="g_h_104" style="background-color: #ededed;"></view>
|
|
|
|
<view class="g_h_104" style="background-color: #ededed"></view>
|
|
|
|
<g-panel-fixed style="box-shadow: 0 -4px 12px #ededed;">
|
|
|
|
<g-panel-fixed style="box-shadow: 0 -4px 12px #ededed">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<view class="g_pl_20 g_pr_20 g_flex_row_center flex_center flex_nw" style="width: 100%">
|
|
|
|
<view class="g_pl_20 g_pr_20 g_flex_row_center flex_center flex_nw" style="width: 100%">
|
|
|
|
<view class="g_flex_1 g_flex_column_center">
|
|
|
|
<view class="g_flex_1 g_flex_column_center">
|
|
|
|
<view class="">
|
|
|
|
<view class="">
|
|
|
|
<button
|
|
|
|
<button @click="createImage" class="g_flex_c" style="background-color: #00b666; color: #fff; width: 250px; height: 42px; font-size: 18px; border-radius: 60px">分享</button>
|
|
|
|
@click="createImage"
|
|
|
|
|
|
|
|
class="g_flex_c"
|
|
|
|
|
|
|
|
style="background-color: #00b666;color: #fff;width: 250px;height: 42px;font-size: 18px;border-radius: 60px;"
|
|
|
|
|
|
|
|
>分享</button>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</g-panel-fixed>
|
|
|
|
</g-panel-fixed>
|
|
|
|
|
|
|
|
|
|
|
|
<u-popup v-model="shareModal.isShow" mode="bottom" border-radius="16" height='600px' :mask-close-able="true">
|
|
|
|
<u-popup v-model="shareModal.isShow" mode="bottom" border-radius="16" height="600px" :mask-close-able="true">
|
|
|
|
<mainPanel :showBg="true" :rid='rid' :oid='oid' :active="1" :name='orderDetail.userName' :job="orderDetail.storeJobName" :recommendList="recommendList[0]" />
|
|
|
|
<mainPanel :showBg="true" :rid="rid" :oid="oid" :active="1" :name="orderDetail.userName" :job="orderDetail.storeJobName" :recommendList="recommendList[0]" />
|
|
|
|
</u-popup>
|
|
|
|
</u-popup>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
@ -379,7 +373,7 @@
|
|
|
|
import mainPanel from "./myMain.vue";
|
|
|
|
import mainPanel from "./myMain.vue";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
mainPanel
|
|
|
|
mainPanel,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onReady() {
|
|
|
|
onReady() {
|
|
|
|
this.G.setNavStyle();
|
|
|
|
this.G.setNavStyle();
|
|
|
|
@ -476,38 +470,42 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onLoad(options) {
|
|
|
|
onLoad(options) {
|
|
|
|
console.log('工单详情页:',options)
|
|
|
|
console.log("工单详情页:", options);
|
|
|
|
|
|
|
|
|
|
|
|
if (options.scene) {
|
|
|
|
if (options.scene) {
|
|
|
|
let _str = decodeURIComponent(options.scene);
|
|
|
|
let _str = decodeURIComponent(options.scene);
|
|
|
|
console.log('邀请 codeRes 1',_str)
|
|
|
|
console.log("邀请 codeRes 1", _str);
|
|
|
|
let codeRes = _str.split("=");
|
|
|
|
let codeRes = _str.split("=");
|
|
|
|
console.log('邀请 codeRes 2',codeRes)
|
|
|
|
console.log("邀请 codeRes 2", codeRes);
|
|
|
|
this.oid = codeRes[1].split('_')[1];
|
|
|
|
this.oid = codeRes[1].split("_")[1];
|
|
|
|
this.relationId = codeRes[1].split('_')[2];
|
|
|
|
this.relationId = codeRes[1].split("_")[2];
|
|
|
|
uni.setStorageSync('order_oid',this.oid)
|
|
|
|
uni.setStorageSync("order_oid", this.oid);
|
|
|
|
uni.setStorageSync('order_relationId',this.relationId)
|
|
|
|
uni.setStorageSync("order_relationId", this.relationId);
|
|
|
|
this.type = '1';
|
|
|
|
this.type = "1";
|
|
|
|
console.log('邀请 codeRes 3 oid:',this.oid,' rid:',this.relationId)
|
|
|
|
console.log("邀请 codeRes 3 oid:", this.oid, " rid:", this.relationId);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (options.id) {
|
|
|
|
if (options.id) {
|
|
|
|
this.oid = options.id;
|
|
|
|
this.oid = options.id;
|
|
|
|
this.relationId = options.relationId;
|
|
|
|
this.relationId = options.relationId;
|
|
|
|
this.type = options.type;
|
|
|
|
this.type = options.type;
|
|
|
|
}else if(uni.getStorageSync('order_oid')){
|
|
|
|
} else if (uni.getStorageSync("order_oid")) {
|
|
|
|
this.oid = uni.getStorageSync('order_oid');
|
|
|
|
this.oid = uni.getStorageSync("order_oid");
|
|
|
|
this.relationId = uni.getStorageSync('order_relationId');
|
|
|
|
this.relationId = uni.getStorageSync("order_relationId");
|
|
|
|
this.type = options.type;
|
|
|
|
this.type = options.type;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.getResident();
|
|
|
|
|
|
|
|
this.getPeople();
|
|
|
|
|
|
|
|
this.getDetail();
|
|
|
|
|
|
|
|
uni.$on("infoUpdate", () => {
|
|
|
|
|
|
|
|
uni.$emit("infoUpdateList");
|
|
|
|
|
|
|
|
this.getDetail();
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
onShow() {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
this.isCreator = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
|
|
|
|
this.isCreator = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
|
|
|
|
this.getResident();
|
|
|
|
|
|
|
|
this.getPeople();
|
|
|
|
|
|
|
|
this.getDetail();
|
|
|
|
|
|
|
|
that.G.Get(
|
|
|
|
that.G.Get(
|
|
|
|
that.api.bind_enterpriseDetail + "/" + uni.getStorageSync("apply-agencyId"),
|
|
|
|
that.api.bind_enterpriseDetail + "/" + uni.getStorageSync("apply-agencyId"),
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -520,9 +518,6 @@ export default {
|
|
|
|
console.log("--", that.recommendList);
|
|
|
|
console.log("--", that.recommendList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
uni.$on("infoUpdate", () => {
|
|
|
|
|
|
|
|
this.getDetail();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
setShareImg(e) {
|
|
|
|
setShareImg(e) {
|
|
|
|
@ -610,8 +605,8 @@ export default {
|
|
|
|
relationId: that.relationId,
|
|
|
|
relationId: that.relationId,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
(res) => {
|
|
|
|
(res) => {
|
|
|
|
uni.removeStorageSync('order_oid')
|
|
|
|
uni.removeStorageSync("order_oid");
|
|
|
|
uni.removeStorageSync('order_relationId')
|
|
|
|
uni.removeStorageSync("order_relationId");
|
|
|
|
console.log("工单详情:", res);
|
|
|
|
console.log("工单详情:", res);
|
|
|
|
if (res.prevRecordId) {
|
|
|
|
if (res.prevRecordId) {
|
|
|
|
that.rid = res.prevRecordId;
|
|
|
|
that.rid = res.prevRecordId;
|
|
|
|
@ -737,19 +732,18 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
(err) => {
|
|
|
|
(err) => {
|
|
|
|
uni.showModal({
|
|
|
|
uni.showModal({
|
|
|
|
title:' ',
|
|
|
|
title: " ",
|
|
|
|
content: err,
|
|
|
|
content: err,
|
|
|
|
confirmText:'回首页',
|
|
|
|
confirmText: "回首页",
|
|
|
|
success(era) {
|
|
|
|
success(era) {
|
|
|
|
if (era.confirm) {
|
|
|
|
if (era.confirm) {
|
|
|
|
uni.switchTab({
|
|
|
|
uni.switchTab({
|
|
|
|
url:'/pages/home/index'
|
|
|
|
url: "/pages/home/index",
|
|
|
|
})
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -837,7 +831,7 @@ export default {
|
|
|
|
"姓名:": this.orderDetail.userName + this.orderDetail.setTitle,
|
|
|
|
"姓名:": this.orderDetail.userName + this.orderDetail.setTitle,
|
|
|
|
"\n身份证号:": this.orderDetail.idCard ? this.orderDetail.idCard : "-",
|
|
|
|
"\n身份证号:": this.orderDetail.idCard ? this.orderDetail.idCard : "-",
|
|
|
|
"\n企业岗位:": this.orderDetail.storeJobName ? this.orderDetail.storeJobName : "-",
|
|
|
|
"\n企业岗位:": this.orderDetail.storeJobName ? this.orderDetail.storeJobName : "-",
|
|
|
|
'\n电话:': this.orderDetail.tel ? this.orderDetail.tel : "-",
|
|
|
|
"\n电话:": this.orderDetail.tel ? this.orderDetail.tel : "-",
|
|
|
|
};
|
|
|
|
};
|
|
|
|
if (this.orderDetail.status == 10 || this.orderDetail.status == 20 || this.orderDetail.status == 25) {
|
|
|
|
if (this.orderDetail.status == 10 || this.orderDetail.status == 20 || this.orderDetail.status == 25) {
|
|
|
|
params["\n面试时间"] = this.orderDetail.interview_time ? this.orderDetail.interview_time : "-";
|
|
|
|
params["\n面试时间"] = this.orderDetail.interview_time ? this.orderDetail.interview_time : "-";
|
|
|
|
|