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
3a1996a4
Commit
3a1996a4
authored
May 24, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销员(未完成,暂隐藏)
parent
6b45b599
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
19 deletions
+61
-19
src/views/school-center/louZhang/managerKpi.vue
+2
-2
src/views/school-center/louZhang/zjlSalary.vue
+2
-2
src/views/school-center/userManager/PartnerManagement.vue
+57
-15
No files found.
src/views/school-center/louZhang/managerKpi.vue
View file @
3a1996a4
...
...
@@ -13,6 +13,7 @@
<a-col
:md=
"6"
:sm=
"12"
>
<a-form-item
label=
"月份"
>
<a-range-picker
style=
"width: 260px"
showTime
:placeholder=
"['开始月份', '结束月份']"
format=
"YYYYMM"
...
...
@@ -280,4 +281,4 @@
<
style
scoped
>
</
style
>
\ No newline at end of file
</
style
>
src/views/school-center/louZhang/zjlSalary.vue
View file @
3a1996a4
...
...
@@ -13,6 +13,7 @@
<a-col
:md=
"6"
:sm=
"12"
>
<a-form-item
label=
"月份"
>
<a-range-picker
style=
"width: 260px"
showTime
:placeholder=
"['开始月份', '结束月份']"
format=
"YYYYMM"
...
...
@@ -346,4 +347,4 @@
<
style
scoped
>
</
style
>
\ No newline at end of file
</
style
>
src/views/school-center/userManager/PartnerManagement.vue
View file @
3a1996a4
...
...
@@ -26,7 +26,7 @@
</a-col>
<a-col
:md=
"5"
:sm=
"10"
>
<a-form-item
label=
"学校"
>
<a-select
v-model=
"queryParam.school"
style=
"width: 1
5
rem;"
>
<a-select
v-model=
"queryParam.school"
style=
"width: 1
3
rem;"
>
<a-select-option
key=
""
>
--全部--
</a-select-option>
<a-select-option
v-for=
"d in schoolNames"
:key=
"d.value"
:value=
"d.value"
>
{{
d
.
text
}}
</a-select-option>
</a-select>
...
...
@@ -43,7 +43,7 @@
<a-col
:md=
"3"
:sm=
"6"
>
<a-form-item
:labelCol=
"
{span: 6}" :wrapperCol="{span: 8, offset: 1}" label="活跃状态">
<a-select
showSearch
placeholder=
"请选择"
v-model=
"queryParam.isActive"
>
<a-select
showSearch
placeholder=
"请选择"
v-model=
"queryParam.isActive"
style=
"width: 6rem;"
>
<a-select-option
key=
""
>
请选择
</a-select-option>
<a-select-option
key=
"1"
>
活跃
</a-select-option>
<a-select-option
key=
"0"
>
不活跃
</a-select-option>
...
...
@@ -97,12 +97,13 @@
<span
v-else
></span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text,record"
>
<a
@
click=
"modifyfunction(record)"
>
编辑
</a>
<a
@
click=
"modifyfunction(record)"
>
编辑
</a>
<a-divider
type=
"vertical"
/>
<!--
<a
@
click=
"modifyfunction(record)"
>
分销员
</a>
-->
<!--
<a-divider
type=
"vertical"
/>
-->
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteUser(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
<a-divider
type=
"vertical"
/>
</
template
>
</s-table>
...
...
@@ -232,6 +233,7 @@
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"县分"
>
<a-select
placeholder=
"请选择"
@
change=
"changeSubst(2)"
v-model=
"modifyForm.subName"
>
<a-select-option
key=
""
>
请选择
</a-select-option>
<a-select-option
key=
""
>
请选择
</a-select-option>
<a-select-option
v-for=
"d in subNames"
:key=
"d.value"
:value=
"d.value"
>
{{d.text}}
</a-select-option>
</a-select>
</a-form-item>
...
...
@@ -374,6 +376,10 @@
position
:
''
,
parentId
:
''
,
},
modifyFormFXY
:{
id
:
""
,
fxs
:
""
,
},
autoCompleteResult
:[],
subNameList
:
[],
substList
:
[],
...
...
@@ -386,19 +392,19 @@
addSubName
:
''
,
columns
:
[
{
dataIndex
:
'id'
,
width
:
100
,
title
:
'合伙人id'
,
align
:
'center'
},
{
dataIndex
:
'name'
,
width
:
100
,
title
:
'姓名
'
,
align
:
"center"
},
{
dataIndex
:
'name'
,
width
:
100
,
title
:
'姓名'
,
align
:
"center"
},
{
dataIndex
:
'phone'
,
width
:
200
,
title
:
'电话'
,
align
:
"center"
},
{
dataIndex
:
'school'
,
width
:
200
,
title
:
'学校
'
,
align
:
"center"
},
{
dataIndex
:
'idCard'
,
width
:
200
,
title
:
'身份证
'
,
align
:
"center"
},
{
dataIndex
:
'account'
,
width
:
200
,
title
:
'账号
'
,
align
:
"center"
},
{
dataIndex
:
'substName'
,
width
:
100
,
title
:
'县分
'
,
align
:
"center"
},
{
dataIndex
:
'roleName'
,
width
:
200
,
title
:
'角色
'
,
align
:
"center"
},
{
dataIndex
:
'status'
,
width
:
100
,
fixed
:
'right'
,
sort
:
true
,
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'statusRender'
}
},
{
dataIndex
:
'school'
,
width
:
200
,
title
:
'学校'
,
align
:
"center"
},
{
dataIndex
:
'idCard'
,
width
:
200
,
title
:
'身份证'
,
align
:
"center"
},
{
dataIndex
:
'account'
,
width
:
200
,
title
:
'账号'
,
align
:
"center"
},
{
dataIndex
:
'substName'
,
width
:
100
,
title
:
'县分'
,
align
:
"center"
},
{
dataIndex
:
'roleName'
,
width
:
200
,
title
:
'角色'
,
align
:
"center"
},
{
dataIndex
:
'sex'
,
width
:
100
,
title
:
'性别'
,
align
:
"center"
,
scopedSlots
:
{
customRender
:
'genderoperation'
},
},
{
dataIndex
:
'isActive'
,
width
:
200
,
title
:
'活跃状态'
,
align
:
"center"
,
scopedSlots
:
{
customRender
:
'activeRender'
},},
{
dataIndex
:
's
ex'
,
width
:
100
,
title
:
'性别 '
,
align
:
"center"
,
scopedSlots
:
{
customRender
:
'genderoperation'
},},
{
dataIndex
:
's
tatus'
,
width
:
100
,
fixed
:
'right'
,
sort
:
true
,
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'statusRender'
},},
{
dataIndex
:
'operation'
,
width
:
1
0
0
,
width
:
1
5
0
,
title
:
'操作'
,
align
:
"center"
,
scopedSlots
:
{
customRender
:
'operation'
},
...
...
@@ -496,6 +502,43 @@
}
})
},
// 调整分销员
modifyFXY
(
data
)
{
this
.
modifyForm
.
id
=
data
.
id
this
.
titleName
=
"编辑"
this
.
modifyvisible
=
true
setTimeout
(()
=>
{
this
.
Formtable
.
setFieldsValue
({
phone
:
data
.
phone
,
schoolId
:
data
.
schoolId
,
name
:
data
.
name
,
account
:
data
.
account
,
idCard
:
data
.
idCard
,
sex
:
data
.
sex
,
grade
:
data
.
grade
,
ysm
:
data
.
ysm
,
})
if
(
data
.
schools
==
undefined
)
{
this
.
treeModelValue
=
[];
}
else
{
this
.
treeModelValue
=
data
.
schools
.
split
(
","
);
}
this
.
modifyForm
.
subName
=
data
.
substName
;
this
.
modifyForm
.
roleId
=
data
.
roleid
;
this
.
modifyForm
.
position
=
data
.
position
;
this
.
modifyForm
.
parentId
=
""
;
this
.
modifyForm
.
parentIds
=
""
;
this
.
recordId
=
data
.
parentId
;
this
.
changeSchool
(
data
.
schoolId
);
this
.
changePosition
(
2
);
this
.
$refs
.
tree2
.
setValue2
(
data
.
roleid
);
},
500
)
getlistysm
().
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
autoCompleteResult
=
res
.
data
}
})
},
//提交表单
createfunctionOk
(){
this
.
Formtable
.
validateFields
([
"account"
,
'phone'
,
'name'
,
"idCard"
,
'password'
,
'parentId'
,
'sex'
,
'schoolId'
,
'roleid'
,
'ysm'
],
{
force
:
true
},
(
err
,
values
)
=>
{
...
...
@@ -943,4 +986,4 @@
<
style
scoped
>
</
style
>
\ No newline at end of file
</
style
>
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