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
d0107cf5
Commit
d0107cf5
authored
Dec 22, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4e634069
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1193 additions
and
41 deletions
+1193
-41
administration.js
src/api/administration/administration.js
+40
-0
Attendance.vue
src/pages/administration/Attendance.vue
+38
-41
AttendanceRules.vue
src/pages/administration/AttendanceRules.vue
+1109
-0
BasicDocuments.vue
src/pages/financial/financalDocument/BasicDocuments.vue
+1
-0
routes.js
src/router/routes.js
+5
-0
No files found.
src/api/administration/administration.js
View file @
d0107cf5
...
...
@@ -157,6 +157,46 @@ export function calculateDuration(data) {
data
});
}
/**
*考勤管理
*/
export
function
getAttendancePageList
(
data
)
{
return
request
({
url
:
'/usercenter/GetAttendancePageList'
,
method
:
'post'
,
data
});
}
/**
*校区的岗位
*/
export
function
getDepartmentGetList
(
data
)
{
return
request
({
url
:
'/usercenter/GetDepartmentGetList'
,
method
:
'post'
,
data
});
}
/**
*获取当前校区的考勤
*/
export
function
getAttendanceInfo
(
data
)
{
return
request
({
url
:
'/usercenter/GetAttendanceInfo'
,
method
:
'post'
,
data
});
}
/**
*设置当前校区的考勤
*/
export
function
setAttendanceInfo
(
data
)
{
return
request
({
url
:
'/usercenter/SetAttendanceInfo'
,
method
:
'post'
,
data
});
}
...
...
src/pages/administration/Attendance.vue
View file @
d0107cf5
<
template
>
<div
class=
"flexOne"
>
<div
class=
"query-box"
>
<ul>
<li>
<span><em>
{{
$t
(
'system.table_company'
)
}}
</em>
<el-select
filterable
v-model=
'msg.RB_BranchId'
:placeholder=
"$t('pub.unlimitedSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</span>
</li>
<!--
<li>
<span><em>
状态
</em>
<el-select
v-model=
"msg.Status"
placeholder=
"请选项"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
value=
'-1'
></el-option>
<el-option
label=
'开启'
value=
'0'
></el-option>
<el-option
label=
'关闭'
value=
'1'
></el-option>
</el-select>
</span>
</li>
-->
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<!--
<input
type=
"button"
@
click=
""
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"$router.push('AttendanceRules')"
/>
-->
</li>
</ul>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-select
filled
stack-label
@
input=
"resetSearch()"
option-value=
"SId"
option-label=
"SName"
v-model=
"msg.RB_BranchId"
ref=
"School_Id"
:options=
"schoolList"
label=
"所属校区"
:dense=
"false"
emit-value
map-options
/>
</div>
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
<tr>
...
...
@@ -64,6 +44,12 @@
</
template
>
<
script
>
import
{
getSchoolDropdown
,
}
from
'../../api/school/index'
import
{
getAttendancePageList
}
from
'../../api/administration/administration'
export
default
{
data
()
{
...
...
@@ -87,35 +73,44 @@
},
//返回数据
dataList
:[],
companyList
:[]
schoolList
:
[],
//校区数组
}
},
methods
:{
getList
(){
this
.
loading
=
true
;
this
.
apipost
(
'User_get_AttendanceGetPageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
getAttendancePageList
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
loading
=
false
;
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
total
=
res
.
Data
.
Count
;
}
else
{
this
.
loading
=
false
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{}
},
err
=>
{})
}
})
},
getCompany
(){
//公司
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
companyMsg
,
res
=>
{
this
.
companyList
=
res
.
data
.
data
;
},
err
=>
{})
getSchoolDropdown
({}).
then
(
res
=>
{
this
.
schoolList
=
res
.
Data
;
var
obj
=
{
SName
:
'全部'
,
SId
:
'-1'
}
this
.
schoolList
.
unshift
(
obj
);
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
reset
PageIndex
()
{
reset
Search
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
this
.
currentPage
=
1
;
this
.
getList
();
},
goUrl
(
path
,
id
,
bId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
"bId"
:
bId
}
})
this
.
$router
.
push
({
path
:
path
,
query
:{
"id"
:
id
,
"bId"
:
bId
}
})
}
},
mounted
()
{
...
...
@@ -129,6 +124,8 @@
</
script
>
<
style
>
@import
"../financial/css/cssReset.css"
;
.singeRowTable
th
{
text-align
:
left
;
padding-left
:
10px
;}
.singeRowTable
td
{
text-align
:
left
;
padding-left
:
10px
}
</
style
>
src/pages/administration/AttendanceRules.vue
0 → 100644
View file @
d0107cf5
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/BasicDocuments.vue
View file @
d0107cf5
...
...
@@ -2296,6 +2296,7 @@
this
.
AuditOrRefundMsg
.
TemplateType
=
this
.
GetDetail
.
TemplateType
this
.
AuditOrRefundMsg
.
Image
=
JSON
.
stringify
(
imgArr
);
this
.
AuditOrRefundMsg
.
emList
=
this
.
chosenPeople
;
this
.
AuditOrRefundMsg
.
emStrList
=
this
.
chosenPeople
;
// this.GetDetail.AuditSteps.forEach(x=>{
// if(x.SpecialNode === 1 && x.AuditWay === 3) {
// if (this.GetDetail.CashierDetail.length>0) {
...
...
src/router/routes.js
View file @
d0107cf5
...
...
@@ -395,6 +395,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/administration/Attendance.vue"
)
},
{
path
:
"/administration/AttendanceRules"
,
//考勤设置
component
:
()
=>
import
(
"pages/administration/AttendanceRules.vue"
)
},
{
path
:
"/sale/japaneseTrain"
,
//日语培训列表
component
:
()
=>
...
...
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