From 9623fb9a875d5678c6f47a01cf67ab4d92713739 Mon Sep 17 00:00:00 2001
From: zk <2762560464@qq.com>
Date: Wed, 20 Sep 2023 14:01:02 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E6=A1=A3=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ea/electronicContracts.js | 54 +++
src/views/ea/electronicContracts/index.vue | 449 +++++++++++++++++++++
2 files changed, 503 insertions(+)
create mode 100644 src/api/ea/electronicContracts.js
create mode 100644 src/views/ea/electronicContracts/index.vue
diff --git a/src/api/ea/electronicContracts.js b/src/api/ea/electronicContracts.js
new file mode 100644
index 00000000..05340d8e
--- /dev/null
+++ b/src/api/ea/electronicContracts.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建合同档案
+export function createElectronicContracts(data) {
+ return request({
+ url: '/ea/electronic-contracts/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新合同档案
+export function updateElectronicContracts(data) {
+ return request({
+ url: '/ea/electronic-contracts/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除合同档案
+export function deleteElectronicContracts(id) {
+ return request({
+ url: '/ea/electronic-contracts/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得合同档案
+export function getElectronicContracts(id) {
+ return request({
+ url: '/ea/electronic-contracts/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得合同档案分页
+export function getElectronicContractsPage(query) {
+ return request({
+ url: '/ea/electronic-contracts/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出合同档案 Excel
+export function exportElectronicContractsExcel(query) {
+ return request({
+ url: '/ea/electronic-contracts/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/views/ea/electronicContracts/index.vue b/src/views/ea/electronicContracts/index.vue
new file mode 100644
index 00000000..8a2202de
--- /dev/null
+++ b/src/views/ea/electronicContracts/index.vue
@@ -0,0 +1,449 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+