app
wangxia 5 months ago
parent 14746af404
commit e800d7c95f

@ -66,7 +66,8 @@
<view> <view>
<view class="card-tip g_pt_24 g_pb_8 g_pl_20 g_c_6">职位信息</view> <view class="card-tip g_pt_24 g_pb_8 g_pl_20 g_c_6">职位信息</view>
<view class="fs_top text-wrap"> <view class="fs_top text-wrap">
<g-panel-form-slot :list="jobData" @clickResult="changePage" @changeTime="getInviteTime"> </g-panel-form-slot>
<g-panel-form-slot :list="jobData" @clickResult="changePage" @changeTime="getInviteTime" @changeAddress="changeAddress" @chooseAddress="chooseAddress"> </g-panel-form-slot>
</view> </view>
</view> </view>
<view> <view>
@ -159,58 +160,6 @@ export default {
that.updateInfo.upAgencyId = options.agencyId; that.updateInfo.upAgencyId = options.agencyId;
} }
this.updateInfo.interviewTimeStr = ""; this.updateInfo.interviewTimeStr = "";
that.jobData = [
{
icon: "",
label: "报名职位",
result: "",
path: "/root/other/search?from=record",
placeholder: "请选择报名职位",
fontColor: that.updateInfo.jobName == "请选择报名职位" ? "g_c_9" : "g_c_3",
tip: "applia-job",
require: true,
customRequire: true,
pColumn: 12,
},
{
icon: "",
label: "面试地址",
result: "",
path: "/root/other/search?from=record",
placeholder: "请选择面试地址",
fontColor: that.updateInfo.jobName == "请选择面试地址" ? "g_c_9" : "g_c_3",
tip: "slot-choose&input-address",
require: false,
customRequire: true,
pColumn: 12,
},
{
icon: "",
label: "预约面试时间",
result: "",
path: "",
value: "",
tip: "slot-time",
require: true,
customRequire: true,
type: "slot",
pColumn: 12,
from: "reservation-time",
},
{
icon: "",
label: "财务结算",
result: "",
path: "",
value: "-",
tip: "slot-caiwu",
require: false,
customRequire: false,
type: "slot",
pColumn: 12,
from: "slot-caiwu",
},
];
setTimeout(() => { setTimeout(() => {
that.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false; that.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
that.updateInfo.interviewTimeStr = ""; that.updateInfo.interviewTimeStr = "";
@ -238,6 +187,25 @@ export default {
customRequire: true, customRequire: true,
pColumn: 12, pColumn: 12,
}, },
{
icon: '',
label: '面试地址',
result: '',
value: that.updateInfo['interviewAddress'],
path: '',
addressDetail: {
latitude: that.updateInfo['interviewLat'],
longitude: that.updateInfo['interviewLng'],
},
tip: 'slot-choose&input-address',
placeholder: '请选择面试地址',
type: 'slot',
fontSize: '16px',
pColumn: 5,
pRow: 12,
require: false,
suffix: 'icon-dizhi1',
},
{ {
icon: "", icon: "",
label: "预约面试时间", label: "预约面试时间",
@ -339,6 +307,25 @@ export default {
customRequire: true, customRequire: true,
pColumn: 12, pColumn: 12,
}, },
{
icon: '',
label: '面试地址',
result: '',
value: that.updateInfo['interviewAddress'],
path: '',
addressDetail: {
latitude: that.updateInfo['interviewLat'],
longitude: that.updateInfo['interviewLng'],
},
tip: 'slot-choose&input-address',
placeholder: '请选择面试地址',
type: 'slot',
fontSize: '16px',
pColumn: 5,
pRow: 12,
require: false,
suffix: 'icon-dizhi1',
},
{ {
icon: "", icon: "",
label: "预约面试时间", label: "预约面试时间",
@ -386,6 +373,22 @@ export default {
console.log("获取预约面试时间:", e); console.log("获取预约面试时间:", e);
this.updateInfo.interviewTimeStr = e; this.updateInfo.interviewTimeStr = e;
}, },
chooseAddress(e){
this.updateInfo.interviewLat = e.lat;
this.updateInfo.interviewLng = e.lng;
this.updateInfo.interviewAddress = e.address;
// billForm.value.storeAddr = e.address;
console.log('this.updateInfo',this.updateInfo);
console.log('e',e);
this.$forceUpdate()
},
changeAddress(e) {
this.updateInfo.interviewAddress = e;
console.log('this.updateInfo',this.updateInfo);
console.log('e',e);
// this.info.address = e;
this.$forceUpdate()
},
radioGroupChange(e) {}, radioGroupChange(e) {},
goReturn() { goReturn() {
uni.navigateBack(); uni.navigateBack();

Loading…
Cancel
Save