Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
16d20a7e
Commit
16d20a7e
authored
Apr 30, 2020
by
彭祥礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 生成楼长上月薪酬
parent
33dde46b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
48 deletions
+73
-48
src/api/school-center/lzSalaryManagerAPI.js
+3
-0
src/views/school-center/louZhang/louZhangKPI.vue
+1
-0
src/views/school-center/louZhang/lzSalary.vue
+69
-48
No files found.
src/api/school-center/lzSalaryManagerAPI.js
View file @
16d20a7e
...
...
@@ -10,6 +10,8 @@ let lzSalaryList = (params) => postAction(prefix + "/lzWage/list" , params);
let
lzSalaryDelete
=
(
params
)
=>
postAction
(
prefix
+
"/lzWage/delete"
,
params
);
let
lzSalaryInsert
=
(
params
)
=>
postAction
(
prefix
+
"/lzWage/insert"
,
params
);
let
lzSalaryUpdate
=
(
params
)
=>
postAction
(
prefix
+
"/lzWage/update"
,
params
);
//生成楼长上月薪酬
let
createSalary
=
(
params
)
=>
postAction
(
prefix
+
"/lzWage/createSalary"
,
params
);
export
{
initSubstName
,
...
...
@@ -20,4 +22,5 @@ export {
lzSalaryDelete
,
lzSalaryInsert
,
lzSalaryUpdate
,
createSalary
}
src/views/school-center/louZhang/louZhangKPI.vue
View file @
16d20a7e
...
...
@@ -460,6 +460,7 @@
},
getSchoolNames
()
{
this
.
schoolNames
=
[]
this
.
queryParam
.
schoolName
=
''
getSchoolNames
({
"substName"
:
this
.
queryParam
.
substName
}).
then
((
res
)
=>
{
if
(
res
.
state
==
"success"
)
{
const
result
=
res
.
data
...
...
src/views/school-center/louZhang/lzSalary.vue
View file @
16d20a7e
...
...
@@ -5,12 +5,12 @@
<!-- 搜索区域 -->
<a-form
layout=
"inline"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"
4"
:sm=
"8
"
>
<a-col
:md=
"
3"
:sm=
"6
"
>
<a-form-item
label=
"姓名"
>
<a-input
placeholder=
"姓名"
v-model=
"queryParam.userName"
style=
"width: 8rem;"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"
4"
:sm=
"8
"
>
<a-col
:md=
"
3"
:sm=
"6
"
>
<a-form-item
label=
"县分"
>
<a-select
v-model=
"queryParam.substName"
@
change=
"getSchoolNames"
style=
"width: 8rem;"
>
<a-select-option
key=
""
>
--全部--
</a-select-option>
...
...
@@ -19,7 +19,7 @@
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"
6"
:sm=
"12
"
>
<a-col
:md=
"
5"
:sm=
"10
"
>
<a-form-item
label=
"学校"
>
<a-select
v-model=
"queryParam.schoolName"
style=
"width: 15rem;"
>
<a-select-option
key=
""
>
--全部--
</a-select-option>
...
...
@@ -36,6 +36,8 @@
<span
class=
"table-page-search-submitButtons"
style=
"float: left; overflow: hidden;"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"search()"
type=
"primary"
>
查询
</a-button>
<a-divider
type=
"vertical"
/>
<a-button
@
click=
"createSalay()"
type=
"primary"
>
生成楼长上月薪酬
</a-button>
<a-divider
v-show=
"false"
type=
"vertical"
/>
<a-button
v-show=
"false"
@
click=
"modifyfunction()"
type=
"primary"
>
添加
</a-button>
<a-divider
v-show=
"false"
type=
"vertical"
/>
...
...
@@ -48,8 +50,21 @@
</a-form>
</div>
<a-modal
title=
"生成薪酬"
:visible=
"createSalaryvisible"
@
ok=
"createfunctionOk1"
@
cancel=
"createfunctionCancel1"
width=
"400px"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
:sm=
"12"
>
<p
style=
"text-align:center;font-weight: bold;"
>
确定生成楼长上月薪酬吗?
</p>
</a-col>
</a-row>
</a-modal>
<a-modal
title=
"批量导入"
:visible=
"
kpi
Modifyvisible"
:visible=
"
salary
Modifyvisible"
@
ok=
"createfunctionOk0"
@
cancel=
"createfunctionCancel0"
html-type=
"submit"
...
...
@@ -117,55 +132,37 @@
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"姓名:"
>
<a-input
placeholder=
"姓名"
v-decorator=
"[ 'sysuName', {rules: [{ required: true, message: '姓名不能为空!' }]} ]"
:disabled=
"isdisabled"
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"
汇总任务量(满分:30)
:"
>
<a-input
-number
placeholder=
"
汇总任务量
"
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"
放号充值数
:"
>
<a-input
placeholder=
"
放号充值数
"
style=
"width: 20rem;"
:min=
"0"
:max=
"30"
v-decorator=
"[ 'reportDaily', {rules: [{ required: true, message: '汇总任务量不能为空!' }]} ]"
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"参与集中营销(满分:30):"
>
<a-input-number
placeholder=
"参与集中营销"
:min=
"0"
:max=
"30"
v-decorator=
"[ 'collectiveSales', {rules: [{required: true, message: '参与集中营销不能为空!' }]} ]"
style=
"width: 20rem;"
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"组织周例会(满分:10):"
>
<a-input-number
placeholder=
"组织周例会"
:min=
"0"
:max=
"10"
v-decorator=
"[ 'weeklyMeeting', {rules: [{ required: true, message: '组织周例会不能为空!' }]} ]"
style=
"width: 20rem;"
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"定制扫楼营销方案(满分:10):"
>
<a-input-number
placeholder=
"定制扫楼营销方案"
:min=
"0"
:max=
"10"
v-decorator=
"[ 'organTraining', {rules: [{ required: true, message: '定制扫楼营销方案不能为空!' }]} ]"
style=
"width: 20rem;"
/>
v-decorator=
"[ 'rechargeNum', {rules: [{ required: true, message: '放号充值数不能为空!' }]} ]"
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"组织培训(满分:20):"
>
<a-input-number
placeholder=
"组织培训"
:min=
"0"
:max=
"20"
v-decorator=
"[ 'designPlan', {rules: [{required: true, message: '组织培训不能为空!' }]} ]"
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"放号薪酬:"
>
<a-input
placeholder=
"放号薪酬"
v-decorator=
"[ 'rechargeWage', {rules: [{required: true, message: '放号薪酬不能为空!' }]} ]"
style=
"width: 20rem;"
/>
</a-form-item>
<a-form-item
v-show=
"false"
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"KPI总值:"
>
<a-input
-number
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"KPI总值:"
>
<a-input
placeholder=
"KPI总值"
:min=
"0"
:max=
"100"
v-decorator=
"[ 'kpi' ]"
style=
"width: 20rem;"
disabled
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"kpi薪酬:"
>
<a-input
placeholder=
"kpi薪酬"
v-decorator=
"[ 'kpiWage', {rules: [{ required: true, message: 'kpi薪酬不能为空!' }]} ]"
style=
"width: 20rem;"
/>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"总薪酬:"
>
<a-input
placeholder=
"总薪酬"
v-decorator=
"[ 'wage', {rules: [{ required: true, message: '总薪酬不能为空!' }]} ]"
style=
"width: 20rem;"
/>
</a-form-item>
<a-form-item
v-show=
"add"
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"KPI月份:"
>
<a-month-picker
@
change=
"onChange"
placeholder=
"选择KPI月份"
v-decorator=
"[ 'month' ]"
style=
"width: 20rem;"
/>
</a-form-item>
...
...
@@ -186,6 +183,7 @@
import
{
DatetimePicker
}
from
'vant'
;
import
moment
from
"moment"
;
import
ConstantActivity
from
"@/constant/ConstantActivity"
;
import
{
createSalary
}
from
"../../../api/school-center/lzSalaryManagerAPI"
;
Vue
.
use
(
DatetimePicker
);
...
...
@@ -199,7 +197,8 @@
emptyText
:
{
emptyText
:
'暂无数据'
},
Formtable
:
this
.
$form
.
createForm
(
this
),
modifyvisible
:
false
,
kpiModifyvisible
:
false
,
salaryModifyvisible
:
false
,
createSalaryvisible
:
false
,
title
:
ConstantActivity
.
title
,
add
:
true
,
isdisabled
:
true
,
...
...
@@ -300,7 +299,7 @@
this
.
importTile
=
"批量导入楼长薪水管理信息"
;
this
.
YRYMmoBan
=
true
;
this
.
importUrl
=
"manager/ciop/lzWage/importDate"
;
this
.
kpiModif
yvisible
=
true
this
.
createSalar
yvisible
=
true
},
downloadMoBan
:
function
()
{
exportFile
(
downloadMoBan
(),
"楼长薪水管理信息.xlsx"
);
...
...
@@ -318,12 +317,33 @@
}
this
.
$message
.
success
(
"上传成功!"
+
response
.
data
,
5
);
},
createSalay
(){
//生成楼长上月薪酬
this
.
createSalaryvisible
=
true
},
createfunctionOk1
()
{
//确定按扭
this
.
createSalaryvisible
=
false
;
createSalary
({}).
then
((
res
)
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
res
.
data
,
description
:
''
,
duration
:
4
})
}
else
{
this
.
$message
.
error
(
res
.
msg
);
return
;
}
this
.
search
()
})
},
createfunctionCancel1
()
{
//取消按扭
this
.
createSalaryvisible
=
false
;
},
createfunctionOk0
()
{
this
.
kpi
Modifyvisible
=
false
;
this
.
salary
Modifyvisible
=
false
;
this
.
clearmodel0
();
},
createfunctionCancel0
()
{
this
.
kpi
Modifyvisible
=
false
;
this
.
salary
Modifyvisible
=
false
;
this
.
clearmodel0
();
},
clearmodel0
()
{
...
...
@@ -446,6 +466,7 @@
},
getSchoolNames
()
{
this
.
schoolNames
=
[]
this
.
queryParam
.
schoolName
=
''
getSchoolNames
({
"substName"
:
this
.
queryParam
.
substName
}).
then
((
res
)
=>
{
if
(
res
.
state
==
"success"
)
{
const
result
=
res
.
data
...
...
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