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
7be473fe
Commit
7be473fe
authored
Jul 31, 2019
by
qddidi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11111
1
parent
bf24cc5d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2525 additions
and
2830 deletions
+2525
-2830
package-lock.json
xichongSys/package-lock.json
+2371
-2371
getlist.js
xichongSys/src/http/moudules/getlist.js
+0
-10
index.js
xichongSys/src/router/index.js
+2
-5
datetime.js
xichongSys/src/utils/datetime.js
+5
-16
Cbdj.vue
xichongSys/src/views/Myvue/Cbdj.vue
+2
-1
allbaseInfo.vue
xichongSys/src/views/Myvue/allbaseInfo.vue
+0
-342
flow.vue
xichongSys/src/views/Myvue/flow.vue
+80
-31
newsupdata.vue
xichongSys/src/views/Myvue/newsupdata.vue
+9
-9
rzrecord.vue
xichongSys/src/views/Myvue/rzrecord.vue
+37
-27
shrecord.vue
xichongSys/src/views/Myvue/shrecord.vue
+19
-18
No files found.
xichongSys/package-lock.json
View file @
7be473fe
This source diff could not be displayed because it is too large. You can
view the blob
instead.
xichongSys/src/http/moudules/getlist.js
View file @
7be473fe
...
@@ -123,13 +123,3 @@ export const seledysqdc = (data) => {
...
@@ -123,13 +123,3 @@ export const seledysqdc = (data) => {
data
data
})
})
}
}
//覆盖人员查询
export
const
listAllBaseInfo
=
(
data
)
=>
{
return
axios
({
url
:
'/baseInfo/getAllBaseInfo'
,
method
:
'post'
,
data
})
}
xichongSys/src/router/index.js
View file @
7be473fe
...
@@ -22,7 +22,9 @@ import drdysq from "@/views/Myvue/drdysq";
...
@@ -22,7 +22,9 @@ import drdysq from "@/views/Myvue/drdysq";
import
dryhkbg
from
"@/views/Myvue/dryhkbg"
;
import
dryhkbg
from
"@/views/Myvue/dryhkbg"
;
import
drdcbg
from
"@/views/Myvue/drdcbg"
;
import
drdcbg
from
"@/views/Myvue/drdcbg"
;
import
receivePersonnel
from
"@/views/Myvue/receivePersonnel"
;
import
receivePersonnel
from
"@/views/Myvue/receivePersonnel"
;
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
const
router
=
new
Router
({
const
router
=
new
Router
({
routes
:
[
routes
:
[
{
{
...
@@ -103,11 +105,6 @@ const router = new Router({
...
@@ -103,11 +105,6 @@ const router = new Router({
path
:
"/newsupdata"
,
path
:
"/newsupdata"
,
name
:
"新闻发布"
,
name
:
"新闻发布"
,
component
:
Newsupdata
component
:
Newsupdata
},
{
path
:
"/AllbaseInfo"
,
name
:
"覆盖人员"
,
component
:
AllbaseInfo
}
}
]
]
},
},
...
...
xichongSys/src/utils/datetime.js
View file @
7be473fe
...
@@ -11,12 +11,8 @@
...
@@ -11,12 +11,8 @@
export
function
format
(
datetime
)
{
export
function
format
(
datetime
)
{
return
formatWithSeperator
(
datetime
,
"-"
,
":"
);
return
formatWithSeperator
(
datetime
,
"-"
,
":"
);
}
}
export
function
formatDate
(
datetime
)
{
return
formatWithSeperator
(
datetime
,
"-"
);
}
/**
/**
*
* 时间格式化
* 时间格式化
* 将 2018-09-23T11:54:16.000+0000 格式化成类似 2018/09/23 11:54:16
* 将 2018-09-23T11:54:16.000+0000 格式化成类似 2018/09/23 11:54:16
* 可以指定日期和时间分隔符
* 可以指定日期和时间分隔符
...
@@ -26,19 +22,12 @@ export function formatWithSeperator (datetime, dateSeprator, timeSeprator) {
...
@@ -26,19 +22,12 @@ export function formatWithSeperator (datetime, dateSeprator, timeSeprator) {
if
(
datetime
!=
null
)
{
if
(
datetime
!=
null
)
{
const
dateMat
=
new
Date
(
datetime
);
const
dateMat
=
new
Date
(
datetime
);
const
year
=
dateMat
.
getFullYear
();
const
year
=
dateMat
.
getFullYear
();
const
month
=
addZoo
(
dateMat
.
getMonth
()
+
1
);
const
month
=
dateMat
.
getMonth
()
+
1
;
const
day
=
addZoo
(
dateMat
.
getDate
());
const
day
=
dateMat
.
getDate
();
const
hh
=
addZoo
(
dateMat
.
getHours
());
const
hh
=
dateMat
.
getHours
();
const
mm
=
addZoo
(
dateMat
.
getMinutes
());
const
mm
=
dateMat
.
getMinutes
();
const
ss
=
addZoo
(
dateMat
.
getSeconds
());
const
ss
=
dateMat
.
getSeconds
();
if
(
!
timeSeprator
){
return
year
+
dateSeprator
+
month
+
dateSeprator
+
day
;
}
const
timeFormat
=
year
+
dateSeprator
+
month
+
dateSeprator
+
day
+
" "
+
hh
+
timeSeprator
+
mm
+
timeSeprator
+
ss
;
const
timeFormat
=
year
+
dateSeprator
+
month
+
dateSeprator
+
day
+
" "
+
hh
+
timeSeprator
+
mm
+
timeSeprator
+
ss
;
return
timeFormat
;
return
timeFormat
;
}
}
}
}
function
addZoo
(
val
)
{
return
val
<
9
?
0
+
""
+
val
:
val
;
}
xichongSys/src/views/Myvue/Cbdj.vue
View file @
7be473fe
...
@@ -279,8 +279,9 @@ export default {
...
@@ -279,8 +279,9 @@ export default {
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardfrontpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardfrontpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
)
console
.
log
(
this
.
form
)
console
.
log
(
this
.
form
)
this
.
form
.
sex
=
this
.
form
.
sex
==
1
?
"男"
:
"女"
this
.
form
.
sex
=
this
.
form
.
sex
==
1
?
"男"
:
"女"
...
...
xichongSys/src/views/Myvue/allbaseInfo.vue
deleted
100644 → 0
View file @
bf24cc5d
<
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>
<!--详细信息弹框-->
<el-dialog
title=
"详细信息"
:visible
.
sync=
"dialogFormVisible"
width=
"800px"
>
<el-form
:model=
"form"
label-width=
"90px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"身份证"
>
<el-input
v-model=
"form.idcard"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"个人编号"
>
<el-input
v-model=
"form.personNum"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"性别"
>
<el-input
v-model=
"form.sex"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"民族"
>
<el-input
v-model=
"form.nation"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"出生日期"
>
<el-input
v-model=
"form.birthday"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"统筹区"
>
<el-input
v-model=
"form.countryName"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"乡镇/街道"
>
<el-input
v-model=
"form.townName"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"社区名称"
>
<el-input
v-model=
"form.villageName"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"户口所在地"
>
<el-input
v-model=
"form.adress"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"户口性质"
>
<el-input
v-model=
"form.registerType"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"险种类型"
>
<el-input
v-model=
"form.insuranceType"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"参保状态"
>
<el-input
v-model=
"form.insuredState"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否老农保"
>
<el-input
v-model=
"form.isOldRural"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"缴费状态"
>
<el-input
v-model=
"form.payState"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"缴费档次"
>
<el-input
v-model=
"form.grade"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"人员类别"
>
<el-input
v-model=
"form.personType"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"离退休标志"
>
<el-input
v-model=
"form.retireFlag"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"个人身份"
>
<el-input
v-model=
"form.grade"
readonly=
true
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"参保日期"
>
<el-input
v-model=
"form.insuredDate"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"档案编号"
>
<el-input
v-model=
"form.archivesNum"
readonly=
true
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogFormVisible = false"
>
取 消
</el-button>
</div>
</el-dialog>
</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
>
xichongSys/src/views/Myvue/flow.vue
View file @
7be473fe
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<div
class=
"op"
>
<div
class=
"op"
>
<el-button
type=
"primary"
@
click=
"
dialogVisible = true
"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-circle-plus-outline"
>
新增
</el-button>
<el-button
type=
"primary"
@
click=
"
showadd
"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-circle-plus-outline"
>
新增
</el-button>
</div>
</div>
<el-table
<el-table
...
@@ -62,20 +62,24 @@
...
@@ -62,20 +62,24 @@
<el-dialog
<el-dialog
title=
"新增流程"
title=
"新增流程"
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
width=
"30%"
width=
"60%"
>
>
<el-input
<el-select
v-model=
"title"
clearable
placeholder=
"请选择标题"
style=
"margin-bottom:10px;width:100%"
>
style=
"margin-bottom:20px"
<el-option
placeholder=
"请输入流程标题"
v-for=
"item in titleList"
v-model=
"flowname"
:key=
"item.value"
clearable
>
:label=
"item.label"
</el-input>
:value=
"item.value"
>
</el-option>
</el-select>
<el-select
<el-select
style=
"width:100%"
style=
"width:100%"
v-model=
"value"
v-model=
"value"
multiple
multiple
filterable
filterable
@
visible-change=
"toshow"
default-first-option
default-first-option
placeholder=
"请编辑流程"
>
placeholder=
"请编辑流程"
>
<el-option
<el-option
...
@@ -86,6 +90,7 @@
...
@@ -86,6 +90,7 @@
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
<div
class=
"iii"
v-show=
"showiii"
></div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"del"
>
取 消
</el-button>
<el-button
@
click=
"del"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addflow"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"addflow"
>
确 定
</el-button>
...
@@ -115,14 +120,32 @@
...
@@ -115,14 +120,32 @@
margin
:
0
auto
;
margin
:
0
auto
;
width
:
100px
width
:
100px
}
}
.iii
{
height
:
200px
}
</
style
>
</
style
>
<
script
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
CryptoJS
from
'crypto-js'
import
{
format
}
from
"../../utils/datetime"
console
.
log
(
format
)
// import baseUrl from "../../globe/globeUrl"
// import baseUrl from "../../globe/globeUrl"
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
showiii
:
false
,
//标题
title
:
""
,
titleList
:[{
label
:
"参保登记审核流程"
,
value
:
"1,参保登记审核流程"
},{
label
:
"信息变更审核流程"
,
value
:
"2,信息变更审核流程"
},{
label
:
"待遇申请审核流程"
,
value
:
"3,待遇申请审核流程"
}],
flowname
:
""
,
flowname
:
""
,
dialogVisible
:
false
,
dialogVisible
:
false
,
step
:
''
,
step
:
''
,
...
@@ -130,40 +153,66 @@
...
@@ -130,40 +153,66 @@
totals
:
0
,
totals
:
0
,
input
:
""
,
input
:
""
,
info
:
''
,
info
:
''
,
tableData
:
[{
tableData
:
[],
id
:
1
,
options
:
[],
name
:
"邹"
,
creattime
:
"2019-1-1"
,
person
:
'迪迪'
}],
options
:
[{
value
:
'初审'
,
label
:
'初审'
},
{
value
:
'复核'
,
label
:
'复核'
},
{
value
:
'稽查'
,
label
:
'稽查'
},
{
value
:
'领导审核'
,
label
:
'领导审核'
}],
value
:
[]
value
:
[]
}
}
},
},
methods
:{
methods
:{
current_change
(
s
){
current_change
(
s
){
},
toshow
(
s
){
this
.
showiii
=
s
},
},
del
(){
del
(){
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
},
},
//获取流程
showadd
(){
this
.
options
=
[]
this
.
dialogVisible
=
true
this
.
$api
.
getlist
.
selectRoleName
().
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
for
(
var
i
in
res
.
data
){
this
.
options
.
push
({
label
:
res
.
data
[
i
].
name
,
value
:
res
.
data
[
i
].
name
})
}
}
else
{
alert
(
JSON
.
stringify
(
res
))
}
}).
catch
((
res
)
=>
{
});
},
//新增流程
//新增流程
addflow
()
{
addflow
()
{
this
.
dialogVisible
=
true
console
.
log
(
this
.
value
)
console
.
log
(
this
.
value
)
for
(
var
d
in
this
.
tableData
){
if
(
this
.
tableData
[
d
].
type
==
this
.
title
.
split
(
","
)[
0
]){
this
.
$message
.
error
(
'流程已存在,请选择其它流程!'
);
return
}
var
par
=
{
type
:
this
.
title
.
split
(
","
)[
0
],
flowName
:
this
.
title
.
split
(
","
)[
1
],
roleIds
:
""
,
state
:
1
}
this
.
$api
.
getlist
.
insertFolwCourse
(
par
).
then
((
res
)
=>
{
}).
catch
((
res
)
=>
{
});
}
this
.
dialogVisible
=
false
},
},
indexMethod
(
index
)
{
indexMethod
(
index
)
{
return
index
+
1
;
return
index
+
1
;
...
...
xichongSys/src/views/Myvue/newsupdata.vue
View file @
7be473fe
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
label=
"操作人"
label=
"操作人"
>
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"180"
width=
"180"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -63,10 +63,10 @@
...
@@ -63,10 +63,10 @@
}
}
this
.
$api
.
getlist
.
newsList
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
newsList
(
data
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
});
});
}
}
},
},
created
(){
created
(){
...
@@ -76,10 +76,10 @@
...
@@ -76,10 +76,10 @@
}
}
this
.
$api
.
getlist
.
newsList
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
newsList
(
data
).
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
});
});
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
xichongSys/src/views/Myvue/rzrecord.vue
View file @
7be473fe
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"add"
style=
"margin-left:0"
>
<div
class=
"add"
style=
"margin-left:0"
>
<el-select
size=
"mini"
@
change=
"handleChange"
v-model=
"town"
placeholder=
"请选择乡/镇"
>
<el-select
clearable
size=
"mini"
@
change=
"handleChange"
v-model=
"town"
placeholder=
"请选择乡/镇"
>
<el-option
<el-option
v-for=
"item in list"
v-for=
"item in list"
:key=
"item.town_id"
:key=
"item.town_id"
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</el-select>
</el-select>
</div>
</div>
<div
class=
"add"
>
<div
class=
"add"
>
<el-select
size=
"mini"
@
change=
"torz"
v-model=
"village"
placeholder=
"请选择村"
>
<el-select
size=
"mini"
clearable
@
change=
"torz"
v-model=
"village"
placeholder=
"请选择村"
>
<el-option
<el-option
v-for=
"item2 in list2"
v-for=
"item2 in list2"
:key=
"item2.village_id"
:key=
"item2.village_id"
...
@@ -24,13 +24,13 @@
...
@@ -24,13 +24,13 @@
</el-select>
</el-select>
</div>
</div>
<div
class=
"nam"
>
<div
class=
"nam"
>
<el-input
v-model=
"name"
size=
"mini"
placeholder=
"请输入姓名"
></el-input>
<el-input
v-model=
"name"
clearable
size=
"mini"
placeholder=
"请输入姓名"
></el-input>
</div>
</div>
<div
class=
"idc"
>
<div
class=
"idc"
>
<el-input
v-model=
"idcard"
size=
"mini"
placeholder=
"请输入身份证号"
></el-input>
<el-input
v-model=
"idcard"
size=
"mini"
clearable
placeholder=
"请输入身份证号"
></el-input>
</div>
</div>
<div
class=
"add"
>
<div
class=
"add"
>
<el-select
size=
"mini"
@
change=
"torz"
clearable
v-model=
"state"
placeholder=
"
认证
状态"
>
<el-select
size=
"mini"
@
change=
"torz"
clearable
v-model=
"state"
placeholder=
"
所有
状态"
>
<el-option
<el-option
v-for=
"item3 in stateList"
v-for=
"item3 in stateList"
:key=
"item3.value"
:key=
"item3.value"
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</el-select>
</el-select>
</div>
</div>
<div
class=
"add"
>
<div
class=
"add"
>
<el-select
size=
"mini"
@
change=
"torz"
v-model=
"age"
placeholder=
"选择年龄"
>
<el-select
size=
"mini"
@
change=
"torz"
clearable
v-model=
"age"
placeholder=
"选择年龄"
>
<el-option
<el-option
v-for=
"item4 in ageList"
v-for=
"item4 in ageList"
:key=
"item4.value"
:key=
"item4.value"
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</el-select>
</el-select>
</div>
</div>
<div
class=
"add"
>
<div
class=
"add"
>
<el-select
size=
"mini"
@
change=
"torz"
v-model=
"agemeth"
placeholder=
"年龄计算方式"
>
<el-select
size=
"mini"
@
change=
"torz"
clearable
v-model=
"agemeth"
placeholder=
"年龄计算方式"
>
<el-option
<el-option
v-for=
"item5 in agemethList"
v-for=
"item5 in agemethList"
:key=
"item5.value"
:key=
"item5.value"
...
@@ -88,9 +88,9 @@
...
@@ -88,9 +88,9 @@
<el-table
<el-table
:data=
"tableData"
:data=
"tableData"
style=
"width: 100%"
style=
"width: 100%"
:row-class-name=
"tableRowClassName"
>
stripe
>
<el-table-column
<el-table-column
prop=
"id
card
"
prop=
"id
Number
"
label=
"身份证号"
label=
"身份证号"
width=
"180"
>
width=
"180"
>
</el-table-column>
</el-table-column>
...
@@ -123,7 +123,13 @@
...
@@ -123,7 +123,13 @@
prop=
"createtime"
prop=
"createtime"
label=
"认证照片"
>
label=
"认证照片"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<img
:src=
"scope.row.recordPhotoStr"
width=
"40"
height=
"40"
class=
"head_pic"
/>
<el-popover
placement=
"left"
title=
""
trigger=
"hover"
>
<img
slot=
"reference"
:src=
"scope.row.recordPhotoStr||defaultImg"
height=
"70"
class=
"head_pic"
>
<img
:src=
"scope.row.recordPhotoStr"
height=
"200px"
class=
"head_pic"
/>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -183,6 +189,7 @@ import Cookies from "js-cookie";
...
@@ -183,6 +189,7 @@ import Cookies from "js-cookie";
import
{
Loading
}
from
'element-ui'
;
import
{
Loading
}
from
'element-ui'
;
import
{
listtown
}
from
'../../utils/address'
import
{
listtown
}
from
'../../utils/address'
import
{
baseUrl2
}
from
"../../utils/global"
import
{
baseUrl2
}
from
"../../utils/global"
import
defaultImg
from
"../../assets/defaultPicture.jpg"
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -191,6 +198,7 @@ import {baseUrl2} from "../../utils/global"
...
@@ -191,6 +198,7 @@ import {baseUrl2} from "../../utils/global"
name
:
""
,
name
:
""
,
town
:
""
,
town
:
""
,
village
:
""
,
village
:
""
,
defaultImg
:
defaultImg
,
cit
:
""
,
cit
:
""
,
Page
:
1
,
Page
:
1
,
totals
:
0
,
totals
:
0
,
...
@@ -203,9 +211,6 @@ import {baseUrl2} from "../../utils/global"
...
@@ -203,9 +211,6 @@ import {baseUrl2} from "../../utils/global"
//认证状态
//认证状态
state
:
""
,
state
:
""
,
stateList
:[{
stateList
:[{
value
:
""
,
label
:
"所有状态"
,
},{
value
:
"0"
,
value
:
"0"
,
label
:
"认证成功"
,
label
:
"认证成功"
,
},{
},{
...
@@ -263,8 +268,12 @@ import {baseUrl2} from "../../utils/global"
...
@@ -263,8 +268,12 @@ import {baseUrl2} from "../../utils/global"
},
},
methods
:
{
methods
:
{
//搜索
//搜索
serch
(){
serch
(){
Loading
.
service
();
this
.
serchs
(
1
)
},
serchs
(
p
){
var
start
=
""
var
start
=
""
var
end
=
""
var
end
=
""
if
(
this
.
time
){
if
(
this
.
time
){
...
@@ -283,7 +292,7 @@ import {baseUrl2} from "../../utils/global"
...
@@ -283,7 +292,7 @@ import {baseUrl2} from "../../utils/global"
city_name
:
"南充市"
,
city_name
:
"南充市"
,
county_name
:
"西充县"
,
county_name
:
"西充县"
,
pageSize
:
10
,
pageSize
:
10
,
page
:
1
,
page
:
p
,
town_name
:
this
.
town
.
split
(
","
)[
1
],
town_name
:
this
.
town
.
split
(
","
)[
1
],
village_name
:
this
.
village
.
split
(
","
)[
1
],
village_name
:
this
.
village
.
split
(
","
)[
1
],
iDCard
:
this
.
idcard
,
iDCard
:
this
.
idcard
,
...
@@ -292,17 +301,25 @@ import {baseUrl2} from "../../utils/global"
...
@@ -292,17 +301,25 @@ import {baseUrl2} from "../../utils/global"
end_time
:
end
,
end_time
:
end
,
siType
:
this
.
cblx
,
siType
:
this
.
cblx
,
personName
:
this
.
name
,
personName
:
this
.
name
,
address
:
this
.
agemeth
address
:
this
.
agemeth
,
birthday
:
this
.
age
}
}
Axios
.
get
(
baseUrl2
+
'/search/authentication.do'
,{
Axios
.
get
(
baseUrl2
+
'/search/authentication.do'
,{
params
:
data
params
:
data
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
res
)
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
tableData
=
res
.
data
.
obj
this
.
tableData
=
res
.
data
.
obj
this
.
totals
=
res
.
data
.
page
.
total_count
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
});
});
},
},
...
@@ -310,16 +327,9 @@ import {baseUrl2} from "../../utils/global"
...
@@ -310,16 +327,9 @@ import {baseUrl2} from "../../utils/global"
progress
(
d
,
s
){
progress
(
d
,
s
){
},
},
tableRowClassName
({
row
,
rowIndex
})
{
if
(
rowIndex
===
1
)
{
return
'warning-row'
;
}
else
if
(
rowIndex
===
3
)
{
return
'success-row'
;
}
return
''
;
},
current_change
(
ss
){
current_change
(
ss
){
this
.
serchs
(
ss
)
},
},
//
//
handleChange
(){
handleChange
(){
...
...
xichongSys/src/views/Myvue/shrecord.vue
View file @
7be473fe
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
prop=
"nowExamine"
prop=
"nowExamine"
label=
"当前状态"
>
label=
"当前状态"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"180"
width=
"180"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -119,10 +119,10 @@
...
@@ -119,10 +119,10 @@
.op
{
.op
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
.idc
{
.idc
{
width
:
200px
width
:
200px
}
}
.nam
{
.nam
{
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
// import baseUrl from "../../globe/globeUrl"
// import baseUrl from "../../globe/globeUrl"
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
list
:[],
list
:[],
name
:
""
,
name
:
""
,
...
@@ -181,12 +181,13 @@
...
@@ -181,12 +181,13 @@
methods
:
{
methods
:
{
//搜索
//搜索
serch
(){
serch
(){
var
data
=
{
var
data
=
{
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
,
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
,
townName
:
''
,
townName
:
''
,
villageName
:
''
villageName
:
''
}
}
this
.
$api
.
getlist
.
record
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
record
(
data
).
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
.
list
){
for
(
var
i
in
res
.
data
.
list
){
...
@@ -194,15 +195,15 @@
...
@@ -194,15 +195,15 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
}
}
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
});
});
},
},
//流程
//流程
...
@@ -223,8 +224,8 @@
...
@@ -223,8 +224,8 @@
size
:
'large'
size
:
'large'
})
})
}
else
{
}
else
{
if
(
res
.
data
[
i
].
examineState
==
"审核失败"
){
if
(
res
.
data
[
i
].
examineState
==
"审核失败"
){
this
.
activities
.
push
({
this
.
activities
.
push
({
content
:
res
.
data
[
i
].
role
+
":"
+
"审核失败"
,
content
:
res
.
data
[
i
].
role
+
":"
+
"审核失败"
,
...
@@ -276,7 +277,7 @@
...
@@ -276,7 +277,7 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
}
}
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
...
@@ -300,7 +301,7 @@
...
@@ -300,7 +301,7 @@
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
show
:
false
show
:
false
}
}
})
})
...
@@ -349,7 +350,7 @@
...
@@ -349,7 +350,7 @@
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
}
},
},
created
(){
created
(){
for
(
var
i
in
listtown
){
for
(
var
i
in
listtown
){
this
.
list
.
push
({
this
.
list
.
push
({
...
@@ -369,7 +370,7 @@
...
@@ -369,7 +370,7 @@
var
data
=
{
var
data
=
{
idcard
:
''
,
idcard
:
''
,
recordType
:
''
recordType
:
''
}
}
this
.
$api
.
getlist
.
record
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
record
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
...
@@ -381,13 +382,13 @@
...
@@ -381,13 +382,13 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
}
}
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
@@ -411,8 +412,8 @@
...
@@ -411,8 +412,8 @@
// that.tableData=res.data.list
// that.tableData=res.data.list
// that.totals=res.data.total
// that.totals=res.data.total
// that.page=res.data.total.pageNum
// that.page=res.data.total.pageNum
// }
// }
// })
// })
}
}
...
...
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