Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
f9f2e874
Commit
f9f2e874
authored
Feb 19, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增分享弹窗
parent
c94f9446
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
310 additions
and
9 deletions
+310
-9
.env.development
.env.development
+1
-1
components.d.ts
components.d.ts
+1
-0
common.css
src/assets/styles/common.css
+18
-7
ConfigService.ts
src/services/ConfigService.ts
+5
-1
OrgService.ts
src/services/OrgService.ts
+21
-0
ShareForm.vue
src/views/SellTemplate/components/ShareForm.vue
+264
-0
No files found.
.env.development
View file @
f9f2e874
VUE_APP_API_URL = 'http://
reborn.oytour.com
/api/common/post'
VUE_APP_API_URL = 'http://
192.168.10.214
/api/common/post'
VUE_APP_UPLOADURLAPI_URL = 'http://192.168.10.214:8120'
VUE_APP_SHARE_URL = 'http://127.0.0.1:8080'
\ No newline at end of file
components.d.ts
View file @
f9f2e874
...
...
@@ -49,6 +49,7 @@ declare module 'vue' {
ElTabs
:
typeof
import
(
'element-plus/es'
)[
'ElTabs'
]
ElTag
:
typeof
import
(
'element-plus/es'
)[
'ElTag'
]
ElTooltip
:
typeof
import
(
'element-plus/es'
)[
'ElTooltip'
]
ElTreeSelect
:
typeof
import
(
'element-plus/es'
)[
'ElTreeSelect'
]
ElUpload
:
typeof
import
(
'element-plus/es'
)[
'ElUpload'
]
FileInput
:
typeof
import
(
'./src/components/FileInput.vue'
)[
'default'
]
FormulaContent
:
typeof
import
(
'./src/components/LaTeXEditor/FormulaContent.vue'
)[
'default'
]
...
...
src/assets/styles/common.css
View file @
f9f2e874
...
...
@@ -7,12 +7,13 @@ page {
sans-serif
;
}
/* .0123456789+-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz导入设计文件基础数据绑定模板预览选择、上传图片地创作 */
/* .0123456789+-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz导入设计文件基础数据绑定模板预览选择、上传图片地创作分享置 */
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
@font-face
{
font-family
:
"alifont"
;
src
:
url("//at.alicdn.com/wf/webfont/MQHUV6e56ce5/
af1x9gjmJyCb
.woff2")
format
(
"woff2"
),
url("//at.alicdn.com/wf/webfont/MQHUV6e56ce5/
9KYFlUm2wrb2
.woff")
format
(
"woff"
);
font-family
:
"alifont"
;
src
:
url("//at.alicdn.com/wf/webfont/MQHUV6e56ce5/
OXJDKjyyUbMp
.woff2")
format
(
"woff2"
),
url("//at.alicdn.com/wf/webfont/MQHUV6e56ce5/
iy1cOOTdKN6P
.woff")
format
(
"woff"
);
font-display
:
swap
;
}
}
@font-face
{
font-family
:
"pingfangr"
;
...
...
@@ -46,6 +47,12 @@ page {
.overflow-hide
{
overflow
:
hidden
;
}
.text-subtitle2
{
font-size
:
0.875rem
;
font-weight
:
500
;
line-height
:
1.375rem
;
letter-spacing
:
0.00714em
;
}
/* ::-webkit-scrollbar {
display: none;
width: 0 !important;
...
...
@@ -82,10 +89,10 @@ page {
color
:
#29d3b2
;
}
.bg-secony
{
background-color
:
#29d3b2
;
background-color
:
#29d3b2
!important
;
}
.bg-waring
{
background-color
:
#f89c53
;
background-color
:
#f89c53
!important
;
}
.text-waring
{
color
:
#f89c53
;
...
...
@@ -178,6 +185,10 @@ page {
.q-mb-sm
{
margin-bottom
:
5px
;
}
.q-mx-sm
{
margin-left
:
5px
;
margin-right
:
5px
;
}
.q-py-sm
{
padding-top
:
5px
;
padding-bottom
:
5px
;
...
...
@@ -267,7 +278,7 @@ page {
padding-bottom
:
10px
;
}
.bg-primary
{
background-color
:
#0b40fe
;
background-color
:
#0b40fe
!important
;
}
.q-px-lg
{
padding-left
:
20px
;
...
...
src/services/ConfigService.ts
View file @
f9f2e874
...
...
@@ -122,8 +122,12 @@ class ConfigService{
/**
* 新增颜色
*/
static
async
SetTemplateConfigData
(
params
:
any
):
Promise
<
HttpResponse
>
{
static
async
SetTemplateConfigData
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_SetTemplateConfigData"
,
params
)
}
static
async
SetShareAsync
(
params
:{
ShareFileId
:
number
,
ShareList
:{
ShareType
:
number
,
ShareTargetIds
:
string
,
EditType
:
string
}[]}):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_SetTripShare"
,
params
)
}
}
export
default
ConfigService
;
\ No newline at end of file
src/services/OrgService.ts
0 → 100644
View file @
f9f2e874
import
Api
,{
HttpResponse
,
Result
}
from
'./../utils/request'
;
class
OrgService
{
static
async
GetTreeDepartmentsAsync
():
Promise
<
HttpResponse
>
{
let
msg
=
{}
return
Api
.
Post
(
"app_get_GetCompanyDepartmentListTree"
,
msg
)
}
static
async
GetAllBranchsAsync
():
Promise
<
HttpResponse
>
{
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
2
}
return
Api
.
Post
(
"admin_get_BranchGetList"
,
msg
)
}
static
async
GetAllEmployerAsync
():
Promise
<
HttpResponse
>
{
let
msg
=
{
RB_Group_id
:
"0"
,
RB_Branch_id
:
"-1"
,
departmentId
:
"0"
,
IsLeave
:
"0"
}
return
Api
.
Post
(
"app_get_employeeInfo_v2"
,
msg
)
}
}
export
default
OrgService
;
\ No newline at end of file
src/views/SellTemplate/components/ShareForm.vue
0 → 100644
View file @
f9f2e874
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment