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