From cd61741d064092836729f98e5344722a4a9ea759 Mon Sep 17 00:00:00 2001 From: mahyargdz Date: Mon, 30 Dec 2024 16:03:02 +0330 Subject: [PATCH] update: remove dollor from wallet and unit --- components/admin/TheFooter.vue | 8 +- pages/admin/gps/device/index.vue | 26 +- pages/admin/gps/installed-device/index.vue | 38 ++- pages/admin/gps/withdraw/index.vue | 25 +- server/controllers/GPS.Device.js | 26 +- server/controllers/GPS.InstalledDevice.js | 10 +- server/controllers/GPS.Overview.js | 39 ++- server/controllers/GPS.Renewal.js | 246 ++++++++-------- server/controllers/GPS.Withdraw.js | 309 ++++++++++----------- server/models/GPS.Device.js | 72 ++--- server/models/GPS.User.js | 92 +++--- server/models/GPS.Withdraw.js | 61 ++-- static/example.xlsx | Bin 51066 -> 18140 bytes 13 files changed, 462 insertions(+), 490 deletions(-) diff --git a/components/admin/TheFooter.vue b/components/admin/TheFooter.vue index 43167a2..f73948a 100644 --- a/components/admin/TheFooter.vue +++ b/components/admin/TheFooter.vue @@ -2,7 +2,7 @@
Powered by - Negareh Agency + Danak Corp
@@ -12,3 +12,9 @@ export default { name: 'TheFooter' } + + diff --git a/pages/admin/gps/device/index.vue b/pages/admin/gps/device/index.vue index 5deca4f..19ccc05 100644 --- a/pages/admin/gps/device/index.vue +++ b/pages/admin/gps/device/index.vue @@ -2,9 +2,7 @@
دستگاه ها - خروجی اکسل + خروجی اکسل @@ -19,13 +17,14 @@ افزودن -

دستور عمل

+

دستور عمل

- برای اضافه کردن دستگاه جدید فقط کافی است فایل نمونه رو دانلود کنید و به ترتیب مقادیر رو وارد کنید . -
- برای به روزرسانی یک دستگاه به صورت تکی یا عمده داخل فایل نمونه IMEI را قرار داده و مقادیر جدید آن را ثبت کنید و آپلود کنید -

+ برای اضافه کردن دستگاه جدید فقط کافی است فایل نمونه رو دانلود کنید و به ترتیب مقادیر رو وارد کنید . +
+ برای به روزرسانی یک دستگاه به صورت تکی یا عمده داخل فایل نمونه IMEI را قرار داده و مقادیر جدید آن را + ثبت کنید و آپلود کنید +

دستگاه ها - @@ -83,7 +81,7 @@ - + @@ -166,11 +164,9 @@ export default { else console.log(err) }) }, - async download(){ - const x = await this.$axios - .get('/api/admin/gps/device/exel') - FileDownload(x.data, 'device.csv'); - + async download() { + const x = await this.$axios.get('/api/admin/gps/device/exel') + FileDownload(x.data, 'device.csv') } } } diff --git a/pages/admin/gps/installed-device/index.vue b/pages/admin/gps/installed-device/index.vue index 94e0a0e..edb1882 100644 --- a/pages/admin/gps/installed-device/index.vue +++ b/pages/admin/gps/installed-device/index.vue @@ -24,10 +24,7 @@ رد شده - تایید شده - +