用户查询
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<el-table-column prop="RestAmount" label="余额"></el-table-column>
|
||||
<el-table-column prop="Name" label="姓名"></el-table-column>
|
||||
<el-table-column prop="id_code" label="身份证号"></el-table-column>
|
||||
<el-table-column prop="Remark" label="实名状态"></el-table-column>
|
||||
<el-table-column prop="is_verify" label="实名状态"></el-table-column>
|
||||
<el-table-column prop="RestAmount" label="测试限额/领用数">
|
||||
<template slot-scope="scope">
|
||||
{{scope.row.TestCountLimit==0?'3':scope.row.TestCountLimit}}/{{scope.row.UseTestCount==0?'--':scope.row.UseTestCount}}
|
||||
@@ -184,11 +184,11 @@ export default {
|
||||
detailAmountData: [],
|
||||
formatterCreateType(row, column, cellValue, index) {
|
||||
switch (cellValue) {
|
||||
case 1:
|
||||
case '1':
|
||||
return "管理员添加";
|
||||
case 2:
|
||||
case '2':
|
||||
return "用户注册";
|
||||
case 3:
|
||||
case '3':
|
||||
return "淘宝注册";
|
||||
}
|
||||
return "";
|
||||
@@ -210,7 +210,7 @@ export default {
|
||||
this.get();
|
||||
},
|
||||
get() {
|
||||
this.$api.get("baseinfo/v1/user/SearchInfo", this.searchModel).then(res => {
|
||||
this.$api.get(this.$api.phpURL + "user/user/getList", this.searchModel).then(res => {
|
||||
this.retData = res;
|
||||
});
|
||||
},
|
||||
@@ -245,7 +245,7 @@ export default {
|
||||
this.$refs[formName].validate(valid => {
|
||||
if (!valid) return;
|
||||
if (this.optype == 1) {
|
||||
this.$api.post("baseinfo/v1/user/post", this.userModel).then(res => {
|
||||
this.$api.post(this.$api.phpURL + "user/user/addUser", this.userModel).then(res => {
|
||||
this.resetForm("inputUserForm");
|
||||
// this.get();
|
||||
});
|
||||
@@ -281,7 +281,7 @@ export default {
|
||||
},
|
||||
updateTestLimit() {
|
||||
this.$api
|
||||
.post("baseinfo/v1/user/UpdateTestCount", this.testLimitModel)
|
||||
.post(this.$api.phpURL + "user/user/testCount", this.testLimitModel)
|
||||
.then(res => {
|
||||
this.resetForm("inputTestForm");
|
||||
this.get();
|
||||
|
||||
Reference in New Issue
Block a user