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
c25d7249
Commit
c25d7249
authored
Aug 13, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Plain Diff
'''
parents
363effc3
e289f481
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
529 additions
and
441 deletions
+529
-441
index.js
xichongSys/src/router/index.js
+0
-1
global.js
xichongSys/src/utils/global.js
+3
-0
KtTable.vue
xichongSys/src/views/Core/KtTable.vue
+44
-9
application.vue
xichongSys/src/views/Myvue/application.vue
+29
-29
flow.vue
xichongSys/src/views/Myvue/flow.vue
+1
-1
insuranceCancellationAudit.vue
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
+397
-359
table.vue
xichongSys/src/views/Myvue/table.vue
+36
-21
User.vue
xichongSys/src/views/Sys/User.vue
+19
-21
No files found.
xichongSys/src/router/index.js
View file @
c25d7249
...
...
@@ -141,7 +141,6 @@ const router = new Router({
name
:
"参保注销审核"
,
component
:
insuranceCancellationAudit
}
]
},
{
...
...
xichongSys/src/utils/global.js
View file @
c25d7249
...
...
@@ -10,6 +10,9 @@
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://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'
...
...
xichongSys/src/views/Core/KtTable.vue
View file @
c25d7249
...
...
@@ -13,12 +13,21 @@
<el-table-column
:label=
"$t('action.operation')"
width=
"185"
fixed=
"right"
v-if=
"showOperation"
header-align=
"center"
align=
"center"
>
<template
slot-scope=
"scope"
>
<kt-button
icon=
"fa fa-edit"
:label=
"$t('action.edit')"
:perms=
"permsEdit"
:size=
"size"
@
click=
"handleEdit(scope.$index, scope.row)"
style=
"float: left"
/>
<div
v-if=
"scope.row.status == 1"
>
<kt-button
icon=
"fa fa-trash"
label=
"禁用"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
</div>
<div
v-else
>
<kt-button
icon=
"fa fa-check-circle"
label=
"启用"
:perms=
"permsDelete"
:size=
"size"
type=
"success"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
</div>
<el-switch
class=
"statusSwitch"
style=
"display: block;float: left;margin-left: 20px;width: 50px"
v-model=
"scope.row.status==0?true:false"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
active-text=
"启"
inactive-text=
"禁"
@
change=
"handleDelete(scope.$index, scope.row)"
>
</el-switch>
<!--
<div
v-if=
"scope.row.status == 1"
>
-->
<!--
<kt-button
icon=
"fa fa-trash"
label=
"禁用"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
-->
<!--
</div>
-->
<!--
<div
v-else
>
-->
<!--
<kt-button
icon=
"fa fa-check-circle"
label=
"启用"
:perms=
"permsDelete"
:size=
"size"
type=
"success"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
-->
<!--
</div>
-->
</
template
>
</el-table-column>
</el-table>
...
...
@@ -94,7 +103,7 @@ export default {
pageSize
:
10
},
loading
:
false
,
// 加载标识
selections
:
[]
// 列表选中列
selections
:
[]
,
// 列表选中列
}
},
methods
:
{
...
...
@@ -164,6 +173,32 @@ export default {
}
</
script
>
<
style
scoped
>
<
style
>
.statusSwitch
.el-switch__label
{
position
:
absolute
;
display
:
none
;
color
:
#fff
;
}
.statusSwitch
.el-switch__label--right
{
z-index
:
2
;
left
:
0px
;
bottom
:
0px
;
}
.statusSwitch
.el-switch__label--left
{
z-index
:
2
;
right
:
0px
;
bottom
:
0px
;
}
.statusSwitch
.el-switch__label--right.is-active
{
z-index
:
1111
;
color
:
#000
!important
;
}
.statusSwitch
.el-switch__label--left.is-active
{
z-index
:
1111
;
color
:
#fff
!important
;
}
/*显示文字*/
.statusSwitch
.el-switch__label.is-active
{
display
:
block
;
}
</
style
>
xichongSys/src/views/Myvue/application.vue
View file @
c25d7249
...
...
@@ -50,7 +50,7 @@
</el-form-item>
</el-form>
<div
class=
"headImg"
>
<div
style=
"text-align
;
center;padding:9px;border-bottom:1px solid #EFF0F2;font-size:14px"
>
领取人照片
</div>
<div
style=
"text-align
:
center;padding:9px;border-bottom:1px solid #EFF0F2;font-size:14px"
>
领取人照片
</div>
<div
class=
"headCon"
>
<img
:src=
"form.personPhoto"
alt=
""
>
</div>
...
...
xichongSys/src/views/Myvue/flow.vue
View file @
c25d7249
...
...
@@ -262,7 +262,7 @@ this.$api.getlist.selectflowState(data).then((res) => {
console
.
log
(
d
)
if
(
s
==
1
){
this
.
flowTitle
=
"新增流程"
for
(
var
i
=
1
;
i
<=
6
;
i
++
){
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
this
.
titleList
.
push
({
label
:
this
.
getType
(
i
),
value
:
i
+
","
+
this
.
getType
(
i
)
...
...
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
View file @
c25d7249
This diff is collapsed.
Click to expand it.
xichongSys/src/views/Myvue/table.vue
View file @
c25d7249
...
...
@@ -299,6 +299,21 @@
show
:
true
}
})
}
else
if
(
d
.
recordtype
==
"参保注销"
)
{
sessionStorage
.
setItem
(
"recordId"
,
this
.
tableData
[
s
].
recordId
)
this
.
$router
.
push
({
name
:
"参保注销审核"
,
params
:{
info
:
this
.
tableData
[
s
].
info
,
bankpic
:
this
.
tableData
[
s
].
bankpic
,
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
specialPhotoPic
:
this
.
tableData
[
s
].
specialPhotoPic
,
bookPic
:
this
.
tableData
[
s
].
bookPic
,
show
:
true
}
})
}
},
handleDelete
(
g
,
h
){
...
...
xichongSys/src/views/Sys/User.vue
View file @
c25d7249
...
...
@@ -48,17 +48,17 @@
<el-input
v-model=
"dataForm.id"
:disabled=
"true"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item
label=
"用户名"
prop=
"name"
>
<el-input
v-model=
"dataForm.name"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.name"
auto-complete=
"off"
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"真实姓名"
prop=
"truename"
>
<el-input
v-model=
"dataForm.truename"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.truename"
auto-complete=
"off"
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"密码"
prop=
"password"
>
<el-input
v-model=
"dataForm.password"
type=
"password"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item
label=
"机构"
prop=
"deptName"
>
<el-cascader
v-model=
"dataForm.dept
Name
"
v-model=
"dataForm.dept
Id
"
size=
"medium"
:options=
"list"
:props=
"
{ checkStrictly: true }"
...
...
@@ -135,9 +135,9 @@ export default {
name
:
''
,
truename
:
''
,
password
:
''
,
deptId
:
1
,
deptId
:
''
,
deptName
:
''
,
//
email: 'test@qq.com',
email
:
'test@qq.com'
,
mobile
:
'13889700023'
,
status
:
1
,
userRoles
:
[]
...
...
@@ -206,8 +206,8 @@ export default {
this
.
$refs
.
dataForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$confirm
(
'确认提交吗?'
,
'提示'
,
{}).
then
(()
=>
{
this
.
dataForm
.
dept
Name
=
this
.
dataForm
.
deptName
[
this
.
dataForm
.
deptName
.
length
-
1
]
this
.
editLoading
=
true
this
.
dataForm
.
dept
Id
=
this
.
dataForm
.
deptId
[
this
.
dataForm
.
deptId
.
length
-
1
];
this
.
dataForm
.
deptName
=
""
;
let
params
=
Object
.
assign
({},
this
.
dataForm
)
let
userRoles
=
[]
for
(
let
i
=
0
,
len
=
params
.
userRoles
.
length
;
i
<
len
;
i
++
)
{
...
...
@@ -237,28 +237,27 @@ export default {
findDeptTree
:
function
()
{
this
.
$api
.
dept
.
findDeptTree
().
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
){
res
.
data
[
i
].
value
=
res
.
data
[
i
].
name
res
.
data
[
i
].
value
=
res
.
data
[
i
].
id
res
.
data
[
i
].
label
=
res
.
data
[
i
].
name
for
(
var
j
in
res
.
data
[
i
].
children
){
res
.
data
[
i
].
children
[
j
].
value
=
res
.
data
[
i
].
children
[
j
].
name
res
.
data
[
i
].
children
[
j
].
value
=
res
.
data
[
i
].
children
[
j
].
id
res
.
data
[
i
].
children
[
j
].
label
=
res
.
data
[
i
].
children
[
j
].
name
for
(
var
n
in
res
.
data
[
i
].
children
[
j
].
children
){
res
.
data
[
i
].
children
[
j
].
children
[
n
].
value
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
name
res
.
data
[
i
].
children
[
j
].
children
[
n
].
value
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
id
res
.
data
[
i
].
children
[
j
].
children
[
n
].
label
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
name
}
}
}
this
.
list
=
res
.
data
//this.deptData = res.data
})
},
// 菜单树选中
deptTreeCurrentChangeHandle
(
data
,
node
)
{
this
.
dataForm
.
deptId
=
data
.
id
deptTreeCurrentChangeHandle
(
data
)
{
//
this.dataForm.deptId = data.id
//this.dataForm.deptName = data.name
this
.
dataForm
.
deptName
=
data
.
name
//
this.dataForm.deptName = data.name
},
// 时间格式化
dateFormat
:
function
(
row
,
column
,
cellValue
,
index
){
...
...
@@ -277,13 +276,12 @@ export default {
initColumns
:
function
()
{
this
.
columns
=
[
{
prop
:
"id"
,
label
:
"ID"
,
minWidth
:
50
},
{
prop
:
"name"
,
label
:
"用户名"
,
minWidth
:
120
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
100
},
{
prop
:
"deptName"
,
label
:
"机构"
,
minWidth
:
120
},
{
prop
:
"roleNames"
,
label
:
"角色"
,
minWidth
:
100
},
{
prop
:
"mobile"
,
label
:
"手机"
,
minWidth
:
100
},
{
prop
:
"status"
,
label
:
"状态"
,
minWidth
:
70
},
{
prop
:
"name"
,
label
:
"用户名"
,
minWidth
:
100
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
80
},
{
prop
:
"deptName"
,
label
:
"机构"
,
minWidth
:
100
},
{
prop
:
"roleNames"
,
label
:
"角色"
,
minWidth
:
80
},
{
prop
:
"job"
,
label
:
"职务"
,
minWidth
:
80
},
{
prop
:
"mobile"
,
label
:
"手机"
,
minWidth
:
80
},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
...
...
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