Commit 134c7c30 authored by 黎博's avatar 黎博

屏蔽自动化

parent bc67c0b7
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>QA测试平台</title><link href=/static/css/app.2444261d286b8cadd5224b89aeac77b6.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.32d532b5d2eda429f2bc.js></script><script type=text/javascript src=/static/js/app.44903788ef489b83d29e.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 href=/static/css/app.3445a151cdad88b09e51f6892ee5fcfc.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.32d532b5d2eda429f2bc.js></script><script type=text/javascript src=/static/js/app.83577e9735abad12ab57.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 diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{"version":3,"sources":["webpack:///webpack/bootstrap 2e726f8cfb046bf6d0d4"],"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 2e726f8cfb046bf6d0d4"],"sourceRoot":""} {"version":3,"sources":["webpack:///webpack/bootstrap add478f3fbc808fa6887"],"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 add478f3fbc808fa6887"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
active-text-color="#ffd04b" active-text-color="#ffd04b"
router router
> >
<el-submenu :index="1"> <!-- <el-submenu :index="1">
<template slot="title"> <template slot="title">
<i class="el-icon-s-check"></i> <i class="el-icon-s-check"></i>
<span>自动化测试</span> <span>自动化测试</span>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<span>测试报告</span> <span>测试报告</span>
</template> </template>
</el-menu-item> </el-menu-item>
</el-submenu> </el-submenu> -->
<el-submenu :index="2"> <el-submenu :index="2">
<template slot="title"> <template slot="title">
<i class="el-icon-s-data"></i> <i class="el-icon-s-data"></i>
......
...@@ -8,38 +8,50 @@ ...@@ -8,38 +8,50 @@
<!-- 卡片视图 --> <!-- 卡片视图 -->
<el-card> <el-card>
<div class="filter"> <div>
<!-- 借款状态下拉框 --> <!-- 借款状态下拉框 -->
<p> 借款状态:
借款状态: <el-select v-model="selectStatus" placeholder="请选择借款状态" @change="selectStatusChange">
<el-select v-model="selectStatus" placeholder="请选择借款状态" @change="selectStatusChange"> <el-option
<el-option v-for="item in statusOptions"
v-for="item in statusOptions" :key="item.value"
:key="item.value" :label="item.label"
:label="item.label" :value="item.value"
:value="item.value" ></el-option>
></el-option> </el-select>
</el-select> <!-- 渠道 -->
</p> 渠道:
<!-- 查询数据按钮 --> <el-input v-model="queryInfo.channel" clearable placeholder="渠道id" style="width: 200px;"></el-input>
<p> <!-- 资方 -->
<el-button type="primary" style="margin-left:20px" @click="checkData">查询数据</el-button> 资方:
</p> <el-input v-model="queryInfo.fundID" clearable placeholder="资方id" style="width: 200px;"></el-input>
<el-button type="primary" style="margin-left:20px" @click="checkData">查询数据</el-button>
</div> </div>
<!-- <div>
手机号:
<el-input v-model="queryInfo.phone" clearable placeholder="手机号" style="width: 200px;"></el-input>
金额:
<el-input v-model="queryInfo.salary" clearable placeholder="金额" style="width: 200px;"></el-input>
期数:
<el-input v-model="queryInfo.termNo" clearable placeholder="期数" style="width: 200px;"></el-input>
</div> -->
<!-- 数据表格 --> <!-- 数据表格 -->
<div class="dataTable"> <div class="dataTable">
<el-table :data="dataTable" border style="width: 100%"> <el-table :data="dataTable" border style="width: 100%">
<el-table-column prop="phoneNo" label="phone_no" width="150px"></el-table-column> <el-table-column prop="phoneNo" label="phone_no" width="150px"></el-table-column>
<el-table-column prop="userId" label="user_id" width="100px"></el-table-column> <el-table-column prop="userId" label="user_id" width="100px"></el-table-column>
<el-table-column prop="uuid" label="uuid" width="330px"></el-table-column> <el-table-column prop="uuid" label="uuid" width="330px"></el-table-column>
<el-table-column prop="enable" label="enable" width="100px"> <el-table-column prop="registeredFrom" label="注册渠道id" width="120px"></el-table-column>
<el-table-column prop="channelName" label="注册渠道名" width="120px"></el-table-column>
<el-table-column prop="fundId" label="资方id" width="120px"></el-table-column>
<el-table-column prop="fundName" label="资方名称" width="120px"></el-table-column>
<el-table-column prop="createdAt" label="创建时间" width="200px"></el-table-column>
<el-table-column prop="enable" label="enable">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.enable === 1" type="success">启用</el-tag> <el-tag v-if="scope.row.enable === 1" type="success">启用</el-tag>
<el-tag v-else-if="scope.row.enable === 0" type="danger">停用</el-tag> <el-tag v-else-if="scope.row.enable === 0" type="danger">停用</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="registeredFrom" label="注册渠道" width="100px"></el-table-column>
<el-table-column prop="createdAt" label="创建时间"></el-table-column>
</el-table> </el-table>
</div> </div>
<!-- 分页 --> <!-- 分页 -->
...@@ -71,6 +83,11 @@ export default { ...@@ -71,6 +83,11 @@ export default {
queryInfo: { queryInfo: {
namespace: window.sessionStorage.getItem('env'), namespace: window.sessionStorage.getItem('env'),
status: '', status: '',
channel: '',
fundId: '',
phone: '',
salary: '',
termNo: '',
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
} }
...@@ -145,11 +162,12 @@ export default { ...@@ -145,11 +162,12 @@ export default {
.dataTable { .dataTable {
margin-top: 20px; margin-top: 20px;
} }
.el-select {
margin-right: 15px;
margin-bottom: 10px;
}
.filter { .el-input {
display: flex; margin-right: 15px;
p {
margin-right: 20px;
}
} }
</style> </style>
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<!-- 卡片视图 --> <!-- 卡片视图 -->
<el-card> <el-card>
<div> <div>
类型 借款状态
<el-select v-model="genDataBody.type" placeholder="请选择类型"> <el-select v-model="genDataBody.type" placeholder="请选择类型">
<el-option <el-option
v-for="item in typeOptions" v-for="item in typeOptions"
...@@ -53,14 +53,16 @@ ...@@ -53,14 +53,16 @@
<div class="dataTable"> <div class="dataTable">
<el-table :data="dataTable" border style="width: 100%"> <el-table :data="dataTable" border style="width: 100%">
<el-table-column type="phoneNo" label="phone_no" width="100px"></el-table-column> <el-table-column type="phoneNo" label="phone_no" width="100px"></el-table-column>
<el-table-column prop="userId" label="user_id" width="100px"></el-table-column> <el-table-column prop="channel" label="注册渠道id" width="100px"></el-table-column>
<el-table-column prop="uuid" label="uuid" width="250px"></el-table-column> <el-table-column prop="fundId" label="资方id" width="100px"></el-table-column>
<el-table-column prop="channel" label="注册渠道" width="100px"></el-table-column> <el-table-column prop="amount" label="金额" width="100px"></el-table-column>
<el-table-column prop="3" label="资方" width="100px"></el-table-column> <el-table-column prop="term" label="期数" width="100px"></el-table-column>
<el-table-column prop="riskStatus" label="授信状态" width="100px"></el-table-column> <el-table-column prop="status" label="状态" width="100px"></el-table-column>
<el-table-column prop="loanStatus" label="放款状态" width="100px"></el-table-column> <el-table-column label="操作">
<el-table-column prop="loanID" label="放款ID" width="100px"></el-table-column> <template slot-scope="scope">
<el-table-column prop="createdAt" label="创建时间"></el-table-column> <el-button type="primary" @click="retryToGen(scope.row.phoneNo)">重试</el-button>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
</el-card> </el-card>
...@@ -128,14 +130,16 @@ export default { ...@@ -128,14 +130,16 @@ export default {
} }
this.$axios this.$axios
.post('/oneclickdate/v1/type', this.genDataBody) .post('/oneclickdate/v1/type', this.genDataBody)
.then((response) => { .then((resp) => {
console.log(response) console.log(resp)
return this.$message.success('开始生成数据...')
}) })
.catch((error) => { .catch((error) => {
console.log(error) console.log(error)
return this.$message.error('数据生成失败!') return this.$message.error('数据生成失败!')
}) })
} },
retryToGen(phoneNo) {}
}, },
mounted() { mounted() {
this.getTypeOptions() this.getTypeOptions()
...@@ -148,6 +152,10 @@ export default { ...@@ -148,6 +152,10 @@ export default {
margin-top: 20px; margin-top: 20px;
} }
// .filter {
// margin-bottom: 10px;
// }
.el-select { .el-select {
margin-right: 15px; margin-right: 15px;
margin-bottom: 10px; margin-bottom: 10px;
......
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