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
f2c12751
Commit
f2c12751
authored
Dec 21, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
206c638f
360969e7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
46 deletions
+44
-46
consult-form.vue
src/components/finance/consult-form.vue
+32
-32
courseConsultant.vue
src/pages/financial/market/courseConsultant.vue
+12
-14
No files found.
src/components/finance/consult-form.vue
View file @
f2c12751
...
...
@@ -87,7 +87,6 @@
/
deep
/
.q-field__prepend
{
padding-right
:
0px
!important
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
>
...
...
@@ -102,35 +101,35 @@
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-
input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.PlanName"
ref=
"PlanName
"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"方案名称"
:rules=
"[val => !!val || '请输入方案名称']
"
/>
<q-
select
filled
option-value=
"Id"
option-label=
"Name"
class=
"col-6 q-pb-lg q-pr-lg
"
v-model=
"objOption.PlanType"
:options=
"TypeList"
emit-value
map-options
label=
"方案类型
"
/>
</div>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.
BasicSalary"
ref=
"BasicSalary
"
class=
"col-6 q-pb-lg"
label=
"
基本工资"
@
keyup
.
native=
"checkPrice(objOption,'BasicSalary')
"
/>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.
PlanName"
ref=
"PlanName
"
class=
"col-6 q-pb-lg"
label=
"
方案名称"
:rules=
"[val => !!val || '请输入方案名称']
"
/>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.OpenBonus"
ref=
"OpenBonus"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"开单奖金"
@
keyup
.
native=
"checkPrice(objOption,'OpenBonus')"
/>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.BasicSalary"
ref=
"BasicSalary"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"基本工资"
@
keyup
.
native=
"checkPrice(objOption,'BasicSalary')"
/>
</div>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.WorkAgeSalary"
ref=
"WorkAgeSalary"
class=
"col-6 q-pb-lg"
label=
"工龄工资"
@
keyup
.
native=
"checkPrice(objOption,'WorkAgeSalary')"
/>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.OpenBonus"
ref=
"OpenBonus"
class=
"col-6 q-pb-lg"
label=
"开单奖金"
@
keyup
.
native=
"checkPrice(objOption,'OpenBonus')"
suffix=
"/月"
/>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.
ClueNum
Salary"
ref=
"
ClueNumSalary"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"线索奖金
"
@
keyup
.
native=
"checkPrice(objOption,'
ClueNumSalary')
"
/>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.
WorkAge
Salary"
ref=
"
WorkAgeSalary"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"工龄工资
"
@
keyup
.
native=
"checkPrice(objOption,'
WorkAgeSalary')"
suffix=
"/年
"
/>
</div>
<div
class=
"col-6"
>
<q-
select
filled
v-model=
"SaleIdsArray"
multiple
@
filter=
"filterEmployee"
use-input
:options=
"myEmployeeList"
label=
"销售人员"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
/>
<q-
input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.ClueNumSalary"
ref=
"ClueNumSalary"
class=
"col-6 q-pb-lg"
label=
"线索奖金"
@
keyup
.
native=
"checkPrice(objOption,'ClueNumSalary')"
suffix=
"大于5条"
/>
</div>
</div>
<div
class=
"row wrap"
>
...
...
@@ -147,17 +146,19 @@
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-select
filled
option-value=
"Id"
option-label=
"Name"
class=
"col-6 q-pb-lg q-pr-lg"
v-model=
"objOption.PlanType"
:options=
"TypeList"
emit-value
map-options
label=
"方案类型"
clearable
/>
<q-select
filled
v-model=
"SaleIdsArray"
multiple
@
filter=
"filterEmployee"
use-input
class=
"col-6 q-pb-lg q-pr-lg"
:options=
"myEmployeeList"
label=
"适用人员"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
/>
</div>
</div>
<div
class=
"row wrap"
style=
"margin-bottom:20px;"
>
<div
class=
"col-6"
>
业绩
</q-card-section>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<div
class=
"EmpLine_title"
>
<div
class=
"Emp_Line"
></div>
<div>
达标人头数配置
</div>
<q-btn
style=
"margin-left:30px;"
size=
"10px"
@
click=
"addCourse()"
round
color=
"primary"
icon=
"iconfont icon-img_haha"
/>
</div>
</div>
<div
class=
"row wrap"
v-for=
"(item,index) in objOption.DetailList"
:key=
"index"
>
<div
class=
"col-4"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"item.StartNum"
ref=
"StartNum"
...
...
@@ -315,17 +316,17 @@
var
dataStrArr2
=
tempData
.
UseCourseIds
.
split
(
","
)
var
dataStrArr3
=
tempData
.
NotUseCourseIds
.
split
(
","
)
if
(
dataStrArr
)
{
if
(
dataStrArr
)
{
this
.
SaleIdsArray
=
dataStrArr
.
map
(
item
=>
{
return
+
item
;
});
}
if
(
dataStrArr2
)
{
if
(
dataStrArr2
)
{
this
.
UseCourseIdsArray
=
dataStrArr2
.
map
(
item
=>
{
return
+
item
;
});
}
if
(
dataStrArr3
)
{
if
(
dataStrArr3
)
{
this
.
NotUseCourseIdsArray
=
dataStrArr3
.
map
(
item
=>
{
return
+
item
;
});
...
...
@@ -378,5 +379,4 @@
}
},
}
</
script
>
\ No newline at end of file
src/pages/financial/market/courseConsultant.vue
View file @
f2c12751
...
...
@@ -33,6 +33,7 @@
.marketRules
.singeRowTable
tr
th
{
border
:
1px
solid
#d2d2d2
;
}
.border-bottom
{
border-bottom
:
1px
dashed
#EEE
;
padding-bottom
:
5px
;
...
...
@@ -68,7 +69,8 @@
<
template
v-slot:body-cell-Id=
"props"
>
<q-td
:props=
"props"
>
<div>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"AddMsg(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"AddMsg(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"delete"
color=
"negative"
class=
"q-mr-xs"
label=
"删除"
@
click=
"delConsult(props.row.Id)"
/>
</div>
...
...
@@ -112,6 +114,12 @@
field
:
"PlanName"
,
align
:
"left"
},
{
name
:
"PlanTypeStr"
,
label
:
"类型"
,
field
:
"PlanTypeStr"
,
align
:
"left"
},
{
name
:
"BasicSalary"
,
label
:
"基本工资"
,
...
...
@@ -131,13 +139,6 @@
align
:
"left"
,
field
:
'WorkAgeSalary'
},
{
name
:
"CustomerTel"
,
required
:
true
,
label
:
"客户电话"
,
align
:
"left"
,
field
:
row
=>
row
.
CustomerTel
},
{
name
:
"ClueNumSalary"
,
required
:
true
,
...
...
@@ -201,7 +202,6 @@
getList
()
{
this
.
loading
=
true
;
GetBounsPlanPage
(
this
.
msg
).
then
(
res
=>
{
console
.
log
(
res
,
'数据'
);
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
...
...
@@ -220,7 +220,7 @@
closeSaveForm
()
{
this
.
isShowConsult
=
false
;
},
delConsult
(
Id
){
delConsult
(
Id
)
{
let
delMsg
=
{
Id
:
Id
};
...
...
@@ -250,9 +250,7 @@
}
},
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
\ No newline at end of file
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