Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-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
ynby
folacin-front
Commits
f76daf46
Commit
f76daf46
authored
Jan 21, 2022
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试BU修改
parent
aa899207
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
19 deletions
+25
-19
.env.dev
.env.dev
+2
-2
.env.production
.env.production
+3
-7
dist.zip
dist.zip
+0
-0
Login.vue
src/views/Login.vue
+1
-0
addFolviteDistribution.vue
...folviteDistribution/components/addFolviteDistribution.vue
+16
-7
folviteDistributionDetail.vue
...viteDistribution/components/folviteDistributionDetail.vue
+1
-1
folviteDistribution.vue
...ndexComponent/folviteDistribution/folviteDistribution.vue
+1
-1
common.js
src/views/utils/common.js
+1
-1
No files found.
.env.dev
View file @
f76daf46
NODE_ENV = dev
NODE_ENV = dev
VUE_APP_BASE_URL
3
= https://beta-ysservice.yiboshi.com
VUE_APP_BASE_URL = https://beta-ysservice.yiboshi.com
VUE_APP_BASE_URL1 = https://ys-service.yiboshi.com
VUE_APP_BASE_URL1 = https://ys-service.yiboshi.com
VUE_APP_BASE_URL111 = http://59.230.237.90:8115
VUE_APP_BASE_URL111 = http://59.230.237.90:8115
VUE_APP_BASE_URL
= http://127.0.0.1
:8083
VUE_APP_BASE_URL
22 = http://192.168.1.103
:8083
VUE_APP_BASE_PATH = https://beta-yac.yiboshi.com
VUE_APP_BASE_PATH = https://beta-yac.yiboshi.com
VUE_APP_KEY_WORD = 'XwKsGlMcdPMEhR1B'
VUE_APP_KEY_WORD = 'XwKsGlMcdPMEhR1B'
...
...
.env.production
View file @
f76daf46
NODE_ENV = prod
NODE_ENV = prod
VUE_APP_BASE_URL1 = https://beta-ysservice.yiboshi.com
VUE_APP_BASE_URL = https://ys-service.yiboshi.com
VUE_APP_BASE_URL1 = https://ys-service.yiboshi.com
VUE_APP_BASE_PATH = https://lcgwypt-login.yiboshi.com
VUE_APP_BASE_URL = https://beta-ysservice.yiboshi.com
VUE_APP_BASE_PATH = https://beta-yac.yiboshi.com
VUE_APP_KEY_WORD = 'XwKsGlMcdPMEhR1B'
VUE_APP_KEY_WORD = 'XwKsGlMcdPMEhR1B'
VUE_APP_LOCATION = https://yesuan.yiboshi.com/#/
VUE_APP_LOCATION = https://beta-yesuan.yiboshi.com/#/
VUE_APP_LOCATION1 = https://yesuan.yiboshi.com/#/
dist.zip
View file @
f76daf46
No preview for this file type
src/views/Login.vue
View file @
f76daf46
...
@@ -56,6 +56,7 @@ export default {
...
@@ -56,6 +56,7 @@ export default {
return
{
return
{
userList
:
[],
userList
:
[],
formData
:
{
formData
:
{
username
:
"4040050358"
,
password
:
"YNybs2021?"
password
:
"YNybs2021?"
},
},
formRules
:
{},
formRules
:
{},
...
...
src/views/indexComponent/folviteDistribution/components/addFolviteDistribution.vue
View file @
f76daf46
...
@@ -479,15 +479,19 @@ export default {
...
@@ -479,15 +479,19 @@ export default {
if
(
this
.
formData
.
bmi
>=
28
&&
this
.
checkedList
.
length
==
0
)
{
if
(
this
.
formData
.
bmi
>=
28
&&
this
.
checkedList
.
length
==
0
)
{
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
}
}
if
(
this
.
formData
.
bmi
<
28
&&
this
.
checkedList
.
length
==
0
)
{
this
.
formData
.
recommendEat
=
"1颗/天(0.4mg/天)"
;
}
}
}
},
},
onChange
(
checkedList
)
{
onChange
(
checkedList
)
{
this
.
formData
.
recommendEat
=
"
1颗/天(0.4
mg/天)"
;
this
.
formData
.
recommendEat
=
"
2颗/天(0.8
mg/天)"
;
if
(
this
.
formData
.
bmi
>=
28
&&
checkedList
.
length
==
0
)
{
if
(
this
.
formData
.
bmi
>=
28
&&
checkedList
.
length
==
0
)
{
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
return
;
}
}
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
if
(
this
.
formData
.
bmi
<
28
&&
checkedList
.
length
==
0
)
{
this
.
formData
.
recommendEat
=
"1颗/天(0.4mg/天)"
;
}
checkedList
.
forEach
(
x
=>
{
checkedList
.
forEach
(
x
=>
{
if
(
x
==
'3'
)
{
if
(
x
==
'3'
)
{
this
.
formData
.
recommendEat
=
"10颗/天(4mg/天)"
;
this
.
formData
.
recommendEat
=
"10颗/天(4mg/天)"
;
...
@@ -544,7 +548,7 @@ export default {
...
@@ -544,7 +548,7 @@ export default {
if
(
this
.
formData
.
bmi
>=
28
)
{
if
(
this
.
formData
.
bmi
>=
28
)
{
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
this
.
formData
.
recommendEat
=
"2颗/天(0.8mg/天)"
;
}
}
if
(
this
.
formData
.
womenCertificateType
==
1
)
{
if
(
this
.
formData
.
womenCertificateType
==
'1'
)
{
let
length
=
this
.
formData
.
womenIdCard
.
length
;
let
length
=
this
.
formData
.
womenIdCard
.
length
;
if
(
length
==
15
|
length
==
18
)
{
if
(
length
==
15
|
length
==
18
)
{
let
year
=
this
.
formData
.
womenIdCard
.
substring
(
6
,
10
);
let
year
=
this
.
formData
.
womenIdCard
.
substring
(
6
,
10
);
...
@@ -562,9 +566,14 @@ export default {
...
@@ -562,9 +566,14 @@ export default {
},
},
getWomenIdCardInfo
()
{
getWomenIdCardInfo
()
{
GetUserInfoByCardDevice
().
then
(
res
=>
{
GetUserInfoByCardDevice
().
then
(
res
=>
{
let
{
cardno
,
name
,
address
}
=
res
;
let
{
cardno
,
name
,
born
,
address
}
=
res
;
this
.
formData
.
womanName
=
name
this
.
formData
.
womanName
=
name
;
this
.
formData
.
womenIdCard
=
cardno
this
.
formData
.
womenCertificateType
=
'1'
;
this
.
formData
.
womenIdCard
=
cardno
;
let
year
=
born
.
substring
(
0
,
4
);
let
moth
=
born
.
substring
(
4
,
6
);
let
day
=
born
.
substring
(
6
,
8
);
this
.
formData
.
birthDate
=
year
+
"-"
+
moth
+
"-"
+
day
;
})
})
},
},
getMenIdCardInfo
()
{
getMenIdCardInfo
()
{
...
...
src/views/indexComponent/folviteDistribution/components/folviteDistributionDetail.vue
View file @
f76daf46
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
@
click=
"showVisible=true"
/>
@
click=
"showVisible=true"
/>
</a-descriptions-item>
</a-descriptions-item>
<a-descriptions-item
label=
"签名"
v-if=
"routerParams.source == 2"
>
<a-descriptions-item
label=
"签名"
v-if=
"routerParams.source == 2"
>
<img
style=
"
width: auto;height: 80px
"
:src=
"detailInfo.applySignUrl"
>
<img
style=
"
margin-left: 30px;width: auto;height: 80px;transform: rotate(-90deg)
"
:src=
"detailInfo.applySignUrl"
>
</a-descriptions-item>
</a-descriptions-item>
</a-descriptions>
</a-descriptions>
<!--
<div
class=
"card_info"
>
<!--
<div
class=
"card_info"
>
...
...
src/views/indexComponent/folviteDistribution/folviteDistribution.vue
View file @
f76daf46
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
</div>
</div>
<div
style=
"float: right;margin-right: 50px"
>
<div
style=
"float: right;margin-right: 50px"
>
<div
style=
""
>
签名:
<img
<div
style=
""
>
签名:
<img
style=
"width:
30px;height: 15
0px;transform: rotate(-90deg);margin-left: 60px"
style=
"width:
50px;height: 12
0px;transform: rotate(-90deg);margin-left: 60px"
:src=
"applySignUrl"
/></div>
:src=
"applySignUrl"
/></div>
<div>
签署日期:
<span
style=
"margin-left: 8px"
>
{{ currentRow.parentDate }}
</span></div>
<div>
签署日期:
<span
style=
"margin-left: 8px"
>
{{ currentRow.parentDate }}
</span></div>
</div>
</div>
...
...
src/views/utils/common.js
View file @
f76daf46
...
@@ -192,7 +192,7 @@ export const GetUserInfoByCardDevice = () => {
...
@@ -192,7 +192,7 @@ export const GetUserInfoByCardDevice = () => {
let
url
=
protocol
===
"https:"
?
"https://localhost:9199/api/ReadMsg"
:
"http://localhost:8989/api/ReadMsg"
;
let
url
=
protocol
===
"https:"
?
"https://localhost:9199/api/ReadMsg"
:
"http://localhost:8989/api/ReadMsg"
;
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
// res {code: "-1", retcode: "0x41", retmsg: "读居民身份证操作失败", errmsg: ""}
// res {code: "-1", retcode: "0x41", retmsg: "读居民身份证操作失败", errmsg: ""}
jsonp
(
url
,
{
timeout
:
3000
},
(
err
,
data
)
=>
{
jsonp
(
url
,
{
timeout
:
3000
0
},
(
err
,
data
)
=>
{
if
(
!
err
)
{
if
(
!
err
)
{
if
(
data
.
cardno
)
{
if
(
data
.
cardno
)
{
resolve
(
data
);
resolve
(
data
);
...
...
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