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
9f6265b4
Commit
9f6265b4
authored
Jul 28, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
31f962d6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1047 additions
and
640 deletions
+1047
-640
index.js
src/api/course/index.js
+17
-21
course-form.vue
src/components/course/course-form.vue
+556
-293
course.vue
src/pages/course/course.vue
+474
-326
No files found.
src/api/course/index.js
View file @
9f6265b4
...
@@ -219,7 +219,7 @@ export function saveChapter(data) {
...
@@ -219,7 +219,7 @@ export function saveChapter(data) {
* 保存课程章节
* 保存课程章节
* @param {JSON参数} data
* @param {JSON参数} data
*/
*/
export
function
getCourseRate
(
data
)
{
export
function
getCourseRate
(
data
)
{
return
request
({
return
request
({
url
:
"/Course/GetCourseRateEnumList"
,
url
:
"/Course/GetCourseRateEnumList"
,
method
:
'post'
,
method
:
'post'
,
...
@@ -231,7 +231,7 @@ export function saveChapter(data) {
...
@@ -231,7 +231,7 @@ export function saveChapter(data) {
* 保存课程章节
* 保存课程章节
* @param {JSON参数} data
* @param {JSON参数} data
*/
*/
export
function
deleteChapters
(
data
)
{
export
function
deleteChapters
(
data
)
{
return
request
({
return
request
({
url
:
"/Course/BatchRemoveChapter"
,
url
:
"/Course/BatchRemoveChapter"
,
method
:
'post'
,
method
:
'post'
,
...
@@ -243,7 +243,7 @@ export function saveChapter(data) {
...
@@ -243,7 +243,7 @@ export function saveChapter(data) {
* 保存课程章节
* 保存课程章节
* @param {JSON参数} data
* @param {JSON参数} data
*/
*/
export
function
setChaptersRate
(
data
)
{
export
function
setChaptersRate
(
data
)
{
return
request
({
return
request
({
url
:
"/Course/BatchSetChapterRate"
,
url
:
"/Course/BatchSetChapterRate"
,
method
:
'post'
,
method
:
'post'
,
...
@@ -255,7 +255,7 @@ export function saveChapter(data) {
...
@@ -255,7 +255,7 @@ export function saveChapter(data) {
* 批量更新章节编号和ID
* 批量更新章节编号和ID
* @param {JSON参数} data
* @param {JSON参数} data
*/
*/
export
function
batchUpdateChapterNo
(
data
)
{
export
function
batchUpdateChapterNo
(
data
)
{
return
request
({
return
request
({
url
:
"/Course/SetBatchChapterNo"
,
url
:
"/Course/SetBatchChapterNo"
,
method
:
'post'
,
method
:
'post'
,
...
@@ -267,7 +267,7 @@ export function saveChapter(data) {
...
@@ -267,7 +267,7 @@ export function saveChapter(data) {
* 修改章节名称
* 修改章节名称
* @param {JSON参数} data
* @param {JSON参数} data
*/
*/
export
function
updateChapterName
(
data
)
{
export
function
updateChapterName
(
data
)
{
return
request
({
return
request
({
url
:
"/Course/SetChapterName"
,
url
:
"/Course/SetChapterName"
,
method
:
'post'
,
method
:
'post'
,
...
@@ -391,22 +391,22 @@ export function saveCourseOfferCustomerStatus(data) {
...
@@ -391,22 +391,22 @@ export function saveCourseOfferCustomerStatus(data) {
* 报价单转订单
* 报价单转订单
*/
*/
export
function
saveOfferToOrder
(
data
)
{
export
function
saveOfferToOrder
(
data
)
{
return
request
({
return
request
({
url
:
"/CourseOffer/OfferTransOrder"
,
url
:
"/CourseOffer/OfferTransOrder"
,
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
}
/**
/**
* 报价单申请改价
* 报价单申请改价
*/
*/
export
function
SetApplyModifyPrice
(
data
)
{
export
function
SetApplyModifyPrice
(
data
)
{
return
request
({
return
request
({
url
:
"/CourseOffer/SetApplyModifyPrice"
,
url
:
"/CourseOffer/SetApplyModifyPrice"
,
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
}
/**
/**
...
@@ -534,8 +534,4 @@ export function SetImportCourse(data) {
...
@@ -534,8 +534,4 @@ export function SetImportCourse(data) {
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
}
\ No newline at end of file
\ No newline at end of file
src/components/course/course-form.vue
View file @
9f6265b4
This diff is collapsed.
Click to expand it.
src/pages/course/course.vue
View file @
9f6265b4
This diff is collapsed.
Click to expand it.
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