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
102d9fe7
Commit
102d9fe7
authored
May 22, 2020
by
董有沛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节修改
parent
a7eeecc2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
src/views/school-center/PartnerManagement/PartnerManagement.vue
+2
-7
src/views/school-center/schoolmanager/schoolAllocation.vue
+8
-7
No files found.
src/views/school-center/PartnerManagement/PartnerManagement.vue
View file @
102d9fe7
...
...
@@ -409,7 +409,7 @@
if
(
this
.
modifyForm
.
roleId
.
substring
(
0
,
2
)
==
'0,'
){
// 剔除 '0,'
this
.
addForm
.
roleId
=
this
.
add
Form
.
roleId
.
substring
(
2
);
this
.
modifyForm
.
roleId
=
this
.
modify
Form
.
roleId
.
substring
(
2
);
}
//修改数据
...
...
@@ -554,11 +554,7 @@
let
textlist
=
new
Array
();
let
pObj
=
{};
list
.
forEach
(
element
=>
{
/*if(element.plist){
element.plist.forEach(item2 =>{
textlist.push(item2);
})
}*/
if
(
element
!==
undefined
){
if
(
!
pObj
[
element
.
pId
]){
pObj
[
element
.
pId
]
=
{
len
:
element
.
plen
,
list
:[
element
.
id
]}
...
...
@@ -566,7 +562,6 @@
pObj
[
element
.
pId
].
list
.
push
(
element
.
id
)
}
}
//textlist.push(element.id);
});
for
(
let
name
in
pObj
)
{
if
(
pObj
[
name
].
len
===
pObj
[
name
].
list
.
length
){
...
...
src/views/school-center/schoolmanager/schoolAllocation.vue
View file @
102d9fe7
...
...
@@ -22,7 +22,7 @@
</a-col>
<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-button
@
click=
"search()"
type=
"primary"
>
查询
1
</a-button>
<a-button
@
click=
"openAllocation()"
style=
"margin-left: 8px"
icon=
"plus"
type=
"primary"
>
新增
</a-button>
</a-col>
</span>
...
...
@@ -171,9 +171,10 @@
},
methods
:{
onLoad
(){
alert
();
let
params
=
[];
params
.
substName
=
""
;
// 获取县分下拉清单
getSubstList
(
Object
.
assign
(
params
,
obj
)
).
then
(
res
=>
{
getSubstList
(
params
).
then
(
res
=>
{
if
(
res
.
state
==
'success'
)
{
res
.
data
.
forEach
((
key
)
=>
{
this
.
subNameList
.
push
(
key
.
sub_name
)
...
...
@@ -185,7 +186,7 @@
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
openAllocation
()
{
this
.
titleName
=
"添加学校分配"
;
this
.
titleName
=
"添加学校
2323
分配"
;
this
.
modifyvisible
=
true
;
},
//提交表单
...
...
@@ -228,9 +229,9 @@
this
.
$message
.
error
(
res
.
data
?
res
.
data
:
'删除失败!'
,
5
);
})
},
changeSubst
(
type
){
changeSubst
(){
let
schoolParams
=
{};
schoolParams
.
subName
=
this
.
modifyForm
.
subName
;
schoolParams
.
sub
st
Name
=
this
.
modifyForm
.
subName
;
this
.
schoolList
=
[];
getSchoolList
(
schoolParams
).
then
(
res
=>
{
...
...
@@ -243,7 +244,7 @@
},
changeSchool
(
schoolId
){
let
schoolParams
=
{};
schoolParams
.
subName
=
this
.
modifyForm
.
subName
;
schoolParams
.
sub
st
Name
=
this
.
modifyForm
.
subName
;
this
.
schoolList
=
[];
getSchoolList
(
schoolParams
).
then
(
res
=>
{
...
...
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