Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
8470b1c8
Commit
8470b1c8
authored
Jan 11, 2023
by
liuguorong93
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退役犬管理 静态页面
parent
70a2e380
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
166 additions
and
4 deletions
+166
-4
src/api/menuDataApi/poDogRetireManageApi.js
+32
-0
src/router/modules/index.js
+25
-2
src/utils/tableHeaderParams.js
+94
-0
src/views/dataJq/dogCount.vue
+2
-2
src/views/poDogRetireManage/components/poDogRetireManageEdit.vue
+13
-0
src/views/poDogRetireManage/index.vue
+0
-0
No files found.
src/api/menuDataApi/poDogRetireManageApi.js
0 → 100644
View file @
8470b1c8
import
{
post
,
postform
,
get
,
postJson
}
from
'@/utils/http.js'
export
let
baseUrl
=
'/api'
// RetireDog
// 退役犬管理(列表)
export
const
getRetireDogList
=
params
=>
postJson
(
`
${
baseUrl
}
/retired/dogQuery`
,
params
)
// 退役犬管理(导出url)
export
const
exportRetireDogUrl
=
`
${
baseUrl
}
/retired/export`
// 退役犬管理(删除)
export
const
deleteRetireDog
=
params
=>
postJson
(
`
${
baseUrl
}
/retired/dogDelete`
,
params
)
// 退役犬管理(新增)
export
const
addRetireDog
=
params
=>
postJson
(
`
${
baseUrl
}
/retired/dogAdd`
,
params
)
// 退役犬管理(编辑)
export
const
editRetireDog
=
params
=>
postJson
(
`
${
baseUrl
}
/retired/dogUpdate`
,
params
)
// 退役犬管理(详情)
export
const
getRetireDogDetail
=
params
=>
postJson
(
`
${
baseUrl
}
/retired/dogDetail`
,
params
)
// 退役犬管理(提取)
export
const
extractRetireDog
=
params
=>
postJson
(
`
${
baseUrl
}
/retired/extract`
,
params
)
src/router/modules/index.js
View file @
8470b1c8
...
...
@@ -182,7 +182,6 @@ export default [
isEditPage
:
true
}
},
// 工作犬等级评定管理(二级菜单)
{
path
:
'jobDogGradeManage'
,
...
...
@@ -324,8 +323,32 @@ export default [
meta
:
{
title
:
'警用退役犬信息管理'
,
isOneMenu
:
false
,
keepAlive
:
true
,
oneMenuName
:
'poDogManage'
,
paixu
:
3
paixu
:
3
,
routeNames
:
[
'poDogRetireManageEdit'
,
'poDogRetireManageAdd'
],
}
},
// 警用退役犬信息管理(编辑页)
{
path
:
'poDogRetireManageEdit'
,
name
:
'poDogRetireManageEdit'
,
component
:
()
=>
import
(
'@/views/poDogRetireManage/components/poDogRetireManageEdit.vue'
),
meta
:
{
title
:
'警用退役犬信息管理-编辑'
,
// 编辑新增页面此字段务必设置为true
isEditPage
:
true
}
},
// 警用退役犬信息管理(新增页)
{
path
:
'poDogRetireManageAdd'
,
name
:
'poDogRetireManageAdd'
,
component
:
()
=>
import
(
'@/views/poDogRetireManage/components/poDogRetireManageEdit.vue'
),
meta
:
{
title
:
'警用退役犬信息管理-新增'
,
// 编辑新增页面此字段务必设置为true
isEditPage
:
true
}
},
// 警犬电子沙盘(只有一级菜单)
...
...
src/utils/tableHeaderParams.js
View file @
8470b1c8
...
...
@@ -373,3 +373,97 @@ export const getJyzqDefaultColumns = () => {
]
return
arr
}
// 退役犬管理(全部列)
export
const
getTyqglAllColumns
=
()
=>
{
let
arr
=
[
{
label
:
"芯片号"
,
prop
:
"chipCode"
,
},
{
label
:
"警犬名称"
,
prop
:
"name"
,
},
{
label
:
"出生日期"
,
prop
:
"birthDate"
,
},
{
label
:
"服役年限"
,
prop
:
"fyqx"
,
},
{
label
:
"退役单位"
,
prop
:
"trainingUnit"
,
},
{
label
:
"退役日期"
,
prop
:
"retiredDate"
,
},
{
label
:
"原技术人员"
,
prop
:
"personName"
,
},
{
label
:
"接收单位"
,
prop
:
"acceptUnit"
,
},
{
label
:
"接收技术人员"
,
prop
:
"acceptArtisan"
,
},
{
label
:
"接收人员身份证号码"
,
prop
:
"acceptArtisanCard"
,
},
{
label
:
"接收日期"
,
prop
:
"acceptDate"
,
},
{
label
:
"审核单位"
,
prop
:
"auditUnit"
,
},
{
label
:
"审核人员"
,
prop
:
"auditStaff"
,
},
{
label
:
"审核人员身份证号码"
,
prop
:
"auditStaffCard"
,
},
{
label
:
"审核日期"
,
prop
:
"auditDate"
,
},
]
return
arr
}
// 退役犬管理(默认列)
export
const
getTyqglDefaultColumns
=
()
=>
{
let
arr
=
[
{
label
:
"芯片号"
,
prop
:
"chipCode"
,
},
{
label
:
"警犬名称"
,
prop
:
"name"
,
},
{
label
:
"出生日期"
,
prop
:
"birthDate"
,
},
{
label
:
"退役日期"
,
prop
:
"retiredDate"
,
},
{
label
:
"退役单位"
,
prop
:
"trainingUnit"
,
},
]
return
arr
}
src/views/dataJq/dogCount.vue
View file @
8470b1c8
...
...
@@ -25,7 +25,7 @@
style=
"background: #fa654f"
></span>
退役犬
</div>
<div>
0
<span
class=
"dog_co_right_one_nao"
>
头
</span></div>
<div>
{{
qzCount
.
retiredDog
}}
<span
class=
"dog_co_right_one_nao"
>
头
</span></div>
</div>
<div
class=
"dog_co_right_one"
...
...
@@ -37,7 +37,7 @@
style=
"background: #ffc64e"
></span>
种犬
</div>
<div>
0
<span
class=
"dog_co_right_one_nao"
>
头
</span></div>
<div>
{{
qzCount
.
studDog
}}
<span
class=
"dog_co_right_one_nao"
>
头
</span></div>
</div>
</div>
</div>
...
...
src/views/poDogRetireManage/components/poDogRetireManageEdit.vue
0 → 100644
View file @
8470b1c8
<
template
>
<div></div>
</
template
>
<
script
>
export
default
{
name
:
"poDogRetireManageEdit"
,
data
()
{
return
{};
},
};
</
script
>
\ No newline at end of file
src/views/poDogRetireManage/index.vue
View file @
8470b1c8
This diff is collapsed.
Click to expand it.
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