Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
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
songrui
frontend-h5
Commits
0e86d9ac
Commit
0e86d9ac
authored
Nov 21, 2024
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居民端小程序 v1.2 随访列表专病调整
parent
b3398af9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
List.vue
src/residentWX/visit/List.vue
+14
-14
vue.config.js
vue.config.js
+4
-4
No files found.
src/residentWX/visit/List.vue
View file @
0e86d9ac
...
@@ -93,22 +93,22 @@ export default {
...
@@ -93,22 +93,22 @@ export default {
baseInfo
()
{
baseInfo
()
{
return
this
.
store
.
userInfo
return
this
.
store
.
userInfo
},
},
chronicTagsArray
()
{
groupsArrays
()
{
let
chronicTagsArray
=
this
.
baseInfo
.
chronicTagsArray
||
''
let
groupsArrays
=
this
.
baseInfo
.
groupsArrays
||
''
return
chronicTagsArray
.
split
(
','
)
return
groupsArrays
.
split
(
','
)
},
},
tabList
()
{
tabList
()
{
const
list
=
[
const
list
=
[
{
title
:
'全部'
,
name
:
undefined
,
code
:
undefined
},
{
title
:
'全部'
,
name
:
undefined
,
code
:
undefined
},
{
title
:
'高血压'
,
name
:
1
,
code
:
'
1
'
},
{
title
:
'高血压'
,
name
:
1
,
code
:
'
512
'
},
{
title
:
'糖尿病'
,
name
:
2
,
code
:
'
2
'
},
{
title
:
'糖尿病'
,
name
:
2
,
code
:
'
1024
'
},
{
title
:
'冠心病'
,
name
:
3
,
code
:
'
4
'
},
{
title
:
'冠心病'
,
name
:
3
,
code
:
'
2048
'
},
{
title
:
'脑卒中'
,
name
:
4
,
code
:
'
8
'
},
{
title
:
'脑卒中'
,
name
:
4
,
code
:
'
4096
'
},
{
title
:
'慢性阻塞性疾病'
,
name
:
5
,
code
:
'
16
'
},
{
title
:
'慢性阻塞性疾病'
,
name
:
5
,
code
:
'
8192
'
},
{
title
:
'慢性肾病'
,
name
:
6
,
code
:
'
32
'
},
{
title
:
'慢性肾病'
,
name
:
6
,
code
:
'
16384
'
},
{
title
:
'血脂异常'
,
name
:
7
,
code
:
'
64
'
}
{
title
:
'血脂异常'
,
name
:
7
,
code
:
'
32768
'
}
]
]
let
res
=
list
.
filter
(
e
=>
this
.
chronicTagsArray
.
includes
(
e
.
code
))
||
[]
let
res
=
list
.
filter
(
e
=>
this
.
groupsArrays
.
includes
(
e
.
code
))
||
[]
res
.
unshift
(
{
title
:
'全部'
,
name
:
''
,
code
:
''
})
res
.
unshift
(
{
title
:
'全部'
,
name
:
''
,
code
:
''
})
return
res
return
res
}
}
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
if
(
!
this
.
isResidentInfo
())
return
if
(
!
this
.
isResidentInfo
())
return
const
query
=
{
const
query
=
{
residentInfoId
:
this
.
baseInfo
.
residentInfoId
,
residentInfoId
:
this
.
baseInfo
.
residentInfoId
,
diseaseType
:
this
.
activeTab
,
groupsArrays
:
this
.
activeTab
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
pageSize
:
this
.
pagination
.
pageSize
}
}
...
@@ -147,8 +147,8 @@ export default {
...
@@ -147,8 +147,8 @@ export default {
this
.
load
()
this
.
load
()
},
},
init
()
{
init
()
{
if
(
this
.
chronicTagsArray
.
length
)
{
if
(
this
.
groupsArrays
.
length
)
{
const
item
=
this
.
tabList
.
find
(
e
=>
e
.
code
===
this
.
chronicTagsArray
[
0
])
||
{}
const
item
=
this
.
tabList
.
find
(
e
=>
e
.
code
===
this
.
groupsArrays
[
0
])
||
{}
this
.
activeTab
=
item
.
name
this
.
activeTab
=
item
.
name
}
}
},
},
...
...
vue.config.js
View file @
0e86d9ac
...
@@ -39,12 +39,12 @@ module.exports = defineConfig({
...
@@ -39,12 +39,12 @@ module.exports = defineConfig({
}
}
},
},
'/chronic-resident'
:
{
'/chronic-resident'
:
{
// target: 'http://192.168.1.125
:8903',
target
:
'http://192.168.1.142
:8903'
,
target
:
'https://beta-tumour.zmnyjk.com'
,
//
target: 'https://beta-tumour.zmnyjk.com',
changOrigin
:
true
,
changOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
//
'^/chronic-resident': '/',
'^/chronic-resident'
:
'/'
,
'^/chronic-resident'
:
'/chronic-resident'
//
'^/chronic-resident': '/chronic-resident'
}
}
}
}
},
},
...
...
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