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
2f9e1947
Commit
2f9e1947
authored
Jun 05, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人空间支付
parent
01c26226
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
15 deletions
+30
-15
Index.vue
src/views/Index.vue
+5
-1
Review.vue
src/views/components/Order/Review.vue
+14
-4
success.vue
src/views/components/Order/success.vue
+9
-9
InviteMember.vue
src/views/components/Team/InviteMember.vue
+2
-1
No files found.
src/views/Index.vue
View file @
2f9e1947
...
...
@@ -181,7 +181,11 @@
</div>
</div>
</div>
<OrderReview
v-if=
"orderVisible && activeOrderId==''"
:default-type=
"2"
@
close=
"()=>orderVisible=false"
></OrderReview>
<OrderReview
v-if=
"orderVisible && activeOrderId==''"
:default-type=
"2"
:spaceFound=
"1"
@
close=
"()=>orderVisible=false"
@
success=
"createEnterpriseHandler"
></OrderReview>
<CreateEnterprise
:order-id=
"activeOrderId"
v-if=
"orderVisible && activeOrderId!=''"
@
close=
"()=>orderVisible=false"
></CreateEnterprise>
<invite-member
v-if=
"showAddMember"
:show-type=
"1"
@
close=
"()=>showAddMember=false"
></invite-member>
<join-enterprise></join-enterprise>
...
...
src/views/components/Order/Review.vue
View file @
2f9e1947
...
...
@@ -74,7 +74,8 @@
</div>
</div>
</div>
<Success
v-if=
"dialogVisible"
:PayDatas=
"PaySuccessDatas"
@
close=
"dialogVisible=false,close()"
></Success>
<Success
v-if=
"dialogVisible"
:PayDatas=
"PaySuccessDatas"
:spaceFound=
"props.spaceFound"
@
success=
"success"
></Success>
</template>
<
script
lang=
"ts"
setup
>
...
...
@@ -100,11 +101,16 @@ const props = defineProps({
showEnterprise
:{
type
:
Boolean
,
default
:
true
}
},
spaceFound
:
{
type
:
Number
,
default
:
0
},
})
const
emit
=
defineEmits
<
{
(
event
:
'close'
):
void
(
event
:
'close'
):
void
,
(
event
:
'success'
):
void
}
>
()
const
{
userInfo
}
=
storeToRefs
(
useUserStore
())
...
...
@@ -205,8 +211,12 @@ const setPaymentQrCode = async ()=>{
}
qrLoading
.
value
=
false
}
const
close
=
()
=>
{
const
success
=
()
=>
{
dialogVisible
.
value
=
false
stopTimerHandler
()
if
(
props
.
spaceFound
)
emit
(
'success'
)
}
const
close
=
()
=>
{
emit
(
'close'
)
}
...
...
src/views/components/Order/success.vue
View file @
2f9e1947
...
...
@@ -37,21 +37,21 @@
import
{
ref
,
onMounted
}
from
'vue'
import
{
useRouter
}
from
'vue-router'
;
const
props
=
defineProps
({
PayDatas
:
{}
as
any
PayDatas
:
{}
as
any
,
spaceFound
:
0
as
any
// 0 产品中心支付 1个人空间支付
})
const
emit
=
defineEmits
<
{
(
event
:
'
close
'
):
void
(
event
:
'
success
'
):
void
}
>
()
const
router
=
useRouter
();
const
goUrl
=
()
=>
{
emit
(
'close'
)
if
(
props
.
PayDatas
.
VipType
==
2
&&
props
.
PayDatas
.
OrderType
==
1
){
emit
(
'success'
)
if
(
!
props
.
spaceFound
){
let
url
if
(
props
.
PayDatas
.
VipType
==
2
&&
props
.
PayDatas
.
OrderType
==
1
)
url
=
`/space/0/1`
else
url
=
`/space`
router
.
push
({
path
:
`/space/0/1`
})
}
else
{
router
.
push
({
path
:
`/space`
path
:
url
})
}
}
...
...
src/views/components/Team/InviteMember.vue
View file @
2f9e1947
...
...
@@ -186,6 +186,7 @@ const { userInfo } = storeToRefs(useUser)
const
dialogVisible
=
ref
(
false
)
const
UploadResults
=
ref
({}
as
any
)
const
fileList
=
ref
<
UploadUserFile
[]
>
([])
const
loading
=
ref
(
false
)
const
closeUploadRes
=
()
=>
{
UploadResults
.
value
=
{}
...
...
@@ -201,7 +202,7 @@ const goDownload = (type:any) =>{
}
//导入文件地址
const
getUploadActionUrl
=
()
=>
{
loading
.
value
=
true
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
;
...
...
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