Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
84bc78fa
Commit
84bc78fa
authored
Dec 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增验证
parent
5e8ae1e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
39 deletions
+38
-39
employee-info.vue
src/components/school/manager/employee-info.vue
+0
-1
employee_finace.vue
src/components/school/manager/employee_finace.vue
+30
-38
role-form.vue
src/components/system/role-form.vue
+8
-0
No files found.
src/components/school/manager/employee-info.vue
View file @
84bc78fa
...
...
@@ -316,7 +316,6 @@
},
//保存部门
saveDepart
(){
let
Msg
=
[];
if
(
this
.
departId
==
-
2
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
...
...
src/components/school/manager/employee_finace.vue
View file @
84bc78fa
<
template
>
<div
class=
"EmployeeFinace"
style=
"margin:0 20px;"
>
<q-btn-toggle
style=
"width:50%;margin:0 auto;"
v-model=
"msg.Conditon"
spread
no-caps
toggle-color=
"primary"
color=
"white"
text-color=
"black"
class=
"my-custom-toggle"
:options=
"[
{label: '交接人发起的', value: 1},
{label: '待交接人审批的', value: 2}
]" @input="queryChange" />
<br
/>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关单据信息"
flat
class=
"sticky-right-column-table sticky-column-table"
separator=
"none"
:data=
"DataList"
:columns=
"columns"
>
<template
v-slot:body-cell-CostTypeList=
"props"
>
...
...
@@ -49,37 +55,11 @@
return
{
loading
:
false
,
msg
:
{
rowsPerPage
:
6
,
rowsPerPage
:
5
,
pageIndex
:
1
,
pageSize
:
6
,
FrID
:
''
,
sDate
:
''
,
eDate
:
''
,
Status
:
'-1'
,
TemplateId
:
'0'
,
RB_Branch_Id
:
''
,
RB_Depart_Id
:
''
,
sTradeDate
:
''
,
eTradeDate
:
''
,
ClientType
:
''
,
RemitterName
:
''
,
ClientID
:
''
,
sMoney
:
''
,
eMoney
:
''
,
CurrencyId
:
''
,
CostTypeID
:
''
,
Conditon
:
''
,
TCID
:
''
,
TradeWay
:
''
,
Type
:
'0'
,
AccountType
:
''
,
QEndDate
:
''
,
QStartDate
:
''
,
UpdateBy
:
''
,
Sort
:
'2'
,
IsSpecial
:
0
,
Remark
:
''
,
IsSellOrderForm
:
1
,
pageSize
:
5
,
CreateBy
:
0
,
Conditon
:
1
},
columns
:
[{
name
:
'单号'
,
...
...
@@ -130,22 +110,28 @@
pageCount
:
0
,
}
},
created
()
{
},
created
()
{},
mounted
()
{
this
.
getPageList
();
},
methods
:
{
queryChange
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getPageList
();
},
//分页
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getPageList
();
},
getPageList
()
{
// 获取列表数据
// 获取列表数据
getPageList
()
{
this
.
DataList
=
[];
this
.
pageCount
=
0
;
if
(
this
.
saveObj
.
EmAccountId
&&
this
.
saveObj
.
EmAccountId
>
0
)
{
this
.
msg
.
Upd
ateBy
=
this
.
saveObj
.
EmAccountId
;
this
.
msg
.
Cre
ateBy
=
this
.
saveObj
.
EmAccountId
;
}
else
{
this
.
msg
.
Upd
ateBy
=
99999999
;
this
.
msg
.
Cre
ateBy
=
99999999
;
}
if
(
!
this
.
msg
.
ClientID
)
this
.
msg
.
ClientID
=
0
;
if
(
!
this
.
msg
.
ClientType
)
this
.
msg
.
ClientType
=
0
;
...
...
@@ -154,7 +140,7 @@
if
(
!
this
.
msg
.
TemplateId
)
this
.
msg
.
TemplateId
=
0
;
if
(
!
this
.
msg
.
RB_Branch_Id
)
this
.
msg
.
RB_Branch_Id
=
-
1
;
if
(
!
this
.
msg
.
RB_Depart_Id
)
this
.
msg
.
RB_Depart_Id
=
0
;
if
(
!
this
.
msg
.
UpdateBy
)
this
.
msg
.
Upd
ateBy
=
0
;
if
(
!
this
.
msg
.
CreateBy
)
this
.
msg
.
Cre
ateBy
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
!
this
.
msg
.
OrderID
)
this
.
msg
.
OrderID
=
0
;
if
(
!
this
.
msg
.
Status
)
this
.
msg
.
Status
=
0
;
...
...
@@ -162,10 +148,10 @@
if
(
!
this
.
msg
.
Conditon
)
this
.
msg
.
Conditon
=
1
;
if
(
!
this
.
msg
.
TradeWay
)
this
.
msg
.
TradeWay
=
0
;
if
(
!
this
.
msg
.
AccountType
)
this
.
msg
.
AccountType
=
0
;
this
.
apipost
(
'Financial_post_Get
ALL
PageList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'Financial_post_Get
WOrkTransfer
PageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
DataList
=
res
.
data
.
data
.
pageData
.
list
;
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
pageCount
=
res
.
data
.
data
.
pageCount
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -185,3 +171,9 @@
}
</
script
>
<
style
scoped
>
.EmployeeFinace
.my-custom-toggle
{
border
:
1px
solid
#027be3
}
</
style
>
src/components/system/role-form.vue
View file @
84bc78fa
...
...
@@ -475,6 +475,14 @@
},
//保存菜单
saveRole
()
{
if
(
this
.
objOption
.
RoleName
==
""
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写角色名称!`
})
return
;
}
this
.
saveLoading
=
true
;
//角色菜单权限
var
rolePermissionList
=
[];
...
...
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