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
48597071
Commit
48597071
authored
Aug 02, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Plain Diff
''
parents
8afdf1f6
bafe1201
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
167 additions
and
100 deletions
+167
-100
index.js
xichongSys/src/router/index.js
+5
-5
global.js
xichongSys/src/utils/global.js
+6
-2
allbaseInfo.vue
xichongSys/src/views/Myvue/allbaseInfo.vue
+6
-3
authRecord.vue
xichongSys/src/views/Myvue/authRecord.vue
+0
-0
drdcbg.vue
xichongSys/src/views/Myvue/drdcbg.vue
+20
-20
drxxbg.vue
xichongSys/src/views/Myvue/drxxbg.vue
+20
-20
dryhkbg.vue
xichongSys/src/views/Myvue/dryhkbg.vue
+20
-20
examRecord.vue
xichongSys/src/views/Myvue/examRecord.vue
+0
-0
flow.vue
xichongSys/src/views/Myvue/flow.vue
+90
-30
infoChange.vue
xichongSys/src/views/Myvue/infoChange.vue
+0
-0
insuredReg.vue
xichongSys/src/views/Myvue/insuredReg.vue
+0
-0
No files found.
xichongSys/src/router/index.js
View file @
48597071
...
...
@@ -10,12 +10,12 @@ import api from '@/http/api'
import
store
from
'@/store'
import
{
getIFramePath
,
getIFrameUrl
}
from
'@/utils/iframe'
import
Table
from
'@/views/Myvue/table'
import
Cbdj
from
'@/views/Myvue/
Cbdj
'
import
Cbdj
from
'@/views/Myvue/
insuredReg
'
import
Flow
from
'@/views/Myvue/flow'
import
shrecord
from
'@/views/Myvue/
shr
ecord'
import
shrecord
from
'@/views/Myvue/
examR
ecord'
import
drcbdj
from
"@/views/Myvue/drcbdj"
import
xxbg
from
"@/views/Myvue/
xxbg
"
import
Record
from
"@/views/Myvue/
rzr
ecord"
import
xxbg
from
"@/views/Myvue/
infoChange
"
import
Record
from
"@/views/Myvue/
authR
ecord"
import
Newsupdata
from
"@/views/Myvue/newsupdata"
import
drxxbg
from
"@/views/Myvue/drxxbg"
;
import
drdysq
from
"@/views/Myvue/drdysq"
;
...
...
@@ -78,7 +78,7 @@ const router = new Router({
component
:
drxxbg
},
{
path
:
"/modify
id
card"
,
path
:
"/modify
bank
card"
,
name
:
"银行卡变更"
,
component
:
dryhkbg
},
...
...
xichongSys/src/utils/global.js
View file @
48597071
...
...
@@ -5,14 +5,18 @@
*/
// 后台管理系统服务器地址
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://faceauth.weface.com.cn:98"
//export const baseUrl2 = 'http://faceauth.weface.com.cn:97'
//export const baseUrl = 'http://172.16.10.33:9002'
//export const baseUrl = 'http://172.16.10.25:9002'
export
const
baseUrl
=
"http://172.16.10.33:9002"
export
const
baseUrl2
=
'http://172.16.10.25:9999'
// 系统数据备份还原服务器地址
//export const backupBaseUrl = 'http://localhost:8002'
//export const baseUrl = 'http://faceauth.weface.com.cn:98'
export
const
baseUrl2
=
'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 @
48597071
...
...
@@ -246,8 +246,6 @@
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
);
},
...
...
@@ -265,6 +263,8 @@
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
)
res
.
data
.
list
[
i
].
isOldRural
=
res
.
data
.
list
[
i
].
isOldRural
==
0
?
'否'
:
res
.
data
.
list
[
i
].
isOldRural
==
1
?
"是"
:
""
;
res
.
data
.
list
[
i
].
retireFlag
=
res
.
data
.
list
[
i
].
retireFlag
==
0
?
'否'
:
res
.
data
.
list
[
i
].
retireFlag
==
1
?
"是"
:
""
;
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
...
...
@@ -292,6 +292,8 @@
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
)
res
.
data
.
list
[
i
].
isOldRural
=
res
.
data
.
list
[
i
].
isOldRural
==
0
?
'否'
:
res
.
data
.
list
[
i
].
isOldRural
==
1
?
"是"
:
""
;
res
.
data
.
list
[
i
].
retireFlag
=
res
.
data
.
list
[
i
].
retireFlag
==
0
?
'否'
:
res
.
data
.
list
[
i
].
retireFlag
==
1
?
"是"
:
""
;
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
...
...
@@ -324,7 +326,8 @@
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
)
res
.
data
.
list
[
i
].
isOldRural
=
res
.
data
.
list
[
i
].
isOldRural
==
0
?
'否'
:
res
.
data
.
list
[
i
].
isOldRural
==
1
?
"是"
:
""
;
res
.
data
.
list
[
i
].
retireFlag
=
res
.
data
.
list
[
i
].
retireFlag
==
0
?
'否'
:
res
.
data
.
list
[
i
].
retireFlag
==
1
?
"是"
:
""
;
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
...
...
xichongSys/src/views/Myvue/
rzr
ecord.vue
→
xichongSys/src/views/Myvue/
authR
ecord.vue
View file @
48597071
File moved
xichongSys/src/views/Myvue/drdcbg.vue
View file @
48597071
...
...
@@ -66,26 +66,26 @@
methods
:
{
toPdf
(
s
,
d
)
{
console
.
log
(
d
)
// axios.get(baseUrl + '/exportPdf/insuredRegistration
?id=' + d.eventId, {
//
headers: {
//
"token": Cookies.get("token")
//
},
//
responseType: 'blob' //告诉服务器我们需要的响应格式
//
})
//
.then(res => {
//
let a = document.createElement("a");
//
let blob = new Blob([res.data], {
//
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
//
});
//
a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "西充县城乡居民社会养老保险参保
登记表.pdf";
//
a.click();
//
// let objectUrl = URL.createObjectURL(blob); //生成一个url
//
// window.location.href = objectUrl; //浏览器打开这个url
//
})
//
.catch(err => {
//
console.log(err);
//
});
axios
.
get
(
baseUrl
+
'/exportPdf/informationChange
?id='
+
d
.
eventId
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
},
responseType
:
'blob'
//告诉服务器我们需要的响应格式
})
.
then
(
res
=>
{
let
a
=
document
.
createElement
(
"a"
);
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
//将会被放入到blob中的数组内容的MIME类型
});
a
.
href
=
URL
.
createObjectURL
(
blob
);
//生成一个url
a
.
download
=
"西充县城乡居民社会养老保险信息变更
登记表.pdf"
;
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
})
.
catch
(
err
=>
{
console
.
log
(
err
);
});
},
current_change
(
s
)
{
var
data
=
{
...
...
xichongSys/src/views/Myvue/drxxbg.vue
View file @
48597071
...
...
@@ -87,26 +87,26 @@
methods
:
{
toPdf
(
s
,
d
)
{
console
.
log
(
d
)
// axios.get(baseUrl + '/exportPdf/insuredRegistration
?id=' + d.eventId, {
//
headers: {
//
"token": Cookies.get("token")
//
},
//
responseType: 'blob' //告诉服务器我们需要的响应格式
//
})
//
.then(res => {
//
let a = document.createElement("a");
//
let blob = new Blob([res.data], {
//
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
//
});
//
a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "西充县城乡居民社会养老保险参保
登记表.pdf";
//
a.click();
//
// let objectUrl = URL.createObjectURL(blob); //生成一个url
//
// window.location.href = objectUrl; //浏览器打开这个url
//
})
//
.catch(err => {
//
console.log(err);
//
});
axios
.
get
(
baseUrl
+
'/exportPdf/informationChange
?id='
+
d
.
eventId
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
},
responseType
:
'blob'
//告诉服务器我们需要的响应格式
})
.
then
(
res
=>
{
let
a
=
document
.
createElement
(
"a"
);
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
//将会被放入到blob中的数组内容的MIME类型
});
a
.
href
=
URL
.
createObjectURL
(
blob
);
//生成一个url
a
.
download
=
"西充县城乡居民社会养老保险信息变更
登记表.pdf"
;
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
})
.
catch
(
err
=>
{
console
.
log
(
err
);
});
},
current_change
(
s
)
{
var
data
=
{
...
...
xichongSys/src/views/Myvue/dryhkbg.vue
View file @
48597071
...
...
@@ -66,26 +66,26 @@
methods
:
{
toPdf
(
s
,
d
)
{
console
.
log
(
d
)
// axios.get(baseUrl + '/exportPdf/insuredRegistration
?id=' + d.eventId, {
//
headers: {
//
"token": Cookies.get("token")
//
},
//
responseType: 'blob' //告诉服务器我们需要的响应格式
//
})
//
.then(res => {
//
let a = document.createElement("a");
//
let blob = new Blob([res.data], {
//
type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
//
});
//
a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "西充县城乡居民社会养老保险参保
登记表.pdf";
//
a.click();
//
// let objectUrl = URL.createObjectURL(blob); //生成一个url
//
// window.location.href = objectUrl; //浏览器打开这个url
//
})
//
.catch(err => {
//
console.log(err);
//
});
axios
.
get
(
baseUrl
+
'/exportPdf/informationChange
?id='
+
d
.
eventId
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
},
responseType
:
'blob'
//告诉服务器我们需要的响应格式
})
.
then
(
res
=>
{
let
a
=
document
.
createElement
(
"a"
);
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
//将会被放入到blob中的数组内容的MIME类型
});
a
.
href
=
URL
.
createObjectURL
(
blob
);
//生成一个url
a
.
download
=
"西充县城乡居民社会养老保险信息变更
登记表.pdf"
;
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
})
.
catch
(
err
=>
{
console
.
log
(
err
);
});
},
current_change
(
s
)
{
var
data
=
{
...
...
xichongSys/src/views/Myvue/
shr
ecord.vue
→
xichongSys/src/views/Myvue/
examR
ecord.vue
View file @
48597071
File moved
xichongSys/src/views/Myvue/flow.vue
View file @
48597071
...
...
@@ -2,7 +2,7 @@
<div>
<div
class=
"op"
>
<el-button
type=
"primary"
@
click=
"showadd"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-circle-plus-outline"
>
新增
</el-button>
<el-button
type=
"primary"
@
click=
"showadd
(1)
"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-circle-plus-outline"
>
新增
</el-button>
</div>
<el-table
...
...
@@ -45,7 +45,7 @@
slot=
"reference"
@
click=
"handle(scope.$index, scope.row)"
>
详情
</el-button>
</el-popover>
<el-button
type=
"primary"
size=
"mini"
style=
"background:#148A9B"
icon=
"el-icon-edit-outline"
>
修改
</el-button>
<el-button
type=
"primary"
size=
"mini"
style=
"background:#148A9B"
@
click=
"showadd(2,scope.row)"
icon=
"el-icon-edit-outline"
>
修改
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -60,7 +60,7 @@
</el-pagination>
<el-dialog
title=
"新增流程
"
:title=
"flowTitle
"
:visible
.
sync=
"dialogVisible"
width=
"60%"
...
...
@@ -93,7 +93,7 @@
<div
class=
"iii"
v-show=
"showiii"
></div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"del"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addflow"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"addflow
(1)
"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
...
...
@@ -133,19 +133,11 @@
export
default
{
data
()
{
return
{
flowTitle
:
""
,
showiii
:
false
,
//标题
title
:
""
,
titleList
:[{
label
:
"参保登记审核流程"
,
value
:
"1,参保登记审核流程"
},{
label
:
"信息变更审核流程"
,
value
:
"2,信息变更审核流程"
},{
label
:
"待遇申请审核流程"
,
value
:
"3,待遇申请审核流程"
}],
titleList
:[],
flowname
:
""
,
dialogVisible
:
false
,
step
:
''
,
...
...
@@ -155,21 +147,76 @@
info
:
''
,
tableData
:
[],
options
:
[],
value
:
[]
value
:
[],
oldvalue
:[],
flaa
:
""
}
},
methods
:{
//加载流程列表
loadFlow
(){
this
.
$api
.
getlist
.
selectflowlist
().
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
console
.
log
(
this
.
tableData
)
}).
catch
((
res
)
=>
{
});
},
current_change
(
s
){
},
toshow
(
s
){
this
.
showiii
=
s
},
del
(){
this
.
dialogVisible
=
false
},
//获取流程
showadd
(){
showadd
(
s
,
d
){
this
.
value
=
[]
this
.
oldvalue
=
[]
console
.
log
(
d
)
if
(
s
==
1
){
this
.
flowTitle
=
"新增流程"
this
.
titleList
=
[{
label
:
"参保登记审核流程"
,
value
:
"1,参保登记审核流程"
},{
label
:
"信息变更审核流程"
,
value
:
"2,信息变更审核流程"
},{
label
:
"待遇申请审核流程"
,
value
:
"3,待遇申请审核流程"
}]
}
else
if
(
s
==
2
){
this
.
titleList
=
[{
label
:
d
.
flowname
,
value
:
d
.
type
+
","
+
d
.
flowname
}]
this
.
title
=
d
.
type
+
","
+
d
.
flowname
this
.
flowTitle
=
"修改流程"
var
par
=
{
type
:
d
.
type
}
this
.
$api
.
getlist
.
selectRoleinfo
(
par
).
then
((
res
)
=>
{
var
dd
=
0
for
(
dd
in
res
.
data
){
this
.
oldvalue
.
push
(
res
.
data
[
dd
].
id
)
this
.
value
.
push
(
res
.
data
[
dd
].
id
)
}
}).
catch
((
res
)
=>
{
});
}
this
.
flaa
=
s
this
.
options
=
[]
this
.
dialogVisible
=
true
this
.
$api
.
getlist
.
selectRoleName
().
then
((
res
)
=>
{
...
...
@@ -177,7 +224,7 @@
for
(
var
i
in
res
.
data
){
this
.
options
.
push
({
label
:
res
.
data
[
i
].
name
,
value
:
res
.
data
[
i
].
name
value
:
res
.
data
[
i
].
id
})
}
}
else
{
...
...
@@ -188,9 +235,14 @@
});
},
//新增流程
addflow
()
{
//新增更新流程
addflow
(){
this
.
addflows
(
this
.
flaa
)
},
addflows
(
s
)
{
console
.
log
(
this
.
value
)
if
(
s
==
1
){
for
(
var
d
in
this
.
tableData
){
...
...
@@ -198,19 +250,32 @@
this
.
$message
.
error
(
'流程已存在,请选择其它流程!'
);
return
}
}
}
else
{
if
(
this
.
oldvalue
.
toString
()
==
this
.
value
.
toString
()){
this
.
$message
.
error
(
'流程不能与原流程相同!'
);
return
}
}
var
par
=
{
type
:
this
.
title
.
split
(
","
)[
0
],
flowName
:
this
.
title
.
split
(
","
)[
1
],
roleIds
:
""
,
state
:
1
roleIds
:
this
.
value
.
join
(
","
)
,
state
:
s
}
this
.
$api
.
getlist
.
insertFolwCourse
(
par
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
this
.
loadFlow
()
this
.
$message
.
success
(
'操作成功'
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
}).
catch
((
res
)
=>
{
this
.
$message
.
error
(
'操作失败'
);
});
}
this
.
dialogVisible
=
false
},
...
...
@@ -232,13 +297,8 @@
},
created
(){
this
.
$api
.
getlist
.
selectflowlist
().
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
this
.
loadFlow
()
}).
catch
((
res
)
=>
{
});
}
}
...
...
xichongSys/src/views/Myvue/
xxbg
.vue
→
xichongSys/src/views/Myvue/
infoChange
.vue
View file @
48597071
File moved
xichongSys/src/views/Myvue/
Cbdj
.vue
→
xichongSys/src/views/Myvue/
insuredReg
.vue
View file @
48597071
File moved
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