Commit 716e739b authored by 黄奎's avatar 黄奎

页面修改

parent a30845c4
......@@ -393,8 +393,12 @@
},
//报价单详情
gotoDetails(item) {
this.rId = item.Id;
this.isShowviewQuo = true;
// this.rId = item.Id;
// this.isShowviewQuo = true;
this.OpenNewUrl("/sale/quotation",{
Id: item.Id
});
},
//重新查询
resetSearch() {
......
......@@ -3,33 +3,33 @@
list-style-type: none;
}
.courseOffer ul {
.myoffer ul {
padding: 0px;
}
.courseOffer li {
.myoffer li {
background: rgba(221, 222, 224, 0.2);
border-radius: 4px;
margin-top: 15px;
}
.courseOffer li .dline {
.myoffer li .dline {
display: table;
width: 100%;
display: flex;
flex-direction: row;
}
.courseOffer li .d1,
.courseOffer li .d2,
.courseOffer li .d3,
.courseOffer li .d4,
.courseOffer li .d5 {
.myoffer li .d1,
.myoffer li .d2,
.myoffer li .d3,
.myoffer li .d4,
.myoffer li .d5 {
width: 18%;
padding: 20px 20px 10px;
}
.courseOffer li .d7 {
.myoffer li .d7 {
flex: 1;
width: 1px;
display: flex;
......@@ -38,19 +38,19 @@
justify-content: center;
}
.courseOffer li .d1 .di-title {
.myoffer li .d1 .di-title {
font-size: 16px;
color: #111111;
}
.courseOffer li .d1 .di-c {
.myoffer li .d1 .di-c {
font-size: 14px;
display: flex;
line-height: 28px;
color: #111111;
}
.courseOffer li .d6 {
.myoffer li .d6 {
padding: 10px 20px;
width: 100%;
height: inherit;
......@@ -58,7 +58,7 @@
border-top: 1px solid #dddee0;
}
.courseOffer li .d6 .progress {
.myoffer li .d6 .progress {
width: 100%;
height: 5px;
position: absolute;
......@@ -66,41 +66,41 @@
bottom: 0;
}
.courseOffer li .d2 div {
.myoffer li .d2 div {
margin: 2px 0;
font-size: 14px;
color: #111111;
}
.courseOffer li .d2-n {
.myoffer li .d2-n {
font-size: 12px;
color: #999999;
margin-right: 20px;
}
.courseOffer li .d3 .d3-s {
.myoffer li .d3 .d3-s {
color: var(--q-color-negative);
font-weight: bold;
}
.courseOffer li .d3 div {
.myoffer li .d3 div {
margin: 2px 0;
font-size: 14px;
}
.courseOffer li .d4 div {
.myoffer li .d4 div {
font-size: 14px;
color: #111111;
margin: 2px 0;
}
.courseOffer li .d5 div {
.myoffer li .d5 div {
font-size: 14px;
color: #111111;
margin: 2px 0;
}
.courseOffer .myCourseNName {
.myoffer .myCourseNName {
width: 25px;
height: 25px;
border-radius: 50%;
......@@ -112,7 +112,7 @@
</style>
<template>
<div class="page-body courseOffer">
<div class="page-body myoffer">
<div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3">
......@@ -424,8 +424,11 @@
this.getcourseofferpage();
},
gotoDetails(item) {
this.rId = item.Id;
this.isShowviewQuo = true;
// this.rId = item.Id;
// this.isShowviewQuo = true;
this.OpenNewUrl("/sale/quotation", {
Id: item.Id
});
},
//显示报价单
editQuotation(item) {
......
......@@ -166,7 +166,7 @@
<q-item-label>申请审核</q-item-label>
</q-item-section>
</q-item>
<!-- <q-item clickable v-close-popup @click="GoToOrder(props.row)">
<q-item clickable v-close-popup @click="GoToOrder(props.row)">
<q-item-section>
<q-item-label>订单中心</q-item-label>
</q-item-section>
......@@ -176,7 +176,7 @@
<q-item-label>收支明细</q-item-label>
</q-item-section>
</q-item>
</q-list> -->
</q-list>
</q-btn-dropdown>
</q-td>
</template>
......@@ -374,21 +374,16 @@
methods: {
//跳转到留学就业订单中心
GoToOrder(item) {
var tempStr = '/studyAbroad/studyemploymentorder?SourceId=' + item.Id;
this.$router.push({
path: tempStr
this.OpenNewUrl("/studyAbroad/studyemploymentorder", {
SourceId: item.Id
});
},
//跳转到收支明细
GoToPayment(item) {
this.$router.push({
path: '/studyAbroad/studypayment',
query: {
SourceId: item.Id,
School_Id:item.School_Id,
blank: 'y'
}
})
this.OpenNewUrl("/studyAbroad/studypayment", {
SourceId: item.Id,
School_Id: item.School_Id,
});
},
//显示详情
ShowInfo(item) {
......
......@@ -166,7 +166,7 @@
<q-item-label>申请审核</q-item-label>
</q-item-section>
</q-item>
<!-- <q-item clickable v-close-popup @click="GoToOrder(props.row)">
<q-item clickable v-close-popup @click="GoToOrder(props.row)">
<q-item-section>
<q-item-label>订单中心</q-item-label>
</q-item-section>
......@@ -175,7 +175,7 @@
<q-item-section>
<q-item-label>收支明细</q-item-label>
</q-item-section>
</q-item> -->
</q-item>
</q-list>
</q-btn-dropdown>
</q-td>
......@@ -375,21 +375,16 @@
methods: {
//跳转到留学就业订单中心
GoToOrder(item) {
var tempStr = '/studyAbroad/studyemploymentorder?SourceId=' + item.Id;
this.$router.push({
path: tempStr
this.OpenNewUrl("/studyAbroad/studyemploymentorder", {
SourceId: item.Id
});
},
//跳转到收支明细
GoToPayment(item) {
this.$router.push({
path: '/studyAbroad/studypayment',
query: {
SourceId: item.Id,
School_Id: item.School_Id,
blank: 'y'
}
})
this.OpenNewUrl("/studyAbroad/studypayment", {
SourceId: item.Id,
School_Id: item.School_Id,
});
},
//显示详情
ShowInfo(item) {
......
......@@ -21,6 +21,9 @@
} from '../../api/sale/sale';
import orderlist from '../../components/sale/orderlist'
export default {
meta: {
title: "留学就业订单中心"
},
components: {
orderlist
},
......
......@@ -436,6 +436,9 @@
EduDownLoad,
} from '../../api/common/common';
export default {
meta: {
title: "留学就业收支明细"
},
props: {},
components: {},
data() {
......@@ -448,13 +451,13 @@
}
},
created() {
if (this.$route.query.SourceId && this.$route.query.SourceId) {
if (this.$route.query.SourceId && this.$route.query.SourceId) {
this.msg.SourceId = this.$route.query.SourceId;
this.msg.School_Id = this.$route.query.School_Id;
}
},
mounted() {
this.getData();
},
methods: {
......
......@@ -309,6 +309,16 @@ export default {
//PDF预览
Vue.prototype.previewPDF = function (url) {
window.open(url);
},
//新页面打开页面
Vue.prototype.OpenNewUrl=function(path,queryObj)
{
var newUrl = this.$router.resolve({
path: path,
query: queryObj
});
window.open(newUrl.href, '_blank');
}
}
}
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