20240205
yujialong 3 months ago
parent 92a9475c60
commit de14d96d30
  1. 2
      src/api/api.js
  2. 3
      src/components/case/index.vue
  3. 2
      src/pages/manage/list/corporateLoans/application.vue
  4. 7
      src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
  5. 2
      src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
  6. 6
      src/pages/manage/list/corporateLoans/repayment.vue
  7. 2
      src/pages/manage/list/personalLoans/detail.vue
  8. 6
      src/pages/manage/list/personalLoans/list.vue
  9. 4
      src/store/modules/system.js
  10. 11
      src/store/modules/user.js

@ -55,7 +55,7 @@ service.interceptors.response.use(
Util.errorMsg('登录过期,请重新登录') Util.errorMsg('登录过期,请重新登录')
setTimeout(() => { setTimeout(() => {
store.commit('user/logout') store.commit('user/logout')
}, 1500) }, 3500)
logouted = 1 logouted = 1
} }
} }

@ -672,7 +672,8 @@ export default {
// this.initState(); // this.initState();
this.actEndTime = new Date().getTime(); this.actEndTime = new Date().getTime();
let ruleReqs = sessionStorage.getItem('ruleReqs') let ruleReqs = sessionStorage.getItem('ruleReqs')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime') || this.entryTime
console.log("🚀 ~ sureSubmit ~ this.entryTime:", this.entryTime)
let ruleReqsList = JSON.parse(ruleReqs); let ruleReqsList = JSON.parse(ruleReqs);
let lcld = [] let lcld = []
for (var i = 0; i < this.requires.length; i++) { for (var i = 0; i < this.requires.length; i++) {

@ -15,7 +15,7 @@
<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="createTime" label="申请日期" align="center" /> <el-table-column prop="createTime" label="申请日期" align="center" />
<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>

@ -65,7 +65,7 @@
</el-form-item> </el-form-item>
<el-form-item label="计息方式" prop="interestCalculationMethod"> <el-form-item label="计息方式" prop="interestCalculationMethod">
<el-select v-model.trim="form.interestCalculationMethod" placeholder="请选择" disabled> <el-select v-model.trim="form.interestCalculationMethod" placeholder="请选择" disabled>
<el-option label="计息方式" :value="83"> </el-option> <el-option label="按年计息" :value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="员工人数" prop="numberOfEmployees"> <el-form-item label="员工人数" prop="numberOfEmployees">
@ -146,7 +146,9 @@ export default {
setCreditIds: 'system/setCreditIds', setCreditIds: 'system/setCreditIds',
}), }),
// blur // blur
accountBlur (val) { accountBlur () {
console.log(333, typeof this.form.applicationAccount)
if (this.form.applicationAccount === 12802851701099) {
this.form.customerName = '袋鼠互联网科技有限公司' this.form.customerName = '袋鼠互联网科技有限公司'
this.form.identificationType = 82 this.form.identificationType = 82
this.form.identificationNumber = '913403005685450862' this.form.identificationNumber = '913403005685450862'
@ -162,6 +164,7 @@ export default {
this.form.expirationDateOfBusinessLicense = '2024-01-01' this.form.expirationDateOfBusinessLicense = '2024-01-01'
this.form.financialReportSubmissionMethod = '半年' this.form.financialReportSubmissionMethod = '半年'
this.form.natureOfBorrower = '企业法人' this.form.natureOfBorrower = '企业法人'
}
}, },
// //
async next () { async next () {

@ -57,7 +57,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="其他风险情况"> <el-form-item label="其他风险情况">
<el-input v-model="form.gradeEvaluationOtherRiskSituations" type="textarea"></el-input> <el-input v-model="form.gradeEvaluationOtherRiskSituations" type="textarea" maxlength="100"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>

@ -47,11 +47,11 @@
size="small" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" size="small" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
clearable></el-date-picker> clearable></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="还款周期"> <el-form-item label="还款状态">
<el-select v-model="form.status" placeholder="请选择" size="small" clearable @change="initRepayment"> <el-select v-model="form.status" placeholder="请选择" size="small" clearable @change="initRepayment">
<el-option value="待还款"></el-option> <el-option value="待还款"></el-option>
<el-option value="未还款"></el-option>
<el-option value="已还款"></el-option> <el-option value="已还款"></el-option>
<el-option value="逾期"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -77,7 +77,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="150"> <el-table-column label="操作" align="center" width="150">
<template v-if="scope.row.status === '待还款'" slot-scope="scope"> <template v-if="scope.row.status !== '已还款'" slot-scope="scope">
<el-button @click="handleRepayment(scope.row, '已还款')" size="small">还款</el-button> <el-button @click="handleRepayment(scope.row, '已还款')" size="small">还款</el-button>
<el-button @click="handleRepayment(scope.row, '逾期')" size="small">逾期</el-button> <el-button @click="handleRepayment(scope.row, '逾期')" size="small">逾期</el-button>
</template> </template>

@ -474,7 +474,7 @@ export default {
const { interestStartDate, loanTerm } = this.form const { interestStartDate, loanTerm } = this.form
if (interestStartDate && loanTerm) { if (interestStartDate && loanTerm) {
const date = new Date(interestStartDate) const date = new Date(interestStartDate)
date.setMonth(loanTerm) date.setMonth(date.getMonth() + loanTerm)
this.form.maturityDate = Util.formatDate('yyyy-MM-dd', date) this.form.maturityDate = Util.formatDate('yyyy-MM-dd', date)
} }
}, },

@ -58,11 +58,11 @@
size="small" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" size="small" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
clearable></el-date-picker> clearable></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="还款周期"> <el-form-item label="还款状态">
<el-select v-model="form.status" placeholder="请选择" size="small" clearable @change="initRepayment"> <el-select v-model="form.status" placeholder="请选择" size="small" clearable @change="initRepayment">
<el-option value="待还款"></el-option> <el-option value="待还款"></el-option>
<el-option value="未还款"></el-option>
<el-option value="已还款"></el-option> <el-option value="已还款"></el-option>
<el-option value="逾期"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -88,7 +88,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="150"> <el-table-column label="操作" align="center" width="150">
<template v-if="scope.row.status === '待还款'" slot-scope="scope"> <template v-if="scope.row.status !== '已还款'" slot-scope="scope">
<el-button @click="handleRepayment(scope.row, '已还款')" size="small">还款</el-button> <el-button @click="handleRepayment(scope.row, '已还款')" size="small">还款</el-button>
<el-button @click="handleRepayment(scope.row, '逾期')" size="small">逾期</el-button> <el-button @click="handleRepayment(scope.row, '逾期')" size="small">逾期</el-button>
</template> </template>

@ -1428,7 +1428,7 @@ const myInitState = {
'业务三十五': { '业务三十五': {
id: 705, id: 705,
name: '外汇业务', name: '外汇业务',
data: [13, 16, 407], data: [13, 16],
needs: [], needs: [],
isStamp: { isStamp: {
// '业务专用章': [ 411 ] // '业务专用章': [ 411 ]
@ -2749,7 +2749,7 @@ export default {
'业务三十五': { '业务三十五': {
id: 705, id: 705,
name: '外汇业务', name: '外汇业务',
data: [13, 16, 407], data: [13, 16],
needs: [], needs: [],
isStamp: { isStamp: {
// '业务专用章': [ 411 ] // '业务专用章': [ 411 ]

@ -23,14 +23,13 @@ export default {
state.isManager = isManager state.isManager = isManager
}, },
logout () { logout () {
const url = location.href const isAdmin = Cookie.get('manager')
let href = process.env.NODE_ENV === 'development' ? let href = process.env.NODE_ENV === 'development' ?
`http://${location.hostname}:8082/#/` : `http://${location.hostname}:8082/#/` :
`${url.includes('huorantech.cn') ? `https://www.occupationlab.com` : location.origin}${Cookie.get('manager') ? `${location.origin}${isAdmin ? '/admin' : ''}/#/`
'/admin' : if (location.origin === 'http://121.37.12.51') {
(url.includes('huorantech.cn') || url.includes('izhixinyun.com')) ? href = `http://121.37.12.51/${isAdmin ? 'admin' : 'student'}/#/`
'' : }
'/student'}/#/`
let assessmentId = sessionStorage.getItem('assessmentId') let assessmentId = sessionStorage.getItem('assessmentId')
if (assessmentId != 'null' && assessmentId != null && assessmentId != '') { if (assessmentId != 'null' && assessmentId != null && assessmentId != '') {
href += `ass/list` href += `ass/list`

Loading…
Cancel
Save