From b7386df49b24c0642e7e7ffdbf8d79fd7d7125e5 Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 29 Oct 2024 17:20:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E6=96=B0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InnovationVoucher.api.ts | 26 ++ .../InnovationVoucherList2.vue | 296 ++++++++++++++++ .../InnovationVoucherList3.vue | 328 ++++++++++++++++++ .../components/InnovationVoucherForm2.vue | 179 ++++++++++ .../components/InnovationVoucherModal2.vue | 77 ++++ 5 files changed, 906 insertions(+) create mode 100644 jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList2.vue create mode 100644 jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList3.vue create mode 100644 jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherForm2.vue create mode 100644 jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherModal2.vue diff --git a/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucher.api.ts b/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucher.api.ts index f1a9229..8fde77e 100644 --- a/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucher.api.ts +++ b/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucher.api.ts @@ -6,14 +6,19 @@ const { createConfirm } = useMessage(); enum Api { list = '/innovationvoucher/innovationVoucher/list', list1 = '/innovationvoucher/innovationVoucher/list1', + list2 = '/innovationvoucher/innovationVoucher/list2', + list3 = '/innovationvoucher/innovationVoucher/list3', save='/innovationvoucher/innovationVoucher/add', edit='/innovationvoucher/innovationVoucher/edit', edit1='/innovationvoucher/innovationVoucher/edit1', + edit2='/innovationvoucher/innovationVoucher/edit2', deleteOne = '/innovationvoucher/innovationVoucher/delete', deleteBatch = '/innovationvoucher/innovationVoucher/deleteBatch', importExcel = '/innovationvoucher/innovationVoucher/importExcel', exportXls = '/innovationvoucher/innovationVoucher/exportXls', tjsh = '/innovationvoucher/innovationVoucher/tjsh', + tysy = '/innovationvoucher/innovationVoucher/tysy', + jjsy = '/innovationvoucher/innovationVoucher/jjsy', shtg = '/innovationvoucher/innovationVoucher/shtg', } export const tjsh = (params,handleSuccess) => { @@ -22,11 +27,28 @@ export const tjsh = (params,handleSuccess) => { }); } +export const tysy = (params,handleSuccess) => { + return defHttp.get({url: Api.tysy, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +export const jjsy = (params,handleSuccess) => { + return defHttp.get({url: Api.jjsy, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + export const saveOrUpdate1 = (params, isUpdate) => { let url = isUpdate ? Api.edit1 : Api.save; return defHttp.post({ url: url, params }, { isTransformResponse: false }); } +export const saveOrUpdate2 = (params, isUpdate) => { + let url = isUpdate ? Api.edit2 : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} + /** * 导出api @@ -47,6 +69,10 @@ export const list = (params) => defHttp.get({ url: Api.list, params }); export const list1 = (params) => defHttp.get({ url: Api.list1, params }); +export const list2 = (params) => defHttp.get({ url: Api.list2, params }); + +export const list3 = (params) => defHttp.get({ url: Api.list3, params }); + export const shtg = (params,handleSuccess) => { return defHttp.get({url: Api.shtg, params}, {joinParamsToUrl: true}).then(() => { handleSuccess(); diff --git a/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList2.vue b/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList2.vue new file mode 100644 index 0000000..3d25294 --- /dev/null +++ b/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList2.vue @@ -0,0 +1,296 @@ + + + + + diff --git a/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList3.vue b/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList3.vue new file mode 100644 index 0000000..e228117 --- /dev/null +++ b/jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList3.vue @@ -0,0 +1,328 @@ + + + + + diff --git a/jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherForm2.vue b/jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherForm2.vue new file mode 100644 index 0000000..99303a7 --- /dev/null +++ b/jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherForm2.vue @@ -0,0 +1,179 @@ + + + + + diff --git a/jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherModal2.vue b/jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherModal2.vue new file mode 100644 index 0000000..f8191ed --- /dev/null +++ b/jeecgboot-vue3/src/views/innovationvoucher/components/InnovationVoucherModal2.vue @@ -0,0 +1,77 @@ + + + + + +