diff --git a/src/api/system/tool.ts b/src/api/system/tool.ts new file mode 100644 index 0000000..c50a242 --- /dev/null +++ b/src/api/system/tool.ts @@ -0,0 +1,59 @@ +import request from '../index' +const prefix = 'system/' + +// 签名/签章新增 +export function addApi(data: object) { + return request({ + url: `${prefix}sign/add`, + method: 'post', + data, + }) +} +// 签名/签章批量删除 +export function batchDelete(data: { ids: string[] }) { + return request({ + url: `${prefix}sign/batchDelete`, + method: 'post', + data, + }) +} +// 签名/签章删除 +export function deleteApi(data: { id: string }) { + return request({ + url: `${prefix}sign/delete`, + method: 'post', + data, + }) +} +// 签名/签章列表 +export function listApi(data: object) { + return request({ + url: `${prefix}sign/list`, + method: 'post', + data, + }) +} +// 签名/签章导出 +export function exportApi(data: object) { + return request({ + url: `${prefix}sign/listExport`, + method: 'post', + data, + }) +} +// 签名/签章列表/详情(分页) +export function listPageApi(data: object) { + return request({ + url: `${prefix}sign/listPage`, + method: 'post', + data, + }) +} +// 签名/签章更新 +export function updateApi(data: object) { + return request({ + url: `${prefix}sign/update`, + method: 'post', + data, + }) +} diff --git a/src/api/system/tool.ts b/src/api/system/tool.ts new file mode 100644 index 0000000..c50a242 --- /dev/null +++ b/src/api/system/tool.ts @@ -0,0 +1,59 @@ +import request from '../index' +const prefix = 'system/' + +// 签名/签章新增 +export function addApi(data: object) { + return request({ + url: `${prefix}sign/add`, + method: 'post', + data, + }) +} +// 签名/签章批量删除 +export function batchDelete(data: { ids: string[] }) { + return request({ + url: `${prefix}sign/batchDelete`, + method: 'post', + data, + }) +} +// 签名/签章删除 +export function deleteApi(data: { id: string }) { + return request({ + url: `${prefix}sign/delete`, + method: 'post', + data, + }) +} +// 签名/签章列表 +export function listApi(data: object) { + return request({ + url: `${prefix}sign/list`, + method: 'post', + data, + }) +} +// 签名/签章导出 +export function exportApi(data: object) { + return request({ + url: `${prefix}sign/listExport`, + method: 'post', + data, + }) +} +// 签名/签章列表/详情(分页) +export function listPageApi(data: object) { + return request({ + url: `${prefix}sign/listPage`, + method: 'post', + data, + }) +} +// 签名/签章更新 +export function updateApi(data: object) { + return request({ + url: `${prefix}sign/update`, + method: 'post', + data, + }) +} diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index dd1d289..28f5987 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -86,6 +86,14 @@ const detail = (row: noticeType) => { detailDialog.value.initDialog(row) } +// 导出 +const exportExcel = () => { + +} +// 打印 +const print = () => { + +} onMounted(() => { getNoticeList() }) @@ -126,10 +134,10 @@ 新建 - + 导出 - + 打印 diff --git a/src/api/system/tool.ts b/src/api/system/tool.ts new file mode 100644 index 0000000..c50a242 --- /dev/null +++ b/src/api/system/tool.ts @@ -0,0 +1,59 @@ +import request from '../index' +const prefix = 'system/' + +// 签名/签章新增 +export function addApi(data: object) { + return request({ + url: `${prefix}sign/add`, + method: 'post', + data, + }) +} +// 签名/签章批量删除 +export function batchDelete(data: { ids: string[] }) { + return request({ + url: `${prefix}sign/batchDelete`, + method: 'post', + data, + }) +} +// 签名/签章删除 +export function deleteApi(data: { id: string }) { + return request({ + url: `${prefix}sign/delete`, + method: 'post', + data, + }) +} +// 签名/签章列表 +export function listApi(data: object) { + return request({ + url: `${prefix}sign/list`, + method: 'post', + data, + }) +} +// 签名/签章导出 +export function exportApi(data: object) { + return request({ + url: `${prefix}sign/listExport`, + method: 'post', + data, + }) +} +// 签名/签章列表/详情(分页) +export function listPageApi(data: object) { + return request({ + url: `${prefix}sign/listPage`, + method: 'post', + data, + }) +} +// 签名/签章更新 +export function updateApi(data: object) { + return request({ + url: `${prefix}sign/update`, + method: 'post', + data, + }) +} diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index dd1d289..28f5987 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -86,6 +86,14 @@ const detail = (row: noticeType) => { detailDialog.value.initDialog(row) } +// 导出 +const exportExcel = () => { + +} +// 打印 +const print = () => { + +} onMounted(() => { getNoticeList() }) @@ -126,10 +134,10 @@ 新建 - + 导出 - + 打印 diff --git a/src/views/system/tool/autograph/addDDialog.vue b/src/views/system/tool/autograph/addDDialog.vue new file mode 100644 index 0000000..8ed0be5 --- /dev/null +++ b/src/views/system/tool/autograph/addDDialog.vue @@ -0,0 +1,211 @@ + + + + + + diff --git a/src/api/system/tool.ts b/src/api/system/tool.ts new file mode 100644 index 0000000..c50a242 --- /dev/null +++ b/src/api/system/tool.ts @@ -0,0 +1,59 @@ +import request from '../index' +const prefix = 'system/' + +// 签名/签章新增 +export function addApi(data: object) { + return request({ + url: `${prefix}sign/add`, + method: 'post', + data, + }) +} +// 签名/签章批量删除 +export function batchDelete(data: { ids: string[] }) { + return request({ + url: `${prefix}sign/batchDelete`, + method: 'post', + data, + }) +} +// 签名/签章删除 +export function deleteApi(data: { id: string }) { + return request({ + url: `${prefix}sign/delete`, + method: 'post', + data, + }) +} +// 签名/签章列表 +export function listApi(data: object) { + return request({ + url: `${prefix}sign/list`, + method: 'post', + data, + }) +} +// 签名/签章导出 +export function exportApi(data: object) { + return request({ + url: `${prefix}sign/listExport`, + method: 'post', + data, + }) +} +// 签名/签章列表/详情(分页) +export function listPageApi(data: object) { + return request({ + url: `${prefix}sign/listPage`, + method: 'post', + data, + }) +} +// 签名/签章更新 +export function updateApi(data: object) { + return request({ + url: `${prefix}sign/update`, + method: 'post', + data, + }) +} diff --git a/src/views/system/notice/note.list.vue b/src/views/system/notice/note.list.vue index dd1d289..28f5987 100644 --- a/src/views/system/notice/note.list.vue +++ b/src/views/system/notice/note.list.vue @@ -86,6 +86,14 @@ const detail = (row: noticeType) => { detailDialog.value.initDialog(row) } +// 导出 +const exportExcel = () => { + +} +// 打印 +const print = () => { + +} onMounted(() => { getNoticeList() }) @@ -126,10 +134,10 @@ 新建 - + 导出 - + 打印 diff --git a/src/views/system/tool/autograph/addDDialog.vue b/src/views/system/tool/autograph/addDDialog.vue new file mode 100644 index 0000000..8ed0be5 --- /dev/null +++ b/src/views/system/tool/autograph/addDDialog.vue @@ -0,0 +1,211 @@ + + + + + + diff --git a/src/views/system/tool/autograph/autograph.vue b/src/views/system/tool/autograph/autograph.vue index f7b262f..ee76513 100644 --- a/src/views/system/tool/autograph/autograph.vue +++ b/src/views/system/tool/autograph/autograph.vue @@ -1,19 +1,50 @@