20240205
yujialong 5 months ago
parent 8f6f3d7dcf
commit e5ff0cf593
  1. 2
      src/api/api.js
  2. 18
      src/api/http.js
  3. 7
      src/pages/counter/list/index.vue
  4. 2
      src/pages/manage/list/corporateLoans/application.vue
  5. 3
      src/pages/manage/list/corporateLoans/apply/loanApplication/step2.vue
  6. 7
      src/pages/manage/list/corporateLoans/detail.vue
  7. 2
      src/pages/manage/list/corporateLoans/loan.vue
  8. 4
      src/pages/manage/list/corporateLoans/management.vue
  9. 8
      src/pages/manage/list/corporateLoans/repayment.vue
  10. 3
      src/pages/manage/list/personalLoans/list.vue

@ -38,7 +38,7 @@ service.interceptors.response.use(
setTimeout(() => { setTimeout(() => {
store.commit('user/logout') store.commit('user/logout')
logouted = 0 logouted = 0
}, 6500) }, 1500)
logouted = 1 logouted = 1
} }
} else { } else {

@ -16,13 +16,25 @@ export const getQueryCache = () => {
return get('/bank/bank/queryCache') return get('/bank/bank/queryCache')
} }
export const addOperation = (params) => { export const addOperation = (params) => {
return post('/bank/bank/addOperation', params) return post('/bank/bank/addOperation', {
...params,
assessmentId: sessionStorage.getItem('assessmentId') || '',
competitionId: sessionStorage.getItem('competitionId') || '',
})
} }
export const getOperation = (params) => { export const getOperation = (params) => {
return get('/bank/bank/getOperation', params) return post('/bank/bank/getOperation', {
...params,
assessmentId: sessionStorage.getItem('assessmentId') || '',
competitionId: sessionStorage.getItem('competitionId') || '',
})
} }
export const deleteCache = () => { export const deleteCache = () => {
return get('/bank/bank/deleteCache') return post('/bank/bank/deleteCache', {
projectId: sessionStorage.getItem('projectId') || '',
assessmentId: sessionStorage.getItem('assessmentId') || '',
competitionId: sessionStorage.getItem('competitionId') || '',
})
} }
export const exportBankExperimentReport = (params) => { export const exportBankExperimentReport = (params) => {
return post('/occupationlab/occupationlab/achievement/exportBankExperimentReport', params) return post('/occupationlab/occupationlab/achievement/exportBankExperimentReport', params)

@ -157,7 +157,6 @@
<!-- 物品栏 --> <!-- 物品栏 -->
<div ref="goods" class="goods-dia" :class="{ active: showGoods }"> <div ref="goods" class="goods-dia" :class="{ active: showGoods }">
<!-- goodsShelfTotalData goods2 -->
<div :id="item.name" v-for="(item) in goodsShelfTotalData" :key="item.id" class=" justify-center img-wrap" <div :id="item.name" v-for="(item) in goodsShelfTotalData" :key="item.id" class=" justify-center img-wrap"
:class="{ checked: checkList.includes(item.id), file: true }" @click="goodsDblClickFn(item)"> :class="{ checked: checkList.includes(item.id), file: true }" @click="goodsDblClickFn(item)">
<!-- <img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> --> <!-- <img :style="item.name==='开户申请书'?'margin-top:10px;':''" :src="item.src" alt="" /> -->
@ -976,7 +975,6 @@ export default {
} }
for (let i = 0; i < this.popArr.length; i++) { for (let i = 0; i < this.popArr.length; i++) {
if (this.popArr[i].name === getIt) { if (this.popArr[i].name === getIt) {
console.log('wokaio')
// this.$store.commit('system/changeGoods',{push:[this.popArr[i]]}) // this.$store.commit('system/changeGoods',{push:[this.popArr[i]]})
return return
} }
@ -2511,9 +2509,6 @@ export default {
} }
.goods-dia { .goods-dia {
display: flex;
justify-content: center;
align-items: center;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
overflow-x: auto; overflow-x: auto;
@ -2528,6 +2523,7 @@ export default {
.file { .file {
position: relative; position: relative;
display: inline-flex;
min-width: 140px; min-width: 140px;
height: 140px; height: 140px;
text-align: center; text-align: center;
@ -2590,6 +2586,7 @@ export default {
height: 18vh; height: 18vh;
width: 100%; width: 100%;
.justify-center { .justify-center {
//max-height: 13vh; //max-height: 13vh;
} }

@ -18,7 +18,7 @@
<el-table-column prop="loanApplicationAmount" label="申请金额(万)" align="center" /> <el-table-column prop="loanApplicationAmount" label="申请金额(万)" align="center" />
<el-table-column label="操作" align="center" width="150"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button> <el-button :disabled="!!scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

@ -42,7 +42,7 @@
<el-form-item label="合同编号" prop="contractNo"> <el-form-item label="合同编号" prop="contractNo">
<el-input v-model="form.contractNo" disabled /> <el-input v-model="form.contractNo" disabled />
</el-form-item> </el-form-item>
<el-form-item label="授信限"> <el-form-item label="授信限">
<el-select v-model="form.creditTermTwo" placeholder="请选择"> <el-select v-model="form.creditTermTwo" placeholder="请选择">
<el-option v-for="(item, i) in Util.creditTerms" :key="i" :label="item.name" :value="item.id"></el-option> <el-option v-for="(item, i) in Util.creditTerms" :key="i" :label="item.name" :value="item.id"></el-option>
</el-select> </el-select>
@ -118,6 +118,7 @@ export default {
this.form.loanAmount = data.loanApplicationAmount this.form.loanAmount = data.loanApplicationAmount
this.form.repaymentMethodTwo = +data.repaymentMethodOne this.form.repaymentMethodTwo = +data.repaymentMethodOne
this.form.creditTermTwo = +data.creditTermOne this.form.creditTermTwo = +data.creditTermOne
this.form.creditAmount = data.creditAmount
} }
}, },
// //

@ -121,11 +121,11 @@
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="合同编号" prop="contractNo"> <el-form-item label="合同编号" prop="contractNo">
<el-input v-model="bankLoanApplication.contractNo" disabled /> <el-input v-model="bankLoanApplication.contractNumber" disabled />
</el-form-item> </el-form-item>
<el-form-item label="授信期限"> <el-form-item label="授信期限">
<el-select v-model="bankLoanApplication.creditTerm" placeholder="请选择"> <el-select v-model="bankLoanApplication.creditTermTwo" placeholder="请选择">
<el-option label="3年" :value="3"></el-option> <el-option v-for="(item, i) in Util.creditTerms" :key="i" :label="item.name" :value="item.id"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="贷款期限" prop="loanTerm"> <el-form-item label="贷款期限" prop="loanTerm">
@ -232,6 +232,7 @@ export default {
if (app.guaranteeMethod) app.guaranteeMethod = +app.guaranteeMethod if (app.guaranteeMethod) app.guaranteeMethod = +app.guaranteeMethod
if (app.loanTerm) app.loanTerm = +app.loanTerm if (app.loanTerm) app.loanTerm = +app.loanTerm
if (app.creditTermOne) app.creditTermOne = +app.creditTermOne if (app.creditTermOne) app.creditTermOne = +app.creditTermOne
if (app.creditTermTwo) app.creditTermTwo = +app.creditTermTwo
this.bankLoanApplication = app this.bankLoanApplication = app
} }

@ -18,7 +18,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="150"> <el-table-column label="操作" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button> <el-button :disabled="!!scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

@ -47,10 +47,10 @@
<p class="text">{{ curRow.customerName }}</p> <p class="text">{{ curRow.customerName }}</p>
</el-form-item> </el-form-item>
<el-form-item label="欠款金额"> <el-form-item label="欠款金额">
<p class="text">{{ curRow.customerName }}</p> <p class="text">{{ curRow.arrearsAmount || 0 }}</p>
</el-form-item> </el-form-item>
<el-form-item v-if="curType === 4" label="催收金额"> <el-form-item v-if="curType === 4" label="催收金额">
<p class="text">{{ curRow.customerName }}</p> <p class="text">{{ curRow.arrearsAmount || 0 }}</p>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">

@ -11,11 +11,11 @@
<el-table-column prop="customerName" label="客户姓名" align="center" /> <el-table-column prop="customerName" label="客户姓名" align="center" />
<el-table-column prop="applicationNumber" label="贷款编号" align="center" /> <el-table-column prop="applicationNumber" label="贷款编号" align="center" />
<el-table-column prop="totalRepaymentAmount" label="累计还款金额(万)" align="center" /> <el-table-column prop="totalRepaymentAmount" label="累计还款金额(万)" align="center" />
<el-table-column prop="applicationNumber" label="欠款金额(万)" align="center" /> <el-table-column prop="arrearsAmount" label="欠款金额(万)" align="center" />
<el-table-column label="操作" align="center" width="240"> <el-table-column label="操作" align="center" width="240">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button> <el-button :disabled="!!scope.row.builtIn" @click="toDetail(scope.row)" size="small">详情</el-button>
<template v-if="!scope.row.builtIn" slot-scope="scope"> <template v-if="!scope.row.builtIn">
<el-button size="small" @click="showExtension(scope.row)">展期</el-button> <el-button size="small" @click="showExtension(scope.row)">展期</el-button>
<el-button @click="repayment(scope.row)" size="small">还款计划</el-button> <el-button @click="repayment(scope.row)" size="small">还款计划</el-button>
</template> </template>
@ -285,6 +285,7 @@ export default {
}]) }])
this.$message.success(`${text}成功`) this.$message.success(`${text}成功`)
this.getRepayment() this.getRepayment()
this.getData()
}).catch(() => { }) }).catch(() => { })
}, },
// / // /
@ -306,6 +307,7 @@ export default {
this.$refs.repayments.clearSelection() this.$refs.repayments.clearSelection()
this.multipleSelection = [] this.multipleSelection = []
this.getRepayment() this.getRepayment()
this.getData()
}).catch(() => { }) }).catch(() => { })
} else { } else {
this.$message.error(`请选择数据!`) this.$message.error(`请选择数据!`)

@ -30,6 +30,7 @@
<el-table-column v-if="index !== '3'" prop="totalRepaymentAmount" key="1" label="累计还款金额" align="center"> <el-table-column v-if="index !== '3'" prop="totalRepaymentAmount" key="1" label="累计还款金额" align="center">
</el-table-column> </el-table-column>
<el-table-column v-if="index === '3'" prop="extensionPeriod" key="3" label="展期期限" align="center"> <el-table-column v-if="index === '3'" prop="extensionPeriod" key="3" label="展期期限" align="center">
<template slot-scope="scope">{{ scope.row.extensionPeriod }}个月</template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="250"> <el-table-column label="操作" align="center" width="250">
<template slot-scope="scope"> <template slot-scope="scope">
@ -241,6 +242,7 @@ export default {
}]) }])
this.$message.success(`${text}成功`) this.$message.success(`${text}成功`)
this.getRepayment() this.getRepayment()
this.getData()
}).catch(() => { }) }).catch(() => { })
}, },
// / // /
@ -262,6 +264,7 @@ export default {
this.$refs.repayments.clearSelection() this.$refs.repayments.clearSelection()
this.multipleSelection = [] this.multipleSelection = []
this.getRepayment() this.getRepayment()
this.getData()
}).catch(() => { }) }).catch(() => { })
} else { } else {
this.$message.error(`请选择数据!`) this.$message.error(`请选择数据!`)

Loading…
Cancel
Save