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
9a9f5536
Commit
9a9f5536
authored
Aug 05, 2019
by
zhangdishen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into 'master'
85 See merge request
!16
parents
4b42a08a
730bf5bb
Changes
4
Hide 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 @
9a9f5536
...
...
@@ -131,19 +131,13 @@ export const listAllBaseInfo = (data) => {
data
})
}
//领取人员查询
export
const
getGrantList
=
(
data
)
=>
{
return
axios
({
url
:
'/grantInfo/getGrantList'
,
method
:
'post'
,
data
})
}
//缴费信息查询
export
const
listPayInfo
=
(
data
)
=>
{
return
axios
({
url
:
'/payInfo/getPayInfo'
,
method
:
'post'
,
data
})
}
//
export
const
selectflowState
=
(
data
)
=>
{
return
axios
({
url
:
'/folw/selectflowState'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
xichongSys/src/views/Core/KtTable.vue
View file @
9a9f5536
...
...
@@ -13,14 +13,14 @@
<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)"
/>
<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
>
</el-table-column>
</el-table>
<!--分页栏-->
<div
class=
"toolbar"
style=
"padding:10px;"
>
<
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"
/
>
<
!-- <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"/> --
>
<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;"
>
</el-pagination>
...
...
@@ -130,7 +130,7 @@ export default {
},
// 删除操作
delete
:
function
(
ids
)
{
this
.
$confirm
(
'确认
删除
选中记录吗?'
,
'提示'
,
{
this
.
$confirm
(
'确认
禁用
选中记录吗?'
,
'提示'
,
{
type
:
'warning'
}).
then
(()
=>
{
let
params
=
[]
...
...
@@ -141,10 +141,10 @@ export default {
this
.
loading
=
true
let
callback
=
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
'
删除
成功'
,
type
:
'success'
})
this
.
$message
({
message
:
'
操作
成功'
,
type
:
'success'
})
this
.
findPage
()
}
else
{
this
.
$message
({
message
:
'操作失败, '
+
res
.
m
sg
,
type
:
'error'
})
this
.
$message
({
message
:
'操作失败, '
+
res
.
m
essage
,
type
:
'error'
})
}
this
.
loading
=
false
}
...
...
xichongSys/src/views/Myvue/flow.vue
View file @
9a9f5536
...
...
@@ -3,7 +3,7 @@
<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=
"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>
<el-table
:data=
"tableData"
...
...
@@ -153,6 +153,16 @@
}
},
methods
:{
//作废
delet
(){
this
.
$api
.
getlist
.
selectflowState
().
then
((
res
)
=>
{
this
.
tableData
=
res
.
data
console
.
log
(
this
.
tableData
)
}).
catch
((
res
)
=>
{
});
},
//加载流程列表
loadFlow
(){
this
.
$api
.
getlist
.
selectflowlist
().
then
((
res
)
=>
{
...
...
xichongSys/src/views/Sys/User.vue
View file @
9a9f5536
...
...
@@ -278,12 +278,13 @@ export default {
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
:
"email"
,
label
:
"邮箱"
,
minWidth
:
120
},
{
prop
:
"mobile"
,
label
:
"手机"
,
minWidth
:
100
},
{
prop
:
"status"
,
label
:
"状态"
,
minWidth
:
70
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
100
},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
// {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