Commit d05ece09 authored by 黎博's avatar 黎博

更新乐信

parent f4ff2cc4
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>QA测试平台</title><link rel="shortcut icon" href=/QA.png><link href=/static/css/app.75a6f6c5b8991d96318603d31de1bb23.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.b7c78a72b5fddc1903b5.js></script><script type=text/javascript src=/static/js/app.fb80b4b2dda43b28a6b5.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>QA测试平台</title><link rel="shortcut icon" href=/QA.png><link href=/static/css/app.0bc545157d08e8acac726b40a0aeea1a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.b7c78a72b5fddc1903b5.js></script><script type=text/javascript src=/static/js/app.e92a20b51058de9a4d55.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["webpack:///webpack/bootstrap f618ffc489415882ec1d"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,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cesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap f618ffc489415882ec1d"],"sourceRoot":""} {"version":3,"sources":["webpack:///webpack/bootstrap 7920026a61be3fba2fb1"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 7920026a61be3fba2fb1"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
// 生成新数据相关 // 生成新数据相关
import request from '@/utils/request' import request from '@/utils/request'
export function genUserData(data) { export function genData(data) {
return request({ return request({
url: '/gen/loanUser', url: '/gen/data',
method: 'post', method: 'post',
data data
}) })
...@@ -23,3 +23,19 @@ export function getSupportChannelAndFund() { ...@@ -23,3 +23,19 @@ export function getSupportChannelAndFund() {
method: 'get' method: 'get'
}) })
} }
export function channelMappedFund(queryInfo) {
return request({
url: '/gen/channelMappedFund',
method: 'get',
params: queryInfo
})
}
export function fundMappedChannel(queryInfo) {
return request({
url: '/gen/fundMappedChannel',
method: 'get',
params: queryInfo
})
}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<el-card> <el-card>
<div class="filter"> <div class="filter">
借款状态: 借款状态:
<el-select v-model="genDataBody.status" placeholder="请选择类型"> <el-select v-model="genDataBody.status" @change="handleChannelChange" placeholder="请选择类型">
<el-option <el-option
v-for="item in statusOptions" v-for="item in statusOptions"
:key="item.label" :key="item.label"
...@@ -19,7 +19,13 @@ ...@@ -19,7 +19,13 @@
</el-select> </el-select>
<!-- 渠道 --> <!-- 渠道 -->
渠道: 渠道:
<el-select v-model="genDataBody.channel" placeholder="请选择渠道"> <el-select
v-model="genDataBody.channel"
@change="handleChannelChange"
@clear="handleClear"
clearable
placeholder="请选择渠道"
>
<el-option <el-option
v-for="item in channelList" v-for="item in channelList"
:key="item.channelId" :key="item.channelId"
...@@ -29,7 +35,13 @@ ...@@ -29,7 +35,13 @@
</el-select> </el-select>
<!-- 资方 --> <!-- 资方 -->
资方: 资方:
<el-select v-model="genDataBody.fundId" placeholder="请选择资方"> <el-select
v-model="genDataBody.fundId"
@change="haneleFundChange"
@clear="handleClear"
clearable
placeholder="请选择资方"
>
<el-option <el-option
v-for="item in fundList" v-for="item in fundList"
:key="item.fundId" :key="item.fundId"
...@@ -54,12 +66,44 @@ ...@@ -54,12 +66,44 @@
</div> </div>
<el-collapse v-model="activeCollapse"> <el-collapse v-model="activeCollapse">
<el-collapse-item title="基本信息(非必填)" name="1"> <el-collapse-item title="基本信息(非必填)" name="1">
<div class="filter">
姓名: 姓名:
<el-input v-model="genDataBody.name" clearable placeholder="姓名" style="width: 150px"></el-input>身份证号: <el-input v-model="genDataBody.name" clearable placeholder="姓名" style="width: 150px"></el-input>身份证号:
<el-input v-model="genDataBody.idNo" clearable placeholder="身份证" style="width: 200px"></el-input>银行卡号: <el-input
<el-input v-model="genDataBody.cardNo" clearable placeholder="银行卡号" style="width: 200px"></el-input>银行code: v-model="genDataBody.idCardNo"
<el-input v-model="genDataBody.bankCode" clearable placeholder="银行code" style="width: 200px"></el-input> clearable
placeholder="身份证"
style="width: 200px"
></el-input>
</div>
<div class="filter">
银行卡号:
<el-input
v-model="genDataBody.bankCardNo"
clearable
placeholder="银行卡号"
style="width: 200px"
></el-input>银行名称:
<el-input
v-model="genDataBody.bankName"
clearable
placeholder="银行名称"
style="width: 200px"
></el-input>银行code:
<el-input
v-model="genDataBody.bankCode"
clearable
placeholder="银行code"
style="width: 100px"
></el-input>
<el-button type="primary" @click="reGenBankCardData">换一换</el-button> <el-button type="primary" @click="reGenBankCardData">换一换</el-button>
</div>
<div class="filter" v-if="genDataBody.channel === 159886">
出账日:
<el-input v-model="genDataBody.fixedBillDay" placeholder="出账日" style="width: 100px"></el-input>
还款日:
<el-input v-model="genDataBody.fixedRepayDay" placeholder="还款日" style="width: 100px"></el-input>
</div>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
<!-- 数据表格 --> <!-- 数据表格 -->
...@@ -96,9 +140,11 @@ ...@@ -96,9 +140,11 @@
<script> <script>
import { uuid } from '@/utils/randomData' import { uuid } from '@/utils/randomData'
import { import {
genUserData, genData,
queryUserStatus, queryUserStatus,
getSupportChannelAndFund getSupportChannelAndFund,
channelMappedFund,
fundMappedChannel
} from '@/api/genNewData' } from '@/api/genNewData'
import { getAll } from '@/api/testdata' import { getAll } from '@/api/testdata'
export default { export default {
...@@ -129,9 +175,12 @@ export default { ...@@ -129,9 +175,12 @@ export default {
status: '', status: '',
symbol: '', symbol: '',
name: '', name: '',
idNo: '', idCardNo: '',
cardNo: '', bankCardNo: '',
bankCode: '' bankName: '',
bankCode: '',
fixedBillDay: '2',
fixedRepayDay: '12'
}, },
// 轮询状态 // 轮询状态
loopStatus: '', loopStatus: '',
...@@ -147,9 +196,10 @@ export default { ...@@ -147,9 +196,10 @@ export default {
.then((resp) => { .then((resp) => {
let data = resp.data.data[0] let data = resp.data.data[0]
this.genDataBody.name = data['name'] this.genDataBody.name = data['name']
this.genDataBody.idNo = data['IDCardNo'] this.genDataBody.idCardNo = data['IDCardNo']
this.genDataBody.cardNo = data['bankNo'] this.genDataBody.bankCardNo = data['bankNo']
this.genDataBody.phoneNo = data['mobile'] this.genDataBody.phoneNo = data['mobile']
this.genDataBody.bankName = data['bankType'].split(' ')[0]
this.genDataBody.bankCode = data['bankType'].split(' ')[1] this.genDataBody.bankCode = data['bankType'].split(' ')[1]
}) })
.catch((error) => console.log(error)) .catch((error) => console.log(error))
...@@ -180,7 +230,7 @@ export default { ...@@ -180,7 +230,7 @@ export default {
} }
this.genDataBody.symbol = uuid() this.genDataBody.symbol = uuid()
// 请求造数据接口 // 请求造数据接口
genUserData(this.genDataBody) genData(this.genDataBody)
.then((resp) => { .then((resp) => {
if (resp.data.data === false) { if (resp.data.data === false) {
// 结束轮询 // 结束轮询
...@@ -206,6 +256,28 @@ export default { ...@@ -206,6 +256,28 @@ export default {
this.genDataBody.phoneNo this.genDataBody.phoneNo
) )
}, },
// 选定渠道有变化
handleChannelChange() {
if (this.genDataBody.channel !== '') {
channelMappedFund({ channel: this.genDataBody.channel }).then(
(resp) => {
this.fundList = resp.data.data
}
)
}
},
// 选定资方有变化
haneleFundChange() {
if (this.genDataBody.fundId !== '') {
fundMappedChannel({ fundId: this.genDataBody.fundId }).then((resp) => {
this.channelList = resp.data.data
})
}
},
// 清空下拉框
handleClear() {
this.getSupportChannelAndFund()
},
// 查询造数据过程中的用户状态 // 查询造数据过程中的用户状态
queryGenProgress(phoneNo) { queryGenProgress(phoneNo) {
queryUserStatus({ queryUserStatus({
...@@ -317,6 +389,7 @@ export default { ...@@ -317,6 +389,7 @@ export default {
.filter { .filter {
margin-bottom: 15px; margin-bottom: 15px;
font-size: 14px;
} }
.el-select { .el-select {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment