From 054b89f3cf287a845d23382e97292f90d2498600 Mon Sep 17 00:00:00 2001
From: Apcallover <1503963513@qq.com>
Date: Sun, 17 Mar 2024 20:25:26 +0800
Subject: [PATCH] =?UTF-8?q?flat:=20=E9=82=80=E8=AF=B7=E7=A0=81=E6=9A=82?=
=?UTF-8?q?=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/manage/station.js | 23 +
src/api/resource/oss.js | 4 +-
src/api/tenant/company.js | 2 +-
src/views/desk/notice.vue | 2 +-
.../advertisement/advertisementBody.vue | 2 +-
src/views/manage/company/companyCheck.vue | 12 +-
src/views/manage/company/companyList.vue | 12 +-
.../company/examineDialog/ExamineDialog.vue | 52 +-
.../examineDialog/ExamineDialogSus.vue | 74 +-
.../company/examineDialog/checkDialog.vue | 14 +-
.../jlhome/article/allArticle/addNews.vue | 2 +-
src/views/manage/jlhome/news/addNews.vue | 2 +-
src/views/manage/station/inviteCode.vue | 718 +++++-------------
src/views/manage/station/mainList.vue | 42 +-
src/views/tenant/main/policy/index.vue | 4 +-
vue.config.js | 4 +-
16 files changed, 312 insertions(+), 657 deletions(-)
diff --git a/src/api/manage/station.js b/src/api/manage/station.js
index ab18708..f2914a0 100644
--- a/src/api/manage/station.js
+++ b/src/api/manage/station.js
@@ -101,3 +101,26 @@ export const stationModify =
data: params
})
}
+
+ export const getEnterpriseList = (params) => request({
+ url: '/api/jobslink-api/tenant/company/allInviteCompany',
+ method: 'get',
+ params
+ })
+
+ export const saveEnterpriseItem = (params) => request({
+ url: '/api/jobslink-api/tenant/invite/save',
+ method: 'post',
+ data: params
+ })
+ export const getInvitationCodeList = (params) => request({
+ url: '/api/jobslink-api/tenant/invite/list',
+ method: 'get',
+ params
+ })
+
+ export const getInvitationStatusUpdate = (params) => request({
+ url: '/api/jobslink-api/tenant/invite/update',
+ method: 'post',
+ data: params
+ })
diff --git a/src/api/resource/oss.js b/src/api/resource/oss.js
index 87ad767..d120f38 100644
--- a/src/api/resource/oss.js
+++ b/src/api/resource/oss.js
@@ -55,8 +55,8 @@ export const enable =
})
}
-export const putFile =
- `/api/jobslink-api/resource/file/save?Jobslink-Auth=${getToken()}?bussinessType=11`
+export const putFile = (type) => `/api/jobslink-api/resource/file/save?Jobslink-Auth=${getToken()}?bussinessType=${type || 11}`
+
export const putFileFun = (file, onUploadProgress) => {
const data = new FormData();
diff --git a/src/api/tenant/company.js b/src/api/tenant/company.js
index c8aa7d7..29e6abc 100644
--- a/src/api/tenant/company.js
+++ b/src/api/tenant/company.js
@@ -37,4 +37,4 @@ export const getBaseDetail = () => {
})
}
-export const putFile = `/api/jobslink-api/resource/oss/endpoint/put-file?Jobslink-Auth=${getToken()}`
+export const putFile = () => `/api/jobslink-api/resource/oss/endpoint/put-file?Jobslink-Auth=${getToken()}`
diff --git a/src/views/desk/notice.vue b/src/views/desk/notice.vue
index a83d64a..3b53881 100644
--- a/src/views/desk/notice.vue
+++ b/src/views/desk/notice.vue
@@ -192,7 +192,7 @@ export default {
prop: "content",
component: "AvueUeditor",
options: {
- action: putFile,
+ action: putFile(),
props: {
url: "msg",
},
diff --git a/src/views/manage/advertisement/advertisementBody.vue b/src/views/manage/advertisement/advertisementBody.vue
index db0c506..a7c50dd 100644
--- a/src/views/manage/advertisement/advertisementBody.vue
+++ b/src/views/manage/advertisement/advertisementBody.vue
@@ -154,7 +154,7 @@ export default {
label: "广告图",
prop: "image",
type: "upload",
- action: putFile,
+ action: putFile(),
span: 12,
showFileList: false,
listType: "picture-img",
diff --git a/src/views/manage/company/companyCheck.vue b/src/views/manage/company/companyCheck.vue
index be778cd..885be63 100644
--- a/src/views/manage/company/companyCheck.vue
+++ b/src/views/manage/company/companyCheck.vue
@@ -91,7 +91,7 @@ export default {
loading: false,
visible: false,
operation: false,
- mutiPutFile:putFile,
+ mutiPutFile: putFile(),
form: { serveCost: 0, serveUnit: 0 },
wageUnitCategory: {
0: "元/人·次",
@@ -249,7 +249,7 @@ export default {
},
size: "small",
prop: "authUrlId",
- action: putFile,
+ action: putFile(),
viewDisplay: false,
rules: [
{
@@ -277,7 +277,7 @@ export default {
tip: '上传图片大小限制2M以内',
size: "small",
prop: "identityUrl4Id",
- action: putFile,
+ action: putFile(),
viewDisplay: false,
rules: [
{
@@ -304,7 +304,7 @@ export default {
tip: '上传图片大小限制2M以内',
size: "small",
prop: "identityUrl5Id",
- action: putFile,
+ action: putFile(),
viewDisplay: false,
rules: [
{
@@ -331,7 +331,7 @@ export default {
tip: '上传图片大小限制2M以内',
size: "small",
prop: "signSrcUrl",
- action: putFile,
+ action: putFile(),
viewDisplay: false,
rules: [
{
@@ -358,7 +358,7 @@ export default {
tip: '上传图片大小限制2M以内',
size: "small",
prop: "letterOfAttorneyUrl",
- action: putFile,
+ action: putFile(),
viewDisplay: false,
rules: [
{
diff --git a/src/views/manage/company/companyList.vue b/src/views/manage/company/companyList.vue
index 82d41c7..5079994 100644
--- a/src/views/manage/company/companyList.vue
+++ b/src/views/manage/company/companyList.vue
@@ -191,7 +191,7 @@ export default {
value: 2,
},
],
- mutiPutFile: putFile,
+ mutiPutFile: putFile(),
imgList: [],
form: {},
selectionList: [],
@@ -596,7 +596,7 @@ export default {
// accept,
// size: "small",
// prop: "identityUrl4Id",
- // action: putFile,
+ // action: putFile(),
// viewDisplay: false,
// rules: [
// {
@@ -623,7 +623,7 @@ export default {
// accept,
// size: "small",
// prop: "identityUrl5Id",
- // action: putFile,
+ // action: putFile(),
// viewDisplay: false,
// rules: [
// {
@@ -650,7 +650,7 @@ export default {
// data: [],
// size: "small",
// prop: "authUrlId",
- // action: putFile,
+ // action: putFile(),
// viewDisplay: false,
// rules: [
// {
@@ -678,7 +678,7 @@ export default {
// data: [],
// size: "small",
// prop: "signSrcUrl",
- // action: putFile,
+ // action: putFile(),
// viewDisplay: false,
// rules: [
// {
@@ -705,7 +705,7 @@ export default {
// accept,
// size: "small",
// prop: "letterOfAttorneyUrl",
- // action: putFile,
+ // action: putFile(),
// viewDisplay: false,
// rules: [
// {
diff --git a/src/views/manage/company/examineDialog/ExamineDialog.vue b/src/views/manage/company/examineDialog/ExamineDialog.vue
index 24b2f27..38a9b43 100644
--- a/src/views/manage/company/examineDialog/ExamineDialog.vue
+++ b/src/views/manage/company/examineDialog/ExamineDialog.vue
@@ -1,10 +1,10 @@
您当前选择了 {{inviteCodeForm.count}} 条邀请码,确定分配给 {{inviteCodeFormName}} 吗?
-