Commit f3f60cd6 authored by 吴春's avatar 吴春

新增页面

parent 026fea48
This diff is collapsed.
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
JobId: jobId JobId: jobId
} }
}); });
window.open(tempRouter.href,'_blank') window.open(tempRouter.href, '_blank')
}, },
} }
} }
......
...@@ -186,6 +186,10 @@ ...@@ -186,6 +186,10 @@
<q-dialog v-model="showForm" persistent> <q-dialog v-model="showForm" persistent>
<quotation-form :obj="offerObj" @save="refreshPage()"></quotation-form> <quotation-form :obj="offerObj" @save="refreshPage()"></quotation-form>
</q-dialog> </q-dialog>
<!-- 新增修改留学就业报价单 -->
<q-dialog v-model="showStudyForm" persistent>
<quotationstudy-form :obj="offerObj" @save="refreshPage()"></quotationstudy-form>
</q-dialog>
<!-- 报价单转订单 --> <!-- 报价单转订单 -->
<q-dialog v-model="showOrderForm" persistent> <q-dialog v-model="showOrderForm" persistent>
<offertransorder-form :obj="offerObj" @save="refreshPage()"></offertransorder-form> <offertransorder-form :obj="offerObj" @save="refreshPage()"></offertransorder-form>
...@@ -218,7 +222,8 @@ ...@@ -218,7 +222,8 @@
<script> <script>
import quotationForm from '../../components/sale/quotation-form' import quotationForm from '../../components/sale/quotation-form'
import offertransorderForm from '../../components/sale/offertransorder-form' import offertransorderForm from '../../components/sale/offertransorder-form'
//留学报价单
import quotationstudyForm from '../../components/sale/quotationstudy-form'
import viewquotationForm from '../../components/sale/viewquotation-form' import viewquotationForm from '../../components/sale/viewquotation-form'
import { import {
queryCourseOfferPage, queryCourseOfferPage,
...@@ -234,6 +239,7 @@ ...@@ -234,6 +239,7 @@
}, },
components: { components: {
quotationForm, quotationForm,
quotationstudyForm,
offertransorderForm, offertransorderForm,
viewquotationForm viewquotationForm
}, },
...@@ -267,6 +273,12 @@ ...@@ -267,6 +273,12 @@
field: "Name", field: "Name",
align: "left" align: "left"
}, },
{
name: "OfferTypeName",
label: "类型",
field: "OfferTypeName",
align: "left"
},
{ {
name: "CustomerName", name: "CustomerName",
required: true, required: true,
...@@ -339,6 +351,7 @@ ...@@ -339,6 +351,7 @@
isShowviewQuo: false, isShowviewQuo: false,
rId: 0, rId: 0,
isShowUpPrice: false, isShowUpPrice: false,
showStudyForm: false, //是否显示留学就业报价单
uppriceMsg: { uppriceMsg: {
Id: 0, Id: 0,
ApplyReason: '' ApplyReason: ''
...@@ -399,11 +412,11 @@ ...@@ -399,11 +412,11 @@
this.offerObj = item; this.offerObj = item;
this.showOrderForm = true; this.showOrderForm = true;
}, },
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
this.showForm = false; this.showForm = false;
this.showOrderForm = false; this.showOrderForm = false;
this.showStudyForm = false;
this.getcourseofferpage(); this.getcourseofferpage();
}, },
gotoDetails(item) { gotoDetails(item) {
...@@ -412,7 +425,11 @@ ...@@ -412,7 +425,11 @@
}, },
//显示报价单 //显示报价单
editQuotation(item) { editQuotation(item) {
this.showForm = true; if (item.OfferType == 1) {
this.showForm = true;
} else {
this.showStudyForm = true;
}
this.offerObj = item; this.offerObj = item;
}, },
//重新查询 //重新查询
......
This diff is collapsed.
...@@ -436,6 +436,11 @@ const routes = [{ ...@@ -436,6 +436,11 @@ const routes = [{
component: () => component: () =>
import("pages/sale/courseList.vue") import("pages/sale/courseList.vue")
}, },
{
path: "/sale/studyjob", //留学就业产品
component: () =>
import("pages/sale/studyjob.vue")
},
{ {
path: "/sale/courseoffer", //销售 报价单管理 path: "/sale/courseoffer", //销售 报价单管理
component: () => component: () =>
......
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