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
2226899b
Commit
2226899b
authored
Jun 05, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入成员成功 刷新列表
parent
7537a966
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
index.vue
src/components/CloudDisk/index.vue
+0
-3
Index.vue
src/views/TemplateCenter/Index.vue
+2
-2
InviteMember.vue
src/views/components/Team/InviteMember.vue
+3
-2
No files found.
src/components/CloudDisk/index.vue
View file @
2226899b
...
...
@@ -279,9 +279,6 @@ const deleteGroup = (item:any) => {
}
).
then
(
async
()
=>
{
try
{
let
queryMsg
=
{
TempId
:
item
.
TempId
}
deleteLoading
.
value
=
true
let
dataRes
=
await
CloudDiskService
.
RemovePPTCloudGroup
(
item
.
Id
)
if
(
dataRes
.
data
.
resultCode
==
1
)
{
...
...
src/views/TemplateCenter/Index.vue
View file @
2226899b
...
...
@@ -183,7 +183,7 @@
<el-icon
class=
"q-pt-sm"
size=
"16"
color=
"#b1b7cf"
><MoreFilled
/></el-icon>
<template
#
dropdown
>
<el-dropdown-menu
class=
"q-pa-md"
>
<el-dropdown-item
@
click=
"getTemplate(scope.row)"
>
<el-dropdown-item
@
click=
"getTemplate(scope.row
,scope.$index
)"
>
<el-button
type=
"default"
link
:icon=
"View"
size=
"small"
class=
"microsoft"
>
详情
</el-button>
</el-dropdown-item>
<el-dropdown-item
@
click=
"deleteTemplate(scope.row)"
>
...
...
@@ -495,7 +495,7 @@ const next = () =>{
}
}
// 查看所有子模版
const
getTemplate
=
async
(
item
:
any
)
=>
{
const
getTemplate
=
async
(
item
:
any
,
index
:
Number
)
=>
{
DetailsVisible
.
value
=
true
datas
.
TemDetails
=
item
datas
.
currentImg
=
index
...
...
src/views/components/Team/InviteMember.vue
View file @
2226899b
...
...
@@ -61,7 +61,7 @@
:action=
"getUploadActionUrl()"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
v-model
:file-list=
"fileList"
:file-list=
"fileList"
>
<IconUpload
size=
"54"
class=
""
></IconUpload>
<div
class=
"el-upload__text"
>
...
...
@@ -201,6 +201,7 @@ const goDownload = (type:any) =>{
}
//导入文件地址
const
getUploadActionUrl
=
()
=>
{
let
uid
=
userInfo
.
value
.
id
;
const
url
=
domainManager
().
domainUrl
.
replace
(
"common"
,
"file"
)
+
`?cmd=dmc_post_LocalFileUpload&Type=19&fileType=1&PPTEmployeeId=
${
encodeURIComponent
(
uid
)}
`
return
url
;
...
...
@@ -209,8 +210,8 @@ const getUploadActionUrl=()=>{
const
handleAvatarSuccess
=
async
(
res
:
any
)
=>
{
if
(
res
.
data
&&
res
.
data
.
totalNum
){
UploadResults
.
value
=
res
.
data
if
(
res
.
data
.
successNum
>
0
)
emit
(
'imported'
)
if
(
res
.
data
.
failUrl
)
UploadResults
.
value
.
DownloadUrl
=
domainManager
().
DownloadUrl
.
replace
(
"common"
,
"file"
)
+
`
${
res
.
data
.
failUrl
}
`
}
console
.
log
(
"handleAvatarSuccess_res"
,
res
);
}
...
...
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