Commit 96af337f authored by 罗超's avatar 罗超

1

parent 0354312c
...@@ -3,33 +3,33 @@ ...@@ -3,33 +3,33 @@
list-style-type: none; list-style-type: none;
} }
.myoffer ul { .activeType ul {
padding: 0px; padding: 0px;
} }
.myoffer li { .activeType li {
background: rgba(221, 222, 224, 0.2); background: rgba(221, 222, 224, 0.2);
border-radius: 4px; border-radius: 4px;
margin-top: 15px; margin-top: 15px;
} }
.myoffer li .dline { .activeType li .dline {
display: table; display: table;
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
} }
.myoffer li .d1, .activeType li .d1,
.myoffer li .d2, .activeType li .d2,
.myoffer li .d3, .activeType li .d3,
.myoffer li .d4, .activeType li .d4,
.myoffer li .d5 { .activeType li .d5 {
width: 18%; width: 18%;
padding: 20px 20px 10px; padding: 20px 20px 10px;
} }
.myoffer li .d7 { .activeType li .d7 {
flex: 1; flex: 1;
width: 1px; width: 1px;
display: flex; display: flex;
...@@ -38,19 +38,19 @@ ...@@ -38,19 +38,19 @@
justify-content: center; justify-content: center;
} }
.myoffer li .d1 .di-title { .activeType li .d1 .di-title {
font-size: 16px; font-size: 16px;
color: #111111; color: #111111;
} }
.myoffer li .d1 .di-c { .activeType li .d1 .di-c {
font-size: 14px; font-size: 14px;
display: flex; display: flex;
line-height: 28px; line-height: 28px;
color: #111111; color: #111111;
} }
.myoffer li .d6 { .activeType li .d6 {
padding: 10px 20px; padding: 10px 20px;
width: 100%; width: 100%;
height: inherit; height: inherit;
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
border-top: 1px solid #dddee0; border-top: 1px solid #dddee0;
} }
.myoffer li .d6 .progress { .activeType li .d6 .progress {
width: 100%; width: 100%;
height: 5px; height: 5px;
position: absolute; position: absolute;
...@@ -66,41 +66,41 @@ ...@@ -66,41 +66,41 @@
bottom: 0; bottom: 0;
} }
.myoffer li .d2 div { .activeType li .d2 div {
margin: 2px 0; margin: 2px 0;
font-size: 14px; font-size: 14px;
color: #111111; color: #111111;
} }
.myoffer li .d2-n { .activeType li .d2-n {
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
margin-right: 20px; margin-right: 20px;
} }
.myoffer li .d3 .d3-s { .activeType li .d3 .d3-s {
color: var(--q-color-negative); color: var(--q-color-negative);
font-weight: bold; font-weight: bold;
} }
.myoffer li .d3 div { .activeType li .d3 div {
margin: 2px 0; margin: 2px 0;
font-size: 14px; font-size: 14px;
} }
.myoffer li .d4 div { .activeType li .d4 div {
font-size: 14px; font-size: 14px;
color: #111111; color: #111111;
margin: 2px 0; margin: 2px 0;
} }
.myoffer li .d5 div { .activeType li .d5 div {
font-size: 14px; font-size: 14px;
color: #111111; color: #111111;
margin: 2px 0; margin: 2px 0;
} }
.myoffer .myCourseNName { .activeType .myCourseNName {
width: 25px; width: 25px;
height: 25px; height: 25px;
border-radius: 50%; border-radius: 50%;
...@@ -109,10 +109,18 @@ ...@@ -109,10 +109,18 @@
line-height: 25px; line-height: 25px;
background-color: #004d40; background-color: #004d40;
} }
.activeType .app-image {
background-position: center center;
width: 50px;
height: 50px;
border-radius: 0%;
float: left;
margin-right: 8px;
}
</style> </style>
<template> <template>
<div class="page-body myoffer"> <div class="page-body activeType">
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3"> <div class="col-3">
...@@ -133,12 +141,15 @@ ...@@ -133,12 +141,15 @@
</template> </template>
<template v-slot:body-cell-CoverImage="props"> <template v-slot:body-cell-CoverImage="props">
<q-td :props="props"> <q-td :props="props">
xx <div class="app-image"
:style="{backgroundImage:'url(' + props.row.CoverImage + ')',backgroundSize:'cover'}">
</div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-label="props"> <template v-slot:body-cell-label="props">
<q-td :props="props"> <q-td :props="props">
xx <span v-for="(LItem,Lindex) in props.row.LableNameList" style=""
:key="Lindex">{{LItem}}{{Lindex+1 == props.row.LableNameList.length ?'':'、'}}</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
...@@ -146,6 +157,8 @@ ...@@ -146,6 +157,8 @@
<div> <div>
<q-btn flat size="xs" icon="edit" <q-btn flat size="xs" icon="edit"
color="accent" style="font-weight:400" label="编辑" @click="editQuotation(props.row)" /> color="accent" style="font-weight:400" label="编辑" @click="editQuotation(props.row)" />
<q-btn flat size="xs" icon="edit"
color="accent" style="font-weight:400" label="删除" @click="" />
</div> </div>
</q-td> </q-td>
</template> </template>
...@@ -155,33 +168,20 @@ ...@@ -155,33 +168,20 @@
</template> </template>
</q-table> </q-table>
</div> </div>
<!-- 新增修改报价单 --> <!-- 新增修改活动类型 -->
<!-- <q-dialog v-model="showForm" persistent> <ActiveTypeForm v-if="showForm" @close="closeruleset" :save-obj="typeObj" @success="resetSearch">
<quotation-form :obj="offerObj" @save="refreshPage()"></quotation-form> </ActiveTypeForm>
</q-dialog>
-->
</div> </div>
</template> </template>
<script> <script>
// import quotationForm from '../../components/sale/quotation-form' import ActiveTypeForm from '../../components/sale/active/activeType-from'
// import {
// queryCourseOfferPage,
// } from '../../api/course/index'
// import {
// mapState
// } from "vuex";
export default { export default {
meta: { meta: {
title: "我的报价单" title: "活动类型"
}, },
components: { components: {
// quotationForm, ActiveTypeForm
// quotationstudyForm,
// offertransorderForm,
// viewquotationForm
}, },
data() { data() {
return { return {
...@@ -194,8 +194,6 @@ ...@@ -194,8 +194,6 @@
TypeName: '', TypeName: '',
}, },
pageCount: 0, pageCount: 0,
showForm: false, //是否显示报价单弹窗
offerObj: {}, //报价单信息
columns: [{ columns: [{
name: "Id", name: "Id",
label: "编号", label: "编号",
...@@ -222,8 +220,10 @@ ...@@ -222,8 +220,10 @@
{ {
name: 'optioned', name: 'optioned',
label: '操作', label: '操作',
align: "left"
} }
], ],
//-----------
showOrderForm: false, //是否显示转订单表单 showOrderForm: false, //是否显示转订单表单
commonId: 0, commonId: 0,
showEditPrice: false, //是否显示改价表单 showEditPrice: false, //是否显示改价表单
...@@ -234,13 +234,16 @@ ...@@ -234,13 +234,16 @@
uppriceMsg: { uppriceMsg: {
Id: 0, Id: 0,
ApplyReason: '' ApplyReason: ''
} },
//-----------
showForm:false,
typeObj:{}
} }
}, },
mounted() { mounted() {
this.currentUrl = this.$route.path; this.currentUrl = this.$route.path;
this.msg.CreateBy = this.getLocalStorage().Id; // this.msg.CreateBy = this.getLocalStorage().Id;
this.getList(); this.getList();
}, },
...@@ -260,29 +263,22 @@ ...@@ -260,29 +263,22 @@
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
this.showForm = false; this.showForm = false;
this.showOrderForm = false;
this.showStudyForm = false;
this.getList(); this.getList();
}, },
gotoDetails(item) { // gotoDetails(item) {
// this.rId = item.Id; // // this.rId = item.Id;
// this.isShowviewQuo = true; // // this.isShowviewQuo = true;
this.OpenNewUrl("/sale/quotation", { // this.OpenNewUrl("/sale/quotation", {
Id: item.Id // Id: item.Id
}); // });
}, // },
//显示报价单 //显示修改
editQuotation(item) { editQuotation(item) {
if (item) { if (item) {
if (item.OfferType == 1) {
this.showForm = true;
} else {
this.showStudyForm = true;
}
} else {
this.showForm = true; this.showForm = true;
this.typeObj = item;
} }
this.offerObj = item;
}, },
//重新查询 //重新查询
resetSearch() { resetSearch() {
...@@ -294,7 +290,10 @@ ...@@ -294,7 +290,10 @@
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getList() this.getList()
}, },
//关闭弹窗
closeruleset() {
this.showForm = false;
},
} }
} }
......
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