diff --git a/src/api/api.js b/src/api/api.js index 0f808f3..4e5aeb5 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -1,5 +1,7 @@ import axios from 'axios'; import router from '../router'; +import store from '@/store' +import util from '@/libs/util' const url = location.host const dev = process.env.NODE_ENV === 'development' // 开发环境 @@ -7,101 +9,105 @@ let host = `${location.origin}/` if (dev) { // 本地 host = 'http://121.37.12.51/' // 中台测试服 - // host = 'https://www.occupationlab.com/' // 正式服 + // host = 'https://www.occupationlab.com/' // 正式服 // host = 'http://192.168.31.151:9000/' // 榕 // host = 'http://192.168.31.116:9000/' // 赓 } // 创建axios实例 const service = axios.create({ - baseURL: host, // 测试 - timeout: 30000 // 请求超时时间 + baseURL: host, // 测试 + timeout: 30000 // 请求超时时间 }) // 添加request拦截器 service.interceptors.request.use(config => { - return config + return config }, error => { - Promise.reject(error) + Promise.reject(error) }) // 添加respone拦截器 service.interceptors.response.use( - response => { - let res={}; - res.status=response.status - res.data=response.data; - return res; - }, - error => { - if(error.response && error.response.status == 404){ - router.push('/blank.vue') - } - return Promise.reject(error.response) + response => { + let res = {}; + res.status = response.status + res.data = response.data; + return res; + }, + error => { + if (error.response.status == 401) { + console.log("🚀 ~ error:", error.response.status, store.commit('user/logout')) + util.errorMsg('登录过期,请重新登录') + setTimeout(() => { + store.commit('user/logout') + }, 1500) } + return Promise.reject(error.response) + } ) let tokens let token -var reg = new RegExp('(^|&)'+'token'+'=([^&]*)(&|$)') -if(window.location.href.split('?')[1]){ - var r = window.location.href.split('?')[1].match(reg) - if (r != null){ - tokens = (r[2]) - }else{ - tokens = null - } +var reg = new RegExp('(^|&)' + 'token' + '=([^&]*)(&|$)') +if (window.location.href.split('?')[1]) { + var r = window.location.href.split('?')[1].match(reg) + if (r != null) { + tokens = (r[2]) + } else { + tokens = null + } } -if(tokens){ - token = tokens -}else{ - token = sessionStorage.getItem('token') +if (tokens) { + token = tokens +} else { + token = sessionStorage.getItem('token') } -export function get(url, params = {}) { - // params.t = new Date().getTime(); //get方法加一个时间参数,解决ie下可能缓存问题. - return service({ - url: url, - method: 'get', - headers: { - token:token - }, - params - }) +export function get (url, params = {}) { + // params.t = new Date().getTime(); //get方法加一个时间参数,解决ie下可能缓存问题. + return service({ + url: url, + method: 'get', + headers: { + token: token + }, + params + }) } //封装post请求 -export function post(url, data = {}) { - //默认配置 - let sendObject={ - url: url, - method: 'post', - headers: { - 'Content-Type':'application/json;charset=UTF-8', - token:token - }, - data:data - }; - sendObject.data=JSON.stringify(data); - return service(sendObject) +export function post (url, data = {}) { + //默认配置 + let sendObject = { + url: url, + method: 'post', + headers: { + 'Content-Type': 'application/json;charset=UTF-8', + token: token + }, + data: data + }; + sendObject.data = JSON.stringify(data); + return service(sendObject) } //封装put方法 (resfulAPI常用) -export function put(url,data = {}){ - return service({ - url: url, - method: 'put', - headers: { - 'Content-Type':'application/json;charset=UTF-8', - token:token - }, - data:JSON.stringify(data) - }) +export function put (url, data = {}) { + return service({ + url: url, + method: 'put', + headers: { + 'Content-Type': 'application/json;charset=UTF-8', + token: token + }, + data: JSON.stringify(data) + }) } //删除方法(resfulAPI常用) -export function deletes(url){ - return service({ - url: url, - method: 'delete', - headers: { - token:token - } - }) +export function deletes (url) { + return service({ + url: url, + method: 'delete', + headers: { + token: token + } + }) } //不要忘记export export { - service + service } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 54b1b9c..f8701aa 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -11,7 +11,7 @@
+ @click="logout"> 退出
@@ -19,7 +19,7 @@ diff --git a/src/pages/manage/list/agent/electricRate.vue b/src/pages/manage/list/agent/electricRate.vue index 1605f34..ba32b45 100644 --- a/src/pages/manage/list/agent/electricRate.vue +++ b/src/pages/manage/list/agent/electricRate.vue @@ -77,7 +77,7 @@ - - -
- - -
- - - - - - - - - - - - - - - - - - - - - - -
-

请刷身份证

-
-
- -
-
- - - - - - - - - - - - -
+ + + + + + + + + + -
-
- 提交 -
- - + + + 提交
- @@ -84,7 +116,7 @@ import { mapState, mapMutations, mapGetters } from 'vuex' import { vername, vermob } from '@/utils/verify.js' import { addOperation, getOperation } from '@/api/http'; -import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' +import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { phoneListen, mailBoxListen, checkRequired, randomPeopleNumber, myValidate, checkName, messageIdCard } from '@/utils/utilFunction.js' import MyTitle from '@/components/myTitle' @@ -94,352 +126,351 @@ import NeedBefore from '@/components/needBefore' const moduleName = 'consumerClient' export default { - name: 'consumerClient', - data() { - return { - moduleName: 'consumerClient', - idNumberJudge: false, - visible:false,// 表单 - form:{ - idType:83,//证件类型 - idNumber:'',//证件号码 - userName:'',//客户名字 - sex:'',//性别 - birthday:null,//出生日期 - nationality:'',//民族 - mailbox:'',//通讯地址 - phone:'',//联系电话 - peopleNumber: '', - }, - formName: { - idType: '证件类型', - idNumber:'证件号码', - userName:'客户名字', - sex:'性别', - birthday:'出生日期', - nationality:'民族', - mailbox:'通讯地址', - phone:'联系电话', - peopleNumber: '客户号' - }, - rules: { - userName: vercustomer , - phone: [ - { - required: true, - message: '请输入联系电话', - trigger: 'blur' - }, - { - pattern: mobPattern, - message: '联系电话格式有误' - } - ], - birthday: [ - { - required: true, - message: '请选择出生日期', - trigger: 'blur' - } - ], - - }, - - authorization:false,// 切授权 - success:false,// 切成功 - papers:[ - {name:'身份证',id:1} - ], - options:[], - gender:[ - {name:'男',id:1}, - {name:'女',id:2}, - ], - nations : [ - { "itemId": 24, "description": "汉族", "options": "汉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, - { "itemId": 25, "description": "蒙古族", "options": "蒙古族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, - { "itemId": 26, "description": "回族", "options": "回族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 27, "description": "藏族", "options": "藏族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 28, "description": "维吾尔族", "options": "维吾尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 29, "description": "苗族", "options": "苗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 30, "description": "彝族", "options": "彝族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 31, "description": "壮族", "options": "壮族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 32, "description": "布依族", "options": "布依族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 33, "description": "朝鲜族", "options": "朝鲜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 34, "description": "满族", "options": "满族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 35, "description": "侗族", "options": "侗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 36, "description": "瑶族", "options": "瑶族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 37, "description": "白族", "options": "白族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 38, "description": "土家族", "options": "土家族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 39, "description": "哈尼族", "options": "哈尼族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 40, "description": "哈萨克族", "options": "哈萨克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 41, "description": "傣族", "options": "傣族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 42, "description": "黎族", "options": "黎族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 43, "description": "傈僳族", "options": "傈僳族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 44, "description": "佤族", "options": "佤族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 45, "description": "畲族", "options": "畲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 46, "description": "高山族", "options": "高山族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 47, "description": "拉祜族", "options": "拉祜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 48, "description": "水族", "options": "水族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 49, "description": "东乡族", "options": "东乡族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 50, "description": "纳西族", "options": "纳西族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 51, "description": "景颇族", "options": "景颇族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 52, "description": "柯尔克孜族", "options": "柯尔克孜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 53, "description": "土族", "options": "土族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 54, "description": "达斡尔族", "options": "达斡尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 55, "description": "仫佬族", "options": "仫佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 56, "description": "羌族", "options": "羌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 57, "description": " 布朗族", "options": " 布朗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 58, "description": " 撒拉族", "options": " 撒拉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 59, "description": " 毛难族", "options": " 毛难族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 60, "description": " 仡佬族", "options": " 仡佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, - { "itemId": 61, "description": " 锡伯族", "options": " 锡伯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 62, "description": " 阿昌族", "options": " 阿昌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 63, "description": " 普米族", "options": " 普米族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 64, "description": " 塔吉克族", "options": " 塔吉克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 65, "description": " 怒族", "options": " 怒族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 66, "description": " 乌孜别克族", "options": " 乌孜别克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 67, "description": " 俄罗斯族", "options": " 俄罗斯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 68, "description": " 鄂温克族", "options": " 鄂温克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 69, "description": " 崩龙族", "options": " 崩龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 70, "description": " 保安族", "options": " 保安族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 71, "description": " 裕固族", "options": " 裕固族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 72, "description": " 京族", "options": " 京族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 73, "description": " 塔塔尔族", "options": " 塔塔尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 74, "description": " 独龙族", "options": " 独龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 75, "description": " 鄂伦春族", "options": " 鄂伦春族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 76, "description": " 赫哲族", "options": " 赫哲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 77, "description": " 门巴族", "options": " 门巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 78, "description": " 珞巴族", "options": " 珞巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 79, "description": " 基诺族", "options": " 基诺族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, - { "itemId": 80, "description": " 其他", "options": " 其他", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" } - ], - submited: 0 - } - }, - components: { - MyTitle, - MyDialog, - NeedBefore + name: 'consumerClient', + data () { + return { + moduleName: 'consumerClient', + idNumberJudge: false, + visible: false,// 表单 + form: { + idType: 83,//证件类型 + idNumber: '',//证件号码 + userName: '',//客户名字 + sex: '',//性别 + birthday: null,//出生日期 + nationality: '',//民族 + mailbox: '',//通讯地址 + phone: '',//联系电话 + peopleNumber: '', + }, + formName: { + idType: '证件类型', + idNumber: '证件号码', + userName: '客户名字', + sex: '性别', + birthday: '出生日期', + nationality: '民族', + mailbox: '通讯地址', + phone: '联系电话', + peopleNumber: '客户号' + }, + rules: { + userName: vercustomer, + phone: [ + { + required: true, + message: '请输入联系电话', + trigger: 'blur' + }, + { + pattern: mobPattern, + message: '联系电话格式有误' + } + ], + birthday: [ + { + required: true, + message: '请选择出生日期', + trigger: 'blur' + } + ], + + }, + + authorization: false,// 切授权 + success: false,// 切成功 + papers: [ + { name: '身份证', id: 1 } + ], + options: [], + gender: [ + { name: '男', id: 1 }, + { name: '女', id: 2 }, + ], + nations: [ + { "itemId": 24, "description": "汉族", "options": "汉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, + { "itemId": 25, "description": "蒙古族", "options": "蒙古族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, + { "itemId": 26, "description": "回族", "options": "回族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 27, "description": "藏族", "options": "藏族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 28, "description": "维吾尔族", "options": "维吾尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 29, "description": "苗族", "options": "苗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 30, "description": "彝族", "options": "彝族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 31, "description": "壮族", "options": "壮族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 32, "description": "布依族", "options": "布依族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 33, "description": "朝鲜族", "options": "朝鲜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 34, "description": "满族", "options": "满族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 35, "description": "侗族", "options": "侗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 36, "description": "瑶族", "options": "瑶族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 37, "description": "白族", "options": "白族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 38, "description": "土家族", "options": "土家族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 39, "description": "哈尼族", "options": "哈尼族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 40, "description": "哈萨克族", "options": "哈萨克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 41, "description": "傣族", "options": "傣族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 42, "description": "黎族", "options": "黎族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 43, "description": "傈僳族", "options": "傈僳族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 44, "description": "佤族", "options": "佤族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 45, "description": "畲族", "options": "畲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 46, "description": "高山族", "options": "高山族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 47, "description": "拉祜族", "options": "拉祜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 48, "description": "水族", "options": "水族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 49, "description": "东乡族", "options": "东乡族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 50, "description": "纳西族", "options": "纳西族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 51, "description": "景颇族", "options": "景颇族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 52, "description": "柯尔克孜族", "options": "柯尔克孜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 53, "description": "土族", "options": "土族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 54, "description": "达斡尔族", "options": "达斡尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 55, "description": "仫佬族", "options": "仫佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 56, "description": "羌族", "options": "羌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 57, "description": " 布朗族", "options": " 布朗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 58, "description": " 撒拉族", "options": " 撒拉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 59, "description": " 毛难族", "options": " 毛难族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 60, "description": " 仡佬族", "options": " 仡佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, + { "itemId": 61, "description": " 锡伯族", "options": " 锡伯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 62, "description": " 阿昌族", "options": " 阿昌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 63, "description": " 普米族", "options": " 普米族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 64, "description": " 塔吉克族", "options": " 塔吉克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 65, "description": " 怒族", "options": " 怒族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 66, "description": " 乌孜别克族", "options": " 乌孜别克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 67, "description": " 俄罗斯族", "options": " 俄罗斯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 68, "description": " 鄂温克族", "options": " 鄂温克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 69, "description": " 崩龙族", "options": " 崩龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 70, "description": " 保安族", "options": " 保安族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 71, "description": " 裕固族", "options": " 裕固族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 72, "description": " 京族", "options": " 京族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 73, "description": " 塔塔尔族", "options": " 塔塔尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 74, "description": " 独龙族", "options": " 独龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 75, "description": " 鄂伦春族", "options": " 鄂伦春族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 76, "description": " 赫哲族", "options": " 赫哲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 77, "description": " 门巴族", "options": " 门巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 78, "description": " 珞巴族", "options": " 珞巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 79, "description": " 基诺族", "options": " 基诺族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, + { "itemId": 80, "description": " 其他", "options": " 其他", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" } + ], + submited: 0 + } + }, + components: { + MyTitle, + MyDialog, + NeedBefore + }, + created () { + // if(this.isNeedBefore) { + // return + // } + if (sessionStorage.getItem('nomClientIdentity')) { + this.idNumberJudge = true + const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow + this.form.idNumber = idNumber + this.form.idType = 83 + this.form.userName = userName + // let sexs = null + // if (sex == '男'){ + // sexs = 1 + // }else{ + // sexs = 2 + // } + this.form.sex = sex + this.form.birthday = birthday + // this.form.nationality = nationality + // this.form.mailbox = mailbox + } + this.getFormData() + + }, + mixins: [TipsBefore], + mounted () { + }, + methods: { + // 授权提交后 + submitIt () { + + // this.setDataFlow({name: 'userName', val: ''}) + // console.log(this.dataFlow) }, - created() { - // if(this.isNeedBefore) { - // return - // } - if(sessionStorage.getItem('nomClientIdentity')) { - this.idNumberJudge = true - const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow - this.form.idNumber = idNumber - this.form.idType = 83 - this.form.userName = userName - // let sexs = null - // if (sex == '男'){ - // sexs = 1 - // }else{ - // sexs = 2 - // } - this.form.sex = sex - this.form.birthday = birthday - // this.form.nationality = nationality - // this.form.mailbox = mailbox + getFormData () { + let param = { + parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,33' + } + getOperation(param).then((data) => { + if (data.status == 200) { + var list = data.data.judgmentRuleReqs + for (var i = 0; i < list.length; i++) { + if (list[i].answerId == '40') { this.form.idType = +list[i].emptyTwo } + // if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)} + if (list[i].answerId == '41' && list[i].emptyTwo) { + this.idNumberJudge = true + this.form.idNumber = list[i].emptyTwo + } + if (list[i].answerId == '42') { this.form.userName = list[i].emptyTwo } + if (list[i].answerId == '43') { this.form.sex = +list[i].emptyTwo } + if (list[i].answerId == '44') { this.form.birthday = list[i].emptyTwo } + if (list[i].answerId == '45') { this.form.nationality = list[i].emptyTwo } + if (list[i].answerId == '46') { this.form.mailbox = list[i].emptyTwo } + if (list[i].answerId == '47') { this.form.phone = list[i].emptyTwo } + } + } - this.getFormData() + // const tt1 = JSON.parse(sessionStorage.getItem('tt1')) + // console.log('1-tt1') + // console.log(tt1) + // if(tt1) { + // for(const key in tt1) { + // this.form[tt1] = tt1[key] + // } + // } + }).catch((error) => { + // const tt1 = JSON.parse(sessionStorage.getItem('tt1')) + // console.log('2-tt1') + // console.log(tt1) + // if(tt1) { + // for(const key in tt1) { + // this.form[key] = tt1[key] + // } + // } + // if(sessionStorage.getItem('tt1')) { + // this.form = {...sessionStorage.getItem('tt1')} + // } + }) }, - mixins: [ TipsBefore ], - mounted() { + ...mapMutations({ + changeShowGoods: 'system/changeShowGoods', + setDataFlow: 'system/setDataFlow', + setNeedsModule: 'system/setNeedsModule', + setPopId: 'system/setPopId', + setTipsOperate: 'system/setTipsOperate' + }), + popUp () {// 唤起弹窗 + // this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'33'}) + // this.changeShowGoods(true) + // this.$store.commit('system/changePop',{show: false, text: '', id:'33'}) + + this.setTipsOperate('请刷身份证'); + this.setPopId('33') + sessionStorage.setItem('computerPath', this.$route.fullPath) + this.$router.push('/counter/list/') }, - methods: { - // 授权提交后 - submitIt() { - - // this.setDataFlow({name: 'userName', val: ''}) - // console.log(this.dataFlow) - }, - getFormData(){ - let param= { - parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,33' - } - getOperation(param).then((data)=>{ - if(data.status == 200) { - var list = data.data.judgmentRuleReqs - for (var i = 0; i < list.length; i++) { - if (list[i].answerId == '40') {this.form.idType = +list[i].emptyTwo} - // if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)} - if (list[i].answerId == '41' && list[i].emptyTwo) { - this.idNumberJudge = true - this.form.idNumber = list[i].emptyTwo - } - if (list[i].answerId == '42') {this.form.userName = list[i].emptyTwo} - if (list[i].answerId == '43') {this.form.sex = +list[i].emptyTwo} - if (list[i].answerId == '44') {this.form.birthday = list[i].emptyTwo} - if (list[i].answerId == '45') {this.form.nationality = list[i].emptyTwo} - if (list[i].answerId == '46') {this.form.mailbox = list[i].emptyTwo} - if (list[i].answerId == '47') {this.form.phone = list[i].emptyTwo} - } - - } - // const tt1 = JSON.parse(sessionStorage.getItem('tt1')) - // console.log('1-tt1') - // console.log(tt1) - // if(tt1) { - // for(const key in tt1) { - // this.form[tt1] = tt1[key] - // } - // } - }).catch((error)=>{ - // const tt1 = JSON.parse(sessionStorage.getItem('tt1')) - // console.log('2-tt1') - // console.log(tt1) - // if(tt1) { - // for(const key in tt1) { - // this.form[key] = tt1[key] - // } - // } - // if(sessionStorage.getItem('tt1')) { - // this.form = {...sessionStorage.getItem('tt1')} - // } - }) - - }, - ...mapMutations({ - changeShowGoods: 'system/changeShowGoods', - setDataFlow: 'system/setDataFlow', - setNeedsModule: 'system/setNeedsModule', - setPopId: 'system/setPopId', - setTipsOperate: 'system/setTipsOperate' - }), - popUp(){// 唤起弹窗 - // this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'33'}) - // this.changeShowGoods(true) - // this.$store.commit('system/changePop',{show: false, text: '', id:'33'}) + //提交个人用户信息 + submitForm () { + if (this.submited) return this.$message.error('已提交!') + let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') + let consumerClientDragList = JSON.parse(nomClientIdentity); + let nomClientIdentitys = JSON.parse(nomClientIdentity); + if (!this.form.idNumber) { + messageIdCard() + return + } + this.$refs.form.validate(myValidate(() => { + // this.form.birthday = this.form.birthday.slice(0, 10) + this.form.peopleNumber = randomPeopleNumber() + this.visible = true; + }, this.$refs)); + }, + submitForm2 () { + let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') + let consumerClientDragList = JSON.parse(nomClientIdentity); + let projectId = sessionStorage.getItem('projectId') + let startTime = sessionStorage.getItem('startTime') - this.setTipsOperate('请刷身份证'); - this.setPopId('33') - sessionStorage.setItem('computerPath', this.$route.fullPath) - this.$router.push('/counter/list/') - }, - //提交个人用户信息 - submitForm(){ - if (this.submited) return this.$message.error('已提交!') - let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') - let consumerClientDragList = JSON.parse(nomClientIdentity); - let nomClientIdentitys = JSON.parse(nomClientIdentity); - if(!this.form.idNumber) { - messageIdCard() - return - } - this.$refs.form.validate(myValidate(() => { - // this.form.birthday = this.form.birthday.slice(0, 10) - this.form.peopleNumber = randomPeopleNumber() - this.visible = true; - } , this.$refs)); - }, - submitForm2() { - let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') - let consumerClientDragList = JSON.parse(nomClientIdentity); - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - - - let formList = []; - - formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,41,13","type": ""}) - if(this.form.sex){ - formList.push({ - "answerId":'43', - "emptyOne": "1", - "emptyTwo": this.form.sex, - "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,43",//性别 - "type": "1" - }) - } - if(this.form.nationality){ - formList.push({ - "answerId":'45', - "emptyOne": "3", - "emptyTwo": this.form.nationality, - "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,45",//民族 - "type": "1" - }) - } - if(this.form.mailbox){ - formList.push({ - "answerId":'46', - "emptyOne": "4", - "emptyTwo": this.form.mailbox, - "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,46",//通讯地址 - "type": "3" - }) - } - formList.push( - {"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,40", "type": "1"},//证件类型 - {"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,42", "type": "3"},//客户姓名 - {"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,44", "type": "3"},//出生日期 - {"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,47", "type": "3"}//联系电话 - ); - let params= { - parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,33', - lcJudgmentRuleReq:formList, - projectId:+projectId, - startTime:startTime, - } - addOperation(params).then((data)=>{ - // this.$message({ - // message: '提交成功', - // type: 'success' - // }); - this.setNeedsModule(moduleName) - this.setDataFlow({ ...this.form }) - this.submited = 1 - }).catch((error)=>{ - this.setTipsOperate('服务器繁忙哦,提交失败。') - }) - - }, - - throttle(fn,wait=1000){// 节流函数 - var timer = null; - return function(){ - var context = this; - var args = fn; - if(!timer){ - timer = setTimeout(function(){ - fn.apply(context,fn); - timer = null; - },wait) - } - } - }, - phoneListen: phoneListen, - mailBoxListen: mailBoxListen, - checkName: checkName - }, - computed: { - ...mapGetters({ - dataFlow: 'system/dataFlow', - inMyWork: 'system/inMyWork', - needsModule: 'system/needsModule', - popId: 'system/popId' + let formList = []; + + formList.push({ "answerId": '41', "emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,41,13", "type": "" }) + if (this.form.sex) { + formList.push({ + "answerId": '43', + "emptyOne": "1", + "emptyTwo": this.form.sex, + "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,43",//性别 + "type": "1" }) - } + } + if (this.form.nationality) { + formList.push({ + "answerId": '45', + "emptyOne": "3", + "emptyTwo": this.form.nationality, + "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,45",//民族 + "type": "1" + }) + } + if (this.form.mailbox) { + formList.push({ + "answerId": '46', + "emptyOne": "4", + "emptyTwo": this.form.mailbox, + "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,46",//通讯地址 + "type": "3" + }) + } + formList.push( + { "answerId": '40', "emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,40", "type": "1" },//证件类型 + { "answerId": '42', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,42", "type": "3" },//客户姓名 + { "answerId": '44', "emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,44", "type": "3" },//出生日期 + { "answerId": '47', "emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,47", "type": "3" }//联系电话 + ); + let params = { + parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,33', + lcJudgmentRuleReq: formList, + projectId: +projectId, + startTime: startTime, + } + addOperation(params).then((data) => { + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + this.setNeedsModule(moduleName) + this.setDataFlow({ ...this.form }) + this.submited = 1 + }).catch((error) => { + this.setTipsOperate('服务器繁忙哦,提交失败。') + }) + + }, + + + throttle (fn, wait = 1000) {// 节流函数 + var timer = null; + return function () { + var context = this; + var args = fn; + if (!timer) { + timer = setTimeout(function () { + fn.apply(context, fn); + timer = null; + }, wait) + } + } + }, + phoneListen: phoneListen, + mailBoxListen: mailBoxListen, + checkName: checkName + }, + computed: { + ...mapGetters({ + dataFlow: 'system/dataFlow', + inMyWork: 'system/inMyWork', + needsModule: 'system/needsModule', + popId: 'system/popId' + }) + } }; diff --git a/src/pages/manage/list/corporateLoans/apply/preLoan.vue b/src/pages/manage/list/corporateLoans/apply/preLoan.vue index 433e844..ba6bd3c 100644 --- a/src/pages/manage/list/corporateLoans/apply/preLoan.vue +++ b/src/pages/manage/list/corporateLoans/apply/preLoan.vue @@ -70,7 +70,7 @@
- diff --git a/src/pages/manage/list/corporateLoans/management.vue b/src/pages/manage/list/corporateLoans/management.vue index 36e73a4..3afca0a 100644 --- a/src/pages/manage/list/corporateLoans/management.vue +++ b/src/pages/manage/list/corporateLoans/management.vue @@ -34,6 +34,10 @@ label="处理结果" align="center"> + + diff --git a/src/pages/manage/list/foreignExchange/foreignExchange.vue b/src/pages/manage/list/foreignExchange/foreignExchange.vue index b652bbb..7fdc151 100644 --- a/src/pages/manage/list/foreignExchange/foreignExchange.vue +++ b/src/pages/manage/list/foreignExchange/foreignExchange.vue @@ -126,7 +126,6 @@ export default { margin-top: 10px; } .body { - margin-top: 50px; overflow: auto; .idCard { border-radius: 5px; diff --git a/src/pages/manage/list/foreignExchange/puchasing.vue b/src/pages/manage/list/foreignExchange/puchasing.vue index 0a73077..1a51b6b 100644 --- a/src/pages/manage/list/foreignExchange/puchasing.vue +++ b/src/pages/manage/list/foreignExchange/puchasing.vue @@ -187,6 +187,13 @@ export default { }, rules: { userName: vercustomer, + currency: [ + { + required: true, + message: '请选择币种', + trigger: 'blur' + } + ], goldLogo: [ { required: true, diff --git a/src/pages/manage/list/foreignExchange/settlement.vue b/src/pages/manage/list/foreignExchange/settlement.vue index 5a61037..76128c8 100644 --- a/src/pages/manage/list/foreignExchange/settlement.vue +++ b/src/pages/manage/list/foreignExchange/settlement.vue @@ -177,6 +177,13 @@ export default { }, rules: { userName: vercustomer, + currency: [ + { + required: true, + message: '请选择币种', + trigger: 'blur' + } + ], goldLogo: [ { required: true, diff --git a/src/pages/manage/list/personalLoans/detail.vue b/src/pages/manage/list/personalLoans/detail.vue index 7b53315..b446e53 100644 --- a/src/pages/manage/list/personalLoans/detail.vue +++ b/src/pages/manage/list/personalLoans/detail.vue @@ -8,234 +8,225 @@ :model="form" label-width="120px" :rules="rules"> - -
基本信息
-
- - - - - - - - - - - - - - - -
-

请刷身份证

-
-
- + +
基本信息
+
+ + + + + + + + -
-
- - - + v-model="form.customerName" + @input="(val) => checkName(val, form, 'customerName')"> +
+ + + + +
+ + +
+

请刷身份证

+
+
+ +
+
+ + + + + + + + - - - -
+ + + + - -
-
收入信息
-
- - - - - - - - - - - - - - - - + +
+
收入信息
+
+ + + + + + + + + + + + + + + + - -
-
房产信息
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
+
房产信息
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
-
贷款合同
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -246,15 +237,18 @@ :formName="formName" @submitIt="submitForm2" depositNumber='0816' /> - 下一步 + +
+ {{ curStep === 1 ? '下一步' : '提交' }} +