|
|
@ -8,24 +8,24 @@ |
|
|
|
<div class="searchcon"> |
|
|
|
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|
|
|
<div v-show="isSearchShow" class="search"> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="110px" class="tab-header"> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="130px" class="tab-header"> |
|
|
|
<el-form-item label="报备状态"> |
|
|
|
<el-select v-model="listQuery.params.filingStateKey" placeholder="请选择" clearable filterable> |
|
|
|
<el-select v-model="listQuery.params.filingState" placeholder="请选择" clearable filterable> |
|
|
|
<el-option v-for="item in filingState_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="风控状态"> |
|
|
|
<el-select v-model="listQuery.params.riskStateKey" placeholder="请选择" clearable filterable> |
|
|
|
<el-select v-model="listQuery.params.riskState" placeholder="请选择" clearable filterable> |
|
|
|
<el-option v-for="item in riskState_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="使用状态"> |
|
|
|
<el-select v-model="listQuery.params.useSateKey" placeholder="请选择" clearable filterable> |
|
|
|
<el-select v-model="listQuery.params.useSate" placeholder="请选择" clearable filterable> |
|
|
|
<el-option v-for="item in useSate_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="分公司"> |
|
|
|
<el-input v-model="listQuery.params.useOrgName" placeholder="" clearable/> |
|
|
|
<el-input v-model="listQuery.params.createOrgName" placeholder="" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="业务类型"> |
|
|
|
<el-select v-model="listQuery.params.busTypeKey" placeholder="请选择" clearable filterable> |
|
|
@ -43,21 +43,20 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="其它融产品名称"> |
|
|
|
<el-input v-model="listQuery.params.policyName" placeholder="" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="适用销售部门"> |
|
|
|
<el-input v-model="listQuery.params.useDeptNames" placeholder="" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="有效期至"> |
|
|
|
<el-date-picker v-model="listQuery.params.validDateToStart" type="date" placeholder="选择日期"></el-date-picker> |
|
|
|
<span style="padding: 0 8px">至</span> |
|
|
|
<el-date-picker v-model="listQuery.params.validDateToEnd" type="date" placeholder="选择日期"></el-date-picker> |
|
|
|
<el-input v-model="listQuery.params.otherPolicyName" placeholder="" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="期数"> |
|
|
|
<el-input v-model="listQuery.params.period" placeholder="" clearable/> |
|
|
|
<el-select v-model="listQuery.params.periodKey" placeholder="请选择" clearable filterable> |
|
|
|
<el-option v-for="item in period_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="年利率"> |
|
|
|
<el-input v-model="listQuery.params.period" placeholder="" clearable/> |
|
|
|
<el-input v-model="listQuery.params.yearRatio" placeholder="" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="有效期至"> |
|
|
|
<el-date-picker v-model="listQuery.params.validStartDateTo" type="date" placeholder="选择日期"></el-date-picker> |
|
|
|
<span style="padding: 0 8px">至</span> |
|
|
|
<el-date-picker v-model="listQuery.params.validEndDateTo" type="date" placeholder="选择日期"></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="btn" style="text-align: center;"> |
|
|
@ -78,23 +77,23 @@ |
|
|
|
<el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center"/> |
|
|
|
<el-table-column label="操作" width="180px" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="mini" :disabled="scope.row.filingStateValue !== '未报备'" @click="toEdit(scope.row)">编辑</el-button> |
|
|
|
<el-button type="primary" size="mini" :disabled="scope.row.filingState !== '未报备'" @click="toEdit(scope.row)">编辑</el-button> |
|
|
|
<el-button type="primary" size="mini" @click="toInfo(scope.row)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="filingStateValue" label="报备状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="riskStateValue" label="风控状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="useSateValue" label="使用状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="filingState" label="报备状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="riskState" label="风控状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="useSate" label="使用状态" align="center" width="100" /> |
|
|
|
<el-table-column prop="validDateTo" label="有效期至" align="center" width="100" /> |
|
|
|
<el-table-column prop="useOrgName" label="分公司" align="center" width="150" /> |
|
|
|
<el-table-column prop="createOrgName" label="分公司" align="center" width="150" /> |
|
|
|
<el-table-column prop="useDeptNames" label="适用销售部门" align="center" min-width="150" /> |
|
|
|
<el-table-column prop="policyName" label="其它融产品名称" align="center" width="160" /> |
|
|
|
<el-table-column prop="otherPolicyName" label="其它融产品名称" align="center" width="160" /> |
|
|
|
<el-table-column prop="busTypeValue" label="业务类型" align="center" width="100" /> |
|
|
|
<el-table-column prop="vehCategoryValue" label="车辆大类" align="center" width="100" /> |
|
|
|
<el-table-column prop="vehTypeValue" label="车辆功能" align="center" width="100" /> |
|
|
|
<el-table-column prop="serviceAmountTypeValue" label="最高融资额(元)" align="center" width="120" /> |
|
|
|
<el-table-column prop="maxLoanAmount" label="最高融资额(元)" align="center" width="120" /> |
|
|
|
<el-table-column prop="period" label="期数" align="center" width="80" /> |
|
|
|
<el-table-column prop="serviceAmount" label="年利率" align="center" width="100" /> |
|
|
|
<el-table-column prop="yearRatio" label="年利率" align="center" width="100" /> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<!--End 主页面主要部分--> |
|
|
@ -106,14 +105,12 @@ |
|
|
|
<!--End查询列表部分--> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!--款项结转新增及修改 --> |
|
|
|
<financialpolicymanagementAdd v-show="viewState == 2 || viewState == 3" ref="divAdd" @doback="resetState" @reloadlist="getList"/> |
|
|
|
<!--款项结转申请详情--> |
|
|
|
<financialpolicymanagementInfo v-show="viewState == 4" ref="divInfo" @doback="resetState" /> |
|
|
|
<!--新增或编辑--> |
|
|
|
<otherfinancialpolicymanagementAdd v-show="viewState == 2 || viewState == 3" ref="divAdd" @doback="resetState" @reloadlist="getList"/> |
|
|
|
<!--查看其他融--> |
|
|
|
<otherfinancialpolicymanagementInfo v-show="viewState == 5" ref="divOther" @doback="resetState"/> |
|
|
|
<!--政策报备--> |
|
|
|
<financialpolicyreportingAdd v-show="viewState == 6" ref="divBaoBei" @doback="resetState" @reloadlist="getList"/> |
|
|
|
<otherfinancialpolicymanagementInfo v-show="viewState == 4" ref="divInfo" @doback="resetState"/> |
|
|
|
<!-- 报备 --> |
|
|
|
<otherfinancialproductsreportAdd v-show="viewState == 5" ref="divBaoBei" @doback="resetState" @reloadlist="getList"/> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -121,23 +118,21 @@ |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import req from '@/api/financialpolicymanagement/financialpolicymanagement' |
|
|
|
import req from '@/api/otherfinancialpolicymanagement/otherfinancialpolicymanagement' |
|
|
|
import { typeValues } from '@/api/Common/dictcommons' |
|
|
|
import financialpolicymanagementAdd from './financialpolicymanagementAdd' |
|
|
|
import financialpolicymanagementInfo from './financialpolicymanagementInfo' |
|
|
|
import financialpolicyreportingAdd from '../financialpolicyreporting/financialpolicyreportingAdd' |
|
|
|
import otherfinancialpolicymanagementInfo from '../otherfinancialpolicymanagement/otherfinancialpolicymanagementInfo' |
|
|
|
import otherfinancialpolicymanagementAdd from './otherfinancialpolicymanagementAdd' |
|
|
|
import otherfinancialpolicymanagementInfo from './otherfinancialpolicymanagementInfo' |
|
|
|
import otherfinancialproductsreportAdd from '../otherfinancialproductsreport/otherfinancialproductsreportAdd' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'FinancialPolicyManagement', |
|
|
|
name: 'OtherFinancialPolicyManagement', |
|
|
|
components: { |
|
|
|
Pagination, |
|
|
|
pageye, |
|
|
|
ButtonBar, |
|
|
|
financialpolicymanagementAdd, |
|
|
|
financialpolicymanagementInfo, |
|
|
|
financialpolicyreportingAdd, |
|
|
|
otherfinancialpolicymanagementInfo |
|
|
|
otherfinancialpolicymanagementAdd, |
|
|
|
otherfinancialpolicymanagementInfo, |
|
|
|
otherfinancialproductsreportAdd |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -245,6 +240,7 @@ export default { |
|
|
|
vehCategory_list: [], |
|
|
|
vehicleFunction_list: [], |
|
|
|
serviceAmountType_list: [], |
|
|
|
period_list: [], |
|
|
|
FormLoading: false, |
|
|
|
listLoading: false, |
|
|
|
// 翻页 |
|
|
@ -256,21 +252,21 @@ export default { |
|
|
|
busTypeKey: '', |
|
|
|
downPayRatioLeastEnd: '', |
|
|
|
downPayRatioLeastStart: '', |
|
|
|
filingStateKey: '', |
|
|
|
orgPath: '', |
|
|
|
period: '', |
|
|
|
policyName: '', |
|
|
|
riskStateKey: '', |
|
|
|
filingState: '', |
|
|
|
orgSidPath: '', |
|
|
|
periodKey: '', |
|
|
|
otherPolicyName: '', |
|
|
|
riskState: '', |
|
|
|
serviceAmountTypeKey: '', |
|
|
|
menuUrl: '', |
|
|
|
useDeptNames: '', |
|
|
|
useOrgName: '', |
|
|
|
useSateKey: '', |
|
|
|
createOrgName: '', |
|
|
|
useSate: '', |
|
|
|
userSid: '', |
|
|
|
validDateToEnd: '', |
|
|
|
validDateToStart: '', |
|
|
|
validEndDateTo: '', |
|
|
|
validStartDateTo: '', |
|
|
|
vehCategoryKey: '', |
|
|
|
vehTypeKey: '' |
|
|
|
vehTypeKey: '', |
|
|
|
yearRatio: '' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -344,6 +340,11 @@ export default { |
|
|
|
this.serviceAmountType_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
typeValues({ type: 'period' }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.period_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
// 信息条数 获取点击时当前的sid |
|
|
@ -366,7 +367,7 @@ export default { |
|
|
|
this.listLoading = true |
|
|
|
this.listQuery.params.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
this.listQuery.params.menuUrl = this.$route.path |
|
|
|
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
this.listQuery.params.orgSidPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
req.listPage(this.listQuery).then(response => { |
|
|
|
this.listLoading = false |
|
|
|
if (response.success) { |
|
|
@ -393,21 +394,21 @@ export default { |
|
|
|
busTypeKey: '', |
|
|
|
downPayRatioLeastEnd: '', |
|
|
|
downPayRatioLeastStart: '', |
|
|
|
filingStateKey: '', |
|
|
|
orgPath: '', |
|
|
|
period: '', |
|
|
|
policyName: '', |
|
|
|
riskStateKey: '', |
|
|
|
filingState: '', |
|
|
|
orgSidPath: '', |
|
|
|
periodKey: '', |
|
|
|
otherPolicyName: '', |
|
|
|
riskState: '', |
|
|
|
serviceAmountTypeKey: '', |
|
|
|
menuUrl: '', |
|
|
|
useDeptNames: '', |
|
|
|
useOrgName: '', |
|
|
|
useSateKey: '', |
|
|
|
createOrgName: '', |
|
|
|
useSate: '', |
|
|
|
userSid: '', |
|
|
|
validDateToEnd: '', |
|
|
|
validDateToStart: '', |
|
|
|
validEndDateTo: '', |
|
|
|
validStartDateTo: '', |
|
|
|
vehCategoryKey: '', |
|
|
|
vehTypeKey: '' |
|
|
|
vehTypeKey: '', |
|
|
|
yearRatio: '' |
|
|
|
} |
|
|
|
} |
|
|
|
this.init() |
|
|
@ -422,7 +423,7 @@ export default { |
|
|
|
}, |
|
|
|
toInfo(row) { |
|
|
|
this.viewState = 4 |
|
|
|
this.$refs['divInfo'].showInfo(row) |
|
|
|
this.$refs['divInfo'].showInfo(row.sid) |
|
|
|
}, |
|
|
|
doDel() { |
|
|
|
if (this.sids.length === 0) { |
|
|
@ -430,7 +431,7 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
for (var i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
if (this.multipleSelection[i].filingStateValue !== '未报备') { |
|
|
|
if (this.multipleSelection[i].filingState !== '未报备') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择报备状态为未报备的记录进行删除操作' }) |
|
|
|
return |
|
|
|
} |
|
|
@ -465,12 +466,12 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
for (var i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
if (this.multipleSelection[i].filingStateValue !== '未报备') { |
|
|
|
if (this.multipleSelection[i].filingState !== '未报备') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择报备状态为未报备的记录进行报备操作' }) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
this.viewState = 6 |
|
|
|
this.viewState = 5 |
|
|
|
this.$refs['divBaoBei'].showAdd(this.sids) |
|
|
|
}, |
|
|
|
toBlockUp() { |
|
|
|