Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-manage
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
new-zhengjiang
zj-manage
Commits
b262e3e7
Commit
b262e3e7
authored
Jun 24, 2023
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
2030336e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
314 additions
and
295 deletions
+314
-295
.DS_Store
.DS_Store
+0
-0
index.js
src/router/index.js
+269
-250
index.vue
src/views/FamilyManage/index.vue
+45
-45
No files found.
.DS_Store
View file @
b262e3e7
No preview for this file type
src/router/index.js
View file @
b262e3e7
import
Vue
from
'vue'
import
Vue
from
"vue"
;
import
VueRouter
from
'vue-router'
import
VueRouter
from
"vue-router"
;
import
Login
from
'../views/Login'
import
Login
from
"../views/Login"
;
Vue
.
use
(
VueRouter
)
Vue
.
use
(
VueRouter
);
const
routes
=
[{
const
routes
=
[
path
:
'/login'
,
{
name
:
'login'
,
path
:
"/login"
,
component
:
Login
name
:
"login"
,
},
component
:
Login
,
{
},
path
:
"*"
,
{
name
:
"layout"
,
path
:
"*"
,
redirect
:
"/home"
,
name
:
"layout"
,
redirect
:
"/home"
,
component
:
()
=>
import
(
/* webpackChunkName: "layout" */
"@/layout/index.vue"
),
children
:
[
{
path
:
"/home"
,
name
:
"home"
,
component
:
()
=>
component
:
()
=>
import
(
/* webpackChunkName: "layout" */
"@/layout/index.vue"
),
import
(
/* webpackChunkName: "home" */
"@/views/Home/index.vue"
),
children
:
[{
meta
:
[
"首页"
],
path
:
"/home"
,
},
name
:
"home"
,
// 角色管理
component
:
()
=>
{
import
(
/* webpackChunkName: "home" */
"@/views/Home/index.vue"
),
path
:
"/role"
,
meta
:
[
"首页"
],
name
:
"role"
,
},
component
:
()
=>
// 角色管理
import
(
/* webpackChunkName: "home" */
"@/views/Role/index.vue"
),
{
meta
:
[
"系统管理"
],
path
:
"/role"
,
},
name
:
"role"
,
// 用户管理
component
:
()
=>
{
import
(
/* webpackChunkName: "home" */
"@/views/Role/index.vue"
),
path
:
"/user"
,
meta
:
[
"系统管理"
],
name
:
"user"
,
},
component
:
()
=>
// 用户管理
import
(
/* webpackChunkName: "home" */
"@/views/User/index.vue"
),
{
meta
:
[
"系统管理"
],
path
:
"/user"
,
},
name
:
"user"
,
// 菜单管理
component
:
()
=>
{
import
(
/* webpackChunkName: "home" */
"@/views/User/index.vue"
),
path
:
"/menu"
,
meta
:
[
"系统管理"
],
name
:
"menu"
,
},
component
:
()
=>
// 菜单管理
import
(
/* webpackChunkName: "home" */
"@/views/Menu/index.vue"
),
{
meta
:
[
"系统管理"
],
path
:
"/menu"
,
},
name
:
"menu"
,
// 80%契税补贴
component
:
()
=>
{
import
(
/* webpackChunkName: "home" */
"@/views/Menu/index.vue"
),
path
:
"/deedtax"
,
meta
:
[
"系统管理"
],
name
:
"deedtax"
,
},
component
:
()
=>
// 80%契税补贴
import
(
/* webpackChunkName: "home" */
"@/views/Deedtax/index.vue"
),
{
meta
:
[
"80%契税补贴"
],
path
:
"/deedtax"
,
},
name
:
"deedtax"
,
{
component
:
()
=>
path
:
"/deedtax-house"
,
import
(
/* webpackChunkName: "home" */
"@/views/Deedtax/index.vue"
),
name
:
"deedtaxHouse"
,
meta
:
[
"80%契税补贴"
],
component
:
()
=>
},
{
import
(
/* webpackChunkName: "home" */
"@/views/Deedtax/house.vue"
),
path
:
"/deedtax-house"
,
meta
:
[
"80%契税补贴"
],
name
:
"deedtaxHouse"
,
},
component
:
()
=>
//商业契税补贴
import
(
/* webpackChunkName: "home" */
"@/views/Deedtax/house.vue"
),
{
meta
:
[
"80%契税补贴"
],
path
:
"/commercialdeedtax"
,
},
name
:
"commercialdeedtax"
,
//商业契税补贴
component
:
()
=>
{
import
(
path
:
"/commercialdeedtax"
,
/* webpackChunkName: "home" */
"@/views/Commercialdeedtax/index.vue"
name
:
"commercialdeedtax"
,
),
component
:
()
=>
meta
:
[
"商业契税补贴"
],
import
(
/* webpackChunkName: "home" */
"@/views/Commercialdeedtax/index.vue"
),
},
meta
:
[
"商业契税补贴"
],
{
},
{
path
:
"/commercial-deedtax-house"
,
path
:
"/commercial-deedtax-house"
,
name
:
"commercialdeedtaxHouse"
,
name
:
"commercialdeedtaxHouse"
,
component
:
()
=>
component
:
()
=>
import
(
import
(
/* webpackChunkName: "home" */
"@/views/Commercialdeedtax/house.vue"
),
/* webpackChunkName: "home" */
"@/views/Commercialdeedtax/house.vue"
meta
:
[
"商业契税补贴"
],
),
},
meta
:
[
"商业契税补贴"
],
//多子女契税补贴
},
{
//多子女契税补贴
path
:
"/multipledeedtax"
,
{
name
:
"multipledeedtax"
,
path
:
"/multipledeedtax"
,
component
:
()
=>
name
:
"multipledeedtax"
,
import
(
/* webpackChunkName: "home" */
"@/views/Multipledeedtax/index.vue"
),
component
:
()
=>
meta
:
[
"多子女契税补贴"
],
import
(
},
{
/* webpackChunkName: "home" */
"@/views/Multipledeedtax/index.vue"
path
:
"/multiple-deedtax-house"
,
),
name
:
"multipledeedtaxHouse"
,
meta
:
[
"多子女契税补贴"
],
component
:
()
=>
},
import
(
/* webpackChunkName: "home" */
"@/views/Multipledeedtax/house.vue"
),
{
meta
:
[
"多子女契税补贴"
],
path
:
"/multiple-deedtax-house"
,
},
name
:
"multipledeedtaxHouse"
,
//改善住房契税补贴
component
:
()
=>
{
import
(
path
:
"/housingimprovementdeedtax"
,
/* webpackChunkName: "home" */
"@/views/Multipledeedtax/house.vue"
name
:
"housingimprovementdeedtax"
,
),
component
:
()
=>
meta
:
[
"多子女契税补贴"
],
import
(
/* webpackChunkName: "home" */
"@/views/Housedeedtax/index.vue"
),
},
meta
:
[
"改善住房契税补贴"
],
//改善住房契税补贴
},
{
{
path
:
"/housingimprovement-deedtax-house"
,
path
:
"/housingimprovementdeedtax"
,
name
:
"housingimprovementdeedtaxHouse"
,
name
:
"housingimprovementdeedtax"
,
component
:
()
=>
component
:
()
=>
import
(
/* webpackChunkName: "home" */
"@/views/Housedeedtax/house.vue"
),
import
(
meta
:
[
"改善住房契税补贴"
],
/* webpackChunkName: "home" */
"@/views/Housedeedtax/index.vue"
},
),
// 人才政策管理
meta
:
[
"改善住房契税补贴"
],
{
},
path
:
"/policy"
,
{
name
:
"policy"
,
path
:
"/housingimprovement-deedtax-house"
,
component
:
()
=>
name
:
"housingimprovementdeedtaxHouse"
,
import
(
/* webpackChunkName: "home" */
"@/views/Policy/index.vue"
),
component
:
()
=>
meta
:
[
"人才政策管理"
],
import
(
},
{
/* webpackChunkName: "home" */
"@/views/Housedeedtax/house.vue"
path
:
"/policy-guide"
,
),
name
:
"policyGuide"
,
meta
:
[
"改善住房契税补贴"
],
component
:
()
=>
},
import
(
/* webpackChunkName: "home" */
"@/views/Policy/guide.vue"
),
// 人才政策管理
meta
:
[
"人才政策管理"
],
{
},
path
:
"/policy"
,
// 100%契税补贴
name
:
"policy"
,
{
component
:
()
=>
path
:
'/policy-house'
,
import
(
/* webpackChunkName: "home" */
"@/views/Policy/index.vue"
),
name
:
'policyHouse'
,
meta
:
[
"人才政策管理"
],
component
:
()
=>
import
(
'@/views/Policy/house.vue'
),
},
meta
:
[
"100%契税补贴"
],
{
},
{
path
:
"/policy-guide"
,
path
:
'/policy-house-main'
,
name
:
"policyGuide"
,
name
:
'policyHouseMain'
,
component
:
()
=>
component
:
()
=>
import
(
'@/views/Policy/housemain.vue'
),
import
(
/* webpackChunkName: "home" */
"@/views/Policy/guide.vue"
),
meta
:
[
"100%契税补贴"
],
meta
:
[
"人才政策管理"
],
},
{
},
path
:
'/talent-window'
,
// 100%契税补贴
name
:
'talentWindow'
,
{
component
:
()
=>
import
(
'@/views/Policy/talentwindow.vue'
),
path
:
"/policy-house"
,
meta
:
[
"100%契税补贴"
],
name
:
"policyHouse"
,
},
component
:
()
=>
import
(
"@/views/Policy/house.vue"
),
// 购房补贴政策管理
meta
:
[
"100%契税补贴"
],
//住建局
},
{
{
path
:
'/purchase'
,
path
:
"/policy-house-main"
,
name
:
'purchaseIndex'
,
name
:
"policyHouseMain"
,
component
:
()
=>
import
(
'@/views/Purchase/index.vue'
),
component
:
()
=>
import
(
"@/views/Policy/housemain.vue"
),
meta
:
[
"购房补贴政策管理"
],
meta
:
[
"100%契税补贴"
],
},
},
//四个部门
{
{
path
:
"/talent-window"
,
path
:
'/purchase-details'
,
name
:
"talentWindow"
,
name
:
'purchaseDetails'
,
component
:
()
=>
import
(
"@/views/Policy/talentwindow.vue"
),
meta
:
[
'购房补贴政策管理'
],
meta
:
[
"100%契税补贴"
],
component
:
()
=>
import
(
'@/views/Purchase/details'
)
},
},
// 购房补贴政策管理
//人才窗口
//住建局
{
{
path
:
'/purchase-windows'
,
path
:
"/purchase"
,
name
:
'purchaseWindows'
,
name
:
"purchaseIndex"
,
meta
:
[
'购房补贴政策管理'
],
component
:
()
=>
import
(
"@/views/Purchase/index.vue"
),
component
:
()
=>
import
(
'@/views/Purchase/windows'
)
meta
:
[
"购房补贴政策管理"
],
},
},
// 冷链食品申报
//四个部门
{
{
path
:
'/coldfood'
,
path
:
"/purchase-details"
,
name
:
'coldFood'
,
name
:
"purchaseDetails"
,
meta
:
[
'冷链食品'
],
meta
:
[
"购房补贴政策管理"
],
component
:
()
=>
import
(
'@/views/Coldfood/index.vue'
)
component
:
()
=>
import
(
"@/views/Purchase/details"
),
},
},
// 冷链食品自主申报
//人才窗口
{
{
path
:
'/selfreport'
,
path
:
"/purchase-windows"
,
name
:
'selfReport'
,
name
:
"purchaseWindows"
,
meta
:
[
'冷链食品'
],
meta
:
[
"购房补贴政策管理"
],
component
:
()
=>
import
(
'@/views/Coldfood/selfReport'
)
component
:
()
=>
import
(
"@/views/Purchase/windows"
),
},
},
// 冷链食品数据统计
// 冷链食品申报
{
{
path
:
'/coldfood-statistics'
,
path
:
"/coldfood"
,
name
:
'coldfoodStatistics'
,
name
:
"coldFood"
,
meta
:
[
'冷链食品'
],
meta
:
[
"冷链食品"
],
component
:
()
=>
import
(
'@/views/Coldfood/statistics'
)
component
:
()
=>
import
(
"@/views/Coldfood/index.vue"
),
},
},
// 冷链食品商品流向分析
// 冷链食品自主申报
{
{
path
:
'/coldfood-flow'
,
path
:
"/selfreport"
,
name
:
'coldfoodFlow'
,
name
:
"selfReport"
,
meta
:
[
'冷链食品'
],
meta
:
[
"冷链食品"
],
component
:
()
=>
import
(
'@/views/Coldfood/flowAnalysis'
)
component
:
()
=>
import
(
"@/views/Coldfood/selfReport"
),
},
},
// 人才码
// 冷链食品数据统计
{
{
path
:
'/talents'
,
path
:
"/coldfood-statistics"
,
name
:
'talents'
,
name
:
"coldfoodStatistics"
,
meta
:
[
'人才码申报管理'
],
meta
:
[
"冷链食品"
],
component
:
()
=>
import
(
'@/views/Talents/index.vue'
)
component
:
()
=>
import
(
"@/views/Coldfood/statistics"
),
},
},
// 人才码
// 冷链食品商品流向分析
{
{
path
:
'/family-manage'
,
path
:
"/coldfood-flow"
,
name
:
'family'
,
name
:
"coldfoodFlow"
,
meta
:
[
'家庭码'
],
meta
:
[
"冷链食品"
],
component
:
()
=>
import
(
'@/views/FamilyManage/index.vue'
)
component
:
()
=>
import
(
"@/views/Coldfood/flowAnalysis"
),
},
},
// 通用管理
// 人才码
// 登录用户管理
{
{
path
:
"/talents"
,
path
:
'/loginUser'
,
name
:
"talents"
,
name
:
'loginUser'
,
meta
:
[
"人才码申报管理"
],
meta
:
[
'通用管理'
],
component
:
()
=>
import
(
"@/views/Talents/index.vue"
),
component
:
()
=>
import
(
'@/views/Currency/loginUser.vue'
)
},
},
// 人才码
// 实名用户管理
{
{
path
:
"/family-manage"
,
path
:
'/realUser'
,
name
:
"family"
,
name
:
'realUser'
,
meta
:
[
"家庭码"
],
meta
:
[
'通用管理'
],
component
:
()
=>
import
(
"@/views/FamilyManage/index.vue"
),
component
:
()
=>
import
(
'@/views/Currency/realUser.vue'
)
},
},
// 通用管理
// 通行码管理
// 登录用户管理
{
{
path
:
'/epidemic'
,
path
:
"/loginUser"
,
name
:
'epidemic'
,
name
:
"loginUser"
,
meta
:
[
'通行码管理'
],
meta
:
[
"通用管理"
],
component
:
()
=>
import
(
'@/views/Epidemic/index.vue'
)
component
:
()
=>
import
(
"@/views/Currency/loginUser.vue"
),
},
},
// 采样码管理
// 实名用户管理
{
{
path
:
'/nucleicAcid'
,
path
:
"/realUser"
,
name
:
'nucleicAcid'
,
name
:
"realUser"
,
meta
:
[
'采样码管理'
],
meta
:
[
"通用管理"
],
component
:
()
=>
import
(
'@/views/NucleicAcid/index.vue'
)
component
:
()
=>
import
(
"@/views/Currency/realUser.vue"
),
},
},
// 抗原管理
// 通行码管理
{
{
path
:
'/antigen'
,
path
:
"/epidemic"
,
name
:
'antigen'
,
name
:
"epidemic"
,
meta
:
[
'抗原管理'
],
meta
:
[
"通行码管理"
],
component
:
()
=>
import
(
'@/views/Antigen/index.vue'
)
component
:
()
=>
import
(
"@/views/Epidemic/index.vue"
),
},
},
// 核酸采样结果
// 采样码管理
{
{
path
:
'/nucleicAcidResult'
,
path
:
"/nucleicAcid"
,
name
:
'nucleicAcidResult'
,
name
:
"nucleicAcid"
,
meta
:
[
'核酸采样结果'
],
meta
:
[
"采样码管理"
],
component
:
()
=>
import
(
'@/views/NucleicAcid/result.vue'
)
component
:
()
=>
import
(
"@/views/NucleicAcid/index.vue"
),
},
},
]
// 抗原管理
{
},
path
:
"/antigen"
,
]
name
:
"antigen"
,
meta
:
[
"抗原管理"
],
component
:
()
=>
import
(
"@/views/Antigen/index.vue"
),
},
// 核酸采样结果
{
path
:
"/nucleicAcidResult"
,
name
:
"nucleicAcidResult"
,
meta
:
[
"核酸采样结果"
],
component
:
()
=>
import
(
"@/views/NucleicAcid/result.vue"
),
},
],
},
];
const
router
=
new
VueRouter
({
const
router
=
new
VueRouter
({
mode
:
'hash'
,
mode
:
"hash"
,
base
:
process
.
env
.
BASE_URL
,
base
:
process
.
env
.
BASE_URL
,
routes
routes
,
})
})
;
const
routerPush
=
VueRouter
.
prototype
.
push
;
const
routerPush
=
VueRouter
.
prototype
.
push
;
VueRouter
.
prototype
.
push
=
function
push
(
location
)
{
VueRouter
.
prototype
.
push
=
function
push
(
location
)
{
return
routerPush
.
call
(
this
,
location
).
catch
((
error
)
=>
error
);
return
routerPush
.
call
(
this
,
location
).
catch
((
error
)
=>
error
);
};
};
export
default
router
export
default
router
;
\ No newline at end of file
src/views/FamilyManage/index.vue
View file @
b262e3e7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
>
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"居住地址"
>
<el-form-item
label=
"居住地址"
v-if=
"!$route.query.areaCode"
>
<el-select
<el-select
v-model=
"searchForm.areaCode"
v-model=
"searchForm.areaCode"
clearable
clearable
...
@@ -95,10 +95,18 @@
...
@@ -95,10 +95,18 @@
size=
"mini"
size=
"mini"
round
round
@
click=
"getRecord(scope.row)"
@
click=
"getRecord(scope.row)"
v-if=
"
!this.$route.query.areaCode &&
this.$route.query.areaCode == '321199'
"
>
记录
</el-button
>
记录
</el-button
>
>
<el-button
<el-button
v-if=
"scope.row.stateCode == '0'"
v-if=
"
scope.row.stateCode == '0' &&
!this.$route.query.areaCode &&
this.$route.query.areaCode == '321199'
"
type=
"success"
type=
"success"
size=
"mini"
size=
"mini"
round
round
...
@@ -109,7 +117,11 @@
...
@@ -109,7 +117,11 @@
type=
"danger"
type=
"danger"
size=
"mini"
size=
"mini"
round
round
v-if=
"scope.row.stateCode == '0'"
v-if=
"
scope.row.stateCode == '0' &&
!this.$route.query.areaCode &&
this.$route.query.areaCode == '321199'
"
@
click=
"auditHandle(scope.row, '1')"
@
click=
"auditHandle(scope.row, '1')"
>
拒绝
</el-button
>
拒绝
</el-button
>
>
...
@@ -582,7 +594,7 @@ export default {
...
@@ -582,7 +594,7 @@ export default {
options
:
[],
options
:
[],
// 状态吗
// 状态吗
reviewStateOptions
:
[],
reviewStateOptions
:
[],
branch
Code
:
""
,
// 管理后台给的code
area
Code
:
""
,
// 管理后台给的code
code
:
""
,
code
:
""
,
userName
:
""
,
userName
:
""
,
searchForm
:
{
searchForm
:
{
...
@@ -690,40 +702,35 @@ export default {
...
@@ -690,40 +702,35 @@ export default {
},
},
watch
:
{
watch
:
{
$route
()
{
$route
()
{
// if (this.$route) {
if
(
this
.
$route
)
{
// this.userName = localStorage.getItem('userName');
this
.
userName
=
localStorage
.
getItem
(
"userName"
);
// this.branchCode = this.$route.query.branchCode
this
.
areaCode
=
this
.
$route
.
query
.
areaCode
// ? this.$route.query.branchCode
?
this
.
$route
.
query
.
areaCode
// : '';
:
""
;
// this.code = this.$route.query.code ? this.$route.query.code : '';
console
.
log
(
this
.
areaCode
,
"11345"
);
// this.searchForm.name = '';
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
""
;
// this.searchForm.phone = '';
this
.
searchForm
.
name
=
""
;
// this.searchForm.typeCode = '';
this
.
searchForm
.
phone
=
""
;
// this.searchForm.state = '';
this
.
searchForm
.
areaCode
=
this
.
areaCode
;
// this.searchForm.recordName = '';
this
.
searchForm
.
stateCode
=
""
;
// this.searchForm.unitName = '';
this
.
auditData
=
{
// this.init();
state
:
""
,
// this.initType();
stateCode
:
""
,
// if (!this.branchCode) {
record
:
""
,
//评语
// this.initBranch();
departName
:
"卫健委"
,
// }
familyCode
:
""
,
// }
user
:
""
,
// },
};
this
.
init
();
this
.
initType
();
// if (!this.branchCode) {
// this.initBranch();
// }
}
},
},
},
},
// },
methods
:
{
methods
:
{
switechBranch
(
branchCode
)
{
switch
(
branchCode
)
{
case
"5"
:
return
"镇江市区"
;
case
"17"
:
return
"丹阳市"
;
case
"18"
:
return
"句容市"
;
case
"19"
:
return
"扬中市"
;
}
},
dealDom
(
val
)
{
dealDom
(
val
)
{
console
.
log
(
val
);
console
.
log
(
val
);
return
val
.
replace
(
/镇江市外
\/
/g
,
""
);
return
val
.
replace
(
/镇江市外
\/
/g
,
""
);
...
@@ -818,14 +825,6 @@ export default {
...
@@ -818,14 +825,6 @@ export default {
this
.
viewDetail
.
partnerVO
.
partnerPictureList
.
filter
(
this
.
viewDetail
.
partnerVO
.
partnerPictureList
.
filter
(
(
item
)
=>
item
.
pictureType
==
1
(
item
)
=>
item
.
pictureType
==
1
);
);
// this.viewDetail.partnerVO.marriagePicture =
// this.viewDetail.partnerVO.partnerPictureList.filter(
// (item) => item.pictureType == 2
// );
// this.viewDetail.partnerVO.birthCertificate =
// this.viewDetail.partnerVO.partnerPictureList.filter(
// (item) => item.pictureType == 3
// );
}
}
});
});
},
},
...
@@ -915,9 +914,10 @@ export default {
...
@@ -915,9 +914,10 @@ export default {
mounted
()
{},
mounted
()
{},
created
()
{
created
()
{
this
.
userName
=
localStorage
.
getItem
(
"userName"
);
this
.
userName
=
localStorage
.
getItem
(
"userName"
);
this
.
branchCode
=
this
.
$route
.
query
.
branch
Code
this
.
areaCode
=
this
.
$route
.
query
.
area
Code
?
this
.
$route
.
query
.
branch
Code
?
this
.
$route
.
query
.
area
Code
:
""
;
:
""
;
console
.
log
(
this
.
$route
.
query
.
areaCode
,
111
);
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
""
;
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
""
;
this
.
init
();
this
.
init
();
this
.
initType
();
this
.
initType
();
...
...
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