diff --git a/src/api/api.js b/src/api/api.js
index 3ff150e..1d502fc 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -55,7 +55,7 @@ service.interceptors.response.use(
Util.errorMsg('登录过期,请重新登录')
setTimeout(() => {
store.commit('user/logout')
- }, 1500)
+ }, 3500)
logouted = 1
}
}
diff --git a/src/components/case/index.vue b/src/components/case/index.vue
index 8d355b1..b18236e 100644
--- a/src/components/case/index.vue
+++ b/src/components/case/index.vue
@@ -672,7 +672,8 @@ export default {
// this.initState();
this.actEndTime = new Date().getTime();
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 lcld = []
for (var i = 0; i < this.requires.length; i++) {
diff --git a/src/pages/manage/list/corporateLoans/application.vue b/src/pages/manage/list/corporateLoans/application.vue
index 5dcbead..f6d5c0e 100644
--- a/src/pages/manage/list/corporateLoans/application.vue
+++ b/src/pages/manage/list/corporateLoans/application.vue
@@ -15,7 +15,7 @@
-
+
详情
diff --git a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
index e810a7d..eff3417 100644
--- a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
+++ b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/basic.vue
@@ -65,7 +65,7 @@
-
+
@@ -146,22 +146,25 @@ export default {
setCreditIds: 'system/setCreditIds',
}),
// 账号blur事件
- accountBlur (val) {
- this.form.customerName = '袋鼠互联网科技有限公司'
- this.form.identificationType = 82
- this.form.identificationNumber = '913403005685450862'
- this.form.contactPhoneNumber = '15890317718'
- this.form.companyRegisteredAddress = '广东省深圳市南山区前海一号2020室'
- this.form.corporateName = '丛小凤'
- this.form.corporateIdNumber = '220602199202281229'
+ accountBlur () {
+ console.log(333, typeof this.form.applicationAccount)
+ if (this.form.applicationAccount === 12802851701099) {
+ this.form.customerName = '袋鼠互联网科技有限公司'
+ this.form.identificationType = 82
+ this.form.identificationNumber = '913403005685450862'
+ this.form.contactPhoneNumber = '15890317718'
+ this.form.companyRegisteredAddress = '广东省深圳市南山区前海一号2020室'
+ this.form.corporateName = '丛小凤'
+ this.form.corporateIdNumber = '220602199202281229'
- this.form.numberOfEmployees = 50
- this.form.yearOfEstablishment = '2018-02-19'
- this.form.registrationType = '有限公司'
- this.form.mainBusinessScope = '信息技术'
- this.form.expirationDateOfBusinessLicense = '2024-01-01'
- this.form.financialReportSubmissionMethod = '半年'
- this.form.natureOfBorrower = '企业法人'
+ this.form.numberOfEmployees = 50
+ this.form.yearOfEstablishment = '2018-02-19'
+ this.form.registrationType = '有限公司'
+ this.form.mainBusinessScope = '信息技术'
+ this.form.expirationDateOfBusinessLicense = '2024-01-01'
+ this.form.financialReportSubmissionMethod = '半年'
+ this.form.natureOfBorrower = '企业法人'
+ }
},
// 下一步
async next () {
diff --git a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
index 4d06b25..30702df 100644
--- a/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
+++ b/src/pages/manage/list/corporateLoans/apply/creditEvaluation/rating.vue
@@ -57,7 +57,7 @@
-
+
diff --git a/src/pages/manage/list/corporateLoans/repayment.vue b/src/pages/manage/list/corporateLoans/repayment.vue
index c8f4e92..36160d3 100644
--- a/src/pages/manage/list/corporateLoans/repayment.vue
+++ b/src/pages/manage/list/corporateLoans/repayment.vue
@@ -47,11 +47,11 @@
size="small" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
clearable>
-
+
-
+
@@ -77,7 +77,7 @@
-
+
还款
逾期
diff --git a/src/pages/manage/list/personalLoans/detail.vue b/src/pages/manage/list/personalLoans/detail.vue
index 885ca14..2cf245b 100644
--- a/src/pages/manage/list/personalLoans/detail.vue
+++ b/src/pages/manage/list/personalLoans/detail.vue
@@ -474,7 +474,7 @@ export default {
const { interestStartDate, loanTerm } = this.form
if (interestStartDate && loanTerm) {
const date = new Date(interestStartDate)
- date.setMonth(loanTerm)
+ date.setMonth(date.getMonth() + loanTerm)
this.form.maturityDate = Util.formatDate('yyyy-MM-dd', date)
}
},
diff --git a/src/pages/manage/list/personalLoans/list.vue b/src/pages/manage/list/personalLoans/list.vue
index c29288e..faa608a 100644
--- a/src/pages/manage/list/personalLoans/list.vue
+++ b/src/pages/manage/list/personalLoans/list.vue
@@ -58,11 +58,11 @@
size="small" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
clearable>
-
+
-
+
@@ -88,7 +88,7 @@
-
+
还款
逾期
diff --git a/src/store/modules/system.js b/src/store/modules/system.js
index b62d72c..c83ef14 100644
--- a/src/store/modules/system.js
+++ b/src/store/modules/system.js
@@ -1428,7 +1428,7 @@ const myInitState = {
'业务三十五': {
id: 705,
name: '外汇业务',
- data: [13, 16, 407],
+ data: [13, 16],
needs: [],
isStamp: {
// '业务专用章': [ 411 ]
@@ -2749,7 +2749,7 @@ export default {
'业务三十五': {
id: 705,
name: '外汇业务',
- data: [13, 16, 407],
+ data: [13, 16],
needs: [],
isStamp: {
// '业务专用章': [ 411 ]
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index da85746..3333bbe 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -2,7 +2,7 @@
import Setting from '@/setting'
import util from '@/libs/util'
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 Cookie from 'js-cookie'
import router from '@/router'
@@ -11,40 +11,39 @@ import router from '@/router'
* 用户信息
* */
export default {
- namespaced: true,
- state: {
- avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png',
- userName: '',
- schoolId: '',
- isManager: false
+ namespaced: true,
+ state: {
+ avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png',
+ userName: '',
+ schoolId: '',
+ isManager: false
+ },
+ mutations: {
+ SET_MANAGER: (state, isManager) => {
+ state.isManager = isManager
},
- mutations: {
- SET_MANAGER: (state, isManager) => {
- state.isManager = isManager
- },
- logout() {
- const url = location.href
- let href = process.env.NODE_ENV === 'development' ?
- `http://${location.hostname}:8082/#/` :
- `${url.includes('huorantech.cn') ? `https://www.occupationlab.com` : location.origin}${Cookie.get('manager') ?
- '/admin' :
- (url.includes('huorantech.cn') || url.includes('izhixinyun.com')) ?
- '' :
- '/student'}/#/`
- let assessmentId = sessionStorage.getItem('assessmentId')
- if (assessmentId != 'null' && assessmentId != null && assessmentId != '') {
- href += `ass/list`
- } else {
- const cid = sessionStorage.getItem('cid')
- href += `station/preview?courseId=${cid}&curriculumName=银行项目&mallId=${router.currentRoute.query.mallId}`
- }
- sessionStorage.clear()
- location.href = href
- },
+ logout () {
+ const isAdmin = Cookie.get('manager')
+ let href = process.env.NODE_ENV === 'development' ?
+ `http://${location.hostname}:8082/#/` :
+ `${location.origin}${isAdmin ? '/admin' : ''}/#/`
+ if (location.origin === 'http://121.37.12.51') {
+ href = `http://121.37.12.51/${isAdmin ? 'admin' : 'student'}/#/`
+ }
+ let assessmentId = sessionStorage.getItem('assessmentId')
+ if (assessmentId != 'null' && assessmentId != null && assessmentId != '') {
+ href += `ass/list`
+ } else {
+ 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) {
- commit('SET_MANAGER',isManager)
- },
- }
+ },
+ actions: {
+ setManager ({ state, commit }, isManager) {
+ commit('SET_MANAGER', isManager)
+ },
+ }
}
\ No newline at end of file