Commit 9488d898 authored by 黄奎's avatar 黄奎

页面修改

parent d3400066
...@@ -240,46 +240,66 @@ export function queryCourseJobPageList(data) { ...@@ -240,46 +240,66 @@ export function queryCourseJobPageList(data) {
/** /**
* 获取课程优惠类型列表 * 获取课程优惠类型列表
*/ */
export function queryCoursePreferentialType() export function queryCoursePreferentialType() {
{ return request({
return request({ url: "/Course/GetCoursePreferentialType",
url: "/Course/GetCoursePreferentialType", method: 'post',
method: 'post', })
})
} }
/** /**
* 获取课程优惠列表 * 获取课程优惠列表
*/ */
export function queryCoursePreferentialList(data) export function queryCoursePreferentialList(data) {
{ return request({
return request({ url: "/Course/GetCoursePreferentialList",
url: "/Course/GetCoursePreferentialList", method: 'post',
method: 'post', data
data })
})
} }
/** /**
* 新增修改课程优惠 * 新增修改课程优惠
*/ */
export function saveCoursePreferential(data) export function saveCoursePreferential(data) {
{ return request({
return request({ url: "/Course/SetBeatchCoursePreferential",
url: "/Course/SetBeatchCoursePreferential", method: 'post',
method: 'post', data
data })
})
} }
/** /**
* 新增修改课程优惠 * 新增修改报价单
*/ */
export function saveCourseOffer(data) export function saveCourseOffer(data) {
{ return request({
return request({ url: "/CourseOffer/SetCourseOffer",
url: "/CourseOffer/SetCourseOffer", method: 'post',
method: 'post', data
data })
}) }
}
\ No newline at end of file /**
* 获取课程报价列表
*/
export function queryCourseOfferPage(data) {
return request({
url: "/CourseOffer/GetCourseOfferPage",
method: 'post',
data
})
}
/**
* 获取报价单详情
*/
export function queryCourseOfferInfo(data) {
return request({
url: "/CourseOffer/GetCourseOffer",
method: 'post',
data
})
}
\ No newline at end of file
This diff is collapsed.
...@@ -324,12 +324,6 @@ export default { ...@@ -324,12 +324,6 @@ export default {
field: "CoverImg", field: "CoverImg",
align: "left" align: "left"
}, },
// {
// name: 'CourseId',
// label: '课程编号',
// field: 'CourseId',
// align: 'left'
// },
{ {
name: "CourseName", name: "CourseName",
required: true, required: true,
...@@ -424,11 +418,7 @@ export default { ...@@ -424,11 +418,7 @@ export default {
}, },
methods: { methods: {
createQuotation(){ createQuotation(){
this.showForm=true this.showForm=true;
// this.$router.push({
// path: '/sale/createQuotation'
// })
}, },
showContentDialog(content){ showContentDialog(content){
this.showContent=content; this.showContent=content;
...@@ -456,11 +446,9 @@ export default { ...@@ -456,11 +446,9 @@ export default {
new RegExp("\n", "gm"), new RegExp("\n", "gm"),
"<br/>" "<br/>"
); );
console.log(x.CourseFeature);
}); });
this.data = res.Data.PageData; this.data = res.Data.PageData;
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
console.log(this.data, "data");
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;
......
This diff is collapsed.
...@@ -426,6 +426,11 @@ const routes = [{ ...@@ -426,6 +426,11 @@ const routes = [{
component: () => component: () =>
import("pages/sale/courseList.vue") import("pages/sale/courseList.vue")
}, },
{
path: "/sale/courseoffer", //销售 报价单
component: () =>
import("pages/sale/courseoffer.vue")
},
{ {
path: "/sale/myOrder", //销售 我的订单 path: "/sale/myOrder", //销售 我的订单
component: () => component: () =>
...@@ -467,7 +472,7 @@ const routes = [{ ...@@ -467,7 +472,7 @@ const routes = [{
import("pages/course/question.vue") import("pages/course/question.vue")
}, },
{ {
path: "/sale/createQuotation", //报价单 path: "/sale/quotation", //报价单
component: () => component: () =>
import("pages/sale/quotation.vue") import("pages/sale/quotation.vue")
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment