diff --git a/package.json b/package.json index 2cf30fb6..34b33f53 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,6 @@ "nprogress": "^0.2.0", "pinia": "^2.1.6", "qrcode": "^1.5.3", - "qrcode.vue": "^3.4.0", "qs": "^6.11.2", "steady-xml": "^0.1.0", "url": "^0.11.1", @@ -72,9 +71,9 @@ "xml-js": "^1.6.11" }, "devDependencies": { - "@commitlint/cli": "^17.6.7", - "@commitlint/config-conventional": "^17.6.7", - "@iconify/json": "^2.2.98", + "@commitlint/cli": "^17.7.1", + "@commitlint/config-conventional": "^17.7.0", + "@iconify/json": "^2.2.100", "@intlify/unplugin-vue-i18n": "^0.12.2", "@purge-icons/generated": "^0.9.0", "@types/intro.js": "^5.1.1", @@ -83,30 +82,30 @@ "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.5.1", "@types/qs": "^6.9.7", - "@typescript-eslint/eslint-plugin": "^6.2.1", - "@typescript-eslint/parser": "^6.2.1", - "@unocss/transformer-variant-group": "^0.54.1", + "@typescript-eslint/eslint-plugin": "^6.3.0", + "@typescript-eslint/parser": "^6.3.0", + "@unocss/transformer-variant-group": "^0.55.0", "@vitejs/plugin-legacy": "^4.1.1", "@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue-jsx": "^3.0.1", - "@vue-macros/volar": "^0.13.2", + "@vue-macros/volar": "^0.13.3", "autoprefixer": "^10.4.14", "bpmn-js": "^8.9.0", "bpmn-js-properties-panel": "^0.46.0", "consola": "^3.2.3", - "eslint": "^8.46.0", - "eslint-config-prettier": "^8.10.0", - "eslint-define-config": "^1.22.0", + "eslint": "^8.47.0", + "eslint-config-prettier": "^9.0.0", + "eslint-define-config": "^1.23.0", "eslint-plugin-prettier": "^5.0.0", - "eslint-plugin-vue": "^9.16.1", + "eslint-plugin-vue": "^9.17.0", "lint-staged": "^13.2.3", "postcss": "^8.4.27", "postcss-html": "^1.5.0", "postcss-scss": "^4.0.6", "prettier": "^3.0.1", "rimraf": "^5.0.1", - "rollup": "^3.27.2", - "sass": "^1.64.2", + "rollup": "^3.28.0", + "sass": "^1.65.1", "stylelint": "^15.10.2", "stylelint-config-html": "^1.1.0", "stylelint-config-recommended": "^13.0.0", @@ -114,11 +113,11 @@ "stylelint-order": "^6.0.3", "terser": "^5.19.2", "typescript": "5.1.6", - "unocss": "^0.54.1", + "unocss": "^0.55.0", "unplugin-auto-import": "^0.16.6", "unplugin-element-plus": "^0.8.0", "unplugin-vue-components": "^0.25.1", - "vite": "4.4.8", + "vite": "4.4.9", "vite-plugin-compression": "^0.5.1", "vite-plugin-ejs": "^1.6.4", "vite-plugin-eslint": "^1.8.1", diff --git a/src/api/member/user/index.ts b/src/api/member/user/index.ts new file mode 100644 index 00000000..fbeaba93 --- /dev/null +++ b/src/api/member/user/index.ts @@ -0,0 +1,34 @@ +import request from '@/config/axios' + +export interface UserVO { + id: number + mobile: string + password: string + status: number + registerIp: string + loginIp: string + loginDate: Date + nickname: string + avatar: string + name: string + sex: number + areaId: number + birthday: Date + mark: string + createTime: Date +} + +// 查询会员用户列表 +export const getUserPage = async (params) => { + return await request.get({ url: `/member/user/page`, params }) +} + +// 查询会员用户详情 +export const getUser = async (id: number) => { + return await request.get({ url: `/member/user/get?id=` + id }) +} + +// 修改会员用户 +export const updateUser = async (data: UserVO) => { + return await request.put({ url: `/member/user/update`, data }) +} diff --git a/src/utils/dict.ts b/src/utils/dict.ts index d11d1d33..6ca48716 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -131,12 +131,8 @@ export enum DICT_TYPE { // ========== PAY 模块 ========== PAY_CHANNEL_CODE = 'pay_channel_code', // 支付渠道编码类型 - PAY_CHANNEL_CODE_TYPE = 'pay_channel_code_type', // 支付渠道编码类型 PAY_ORDER_STATUS = 'pay_order_status', // 商户支付订单状态 - PAY_ORDER_REFUND_STATUS = 'pay_order_refund_status', // 商户支付订单退款状态 - PAY_REFUND_ORDER_STATUS = 'pay_refund_order_status', // 退款订单状态 - PAY_REFUND_ORDER_TYPE = 'pay_refund_order_type', // 退款订单类别 - + PAY_REFUND_STATUS = 'pay_refund_status', // 退款订单状态 PAY_NOTIFY_STATUS = 'pay_notify_status', // 商户支付回调状态 PAY_NOTIFY_TYPE = 'pay_notify_type', // 商户支付回调状态 diff --git a/src/views/member/user/UserForm.vue b/src/views/member/user/UserForm.vue new file mode 100644 index 00000000..a6d02582 --- /dev/null +++ b/src/views/member/user/UserForm.vue @@ -0,0 +1,170 @@ + + diff --git a/src/views/member/user/index.vue b/src/views/member/user/index.vue new file mode 100644 index 00000000..925eca04 --- /dev/null +++ b/src/views/member/user/index.vue @@ -0,0 +1,176 @@ + + diff --git a/src/views/pay/app/index.vue b/src/views/pay/app/index.vue index e1c3ce31..c949637b 100644 --- a/src/views/pay/app/index.vue +++ b/src/views/pay/app/index.vue @@ -244,7 +244,7 @@ @@ -326,7 +326,6 @@ const queryParams = reactive({ createTime: [] }) const queryFormRef = ref() // 搜索的表单 -const exportLoading = ref(false) // 导出的加载中 /** 查询列表 */ const getList = async () => { diff --git a/src/views/pay/cashier/index.vue b/src/views/pay/cashier/index.vue index c55656bd..12723dba 100644 --- a/src/views/pay/cashier/index.vue +++ b/src/views/pay/cashier/index.vue @@ -68,7 +68,7 @@ append-to-body :close-on-press-escape="false" > - + @@ -115,7 +115,7 @@ - diff --git a/src/views/pay/refund/index.vue b/src/views/pay/refund/index.vue index 58e67bad..eaa17b4c 100644 --- a/src/views/pay/refund/index.vue +++ b/src/views/pay/refund/index.vue @@ -10,21 +10,6 @@ :inline="true" label-width="120px" > - - - - - - + - - - - - - + + + + + + + + + + - - - - - - 搜索 - 重置 + 搜索 + 重置 + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +