|
|
|
@ -1,5 +1,5 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="recordBill-container w">
|
|
|
|
<div class="recordBill-container f40 w">
|
|
|
|
<!-- 面包屑 -->
|
|
|
|
<!-- 面包屑 -->
|
|
|
|
<a-breadcrumb class="w">
|
|
|
|
<a-breadcrumb class="w">
|
|
|
|
<a-breadcrumb-item href>
|
|
|
|
<a-breadcrumb-item href>
|
|
|
|
@ -166,6 +166,14 @@
|
|
|
|
</a-form-model-item>-->
|
|
|
|
</a-form-model-item>-->
|
|
|
|
<a-form-model-item ref="policy" label="政策" prop="policy" class="policyContainer" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
<a-form-model-item ref="policy" label="政策" prop="policy" class="policyContainer" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
|
|
|
|
<!-- <a-input v-model="form.policy" type='textarea'/> -->
|
|
|
|
<!-- <a-input v-model="form.policy" type='textarea'/> -->
|
|
|
|
|
|
|
|
<!-- <div style="transform:translateY(8px)">
|
|
|
|
|
|
|
|
<a-radio-group v-model="currentPolicy" @change="policyChange($event)">
|
|
|
|
|
|
|
|
<a-radio v-for="item in form.policy" :value="item.id">
|
|
|
|
|
|
|
|
{{item.label}}
|
|
|
|
|
|
|
|
<div class="mt12" style="max-width:480px;white-space: pre-line;">{{item.content}}</div>
|
|
|
|
|
|
|
|
</a-radio>
|
|
|
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
|
|
|
</div> -->
|
|
|
|
<div class="policy" style="min-height: 30px !important">{{ form.policy }}</div>
|
|
|
|
<div class="policy" style="min-height: 30px !important">{{ form.policy }}</div>
|
|
|
|
<div class="openContral" v-if="isContainerShow">
|
|
|
|
<div class="openContral" v-if="isContainerShow">
|
|
|
|
<span v-if="isFold" @click="toFold(1)">展开</span>
|
|
|
|
<span v-if="isFold" @click="toFold(1)">展开</span>
|
|
|
|
@ -237,6 +245,7 @@ export default {
|
|
|
|
fileListT2: [],
|
|
|
|
fileListT2: [],
|
|
|
|
// facetimedate: "",
|
|
|
|
// facetimedate: "",
|
|
|
|
previewVisible: false,
|
|
|
|
previewVisible: false,
|
|
|
|
|
|
|
|
currentPolicy: 1,
|
|
|
|
proxyStatus: '', // 代理选择的控制
|
|
|
|
proxyStatus: '', // 代理选择的控制
|
|
|
|
storeStatus: '', // 企业选择的控制
|
|
|
|
storeStatus: '', // 企业选择的控制
|
|
|
|
jobnameStatus: '', // 岗位选择的控制
|
|
|
|
jobnameStatus: '', // 岗位选择的控制
|
|
|
|
@ -384,7 +393,7 @@ export default {
|
|
|
|
this.getProxyInfo(this.proxyinfo.id)
|
|
|
|
this.getProxyInfo(this.proxyinfo.id)
|
|
|
|
this.getJob(this.firminfo)
|
|
|
|
this.getJob(this.firminfo)
|
|
|
|
this.getPolicyByJobId(this.firminfo.id)
|
|
|
|
this.getPolicyByJobId(this.firminfo.id)
|
|
|
|
this.getPolicyListByJobId(this.firminfo.id)
|
|
|
|
// this.getPolicyListByJobId(this.firminfo.id)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* el 被新创建的 vm.el 替换,并挂载到实例上去之后调用该钩子。
|
|
|
|
* el 被新创建的 vm.el 替换,并挂载到实例上去之后调用该钩子。
|
|
|
|
@ -427,7 +436,25 @@ export default {
|
|
|
|
const { data } = await getPolicyListByJobIdApi(value)
|
|
|
|
const { data } = await getPolicyListByJobIdApi(value)
|
|
|
|
console.log(data)
|
|
|
|
console.log(data)
|
|
|
|
if (data.status === 200) {
|
|
|
|
if (data.status === 200) {
|
|
|
|
this.form.policy = data.data
|
|
|
|
// this.form.policy = data.data
|
|
|
|
|
|
|
|
this.form.policy = [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '政策1',
|
|
|
|
|
|
|
|
content: '政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容',
|
|
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '政策1',
|
|
|
|
|
|
|
|
content: '政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容',
|
|
|
|
|
|
|
|
id: 2,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
label: '政策1',
|
|
|
|
|
|
|
|
content: '政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容政策内容',
|
|
|
|
|
|
|
|
id: 3,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
this.currentPolicy = this.form.policy[0].id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (error) {
|
|
|
|
} catch (error) {
|
|
|
|
console.log(error)
|
|
|
|
console.log(error)
|
|
|
|
@ -463,7 +490,12 @@ export default {
|
|
|
|
handleOk() {
|
|
|
|
handleOk() {
|
|
|
|
var that = this
|
|
|
|
var that = this
|
|
|
|
console.log(that.fileListT2)
|
|
|
|
console.log(that.fileListT2)
|
|
|
|
|
|
|
|
// let dataObj = {
|
|
|
|
|
|
|
|
// ...this.form,
|
|
|
|
|
|
|
|
// storeJobPolicyId: this.currentPolicy,
|
|
|
|
|
|
|
|
// storeJobId: this.firminfo.id,
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// console.log(dataObj);
|
|
|
|
this.$refs.ruleForm.validate(async (ispass, no) => {
|
|
|
|
this.$refs.ruleForm.validate(async (ispass, no) => {
|
|
|
|
console.log(this.form)
|
|
|
|
console.log(this.form)
|
|
|
|
console.log(ispass)
|
|
|
|
console.log(ispass)
|
|
|
|
@ -479,8 +511,10 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
let dataObj = qs.stringify({
|
|
|
|
let dataObj = qs.stringify({
|
|
|
|
...this.form,
|
|
|
|
...this.form,
|
|
|
|
|
|
|
|
storeJobPolicyId: this.currentPolicy,
|
|
|
|
storeJobId: this.firminfo.id,
|
|
|
|
storeJobId: this.firminfo.id,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
console.log(dataObj);
|
|
|
|
const { data } = await recordBillApi(dataObj)
|
|
|
|
const { data } = await recordBillApi(dataObj)
|
|
|
|
if (data.status === 200) {
|
|
|
|
if (data.status === 200) {
|
|
|
|
console.log(data)
|
|
|
|
console.log(data)
|
|
|
|
@ -898,6 +932,7 @@ export default {
|
|
|
|
console.log(value)
|
|
|
|
console.log(value)
|
|
|
|
// this.storeJobList = [];
|
|
|
|
// this.storeJobList = [];
|
|
|
|
// if(!isEmptyCheck(this.form.qiyeId)){
|
|
|
|
// if(!isEmptyCheck(this.form.qiyeId)){
|
|
|
|
|
|
|
|
// this.getPolicyListByJobId(value.id)
|
|
|
|
this.getPolicyByJobId(value.id)
|
|
|
|
this.getPolicyByJobId(value.id)
|
|
|
|
this.form.storeJobId = value.id
|
|
|
|
this.form.storeJobId = value.id
|
|
|
|
this.jobnameStatus = ''
|
|
|
|
this.jobnameStatus = ''
|
|
|
|
@ -939,6 +974,15 @@ export default {
|
|
|
|
policy.style.maxHeight = '230px'
|
|
|
|
policy.style.maxHeight = '230px'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 政策单选变化
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
policyChange(e) {
|
|
|
|
|
|
|
|
console.log(e.target.value)
|
|
|
|
|
|
|
|
this.currentPolicy = e.target.value
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
@ -1023,34 +1067,34 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// /deep/ .ant-radio {
|
|
|
|
/deep/ .ant-radio {
|
|
|
|
// border-color: #ddd;
|
|
|
|
border-color: #ddd;
|
|
|
|
// box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
|
|
|
|
// &:after {
|
|
|
|
&:after {
|
|
|
|
// display: none;
|
|
|
|
display: none;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// &:hover .ant-radio-inner {
|
|
|
|
&:hover .ant-radio-inner {
|
|
|
|
// border-color: #ff4400 !important;
|
|
|
|
border-color: #ff4400 !important;
|
|
|
|
// box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// /deep/ .ant-radio-checked {
|
|
|
|
/deep/ .ant-radio-checked {
|
|
|
|
// .ant-radio-input:focus {
|
|
|
|
.ant-radio-input:focus {
|
|
|
|
// box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// .ant-radio-inner {
|
|
|
|
.ant-radio-inner {
|
|
|
|
// border-color: #ff4400;
|
|
|
|
border-color: #ff4400;
|
|
|
|
// box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
|
|
|
|
// &::after {
|
|
|
|
&::after {
|
|
|
|
// background-color: #ff4400 !important;
|
|
|
|
background-color: #ff4400 !important;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ant-col {
|
|
|
|
.ant-col {
|
|
|
|
.ant-form-item {
|
|
|
|
.ant-form-item {
|
|
|
|
|