diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawal.api.ts b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawal.api.ts deleted file mode 100644 index ef65a96..0000000 --- a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawal.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/appletWithdrawal/appletWithdrawal/list', - save='/appletWithdrawal/appletWithdrawal/add', - edit='/appletWithdrawal/appletWithdrawal/edit', - deleteOne = '/appletWithdrawal/appletWithdrawal/delete', - deleteBatch = '/appletWithdrawal/appletWithdrawal/deleteBatch', - importExcel = '/appletWithdrawal/appletWithdrawal/importExcel', - exportXls = '/appletWithdrawal/appletWithdrawal/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawal.data.ts b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawal.data.ts deleted file mode 100644 index 5025cf4..0000000 --- a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawal.data.ts +++ /dev/null @@ -1,142 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import { rules} from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '用户id', - align:"center", - dataIndex: 'userId_dictText' - }, - { - title: '申请人', - align:"center", - dataIndex: 'name' - }, - { - title: '提现金额', - align:"center", - dataIndex: 'money' - }, - { - title: '提现方式', - align:"center", - dataIndex: 'method_dictText' - }, - { - title: '凭证上传', - align:"center", - dataIndex: 'upload', - customRender:({text}) => { - return render.renderSwitch(text, [{text:'是',value:'Y'},{text:'否',value:'N'}]) - }, - }, - { - title: '审核状态', - align:"center", - dataIndex: 'status_dictText' - }, - { - title: '提现状态', - align:"center", - dataIndex: 'withdrawStatus_dictText' - }, - { - title: '流水号', - align:"center", - dataIndex: 'waterId_dictText' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '用户id', - field: 'userId', - component: 'JSearchSelect', - componentProps:{ - dict:"applet_user,name,id" - }, - }, - { - label: '申请人', - field: 'name', - component: 'Input', - }, - { - label: '提现金额', - field: 'money', - component: 'InputNumber', - }, - { - label: '提现方式', - field: 'method', - component: 'JDictSelectTag', - componentProps:{ - dictCode:"applett_translate_type" - }, - }, - { - label: '凭证上传', - field: 'upload', - component: 'JSwitch', - componentProps:{ - }, - }, - { - label: '审核状态', - field: 'status', - component: 'JDictSelectTag', - componentProps:{ - dictCode:"applett_money_type" - }, - }, - { - label: '提现状态', - field: 'withdrawStatus', - component: 'JDictSelectTag', - componentProps:{ - dictCode:"applet_withdraw_type" - }, - }, - { - label: '流水号', - field: 'waterId', - component: 'JSearchSelect', - componentProps:{ - dict:"applet_water,number,id" - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - userId: {title: '用户id',order: 0,view: 'sel_search', type: 'string',dictTable: "applet_user", dictCode: 'id', dictText: 'name',}, - name: {title: '申请人',order: 1,view: 'text', type: 'string',}, - money: {title: '提现金额',order: 2,view: 'number', type: 'number',}, - method: {title: '提现方式',order: 3,view: 'list', type: 'string',dictCode: 'applett_translate_type',}, - upload: {title: '凭证上传',order: 4,view: 'switch', type: 'string',}, - status: {title: '审核状态',order: 5,view: 'list', type: 'string',dictCode: 'applett_money_type',}, - withdrawStatus: {title: '提现状态',order: 6,view: 'list', type: 'string',dictCode: 'applet_withdraw_type',}, - waterId: {title: '流水号',order: 7,view: 'sel_search', type: 'string',dictTable: "applet_water", dictCode: 'id', dictText: 'number',}, -}; - -/** -* 流程表单调用这个方法获取formSchema -* @param param -*/ -export function getBpmFormSchema(_formData): FormSchema[]{ - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawalList.vue b/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawalList.vue deleted file mode 100644 index 2d0e503..0000000 --- a/jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/demo/appletWithdrawal/vue3/AppletWithdrawalList.vue +++ /dev/null @@ -1,206 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jeecgboot-vue3/src/views/applet/course-page/components/WordTable.vue b/jeecgboot-vue3/src/views/applet/course-page/components/WordTable.vue index a1456ea..171b1ed 100644 --- a/jeecgboot-vue3/src/views/applet/course-page/components/WordTable.vue +++ b/jeecgboot-vue3/src/views/applet/course-page/components/WordTable.vue @@ -120,7 +120,7 @@