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
902a9942
Commit
902a9942
authored
May 28, 2020
by
彭祥礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新用户审核调整
parent
79e9e336
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
52 deletions
+57
-52
src/api/school-center/salesOrder.js
+0
-16
src/api/school-center/salesOrdersAPI.js
+0
-33
src/api/school-center/userManager/newUserAPI.js
+0
-0
src/views/school-center/userManager/newUser.vue
+57
-3
No files found.
src/api/school-center/salesOrder.js
deleted
100644 → 0
View file @
79e9e336
import
{
postAction
,
downFilePost
}
from
'@/api/manage'
const
prefix
=
'/manager/ciop'
;
// 智能平台账号实名
let
salesOrderInfo
=
(
params
)
=>
postAction
(
prefix
+
"/salesList/salesOrderInfo"
,
params
);
let
ysmUserNotThrough
=
(
id
,
params
)
=>
postAction
(
prefix
+
"/ysmUser/notThrough/"
+
id
,
params
);
let
ysmUserInsert
=
(
params
)
=>
postAction
(
prefix
+
"/ysmUser/insert"
,
params
);
let
ysmUserUpdate
=
(
params
)
=>
postAction
(
prefix
+
"/ysmUser/update"
,
params
);
export
{
salesOrderInfo
,
ysmUserNotThrough
,
ysmUserInsert
,
ysmUserUpdate
}
src/api/school-center/salesOrdersAPI.js
deleted
100644 → 0
View file @
79e9e336
import
{
postAction
,
getAotion
,
downFilePost
}
from
'@/api/manage'
const
prefix
=
'/manager/ciop'
;
// 获取县分下拉列表
let
getSubstList
=
(
params
)
=>
postAction
(
prefix
+
"/school/schoolManagement/substList"
,
params
);
// 获取学校下拉列表
let
getSchoolList
=
(
params
)
=>
postAction
(
prefix
+
"/school/schoolManagement/schoolList"
,
params
);
// 获取活动列表
let
getList
=
(
params
)
=>
postAction
(
prefix
+
"/salesOrders/list"
,
params
);
// 删除
let
deleteOrder
=
(
params
)
=>
postAction
(
prefix
+
"/salesOrders/deleteOrder"
,
params
);
// 下载放号上传模板
let
downloadTemplateFH
=
(
params
)
=>
downFilePost
(
prefix
+
"/salesOrders/downloadTemplateFH"
,
params
);
// 下载充值审核模板
let
downloadTemplateCZ
=
(
params
)
=>
downFilePost
(
prefix
+
"/salesOrders/downloadTemplateCZ"
,
params
);
// 上传图片
// let uploadImg = (params) => postAction(prefix + "/salesOrders/uploadImg" , params);
// 下载导入结果清单
let
downloadResult
=
(
params
)
=>
downFilePost
(
prefix
+
"/salesOrders/exportResult"
,
params
);
// 导出订单
let
exportList
=
(
params
)
=>
downFilePost
(
prefix
+
"/salesOrders/exportOrderList"
,
params
);
export
{
getList
,
deleteOrder
,
getSubstList
,
getSchoolList
,
downloadTemplateFH
,
downloadTemplateCZ
,
downloadResult
,
exportList
}
src/api/school-center/userManager/newUser.js
→
src/api/school-center/userManager/newUser
API
.js
View file @
902a9942
File moved
src/views/school-center/userManager/newUser.vue
View file @
902a9942
...
...
@@ -31,6 +31,24 @@
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"2"
>
<a-form-item
label=
"县分"
>
<a-select
v-model=
"queryParam.salesSubst"
@
change=
"getSchoolNames"
>
<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>
</a-col>
<a-col
:md=
"6"
:sm=
"12"
>
<a-form-item
label=
"学校"
>
<a-select
v-model=
"queryParam.salesSchool"
style=
"width: 15rem;"
>
<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>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"8"
>
<a-form-item
label=
"审核人"
>
<a-input
placeholder=
"审核人"
v-model=
"queryParam.auditName"
style=
"width: 8rem;"
></a-input>
...
...
@@ -206,7 +224,7 @@
<
script
>
import
STable
from
'@/components/table'
;
import
ImportBtn
from
"../../../components/sysmanage/ImportBtn"
;
import
{
list
,
excelOut
,
update
}
from
"../../../api/school-center/u
ploadVerify/studentdwkVerifyKpi
API"
import
{
list
,
excelOut
,
update
}
from
"../../../api/school-center/u
serManager/newUser
API"
import
{
cloneObject
,
exportFile
}
from
'@/utils/util'
;
import
ConstantActivity
from
"@/constant/ConstantActivity"
;
import
Vue
from
'vue'
;
...
...
@@ -214,6 +232,7 @@
import
{
DatetimePicker
,
Dialog
}
from
'vant'
;
import
{
queryById
}
from
"../../../api/school-center/uploadVerify/studentdwkVerifyKpiAPI"
;
import
{
Image
as
VanImage
}
from
'vant'
;
import
{
getSchoolNames
,
initSubstName
}
from
"../../../api/school-center/salesOrderLists/salesOrderAPI"
;
Vue
.
use
(
VanImage
);
Vue
.
use
(
Dialog
)
...
...
@@ -248,6 +267,8 @@
linkPhone
:
''
,
auditName
:
''
,
auditState
:
''
,
salesSubst
:
''
,
salesSchool
:
''
,
uploadDate
:
[
''
,
''
],
auditDate
:
[
''
,
''
],
},
...
...
@@ -296,6 +317,8 @@
})
},
tempMode
:
[
'month'
,
'month'
],
schoolNames
:
[],
subNames
:
[],
apis
:
'img/'
,
imgInfo
:
''
,
visiblepicture
:
false
,
...
...
@@ -411,10 +434,41 @@
console
.
log
(
"queryParam.month=================="
+
this
.
queryParam
);
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
getSchoolNames
()
{
this
.
queryParam
.
schoolName
=
''
getSchoolNames
({
"substName"
:
this
.
queryParam
.
salesSubst
}).
then
((
res
)
=>
{
if
(
res
.
state
==
"success"
)
{
const
result
=
res
.
data
result
.
forEach
((
r
)
=>
{
if
(
r
.
schoolName
===
'null'
)
return
;
this
.
schoolNames
.
push
({
value
:
r
.
schoolName
,
text
:
r
.
schoolName
})
})
}
})
},
initSubstName
()
{
initSubstName
().
then
((
res
)
=>
{
if
(
res
.
state
==
"success"
)
{
const
result
=
res
.
data
result
.
forEach
((
r
)
=>
{
if
(
r
.
subName
===
'null'
)
return
;
this
.
subNames
.
push
({
value
:
r
.
subName
,
text
:
r
.
subName
})
})
}
})
}
},
mounted
()
{
this
.
initSubstName
();
this
.
getSchoolNames
();
}
}
</
script
>
...
...
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