From 8d98349f969724ae04a99a29421b88d3454c565f Mon Sep 17 00:00:00 2001
From: shengchanzhe <179998674@qq.com>
Date: Sun, 23 Jul 2023 18:02:22 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/company.ts | 23 +-
src/views/company/edit.vue | 1537 ++++++++++++-------------
src/views/company/index.vue | 56 +-
src/views/company/subordinate.vue | 18 +-
src/views/permission/admin/edit.vue | 1555 +++++++++++++-------------
src/views/permission/admin/index.vue | 541 +++++----
6 files changed, 1834 insertions(+), 1896 deletions(-)
diff --git a/src/api/company.ts b/src/api/company.ts
index 74fbeaa..a3c7786 100644
--- a/src/api/company.ts
+++ b/src/api/company.ts
@@ -1,39 +1,42 @@
-import request from "@/utils/request";
+import request from '@/utils/request'
// 公司列表
export function apiCompanyLists(params: any) {
- return request.get({ url: "/company/lists", params });
+ return request.get({ url: '/company/lists', params })
}
// 添加公司
export function apiCompanyAdd(params: any) {
- return request.post({ url: "/company/add", params });
+ return request.post({ url: '/company/add', params })
}
// 编辑公司
export function apiCompanyEdit(params: any) {
- return request.post({ url: "/company/edit", params });
+ return request.post({ url: '/company/edit', params })
}
// 删除公司
export function apiCompanyDelete(params: any) {
- return request.post({ url: "/company/delete", params });
+ return request.post({ url: '/company/delete', params })
}
// 公司详情
export function apiCompanyDetail(params: any) {
- return request.get({ url: "/company/detail", params });
+ return request.get({ url: '/company/detail', params })
}
// 下属公司详情
export function apiSubordinateList(params: any) {
- return request.get({ url: "/company/subordinate", params });
+ return request.get({ url: '/company/subordinate', params })
+}
+export function sendMsgApi(params: any) {
+ return request.get({ url: '/company/postsms', params })
}
// 生成合同
export function generateGontract(params: any) {
- return request.get({ url: "/company/Draftingcontracts", params });
+ return request.get({ url: '/company/Draftingcontracts', params })
}
// 发送短信
-export function sendMsgApi(params: any) {
- return request.get({ url: "/company/postsms", params });
+export function authentication(params: any) {
+ return request.get({ url: '/company/authentication', params })
}
diff --git a/src/views/company/edit.vue b/src/views/company/edit.vue
index 48f2265..dabb0cb 100644
--- a/src/views/company/edit.vue
+++ b/src/views/company/edit.vue
@@ -1,883 +1,822 @@
-
diff --git a/src/views/company/index.vue b/src/views/company/index.vue
index 224108f..57de25c 100644
--- a/src/views/company/index.vue
+++ b/src/views/company/index.vue
@@ -83,15 +83,19 @@
-
+
-
-
+
+
+ {{ row.is_contract == 1 ? '已签约' : '未签约' }}
+
+
@@ -150,19 +154,29 @@
>删除
生成合同
- 发送短信企业认证
+
+ 生成合同
+ 发送短信
+
@@ -194,13 +208,20 @@
diff --git a/src/views/company/subordinate.vue b/src/views/company/subordinate.vue
index 77a03f2..deb77a7 100644
--- a/src/views/company/subordinate.vue
+++ b/src/views/company/subordinate.vue
@@ -4,14 +4,22 @@
-
+
-
-
+
+
-
-
+
+
+
+ {{ row.is_contract == 1 ? '已签约' : '未签约' }}
+
+
diff --git a/src/views/permission/admin/edit.vue b/src/views/permission/admin/edit.vue
index ff35bd0..3315216 100644
--- a/src/views/permission/admin/edit.vue
+++ b/src/views/permission/admin/edit.vue
@@ -1,851 +1,836 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 资质信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/permission/admin/index.vue b/src/views/permission/admin/index.vue
index 4cf2429..17d50c7 100644
--- a/src/views/permission/admin/index.vue
+++ b/src/views/permission/admin/index.vue
@@ -1,323 +1,300 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
- >
-
-
-
-
-
-
-
-
-
- {{ row.company.company_name || "/" }}
-
-
-
-
-
-
- {{ row.contract_id == 0 ? "未签约" : "已签约" }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+ >
+
+
+
+
+
+
+
+
+
+ {{ row.company.company_name || '/' }}
+
+
+
+
+
+
+ {{ row.is_contract == 1 ? '已签约' : '未签约' }}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
查看
+
+
+ 查看
+ 编辑
+ 删除
+
+ 生成个人合同
+ 发送短信
+
+
+
+
+
+
+
+
+
+
+ 重要提醒
+
+ 请确认信息是否有误,发送合同,请确认信息是否有误,发送电子合同后短时间内将不可再次发送.
+
+
+ 确认签约短信将在60秒后发送,请注意查收,并点击短信链接进行线上合同签约
+
+
-
-
-
-
-
-
-
-
- 重要提醒
-
- 请确认信息是否有误,发送合同,请确认信息是否有误,发送电子合同后短时间内将不可再次发送.
-
-
- 确认签约短信将在60秒后发送,请注意查收,并点击短信链接进行线上合同签约
-
-
-
-
+ 确认
+ 返回
+
+
+
From 5e907096919057fd82225ea63f86f124b4f2627d Mon Sep 17 00:00:00 2001
From: shengchanzhe <179998674@qq.com>
Date: Sun, 23 Jul 2023 23:17:46 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/company/dialog_index.vue | 4 +-
src/views/company/edit.vue | 11 +-
src/views/company/index.vue | 3 +-
src/views/company/subordinate.vue | 3 +-
src/views/contract/contractDetil.vue | 162 ++++++++++++++++----------
src/views/contract/edit.vue | 129 +++++++++++----------
src/views/contract/index.vue | 167 ++++++++++++++++-----------
src/views/permission/admin/edit.vue | 36 +++---
src/views/permission/admin/index.vue | 21 ++--
9 files changed, 316 insertions(+), 220 deletions(-)
diff --git a/src/views/company/dialog_index.vue b/src/views/company/dialog_index.vue
index ed316d7..9af4cf7 100644
--- a/src/views/company/dialog_index.vue
+++ b/src/views/company/dialog_index.vue
@@ -27,14 +27,12 @@
-
+
-
-
diff --git a/src/views/company/edit.vue b/src/views/company/edit.vue
index dabb0cb..eed27f4 100644
--- a/src/views/company/edit.vue
+++ b/src/views/company/edit.vue
@@ -273,7 +273,7 @@
-
+
-
+
([
- {
- name: '',
- url: ''
- }
-])
+const fileList = ref([])
// 表单验证
const formRules = reactive({
company_name: [
diff --git a/src/views/company/index.vue b/src/views/company/index.vue
index 57de25c..eedd2d9 100644
--- a/src/views/company/index.vue
+++ b/src/views/company/index.vue
@@ -92,7 +92,8 @@
- {{ row.is_contract == 1 ? '已签约' : '未签约' }}
+ 已签约
+ 未签约
diff --git a/src/views/company/subordinate.vue b/src/views/company/subordinate.vue
index deb77a7..756e3f9 100644
--- a/src/views/company/subordinate.vue
+++ b/src/views/company/subordinate.vue
@@ -17,7 +17,8 @@
/>
- {{ row.is_contract == 1 ? '已签约' : '未签约' }}
+ 已签约
+ 未签约
diff --git a/src/views/contract/contractDetil.vue b/src/views/contract/contractDetil.vue
index 4d17130..68d74d1 100644
--- a/src/views/contract/contractDetil.vue
+++ b/src/views/contract/contractDetil.vue
@@ -1,76 +1,118 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确定
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 在线查看
+
+
+
+ 取消
+ 确定
+
+
\ No newline at end of file
+
diff --git a/src/views/contract/edit.vue b/src/views/contract/edit.vue
index 1614d4d..69648ce 100644
--- a/src/views/contract/edit.vue
+++ b/src/views/contract/edit.vue
@@ -1,9 +1,7 @@