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
d8bd78ab
Commit
d8bd78ab
authored
Aug 01, 2019
by
qddidi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
a0e3cd42
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
96 additions
and
36 deletions
+96
-36
index.js
xichongSys/src/router/index.js
+4
-4
global.js
xichongSys/src/utils/global.js
+2
-2
authRecord.vue
xichongSys/src/views/Myvue/authRecord.vue
+0
-0
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 @
d8bd78ab
...
...
@@ -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"
;
...
...
xichongSys/src/utils/global.js
View file @
d8bd78ab
...
...
@@ -6,8 +6,8 @@
// 后台管理系统服务器地址
//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
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'
...
...
xichongSys/src/views/Myvue/
rzr
ecord.vue
→
xichongSys/src/views/Myvue/
authR
ecord.vue
View file @
d8bd78ab
File moved
xichongSys/src/views/Myvue/
shr
ecord.vue
→
xichongSys/src/views/Myvue/
examR
ecord.vue
View file @
d8bd78ab
File moved
xichongSys/src/views/Myvue/flow.vue
View file @
d8bd78ab
...
...
@@ -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 @
d8bd78ab
File moved
xichongSys/src/views/Myvue/
Cbdj
.vue
→
xichongSys/src/views/Myvue/
insuredReg
.vue
View file @
d8bd78ab
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