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
a3e43171
Commit
a3e43171
authored
Jun 18, 2024
by
牛虎林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分bug
parent
74184384
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
7 deletions
+23
-7
index.vue
src/views/changeSignature/index.vue
+7
-1
index.vue
src/views/settlementManagement/index.vue
+16
-6
No files found.
src/views/changeSignature/index.vue
View file @
a3e43171
...
@@ -67,6 +67,8 @@ const [register, { openModal: openModal }] = useModal();
...
@@ -67,6 +67,8 @@ const [register, { openModal: openModal }] = useModal();
import
{
Tag
}
from
"ant-design-vue"
;
import
{
Tag
}
from
"ant-design-vue"
;
import
{
router
}
from
"@/router"
;
import
{
router
}
from
"@/router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
onMounted
}
from
"vue"
;
import
{
getDepartmentList
}
from
"@/api/project/settlementManage"
;
const
[
registerTable
,
{
reload
}]
=
useTable
({
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
getSettlementManageList
,
api
:
getSettlementManageList
,
...
@@ -88,7 +90,11 @@ import {useRouter} from "vue-router";
...
@@ -88,7 +90,11 @@ import {useRouter} from "vue-router";
},
},
});
});
onMounted
(
async
()
=>
{
const
data
=
await
getDepartmentList
()
searchFormSchema
[
2
].
componentProps
.
options
=
data
console
.
log
(
searchFormSchema
[
2
].
componentProps
.
options
,
"数据仓库"
)
})
async
function
handleDelete
(
record
:
Recordable
)
{
async
function
handleDelete
(
record
:
Recordable
)
{
console
.
log
(
record
);
console
.
log
(
record
);
...
...
src/views/settlementManagement/index.vue
View file @
a3e43171
<
template
>
<
template
>
<div>
<div>
<BasicTable
@
register=
"registerTable"
:title=
"'结算管理'"
>
<BasicTable
@
register=
"registerTable"
:title=
"'结算管理'"
>
<template
#
toolbar
>
<template
#
toolbar
>
<a-button
type=
"primary"
@
click=
"addSettlement"
preIcon=
"mdi:plus"
>
新建结算管理
</a-button>
<a-button
type=
"primary"
@
click=
"addSettlement"
preIcon=
"mdi:plus"
>
新建结算管理
</a-button>
</
template
>
</
template
>
...
@@ -14,10 +15,10 @@
...
@@ -14,10 +15,10 @@
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
<TableAction
v-if=
"record.statusResult == '0'"
<TableAction
v-if=
"record.statusResult == '0'"
:actions=
"[
:actions=
"[
{
//
{
label: '详情',
//
label: '详情',
onClick: handleEdit.bind(null, record,false),
//
onClick: handleEdit.bind(null, record,false),
},
//
},
{
{
label: '审核',
label: '审核',
color: 'success',
color: 'success',
...
@@ -28,7 +29,7 @@
...
@@ -28,7 +29,7 @@
}
}
},
},
{
{
label: '
修改
',
label: '
编辑
',
onClick: handleEdit.bind(null, record,true),
onClick: handleEdit.bind(null, record,true),
},
},
{
{
...
@@ -62,8 +63,9 @@ import yearModal from '@/components/yearModal.vue';
...
@@ -62,8 +63,9 @@ import yearModal from '@/components/yearModal.vue';
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useModal
}
from
'@/components/Modal'
;
const
{
push
}
=
useRouter
();
const
{
push
}
=
useRouter
();
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
onMounted
}
from
"vue"
const
[
register
,
{
openModal
:
openModal
}]
=
useModal
();
const
[
register
,
{
openModal
:
openModal
}]
=
useModal
();
import
{
getSettlementManageList
,
auditItem
,
deleteList
}
from
'@/api/project/settlementManage'
;
import
{
getSettlementManageList
,
auditItem
,
deleteLis
,
getDepartmentLis
t
}
from
'@/api/project/settlementManage'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
useDrawer
}
from
'@/components/Drawer'
;
import
{
router
}
from
"@/router"
;
import
{
router
}
from
"@/router"
;
...
@@ -90,6 +92,12 @@ const [registerTable, { reload }] = useTable({
...
@@ -90,6 +92,12 @@ const [registerTable, { reload }] = useTable({
},
},
});
});
onMounted
(
async
()
=>
{
const
data
=
await
getDepartmentList
()
searchFormSchema
[
2
].
componentProps
.
options
=
data
console
.
log
(
searchFormSchema
[
2
].
componentProps
.
options
,
"数据仓库"
)
})
function
handleEdit
(
record
:
Recordable
,
disabled
:
boolean
)
{
function
handleEdit
(
record
:
Recordable
,
disabled
:
boolean
)
{
push
({
push
({
...
@@ -132,6 +140,8 @@ const handleNew = (e) => {
...
@@ -132,6 +140,8 @@ const handleNew = (e) => {
push
({
push
({
path
:
'/settlementManagement/edit'
,
path
:
'/settlementManagement/edit'
,
query
:
{
query
:
{
quarter
:
e
.
quarter
,
year
:
e
.
year
,
add
:
"add"
add
:
"add"
}
}
});
});
...
...
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