diff --git a/.env.dev-local b/.env.dev-local
index 82069dd..a98aee8 100644
--- a/.env.dev-local
+++ b/.env.dev-local
@@ -9,7 +9,7 @@ ENV = 'local'
# ADMIN 服务地址
-VITE_ADMIN_PROXY_PATH = http://localhost:9999/
+VITE_ADMIN_PROXY_PATH = http://localhost:9999
# 图片访问基础地址
diff --git a/package.json b/package.json
index 42327a2..8b784df 100644
--- a/package.json
+++ b/package.json
@@ -119,4 +119,4 @@
"type": "git",
"url": "https://gitee.com/log4j/pig"
}
-}
+}
\ No newline at end of file
diff --git a/src/api/act/act-coupon-record.ts b/src/api/act/act-coupon-record.ts
new file mode 100644
index 0000000..6001194
--- /dev/null
+++ b/src/api/act/act-coupon-record.ts
@@ -0,0 +1,40 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: "/wallet/act-coupon-record/page",
+ method: "get",
+ params: query,
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: "/wallet/act-coupon-record",
+ method: "post",
+ data: obj,
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: "/wallet/act-coupon-record/" + id,
+ method: "get",
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: "/wallet/act-coupon-record",
+ method: "delete",
+ data: ids,
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: "/wallet/act-coupon-record",
+ method: "put",
+ data: obj,
+ })
+}
diff --git a/src/api/act/act-coupon.ts b/src/api/act/act-coupon.ts
new file mode 100644
index 0000000..6b76ccf
--- /dev/null
+++ b/src/api/act/act-coupon.ts
@@ -0,0 +1,40 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: "/wallet/act-coupon/page",
+ method: "get",
+ params: query,
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: "/wallet/act-coupon",
+ method: "post",
+ data: obj,
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: "/wallet/act-coupon/" + id,
+ method: "get",
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: "/wallet/act-coupon",
+ method: "delete",
+ data: ids,
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: "/wallet/act-coupon",
+ method: "put",
+ data: obj,
+ })
+}
diff --git a/src/api/hard/hard-third-mi-order.ts b/src/api/hard/hard-third-mi-order.ts
index 21a10f5..cbc1c75 100644
--- a/src/api/hard/hard-third-mi-order.ts
+++ b/src/api/hard/hard-third-mi-order.ts
@@ -1,5 +1,13 @@
import request from "/@/utils/request"
+export function refundOrder(params: any) {
+ return request({
+ url: "/hard/hard-third-mi-order/refund",
+ method: "get",
+ params,
+ })
+}
+
export function refreshOrder(params: any) {
return request({
url: "/hard/hard-third-mi-order/refresh",
diff --git a/src/api/hard/hard-total.ts b/src/api/hard/hard-total.ts
index d220d72..0f0cef4 100644
--- a/src/api/hard/hard-total.ts
+++ b/src/api/hard/hard-total.ts
@@ -27,7 +27,7 @@ export function productTotalByDept(query: any) {
}
/**
- * 食堂统计
+ * 食堂统计(按天)
*/
export function canteenProudctTotal(query: any) {
return request({
@@ -41,6 +41,21 @@ export function canteenProudctTotal(query: any) {
})
}
+/**
+ * 食堂统计(按月)
+ */
+export function canteenProudctTotalByMonth(query: any) {
+ return request({
+ url: "/hard/hard-canteen-total-log/proudct-total-by-month",
+ method: "post",
+ params: {
+ current: query.current,
+ size: query.size,
+ },
+ data: query,
+ })
+}
+
/**
* 食堂统计
*/
@@ -99,3 +114,15 @@ export function pageListCs(query?: any) {
data: query,
})
}
+
+export function pageListCsByMonth(query?: any) {
+ return request({
+ url: "/hard/hard-total/page-list-cs-by-month",
+ method: "post",
+ params: {
+ current: query.current,
+ size: query.size,
+ },
+ data: query,
+ })
+}
diff --git a/src/api/integrated/app-version.ts b/src/api/integrated/app-version.ts
new file mode 100644
index 0000000..10d4b21
--- /dev/null
+++ b/src/api/integrated/app-version.ts
@@ -0,0 +1,40 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: "/integrated/app-version/page",
+ method: "get",
+ params: query,
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: "/integrated/app-version",
+ method: "post",
+ data: obj,
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: "/integrated/app-version/" + id,
+ method: "get",
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: "/integrated/app-version",
+ method: "delete",
+ data: ids,
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: "/integrated/app-version",
+ method: "put",
+ data: obj,
+ })
+}
diff --git a/src/components/Material/index.vue b/src/components/Material/index.vue
index 3c17c75..4d381da 100644
--- a/src/components/Material/index.vue
+++ b/src/components/Material/index.vue
@@ -4,35 +4,20 @@
-
+
-

+
- {{ data.name }}
-
+ {{ data.name }}
+
···
-
+
{{ $t('material.editGroup') }}
@@ -59,8 +44,9 @@
-
{{ $t('material.uploadFileTip') }}
+ {{
+ $t('material.uploadFileTip') }}
@@ -68,7 +54,7 @@
+ :title="$t('material.moveBtn')">
{{ $t('material.moveBtn') }}
@@ -84,12 +70,12 @@
+ @keyup.enter="refresh">
-
+
@@ -97,28 +83,20 @@
-
+
-
+
-
+
-
+
@@ -126,7 +104,7 @@
+ :indeterminate="isIndeterminate">
{{ $t('material.allCheck') }}
@@ -138,7 +116,7 @@
-
+
@@ -147,15 +125,8 @@
{{ item.original }}
-
+
{{ $t('material.rename') }}
{{ $t('material.download') }}
@@ -165,19 +136,11 @@
-
+
-
+
@@ -192,19 +155,12 @@
-
+
@@ -219,12 +175,12 @@
{{
- $t('el.transfer.noData')
+ $t('el.transfer.noData')
}}~
@@ -249,35 +205,31 @@
-
+
+ :fileType="['png', 'jpg', 'jpeg']" />
+ :fileType="['mp4']" />
-
+
diff --git a/src/views/act/act-coupon/form.vue b/src/views/act/act-coupon/form.vue
new file mode 100644
index 0000000..495f183
--- /dev/null
+++ b/src/views/act/act-coupon/form.vue
@@ -0,0 +1,251 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.type == '2' ? '%' : '元' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 限领
+
+
+
+
+
+
+
+
+
+ 次
+
+
+
+
+
+ 有效期
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 天
+
+
+
+
+
+ 使用范围
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 营销相关
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/act/act-coupon/index.vue b/src/views/act/act-coupon/index.vue
new file mode 100644
index 0000000..37f1422
--- /dev/null
+++ b/src/views/act/act-coupon/index.vue
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ Number(row.faceValue) }}%
+ ¥{{ formatFenToYuan(row.faceValue) }}
+
+
+
+ {{ row.minPoint === '0' || row.minPoint === 0 ? '无门槛' : '满¥' +
+ formatFenToYuan(row.minPoint) }}
+
+
+ {{ Number(row.totalCount) === -1 ? '不限量' : row.totalCount }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 领取后{{ row.validDays }}天
+
+ {{ formatDate(row.validStartTime, "YYYY-mm-dd HH:MM:SS") }}
+ 至
+ {{ formatDate(row.validEndTime, "YYYY-mm-dd HH:MM:SS") }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/admin/file/index.vue b/src/views/admin/file/index.vue
index cff12f3..d949a5d 100644
--- a/src/views/admin/file/index.vue
+++ b/src/views/admin/file/index.vue
@@ -3,7 +3,8 @@
-
+
@@ -37,13 +38,16 @@ const activeTab = ref('image');
\ No newline at end of file
diff --git a/src/views/integrated/app-version/form.vue b/src/views/integrated/app-version/form.vue
new file mode 100644
index 0000000..8e09cb8
--- /dev/null
+++ b/src/views/integrated/app-version/form.vue
@@ -0,0 +1,173 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/integrated/app-version/index.vue b/src/views/integrated/app-version/index.vue
new file mode 100644
index 0000000..69e68f8
--- /dev/null
+++ b/src/views/integrated/app-version/index.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 打开
+
+ 复制
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wallet/wallet-recharge-apply/index.vue b/src/views/wallet/wallet-recharge-apply/index.vue
index df4a816..a661370 100644
--- a/src/views/wallet/wallet-recharge-apply/index.vue
+++ b/src/views/wallet/wallet-recharge-apply/index.vue
@@ -209,7 +209,7 @@ const state: BasicTableProps = reactive({
})
// table hook
-const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state)
+const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, postDownBlobFile, tableStyle } = useTable(state)
// 清空搜索条件
const resetQuery = () => {
@@ -222,7 +222,7 @@ const resetQuery = () => {
// 导出excel
const exportExcel = () => {
- downBlobFile("/wallet/walletRechargeApply/export", Object.assign(state.queryForm, { ids: selectObjs }), "充值/扣款申请.xlsx")
+ postDownBlobFile("/wallet/wallet-recharge-apply/export", Object.assign(state.queryForm, { ids: selectObjs }), "充值/扣款申请.xlsx")
}
const doApply = async (row: any) => {
diff --git a/src/views/wallet/wallet-recharge-invoice/index.vue b/src/views/wallet/wallet-recharge-invoice/index.vue
index bfccbc0..4775841 100644
--- a/src/views/wallet/wallet-recharge-invoice/index.vue
+++ b/src/views/wallet/wallet-recharge-invoice/index.vue
@@ -13,6 +13,9 @@
+
+
+
@@ -58,6 +61,7 @@
{{ parseTime(row.time, "{y}-{m}-{d}") }}
+
diff --git a/src/views/wallet/wallet-recharge-water/index.vue b/src/views/wallet/wallet-recharge-water/index.vue
index e026946..19c9ab0 100644
--- a/src/views/wallet/wallet-recharge-water/index.vue
+++ b/src/views/wallet/wallet-recharge-water/index.vue
@@ -1,16 +1,9 @@
-
+
@@ -24,47 +17,38 @@
-
+
-
+
- {{ $t("common.queryBtn") }}
+ {{ $t("common.queryBtn")
+ }}
{{ $t("common.resetBtn") }}
-
+
-
+
-
+
{{ row.username }}
{{ row.userMobile }}
{{ row.userDeptName }}
@@ -106,19 +90,15 @@
-
+
恢复
-
+