Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
Details
Activity
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
徐俊
yn-science-front
Commits
adf3195a
Commit
adf3195a
authored
Dec 31, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3333
parent
f0367a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
Index.vue
src/views/query/task/Index.vue
+5
-11
Index.vue
src/views/report/task/Index.vue
+1
-1
No files found.
src/views/query/task/Index.vue
View file @
adf3195a
...
...
@@ -31,11 +31,8 @@
</
template
>
</a-table>
<a-pagination
v-if=
"pagination.total > 0"
:total=
"pagination.total"
show-size-changer
show-quick-jumper
v-model=
"pagination.pageIndex"
:page-size=
"pagination.pageSize"
:page-size-options=
"pagination.pageSizeOptions"
@
showSizeChange=
"showSizeChange"
@
change=
"change"
:showTotal=
"() => `共 ${pagination.total} 条`"
/>
<a-modal
v-model=
"visibleEdit"
title=
"修改"
:width=
"'86%'"
:dialog-style=
"{ top: '20px' }"
:maskClosable=
"false"
:footer=
"null"
destroyOnClose
class=
"sc_modal"
>
<test-edit
v-model=
"projId"
@
close=
"closeWindow"
/>
</a-modal>
<a-modal
v-model=
"visibleView"
title=
"查看任务书"
:width=
"'86%'"
:dialog-style=
"{ top: '20px' }"
:maskClosable=
"false"
:footer=
"null"
destroyOnClose
class=
"sc_modal"
>
<test-view
v-model=
"projId"
@
close=
"closeWindow"
/>
<a-modal
v-model=
"visibleView"
title=
"查看任务书"
:width=
"'94%'"
:dialog-style=
"{ top: '8%' }"
:maskClosable=
"false"
:footer=
"null"
destroyOnClose
class=
"sc_modal"
>
<task-view
v-model=
"projId"
@
close=
"closeWindow"
/>
</a-modal>
</div>
</template>
...
...
@@ -43,14 +40,11 @@
<
script
>
import
{
getType
}
from
'@/views/utils/auth'
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
}
from
"@/views/utils/common"
;
import
TestEdit
from
"@/views/report/task/components/taskEdit.vue"
import
TestView
from
"@/views/report/task/components/taskView.vue"
import
paraSelect
from
'@/views/components/common/paraSelect'
import
baseSelect
from
'@/views/components/common/baseSelect'
import
taskView
from
"@/views/report/task/components/taskView"
export
default
{
name
:
'queryTask'
,
components
:
{
TestView
,
TestEdit
,
paraSelect
,
baseSelect
taskView
},
data
()
{
return
{
...
...
@@ -65,7 +59,7 @@ export default {
{
title
:
'开始时间'
,
dataIndex
:
'startDate'
,
align
:
'center'
},
{
title
:
'结束时间'
,
dataIndex
:
'endDate'
,
align
:
'center'
},
{
title
:
'申报年度'
,
dataIndex
:
'reportYear'
,
align
:
'center'
},
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'taskStateName'
},
align
:
'center'
},
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'taskStateName'
},
align
:
'center'
},
{
title
:
'操作'
,
fixed
:
'right'
,
scopedSlots
:
{
customRender
:
'option'
},
align
:
'center'
}
],
pagination
:
{
pageIndex
:
1
,
pageSize
:
this
.
$defaultPageSize
,
total
:
0
,
pageSizeOptions
:
this
.
$defaultPageSizeOptions
,
},
...
...
src/views/report/task/Index.vue
View file @
adf3195a
...
...
@@ -75,7 +75,7 @@ export default {
{
title
:
'开始时间'
,
dataIndex
:
'startDate'
,
align
:
'center'
},
{
title
:
'结束时间'
,
dataIndex
:
'endDate'
,
align
:
'center'
},
{
title
:
'申报年度'
,
dataIndex
:
'reportYear'
,
align
:
'center'
},
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'taskStateName'
},
align
:
'center'
},
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'taskStateName'
},
align
:
'center'
},
{
title
:
'操作'
,
fixed
:
'right'
,
width
:
'200px'
,
scopedSlots
:
{
customRender
:
'option'
},
align
:
'center'
}
],
pagination
:
{
pageIndex
:
1
,
pageSize
:
this
.
$defaultPageSize
,
total
:
0
,
pageSizeOptions
:
this
.
$defaultPageSizeOptions
,
},
...
...
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