Commit 8470b1c8 by liuguorong93

退役犬管理 静态页面

parent 70a2e380
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)
...@@ -182,7 +182,6 @@ export default [ ...@@ -182,7 +182,6 @@ export default [
isEditPage: true isEditPage: true
} }
}, },
// 工作犬等级评定管理(二级菜单) // 工作犬等级评定管理(二级菜单)
{ {
path: 'jobDogGradeManage', path: 'jobDogGradeManage',
...@@ -324,8 +323,32 @@ export default [ ...@@ -324,8 +323,32 @@ export default [
meta: { meta: {
title: '警用退役犬信息管理', title: '警用退役犬信息管理',
isOneMenu: false, isOneMenu: false,
keepAlive: true,
oneMenuName: 'poDogManage', 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
} }
}, },
// 警犬电子沙盘(只有一级菜单) // 警犬电子沙盘(只有一级菜单)
......
...@@ -373,3 +373,97 @@ export const getJyzqDefaultColumns = () => { ...@@ -373,3 +373,97 @@ export const getJyzqDefaultColumns = () => {
] ]
return arr 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
}
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
style="background: #fa654f" style="background: #fa654f"
></span>退役犬 ></span>退役犬
</div> </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>
<div <div
class="dog_co_right_one" class="dog_co_right_one"
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
style="background: #ffc64e" style="background: #ffc64e"
></span>种犬 ></span>种犬
</div> </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> </div>
</div> </div>
......
<template>
<div></div>
</template>
<script>
export default {
name: "poDogRetireManageEdit",
data() {
return {};
},
};
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment