公开退款导出
This commit is contained in:
@@ -89,7 +89,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
dataExport () {
|
dataExport () {
|
||||||
this.$api.getDownloadFile('/course/v1/order/OpenExportRefundOrders', this.searchModel)
|
this.$api.getDownloadFile(this.$api.phpURL + 'order/OpenRefund/export', this.searchModel, '退款.csv')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
<div v-loading="loading">
|
<div v-loading="loading">
|
||||||
<div class="heior_box">
|
<div class="heior_box">
|
||||||
<el-button size="small" type="primary" icon="el-icon-plus" @click="add">添加会员</el-button>
|
<el-button size="small" type="primary" icon="el-icon-plus" @click="add">添加会员</el-button>
|
||||||
<el-button size="small" type="primary" icon="el-icon-sold-out" @click="dataExport" v-if="$local.isRoot()">导出</el-button>
|
|
||||||
<div class="search-box">
|
<div class="search-box">
|
||||||
<el-input v-model="searchModel.keyWord" placeholder="请输入会员号/名称" clearable size="small">
|
<el-input v-model="searchModel.keyWord" placeholder="请输入会员号/名称" clearable size="small">
|
||||||
<el-button slot="append" icon="el-icon-search" @click="search"></el-button>
|
<el-button slot="append" icon="el-icon-search" @click="search"></el-button>
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
<el-table-column prop="ManagerName" label="客户经理"></el-table-column>
|
<el-table-column prop="ManagerName" 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 label="操作" width="400px">
|
<el-table-column label="操作" width="400px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
|
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
|
||||||
@@ -199,11 +198,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 "";
|
||||||
@@ -230,7 +229,7 @@ export default {
|
|||||||
this.get();
|
this.get();
|
||||||
},
|
},
|
||||||
get() {
|
get() {
|
||||||
this.$api.get("baseinfo/v1/user/page", this.searchModel).then(res => {
|
this.$api.get(this.$api.phpURL + "user/user/getList", this.searchModel).then(res => {
|
||||||
this.retData = res;
|
this.retData = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -266,7 +265,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();
|
||||||
});
|
});
|
||||||
@@ -302,7 +301,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