Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xichonght
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
zhangdishen
xichonght
Commits
8afdf1f6
Commit
8afdf1f6
authored
Aug 01, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
a0e3cd42
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
211 additions
and
5 deletions
+211
-5
global.js
xichongSys/src/utils/global.js
+4
-4
allbaseInfo.vue
xichongSys/src/views/Myvue/allbaseInfo.vue
+1
-1
payInfo.vue
xichongSys/src/views/Myvue/payInfo.vue
+206
-0
No files found.
xichongSys/src/utils/global.js
View file @
8afdf1f6
...
...
@@ -5,14 +5,14 @@
*/
// 后台管理系统服务器地址
//
export const baseUrl = 'http://172.16.10.33:9002'
export
const
baseUrl
=
'http://172.16.10.33:9002'
//export const baseUrl = 'http://172.16.10.25:9009'
export
const
baseUrl
=
"http://172.16.10.33:9002
"
export
const
baseUrl2
=
'http://172.16.10.25:9999
'
//export const baseUrl ="http://faceauth.weface.com.cn:98
"
//export const baseUrl2 = 'http://faceauth.weface.com.cn:97
'
// 系统数据备份还原服务器地址
//export const backupBaseUrl = 'http://localhost:8002'
//export const baseUrl = 'http://faceauth.weface.com.cn:98'
//export const baseUrl
= 'http://172.16.10.163:9002'
export
const
baseUrl2
=
'http://172.16.10.163:9002'
export
default
{
baseUrl
,
...
...
xichongSys/src/views/Myvue/allbaseInfo.vue
View file @
8afdf1f6
...
...
@@ -177,7 +177,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"个人身份"
>
<el-input
v-model=
"form.
grad
e"
readonly
></el-input>
<el-input
v-model=
"form.
identityTyp
e"
readonly
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
xichongSys/src/views/Myvue/payInfo.vue
0 → 100644
View file @
8afdf1f6
<
template
>
<div>
<div
class=
"op"
>
<div
class=
"nam"
>
<el-input
v-model=
"personName"
size=
"mini"
placeholder=
"请输入姓名"
></el-input>
</div>
<div
class=
"idc"
>
<el-input
v-model=
"idcard"
size=
"mini"
placeholder=
"请输入身份证号"
></el-input>
</div>
<el-button
type=
"primary"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-search"
@
click=
"serch"
>
搜索
</el-button>
</div>
<el-table
:data=
"tableData"
style=
"width: 100%"
>
<el-table-column
prop=
"townName"
label=
"乡镇"
>
</el-table-column>
<el-table-column
prop=
"villageName"
label=
"村"
>
</el-table-column>
<el-table-column
prop=
"idcard"
label=
"身份证号"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"姓名"
>
</el-table-column>
<el-table-column
prop=
"grade"
label=
"缴费档次"
>
</el-table-column>
<el-table-column
prop=
"insuredState"
label=
"参保状态"
>
</el-table-column>
<el-table-column
prop=
"payState"
label=
"缴费状态"
>
</el-table-column>
<el-table-column
label=
"操作"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
icon=
"el-icon-s-check"
@
click=
"showDetail(scope.$index, scope.row)"
>
详情
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
class=
"pone"
:page-size=
'10'
layout=
"total, prev, pager, next, jumper"
:total=
"totals"
:current-page
.
sync=
"Page"
@
current-change=
"current_change"
>
</el-pagination>
</div>
</template>
<
style
>
.op
{
display
:
flex
;
align-items
:
center
;
}
.idc
{
width
:
200px
}
.nam
{
margin-right
:
20px
}
.el-table
.warning-row
{
background
:
oldlace
;
}
.el-table
.success-row
{
background
:
#f0f9eb
;
}
</
style
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
import
{
formatDate
}
from
'../../utils/datetime'
export
default
{
data
()
{
return
{
Page
:
1
,
totals
:
0
,
idcard
:
""
,
personName
:
""
,
formLabelWidth
:
10
,
dialogFormVisible
:
false
,
form
:{},
tableData
:
[],
}
},
methods
:
{
showDetail
(
index
,
row
){
this
.
dialogFormVisible
=
true
;
this
.
form
=
row
;
row
.
isOldRural
=
row
.
isOldRural
==
0
?
'否'
:
row
.
isOldRural
==
1
?
"是"
:
""
;
row
.
retireFlag
=
row
.
retireFlag
==
0
?
'否'
:
row
.
retireFlag
==
1
?
"是"
:
""
;
row
.
birthday
=
formatDate
(
row
.
birthday
);
row
.
insuredDate
=
formatDate
(
row
.
insuredDate
);
},
serch
(){
var
data
=
{
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
personName
:
this
.
personName
?
this
.
Encrypt
(
this
.
personName
):
""
,
}
Loading
.
service
();
this
.
$api
.
getlist
.
listAllBaseInfo
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
for
(
var
i
in
res
.
data
.
list
){
res
.
data
.
list
[
i
].
idcard
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
idcard
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
});
},
current_change
(
ss
){
var
data
=
{
pageNum
:
ss
,
pageSize
:
10
,
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
personName
:
this
.
personName
?
this
.
Encrypt
(
this
.
personName
):
""
,
}
Loading
.
service
();
this
.
$api
.
getlist
.
listAllBaseInfo
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
for
(
var
i
in
res
.
data
.
list
){
res
.
data
.
list
[
i
].
idcard
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
idcard
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
});
},
decrypt
(
word
){
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
Encrypt
(
word
)
{
//aes加密
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
let
srcs
=
CryptoJS
.
enc
.
Utf8
.
parse
(
word
);
let
encrypted
=
CryptoJS
.
AES
.
encrypt
(
srcs
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
encrypted
.
toString
();
}
},
created
()
{
this
.
$api
.
getlist
.
listAllBaseInfo
().
then
((
res
)
=>
{
var
list
=
res
.
data
.
list
;
for
(
var
i
in
list
){
res
.
data
.
list
[
i
].
idcard
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
idcard
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
});
}
}
</
script
>
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