Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
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
紫光云
web-project
Commits
faf143da
Commit
faf143da
authored
Dec 02, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(项目库详情): 新增合同刷新
parent
54414d25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
detail.vue
src/views/project/detail.vue
+8
-4
contract.vue
src/views/project/tabs/contract.vue
+1
-0
No files found.
src/views/project/detail.vue
View file @
faf143da
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<template
v-for=
"item in tabList"
:key=
"item.key"
>
<template
v-for=
"item in tabList"
:key=
"item.key"
>
<TabPane
:tab=
"item.tab"
>
<TabPane
:tab=
"item.tab"
>
<div>
<div>
<component
:is=
"tabs[item.component]"
/>
<component
:is=
"tabs[item.component]"
:ref=
"`child$
{item.component}`"
/>
</div>
</div>
</TabPane>
</TabPane>
</
template
>
</
template
>
...
@@ -90,11 +90,11 @@
...
@@ -90,11 +90,11 @@
import
projectDrawer
from
'./projectDrawer.vue'
;
import
projectDrawer
from
'./projectDrawer.vue'
;
import
uploadModal
from
'./uploadModal.vue'
;
import
uploadModal
from
'./uploadModal.vue'
;
import
uploadContractModal
from
'./uploadContractModal.vue'
;
import
uploadContractModal
from
'./uploadContractModal.vue'
;
import
{
Tabs
,
Modal
}
from
'ant-design-vue'
;
import
{
Tabs
}
from
'ant-design-vue'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
getItem
,
deleteItem
}
from
'@/api/project/project'
;
import
{
getItem
,
deleteItem
}
from
'@/api/project/project'
;
import
{
tabList
}
from
'./project.data'
;
import
{
tabList
}
from
'./project.data'
;
import
{
ref
,
onMounted
,
provid
e
}
from
'vue'
;
import
{
ref
,
provide
,
getCurrentInstanc
e
}
from
'vue'
;
import
{
useRoute
}
from
'vue-router'
;
import
{
useRoute
}
from
'vue-router'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
...
@@ -169,7 +169,11 @@
...
@@ -169,7 +169,11 @@
projectId
:
detailId
.
value
,
projectId
:
detailId
.
value
,
});
});
}
}
async
function
handleRegisterSuccess
(
params
:
any
)
{}
const
instance
=
getCurrentInstance
();
async
function
handleRegisterSuccess
()
{
instance
.
refs
.
childcontract
[
0
].
reload
();
}
async
function
handleSuccess
(
record
:
any
)
{
async
function
handleSuccess
(
record
:
any
)
{
// detail.value = record;
// detail.value = record;
await
handleDetail
();
await
handleDetail
();
...
...
src/views/project/tabs/contract.vue
View file @
faf143da
...
@@ -98,4 +98,5 @@
...
@@ -98,4 +98,5 @@
function
handleSuccess
()
{
function
handleSuccess
()
{
reload
();
reload
();
}
}
defineExpose
({
reload
})
</
script
>
</
script
>
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