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
8d301b71
Commit
8d301b71
authored
Aug 06, 2019
by
miaohaoyun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'mhy'
Master See merge request
!19
parents
917c3e38
9a9f5536
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
25 deletions
+30
-25
getlist.js
xichongSys/src/http/moudules/getlist.js
+10
-16
KtTable.vue
xichongSys/src/views/Core/KtTable.vue
+6
-6
flow.vue
xichongSys/src/views/Myvue/flow.vue
+11
-1
User.vue
xichongSys/src/views/Sys/User.vue
+3
-2
No files found.
xichongSys/src/http/moudules/getlist.js
View file @
8d301b71
...
@@ -131,19 +131,13 @@ export const listAllBaseInfo = (data) => {
...
@@ -131,19 +131,13 @@ export const listAllBaseInfo = (data) => {
data
data
})
})
}
}
//领取人员查询
//
export
const
getGrantList
=
(
data
)
=>
{
export
const
selectflowState
=
(
data
)
=>
{
return
axios
({
return
axios
({
url
:
'/grantInfo/getGrantList
'
,
url
:
'/folw/selectflowState
'
,
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
}
//缴费信息查询
export
const
listPayInfo
=
(
data
)
=>
{
return
axios
({
\ No newline at end of file
url
:
'/payInfo/getPayInfo'
,
method
:
'post'
,
data
})
}
xichongSys/src/views/Core/KtTable.vue
View file @
8d301b71
...
@@ -13,14 +13,14 @@
...
@@ -13,14 +13,14 @@
<el-table-column
:label=
"$t('action.operation')"
width=
"185"
fixed=
"right"
v-if=
"showOperation"
header-align=
"center"
align=
"center"
>
<el-table-column
:label=
"$t('action.operation')"
width=
"185"
fixed=
"right"
v-if=
"showOperation"
header-align=
"center"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<kt-button
icon=
"fa fa-edit"
:label=
"$t('action.edit')"
:perms=
"permsEdit"
:size=
"size"
@
click=
"handleEdit(scope.$index, scope.row)"
/>
<kt-button
icon=
"fa fa-edit"
:label=
"$t('action.edit')"
:perms=
"permsEdit"
:size=
"size"
@
click=
"handleEdit(scope.$index, scope.row)"
/>
<kt-button
icon=
"fa fa-trash"
:label=
"$t('action.delete')
"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
<kt-button
icon=
"fa fa-trash"
label=
"禁用
"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<!--分页栏-->
<!--分页栏-->
<div
class=
"toolbar"
style=
"padding:10px;"
>
<div
class=
"toolbar"
style=
"padding:10px;"
>
<
kt-button
:label=
"$t('action.batchDelete')"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleBatchDelete()"
<
!-- <kt-button :label="$t('action.batchDelete')" :perms="permsDelete" :size="size" type="danger" @click="handleBatchDelete()" -->
:disabled=
"this.selections.length===0"
style=
"float:left;"
v-if=
"showBatchDelete & showOperation"
/
>
<!-- :disabled="this.selections.length===0" style="float:left;" v-if="showBatchDelete & showOperation"/> --
>
<el-pagination
layout=
"total, prev, pager, next, jumper"
@
current-change=
"refreshPageRequest"
<el-pagination
layout=
"total, prev, pager, next, jumper"
@
current-change=
"refreshPageRequest"
:current-page=
"pageRequest.pageNum"
:page-size=
"pageRequest.pageSize"
:total=
"data.totalSize"
style=
"float:right;"
>
:current-page=
"pageRequest.pageNum"
:page-size=
"pageRequest.pageSize"
:total=
"data.totalSize"
style=
"float:right;"
>
</el-pagination>
</el-pagination>
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
},
},
// 删除操作
// 删除操作
delete
:
function
(
ids
)
{
delete
:
function
(
ids
)
{
this
.
$confirm
(
'确认
删除
选中记录吗?'
,
'提示'
,
{
this
.
$confirm
(
'确认
禁用
选中记录吗?'
,
'提示'
,
{
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
let
params
=
[]
let
params
=
[]
...
@@ -141,10 +141,10 @@ export default {
...
@@ -141,10 +141,10 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
let
callback
=
res
=>
{
let
callback
=
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
'
删除
成功'
,
type
:
'success'
})
this
.
$message
({
message
:
'
操作
成功'
,
type
:
'success'
})
this
.
findPage
()
this
.
findPage
()
}
else
{
}
else
{
this
.
$message
({
message
:
'操作失败, '
+
res
.
m
sg
,
type
:
'error'
})
this
.
$message
({
message
:
'操作失败, '
+
res
.
m
essage
,
type
:
'error'
})
}
}
this
.
loading
=
false
this
.
loading
=
false
}
}
...
...
xichongSys/src/views/Myvue/flow.vue
View file @
8d301b71
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"op"
>
<div
class=
"op"
>
<el-button
type=
"primary"
@
click=
"showadd(1)"
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>
<el-button
type=
"danger"
@
click=
"
showadd
(1)"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-delete"
>
已作废
</el-button>
<el-button
type=
"danger"
@
click=
"
delet
(1)"
size=
"mini"
style=
"background:#148A9B;margin-left:10px"
icon=
"el-icon-delete"
>
已作废
</el-button>
</div>
</div>
<el-table
<el-table
:data=
"tableData"
:data=
"tableData"
...
@@ -153,6 +153,16 @@
...
@@ -153,6 +153,16 @@
}
}
},
},
methods
:{
methods
:{
//作废
delet
(){
this
.
$api
.
getlist
.
selectflowState
().
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
console
.
log
(
this
.
tableData
)
}).
catch
((
res
)
=>
{
});
},
//加载流程列表
//加载流程列表
loadFlow
(){
loadFlow
(){
this
.
$api
.
getlist
.
selectflowlist
().
then
((
res
)
=>
{
this
.
$api
.
getlist
.
selectflowlist
().
then
((
res
)
=>
{
...
...
xichongSys/src/views/Sys/User.vue
View file @
8d301b71
...
@@ -278,12 +278,13 @@ export default {
...
@@ -278,12 +278,13 @@ export default {
this
.
columns
=
[
this
.
columns
=
[
{
prop
:
"id"
,
label
:
"ID"
,
minWidth
:
50
},
{
prop
:
"id"
,
label
:
"ID"
,
minWidth
:
50
},
{
prop
:
"name"
,
label
:
"用户名"
,
minWidth
:
120
},
{
prop
:
"name"
,
label
:
"用户名"
,
minWidth
:
120
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
100
},
{
prop
:
"deptName"
,
label
:
"机构"
,
minWidth
:
120
},
{
prop
:
"deptName"
,
label
:
"机构"
,
minWidth
:
120
},
{
prop
:
"roleNames"
,
label
:
"角色"
,
minWidth
:
100
},
{
prop
:
"roleNames"
,
label
:
"角色"
,
minWidth
:
100
},
{
prop
:
"email"
,
label
:
"邮箱"
,
minWidth
:
120
},
{
prop
:
"mobile"
,
label
:
"手机"
,
minWidth
:
100
},
{
prop
:
"mobile"
,
label
:
"手机"
,
minWidth
:
100
},
{
prop
:
"status"
,
label
:
"状态"
,
minWidth
:
70
},
{
prop
:
"status"
,
label
:
"状态"
,
minWidth
:
70
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
100
},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
// {prop:"lastUpdateBy", label:"更新人", minWidth:100},
// {prop:"lastUpdateBy", label:"更新人", minWidth:100},
...
...
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