|
|
|
|
@ -89,9 +89,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
|
|
<a-form-item label="项目方" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<!-- <a-form-item label="项目方" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<span class="ant-form-text c6">{{ agencyName }}</span>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-form-item> -->
|
|
|
|
|
|
|
|
|
|
<a-form-model-item class="time-input" ref="interviewTime" label="面试时间" prop="interviewTime" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<timepicker :isShow.sync="isShow" :datetime.sync="form.interviewTime" :prev="true"></timepicker>
|
|
|
|
|
@ -184,16 +184,15 @@
|
|
|
|
|
</a-form-model-item>-->
|
|
|
|
|
<a-form-model-item ref="policy" label="财务结算" prop="policy" class="policyContainer" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
|
<div class="policy" style="min-height: 30px !important">{{ form.policy }}</div>
|
|
|
|
|
<div style class="mb20 mt12">
|
|
|
|
|
<!-- <div style class="mb20 mt12">
|
|
|
|
|
<a-radio-group v-model="currentPolicy" class="fss policyRadios" @change="policyChange($event)">
|
|
|
|
|
<div v-for="(item, index) in zhengceTextList" class="mt12">
|
|
|
|
|
<a-radio class="fss" :value="item.value">
|
|
|
|
|
<!-- {{'政策' + (index + 1)}} -->
|
|
|
|
|
<span class="mt12" style="max-width: 480px; white-space: pre-line">{{ item.name }}</span>
|
|
|
|
|
</a-radio>
|
|
|
|
|
</div>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- <a-input v-model="form.policy" type='textarea'/> -->
|
|
|
|
|
<!-- <div style="transform:translateY(8px)" v-if="form.policy.length != 0">
|
|
|
|
|
<a-radio-group v-model="currentPolicy" @change="policyChange($event)">
|
|
|
|
|
@ -353,7 +352,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
policy: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
required: false,
|
|
|
|
|
message: "请选择政策",
|
|
|
|
|
trigger: "submit",
|
|
|
|
|
},
|
|
|
|
|
@ -565,10 +564,11 @@ export default {
|
|
|
|
|
async getJobDetail(value) {
|
|
|
|
|
try {
|
|
|
|
|
const { data } = await getJobDetailApi(value, this.jobClassify);
|
|
|
|
|
console.log(data);
|
|
|
|
|
console.log("getJobDetail", data);
|
|
|
|
|
if (data.status === 200) {
|
|
|
|
|
this.agencyName = data.data.agency.agencyName;
|
|
|
|
|
console.log("getJobDetail123", data);
|
|
|
|
|
this.firminfo = disposeJobListData(data.data.record);
|
|
|
|
|
console.log("this.firminfo", this.firminfo);
|
|
|
|
|
if (this.jobClassify == 1) {
|
|
|
|
|
this.storeName = data.data.store.aliasName;
|
|
|
|
|
} else {
|
|
|
|
|
@ -693,54 +693,52 @@ export default {
|
|
|
|
|
console.log(this.form);
|
|
|
|
|
this.form["imgs"] = that.fileListT2.toString();
|
|
|
|
|
this.form["agencyId"] = this.proxyinfo.agencyId;
|
|
|
|
|
if (this.currentPolicy == 0) {
|
|
|
|
|
this.$message.warning("请选择政策");
|
|
|
|
|
this.confirmLoading = false;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// if (this.currentPolicy == 0) {
|
|
|
|
|
// this.$message.warning("请选择政策");
|
|
|
|
|
// this.confirmLoading = false;
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// console.log(dataObj);
|
|
|
|
|
// return;
|
|
|
|
|
let dataObj = {};
|
|
|
|
|
let data = {};
|
|
|
|
|
if (this.jobClassify == 2) {
|
|
|
|
|
console.log(this.form);
|
|
|
|
|
this.form["interviewTimeStr"] = that.form.interviewTime;
|
|
|
|
|
this.form["receptionTimeStr"] = that.form.receptionTime;
|
|
|
|
|
this.form["jobId"] = this.firminfo.id;
|
|
|
|
|
this.form["customJobId"] = this.firminfo.id;
|
|
|
|
|
this.form["applyUserId"] = this.proxyinfo.id;
|
|
|
|
|
this.form["agencyUserId"] = this.proxyinfo.id;
|
|
|
|
|
this.form["idCard"] = this.form["idCard"].replace(/\s+/g, "");
|
|
|
|
|
|
|
|
|
|
dataObj = qs.stringify({
|
|
|
|
|
...this.form,
|
|
|
|
|
storeJobId: this.firminfo.id,
|
|
|
|
|
policyIdx: this.currentPolicy,
|
|
|
|
|
// policy: '',
|
|
|
|
|
});
|
|
|
|
|
data = await recordBillApiDaotian(dataObj);
|
|
|
|
|
} else {
|
|
|
|
|
this.form["idCard"] = this.form["idCard"].replace(/\s+/g, "");
|
|
|
|
|
// if (this.jobClassify == 2) {
|
|
|
|
|
console.log(this.form);
|
|
|
|
|
this.form["interviewTimeStr"] = that.form.interviewTime;
|
|
|
|
|
this.form["receptionTimeStr"] = that.form.receptionTime;
|
|
|
|
|
this.form["jobId"] = this.firminfo.id;
|
|
|
|
|
this.form["customJobId"] = this.firminfo.id;
|
|
|
|
|
this.form["applyUserId"] = this.proxyinfo.id;
|
|
|
|
|
this.form["agencyUserId"] = this.proxyinfo.id;
|
|
|
|
|
this.form["idCard"] = this.form["idCard"].replace(/\s+/g, "");
|
|
|
|
|
|
|
|
|
|
dataObj = qs.stringify({
|
|
|
|
|
...this.form,
|
|
|
|
|
storeJobId: this.firminfo.id,
|
|
|
|
|
// policyIdx: this.currentPolicy,
|
|
|
|
|
// policy: '',
|
|
|
|
|
});
|
|
|
|
|
data = await recordBillApiDaotian(dataObj);
|
|
|
|
|
// } else {
|
|
|
|
|
// this.form["idCard"] = this.form["idCard"].replace(/\s+/g, "");
|
|
|
|
|
|
|
|
|
|
dataObj = qs.stringify({
|
|
|
|
|
...this.form,
|
|
|
|
|
storeJobId: this.firminfo.id,
|
|
|
|
|
policyIdx: this.currentPolicy,
|
|
|
|
|
// policy: '',
|
|
|
|
|
});
|
|
|
|
|
// dataObj = qs.stringify({
|
|
|
|
|
// ...this.form,
|
|
|
|
|
// storeJobId: this.firminfo.id,
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
data = await recordBillApi(dataObj);
|
|
|
|
|
}
|
|
|
|
|
// data = await recordBillApi(dataObj);
|
|
|
|
|
// }
|
|
|
|
|
console.log("data handleOk", data);
|
|
|
|
|
if (data.data.status === 200) {
|
|
|
|
|
// setTimeout(() => {
|
|
|
|
|
this.$router.push("/recordsuccess");
|
|
|
|
|
// this.confirmLoading = false;
|
|
|
|
|
this.$router.push("/recordsuccess");
|
|
|
|
|
// this.confirmLoading = false;
|
|
|
|
|
// }, 1000);
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(data.data.msg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.confirmLoading = false;
|
|
|
|
|
}
|
|
|
|
|
// this.confirmLoading = false;
|
|
|
|
|
|