<template>
|
<div class="dataBack" v-loading="loading">
|
<el-container v-show="!loading">
|
<el-main style="padding-bottom: 100px;">
|
<el-form :label-position="labelPosition" :model="form">
|
<el-row>
|
<p class="title">基本信息</p>
|
<!-- 自营-代理形式 社会化-销售方 -->
|
<details-input :config="form.deputizetype"></details-input>
|
<details-input :config="form.proxyform"></details-input>
|
<!-- 项目经理 -->
|
<details-input :config="form.productlead"></details-input>
|
<!-- 代理公司全国排名-->
|
<details-input :config="form.deputizecountryrank"></details-input>
|
<!-- 代理公司当地排名 -->
|
<details-input :config="form.deputizelocalrank"></details-input>
|
<!-- 有无我方项目负责人 -->
|
<details-input :config="form.nospecificperson"></details-input>
|
<!-- 团队本地化能力 -->
|
<details-input :config="form.teamlocal"></details-input>
|
<!-- 是否有我司员工驻点 -->
|
<details-input :config="form.arrestPointFlag"></details-input>
|
<!-- 购房真实性核实办法 -->
|
<details-input :config="form.truthCheckMethod"></details-input>
|
<!-- 购房真实性核实办法说明 -->
|
<details-input-one-line :config="form.truthCheckMethodRmk"></details-input-one-line>
|
|
<!-- <details-input :config="form.serviceline"></details-input>
|
<details-input :config="form.salenature"></details-input>
|
<details-input :config="form.theatreproperties"></details-input>
|
<details-input :config="form.proxyform"></details-input>
|
<details-input :config="form.producttype"></details-input>
|
<details-input :config="form.mainpolicy"></details-input>
|
<details-input :config="form.proxyapproachtime"></details-input>
|
<details-input :config="form.managerapproachtime"></details-input>
|
<details-input :config="form.managerage"></details-input>
|
<details-input :config="form.shilianproxysale"></details-input>-->
|
</el-row>
|
|
<el-row>
|
<p class="title" v-if="record">对账管理</p>
|
<!-- 有无开发商财务对接人 -->
|
<details-input :config="form.isfinance"></details-input>
|
<!-- 开发商财务对接人姓名 -->
|
<details-input :config="form.developfinancename"></details-input>
|
<!-- 开发商财务联系方式 -->
|
<details-input :config="form.developfinancephone"></details-input>
|
<!-- 对账机制 -->
|
<details-input :config="form.accountnumber"></details-input>
|
<details-input :config="form.accountmechanism"></details-input>
|
<!-- 对账机制情况说明 -->
|
<details-input-one-line :config="form.otherbalanceremark"></details-input-one-line>
|
<!--<details-input :config="form.acctloan"></details-input>
|
<details-input :config="form.erpsystemintoman"></details-input>
|
<details-input :config="form.otherbalanceremark"></details-input>
|
<details-input :config="form.tradingagencies"></details-input>
|
<details-input :config="form.developfinancework"></details-input>
|
<details-input :config="form.shilianaccountpeople"></details-input>-->
|
</el-row>
|
|
<el-row v-if="detailsParams.projectType == '2' || detailsParams.projectType === '社会化' ">
|
<p class="title">项目拓展人信息</p>
|
<ProjectDevInfoTable></ProjectDevInfoTable>
|
</el-row>
|
|
<el-row v-if="detailsParams.projectType == '2' || detailsParams.projectType === '社会化'">
|
<p class="title">驻点员工信息</p>
|
<StaffInformationTable></StaffInformationTable>
|
</el-row>
|
|
<el-row>
|
<p class="title">项目人员信息</p>
|
<project-protection-table></project-protection-table>
|
</el-row>
|
|
<el-row v-if="false">
|
<p
|
class="title"
|
v-if="customerManagement"
|
>非鹏友代理客户管理(联带开放项目/营销顾问/社会化项目,同时有我方报单专员和我方项目负责人)</p>
|
<details-input :config="form.specifiedpolicy"></details-input>
|
<details-input :config="form.joba"></details-input>
|
<details-input :config="form.singlepersonmanage"></details-input>
|
<details-input :config="form.jobb"></details-input>
|
<details-input :config="form.cloudloanratio"></details-input>
|
</el-row>
|
|
<el-row v-if="false">
|
<p class="title" v-if="detailsParams.projectType!=='1'">代理商资质及能力</p>
|
<details-input :config="form.salecomapnyname"></details-input>
|
<details-input :config="form.salecomapnynmuber"></details-input>
|
<details-input :config="form.complianceaptitude"></details-input>
|
<details-input :config="form.employmenttime"></details-input>
|
<details-input :config="form.istworolefield"></details-input>
|
<details-input :config="form.manageschemes"></details-input>
|
<details-input :config="form.specialpolicy"></details-input>
|
<details-input :config="form.projectmanage"></details-input>
|
<details-input :config="form.motion"></details-input>
|
</el-row>
|
|
<el-row v-if="false">
|
<p class="title" v-if="projectSale">项目约束与折扣</p>
|
<details-input :config="form.signfirsttime"></details-input>
|
<details-input :config="form.allfirstterm"></details-input>
|
<details-input :config="form.delaysign"></details-input>
|
<details-input :config="form.firstlongdelay"></details-input>
|
<details-input :config="form.signtimerebate"></details-input>
|
<details-input :config="form.wagesloanrebate"></details-input>
|
<details-input :config="form.businessloanrebate"></details-input>
|
<details-input :config="form.grouploanrebate"></details-input>
|
<details-input :config="form.disposableloanrebate"></details-input>
|
<details-input :config="form.otherloanrebate"></details-input>
|
</el-row>
|
|
<el-row v-if="false">
|
<p class="title" v-if="homePage">购房及缴款凭证备案</p>
|
<details-input :config="form.posnumber"></details-input>
|
<details-input :config="form.posbank"></details-input>
|
<details-input :config="form.loannumber"></details-input>
|
<details-input :config="form.loanoperator"></details-input>
|
<details-input :config="form.loanseal"></details-input>
|
</el-row>
|
</el-form>
|
</el-main>
|
</el-container>
|
</div>
|
</template>
|
|
<script>
|
import { queryProjectProtection } from '@/api/area'
|
import { mapState } from 'vuex'
|
import DetailsInput from './components/DetailsInput'
|
import DetailsInputOneLine from './components/DetailsInputOneLine'
|
import ProjectDevInfoTable from './components/ProjectDevInfoTable'
|
import StaffInformationTable from './components/StaffInformationTable'
|
import ProjectProtectionTable from './components/ProjectProtectionTable'
|
export default {
|
components: {
|
DetailsInputOneLine,
|
StaffInformationTable,
|
ProjectDevInfoTable,
|
ProjectProtectionTable,
|
DetailsInput
|
},
|
data: function() {
|
return {
|
loading: false,
|
labelPosition: 'right',
|
form: {
|
arrestPointFlag: '', // 是否有我司员工驻点
|
truthCheckMethod: '', // 购房真实性核实办法
|
truthCheckMethodRmk: '', // 购房真实性核实办法说明
|
serviceline: '',
|
salenature: '',
|
theatreproperties: '',
|
proxyform: '',
|
deputizetype: '',
|
producttype: '',
|
productlead: '',
|
mainpolicy: '',
|
proxyapproachtime: '',
|
managerapproachtime: '',
|
managerage: '',
|
shilianproxysale: '',
|
teamlocal: '',
|
nospecificperson: '',
|
specifiedpolicy: '',
|
joba: '',
|
singlepersonmanage: '',
|
jobb: '',
|
cloudloanratio: '',
|
salecomapnyname: '',
|
salecomapnynmuber: '',
|
deputizecountryrank: '',
|
deputizelocalrank: '',
|
complianceaptitude: '',
|
employmenttime: '',
|
istworolefield: '',
|
manageschemes: '',
|
specialpolicy: '',
|
projectmanage: '',
|
motion: '',
|
signfirsttime: '',
|
allfirstterm: '',
|
delaysign: '',
|
firstlongdelay: '',
|
signtimerebate: '',
|
wagesloanrebate: '',
|
businessloanrebate: '',
|
grouploanrebate: '',
|
disposableloanrebate: '',
|
otherloanrebate: '',
|
posnumber: '',
|
posbank: '',
|
loannumber: '',
|
loanoperator: '',
|
loanseal: '',
|
accountmechanism: '',
|
accountnumber: '',
|
acctloan: '',
|
erpsystemintoman: '',
|
otherbalanceremark: '',
|
tradingagencies: '',
|
isfinance: '',
|
developfinancework: '',
|
developfinancename: '',
|
developfinancephone: '',
|
shilianaccountpeople: ''
|
}
|
}
|
},
|
computed: {
|
...mapState({
|
detailsParams: state => state.risk.detailsParams
|
}),
|
// 客户管理
|
customerManagement() {
|
if (
|
this.form.nospecificperson.visible ||
|
this.form.specifiedpolicy.visible ||
|
this.form.joba.visible ||
|
this.form.singlepersonmanage.visible ||
|
this.form.jobb.visible ||
|
this.form.cloudloanratio.visible
|
) {
|
return true
|
} else {
|
return false
|
}
|
},
|
// 项目约束与折扣
|
projectSale() {
|
if (
|
this.form.signfirsttime.visible ||
|
this.form.allfirstterm.visible ||
|
this.form.delaysign.visible ||
|
this.form.firstlongdelay.visible ||
|
this.form.signtimerebate.visible ||
|
this.form.wagesloanrebate.visible ||
|
this.form.businessloanrebate.visible ||
|
this.form.grouploanrebate.visible ||
|
this.form.disposableloanrebate.visible ||
|
this.form.otherloanrebate.visible
|
) {
|
return true
|
} else {
|
return false
|
}
|
},
|
// 对账管理
|
record() {
|
if (
|
this.form.accountmechanism.visible ||
|
this.form.accountnumber.visible ||
|
this.form.acctloan.visible ||
|
this.form.erpsystemintoman.visible ||
|
this.form.otherbalanceremark.visible ||
|
this.form.tradingagencies.visible ||
|
this.form.isfinance.visible ||
|
this.form.developfinancework.visible ||
|
this.form.developfinancename.visible ||
|
this.form.developfinancephone.visible ||
|
this.form.shilianaccountpeople.visible
|
) {
|
return true
|
} else {
|
return false
|
}
|
},
|
// 购房及缴款凭证备案
|
homePage() {
|
const {
|
posnumber,
|
posbank,
|
loannumber,
|
loanoperator,
|
loanseal
|
} = this.form
|
if (
|
posnumber.visible ||
|
posbank.visible ||
|
loannumber.visible ||
|
loanoperator.visible ||
|
loanseal.visible
|
) {
|
return true
|
} else {
|
return false
|
}
|
}
|
},
|
watch: {
|
'form.deputizetype': function(newVal) {
|
const { detailsParams } = this
|
const { projectType } = detailsParams
|
if (projectType === '2') {
|
if (newVal.value === '03') {
|
this.form.deputizelocalrank.visible = true
|
this.form.deputizecountryrank.visible = true
|
} else {
|
this.form.deputizelocalrank.visible = false
|
this.form.deputizecountryrank.visible = false
|
}
|
}
|
}
|
},
|
created() {
|
this.getForm()
|
},
|
methods: {
|
getForm() {
|
this.loading = true
|
let params = {
|
objectType: this.detailsParams.objectType,
|
dataType: this.detailsParams.dataType,
|
projectFlag: this.detailsParams.projectFlag,
|
projectType: this.detailsParams.projectType,
|
serialno: this.detailsParams.objectNo
|
}
|
Object.keys(this.form).forEach(key => {
|
this.form[key] = { visible: false }
|
})
|
queryProjectProtection(params).then(res => {
|
this.form = this._.merge({}, this.form, res.result)
|
this.config = this._.merge({}, this.form, res.result)
|
this.loading = false
|
})
|
}
|
}
|
}
|
</script>
|
|
<style scoped>
|
</style>
|