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. 35
      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. 69
      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,22 +146,25 @@ export default {
setCreditIds: 'system/setCreditIds', setCreditIds: 'system/setCreditIds',
}), }),
// blur // blur
accountBlur (val) { accountBlur () {
this.form.customerName = '袋鼠互联网科技有限公司' console.log(333, typeof this.form.applicationAccount)
this.form.identificationType = 82 if (this.form.applicationAccount === 12802851701099) {
this.form.identificationNumber = '913403005685450862' this.form.customerName = '袋鼠互联网科技有限公司'
this.form.contactPhoneNumber = '15890317718' this.form.identificationType = 82
this.form.companyRegisteredAddress = '广东省深圳市南山区前海一号2020室' this.form.identificationNumber = '913403005685450862'
this.form.corporateName = '丛小凤' this.form.contactPhoneNumber = '15890317718'
this.form.corporateIdNumber = '220602199202281229' this.form.companyRegisteredAddress = '广东省深圳市南山区前海一号2020室'
this.form.corporateName = '丛小凤'
this.form.corporateIdNumber = '220602199202281229'
this.form.numberOfEmployees = 50 this.form.numberOfEmployees = 50
this.form.yearOfEstablishment = '2018-02-19' this.form.yearOfEstablishment = '2018-02-19'
this.form.registrationType = '有限公司' this.form.registrationType = '有限公司'
this.form.mainBusinessScope = '信息技术' this.form.mainBusinessScope = '信息技术'
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 ]

@ -2,7 +2,7 @@
import Setting from '@/setting' import Setting from '@/setting'
import util from '@/libs/util' import util from '@/libs/util'
import { Message } from 'element-ui' import { Message } from 'element-ui'
import {post,get,del,put} from '@/plugins/requests/index.js' import { post, get, del, put } from '@/plugins/requests/index.js'
import api from '@/api' import api from '@/api'
import Cookie from 'js-cookie' import Cookie from 'js-cookie'
import router from '@/router' import router from '@/router'
@ -11,40 +11,39 @@ import router from '@/router'
* 用户信息 * 用户信息
* */ * */
export default { export default {
namespaced: true, namespaced: true,
state: { state: {
avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png', avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png',
userName: '', userName: '',
schoolId: '', schoolId: '',
isManager: false isManager: false
},
mutations: {
SET_MANAGER: (state, isManager) => {
state.isManager = isManager
}, },
mutations: { logout () {
SET_MANAGER: (state, isManager) => { const isAdmin = Cookie.get('manager')
state.isManager = isManager let href = process.env.NODE_ENV === 'development' ?
}, `http://${location.hostname}:8082/#/` :
logout() { `${location.origin}${isAdmin ? '/admin' : ''}/#/`
const url = location.href if (location.origin === 'http://121.37.12.51') {
let href = process.env.NODE_ENV === 'development' ? href = `http://121.37.12.51/${isAdmin ? 'admin' : 'student'}/#/`
`http://${location.hostname}:8082/#/` : }
`${url.includes('huorantech.cn') ? `https://www.occupationlab.com` : location.origin}${Cookie.get('manager') ? let assessmentId = sessionStorage.getItem('assessmentId')
'/admin' : if (assessmentId != 'null' && assessmentId != null && assessmentId != '') {
(url.includes('huorantech.cn') || url.includes('izhixinyun.com')) ? href += `ass/list`
'' : } else {
'/student'}/#/` const cid = sessionStorage.getItem('cid')
let assessmentId = sessionStorage.getItem('assessmentId') href += `station/preview?courseId=${cid}&curriculumName=银行项目&mallId=${router.currentRoute.query.mallId}`
if (assessmentId != 'null' && assessmentId != null && assessmentId != '') { }
href += `ass/list` sessionStorage.clear()
} else { location.href = href
const cid = sessionStorage.getItem('cid')
href += `station/preview?courseId=${cid}&curriculumName=银行项目&mallId=${router.currentRoute.query.mallId}`
}
sessionStorage.clear()
location.href = href
},
}, },
actions: { },
setManager({ state,commit },isManager) { actions: {
commit('SET_MANAGER',isManager) setManager ({ state, commit }, isManager) {
}, commit('SET_MANAGER', isManager)
} },
}
} }
Loading…
Cancel
Save