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
85dfb431
Commit
85dfb431
authored
Mar 17, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a5753517
44a61137
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
16 deletions
+32
-16
src/api/school-center/networkPlace/networkPlaceAPI.js
+25
-0
src/api/school-center/schoolManagermentAPI.js
+1
-1
src/views/school-center/network-place/networkPlace.vue
+0
-0
src/views/school-center/schoolmanager/schoolmanagement.vue
+4
-4
src/views/school-center/uploadVerify/studentCardVerify.vue
+2
-2
src/views/school-center/userManager/PartnerManagement.vue
+0
-9
No files found.
src/api/school-center/networkPlace/networkPlaceAPI.js
0 → 100644
View file @
85dfb431
import
{
postAction
,
downFilePost
}
from
'@/api/manage'
const
prefix
=
'/manager/ciop/'
;
//报表
let
reportList
=
(
params
)
=>
postAction
(
prefix
+
"networkPlace/list"
,
params
);
let
reportDownload
=
(
params
)
=>
downFilePost
(
prefix
+
"networkPlace/reportDownload"
,
params
);
let
excelMBOut
=
(
params
)
=>
downFilePost
(
prefix
+
"networkPlace/excelMBOut"
,
params
);
// 编辑
let
modifyData
=
(
params
)
=>
postAction
(
prefix
+
"networkPlace/updateData"
,
params
);
//新增
let
insertData
=
(
params
)
=>
postAction
(
prefix
+
"networkPlace/insertData"
,
params
);
//删除
let
deleteId
=
(
params
)
=>
postAction
(
prefix
+
"networkPlace/deleteId"
,
params
);
export
{
excelMBOut
,
reportList
,
reportDownload
,
modifyData
,
insertData
,
deleteId
}
src/api/school-center/schoolManagermentAPI.js
View file @
85dfb431
...
@@ -18,7 +18,7 @@ let insert= (params) => postAction(prefix + "/school/schoolManagement/insert" ,
...
@@ -18,7 +18,7 @@ let insert= (params) => postAction(prefix + "/school/schoolManagement/insert" ,
let
hidestatus
=
(
params
)
=>
postAction
(
prefix
+
"/school/schoolManagement/hidestatus"
,
params
);
let
hidestatus
=
(
params
)
=>
postAction
(
prefix
+
"/school/schoolManagement/hidestatus"
,
params
);
// 下载学校模板
// 下载学校模板
let
excelMBOut
=
(
params
)
=>
postAction
(
prefix
+
"/school/schoolManagement/excelMBOut"
,
params
);
let
excelMBOut
=
(
params
)
=>
downFilePost
(
prefix
+
"/school/schoolManagement/excelMBOut"
,
params
);
// 下载学校列表
// 下载学校列表
let
reportDownload
=
(
params
)
=>
downFilePost
(
prefix
+
"/school/schoolManagement/excelOut"
,
params
);
let
reportDownload
=
(
params
)
=>
downFilePost
(
prefix
+
"/school/schoolManagement/excelOut"
,
params
);
...
...
src/views/school-center/network-place/networkPlace.vue
0 → 100644
View file @
85dfb431
This diff is collapsed.
Click to expand it.
src/views/school-center/schoolmanager/schoolmanagement.vue
View file @
85dfb431
...
@@ -580,7 +580,6 @@
...
@@ -580,7 +580,6 @@
},
},
// 执行上传
// 执行上传
doPush
(
res
)
{
doPush
(
res
)
{
debugger
if
(
!
res
||
!
res
.
response
)
{
if
(
!
res
||
!
res
.
response
)
{
this
.
$message
.
error
(
"上传文件出错!"
,
10
);
this
.
$message
.
error
(
"上传文件出错!"
,
10
);
return
false
;
return
false
;
...
@@ -593,9 +592,7 @@
...
@@ -593,9 +592,7 @@
this
.
$message
.
success
(
"上传成功!"
+
response
.
data
,
5
);
this
.
$message
.
success
(
"上传成功!"
+
response
.
data
,
5
);
this
.
impXXModal
=
false
;
this
.
impXXModal
=
false
;
},
},
downloadXXMoBan
:
function
(){
exportFile
(
excelMBOut
(),
"学校列表模板.xlsx"
);
},
add
(){
add
(){
this
.
titleName
=
"添加"
this
.
titleName
=
"添加"
this
.
isShowMore
=
true
;
this
.
isShowMore
=
true
;
...
@@ -906,6 +903,9 @@
...
@@ -906,6 +903,9 @@
this
.
downloadstatu
this
.
downloadstatu
);
);
},
},
downloadXXMoBan
:
function
(){
exportFile
(
excelMBOut
(),
"学校列表模板.xlsx"
);
},
downloadstatu
()
{
downloadstatu
()
{
this
.
callback
=
false
;
this
.
callback
=
false
;
},
},
...
...
src/views/school-center/uploadVerify/studentCardVerify.vue
View file @
85dfb431
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
批量不通过
批量不通过
</a-button>
</a-button>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a-button
@
click=
"excelOut()"
type=
"primary"
>
导出
所有
数据
</a-button>
<a-button
@
click=
"excelOut()"
type=
"primary"
>
导出数据
</a-button>
</a-col>
</a-col>
</span>
</span>
</a-row>
</a-row>
...
@@ -428,7 +428,7 @@
...
@@ -428,7 +428,7 @@
if
(
this
.
tempstate
==
'是'
){
if
(
this
.
tempstate
==
'是'
){
this
.
Formtable
.
auditState
=
2
this
.
Formtable
.
auditState
=
2
}
else
if
(
this
.
tempstate
==
'否'
){
}
else
if
(
this
.
tempstate
==
'否'
){
this
.
Formtable
.
auditState
=
=
3
this
.
Formtable
.
auditState
=
3
}
else
if
(
this
.
tempstate
==
'无效'
){
}
else
if
(
this
.
tempstate
==
'无效'
){
this
.
Formtable
.
auditState
=
4
this
.
Formtable
.
auditState
=
4
}
}
...
...
src/views/school-center/userManager/PartnerManagement.vue
View file @
85dfb431
...
@@ -454,7 +454,6 @@
...
@@ -454,7 +454,6 @@
},
},
watch
:
{
watch
:
{
treeModelValue
(
data
)
{
treeModelValue
(
data
)
{
console
.
log
(
data
);
}
}
},
},
methods
:{
methods
:{
...
@@ -476,7 +475,6 @@
...
@@ -476,7 +475,6 @@
grade
:
data
.
grade
,
grade
:
data
.
grade
,
ysm
:
data
.
ysm
,
ysm
:
data
.
ysm
,
})
})
console
.
log
(
data
.
schools
);
if
(
data
.
schools
==
undefined
)
{
if
(
data
.
schools
==
undefined
)
{
this
.
treeModelValue
=
[];
this
.
treeModelValue
=
[];
}
else
{
}
else
{
...
@@ -511,8 +509,6 @@
...
@@ -511,8 +509,6 @@
this
.
modifyForm
.
password
=
values
.
password
this
.
modifyForm
.
password
=
values
.
password
const
subNames
=
[];
const
subNames
=
[];
const
schools
=
[];
const
schools
=
[];
console
.
log
(
this
.
treeModelValue
);
console
.
log
(
this
.
subNames
);
out
:
for
(
let
i
=
0
;
i
<
this
.
treeModelValue
.
length
;
++
i
)
{
out
:
for
(
let
i
=
0
;
i
<
this
.
treeModelValue
.
length
;
++
i
)
{
for
(
let
j
=
0
;
j
<
this
.
subNames
.
length
;
++
j
)
{
for
(
let
j
=
0
;
j
<
this
.
subNames
.
length
;
++
j
)
{
if
(
this
.
treeModelValue
[
i
]
==
this
.
subNames
[
j
].
value
)
{
if
(
this
.
treeModelValue
[
i
]
==
this
.
subNames
[
j
].
value
)
{
...
@@ -522,8 +518,6 @@
...
@@ -522,8 +518,6 @@
}
}
schools
.
push
(
this
.
treeModelValue
[
i
]);
schools
.
push
(
this
.
treeModelValue
[
i
]);
}
}
console
.
log
(
this
.
modifyForm
);
console
.
log
(
this
.
xzUserList
);
if
(
this
.
modifyForm
.
parentId
==
undefined
){
if
(
this
.
modifyForm
.
parentId
==
undefined
){
this
.
modifyForm
.
parentId
=
''
this
.
modifyForm
.
parentId
=
''
this
.
modifyForm
.
parentIds
=
''
this
.
modifyForm
.
parentIds
=
''
...
@@ -852,7 +846,6 @@
...
@@ -852,7 +846,6 @@
changeDongjie
(
event
,
id
){
changeDongjie
(
event
,
id
){
if
(
event
){
if
(
event
){
unlockUser
({
userId
:
id
}).
then
(
res
=>
{
unlockUser
({
userId
:
id
}).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
state
==
'success'
){
if
(
res
.
state
==
'success'
){
notification
.
success
({
message
:
'系统提示'
,
description
:
'解冻成功'
})
notification
.
success
({
message
:
'系统提示'
,
description
:
'解冻成功'
})
}
else
{
}
else
{
...
@@ -861,7 +854,6 @@
...
@@ -861,7 +854,6 @@
});
});
}
else
{
}
else
{
lockUser
({
userId
:
id
}).
then
(
res
=>
{
lockUser
({
userId
:
id
}).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
state
==
'success'
){
if
(
res
.
state
==
'success'
){
notification
.
success
({
message
:
'系统提示'
,
description
:
'冻结成功'
})
notification
.
success
({
message
:
'系统提示'
,
description
:
'冻结成功'
})
}
else
{
}
else
{
...
@@ -935,7 +927,6 @@
...
@@ -935,7 +927,6 @@
});
});
})
})
this
.
treeData
[
i
].
children
=
temp
;
this
.
treeData
[
i
].
children
=
temp
;
console
.
log
(
this
.
treeData
);
}
}
})
})
}
}
...
...
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