Browse Source

退款的

Hongxilin
donghaolin 5 months ago
parent
commit
64e49daf8b
  1. 41
      vue/gold-system/src/views/audit/refundAudit.vue

41
vue/gold-system/src/views/audit/refundAudit.vue

@ -228,27 +228,24 @@ const getProduct = async function () {
//
}
};
// //
// const getArea = async function () {
// try {
// // POST
// const result = await API.post(
// "http://192.168.8.93:10010/recharge/recharge",
// {}
// );
// //
// console.log("", result);
// //
// allData.value = result.data;
// console.log("allData", allData.value);
// //
// area.value = [...new Set(allData.value.map((item) => item.area))];
// console.log("", area.value);
// } catch (error) {
// console.log("", error);
// //
// }
// };
//
const getArea = async function () {
try {
// POST
const result = await API.post(
"http://192.168.8.93:10010/recharge/user/search",
{}
);
//
console.log("请求成功", result);
//
area.value = result.data;
console.log("allData", allData.value);
} catch (error) {
console.log("请求失败", error);
//
}
};
//
const checkNumber = function () {
if (typeof parseInt(getObj.value.pageNum) === "number") {
@ -380,7 +377,7 @@ const rules = reactive({
onMounted(async function () {
await get();
getProduct();
// await getArea();
await getArea();
});
</script>

Loading…
Cancel
Save