Commit ef622ec5 authored by 黄奎's avatar 黄奎

页面修改

parent 7543f8a8
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<div class="page-content"> <div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-tow-column-table" <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-tow-column-table"
separator="none" :data="data" :columns="columns" row-key="name"> separator="none" :data="data" :columns="columns" row-key="name">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">课程报价表</div> <div class="col-2 q-table__title">课程报价表</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -143,13 +143,13 @@ ...@@ -143,13 +143,13 @@
:icon="props.row.expand ? 'remove' : 'add'" /> :icon="props.row.expand ? 'remove' : 'add'" />
</q-td> </q-td>
<template v-for="col in props.cols"> <template v-for="col in props.cols">
<q-td v-if="col.name == 'CoverImg'"> <q-td v-if="col.name == 'CoverImg'" :key="col.name">
<q-img :src="col.value" spinner-color="white" style="height: 54px; max-width: 100px" <q-img :src="col.value" spinner-color="white" style="height: 54px; max-width: 100px"
class="rounded-borders"> class="rounded-borders">
</q-img> </q-img>
</q-td> </q-td>
<q-td v-else-if="col.name == 'PreferentialList'" style="padding-right:0px"> <q-td v-else-if="col.name == 'PreferentialList'" style="padding-right:0px" :key="col.name">
<div v-for="x in col.value"> <div v-for="(x,index) in col.value" :key="index">
<div class="border-bottom" v-if="x.PriceDiscountType == 1"> <div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }} {{ x.BuyNum }}{{ x.SendNum }}
</div> </div>
...@@ -185,8 +185,8 @@ ...@@ -185,8 +185,8 @@
<div class="remark-font">暂无优惠政策</div> <div class="remark-font">暂无优惠政策</div>
</div> </div>
</q-td> </q-td>
<q-td v-else-if="col.name == 'PreferentialListSellCommission'" style="padding-right:0px;padding-left:0px"> <q-td v-else-if="col.name == 'PreferentialListSellCommission'" style="padding-right:0px;padding-left:0px" :key="col.name">
<div v-for="x in col.value"> <div v-for="(x,index) in col.value" :key="index">
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px" <div class="border-bottom" style="padding-left: 16px;padding-right: 16px"
:class="{'text-red':x.SaleCommissionType==1}" v-if="x.PriceDiscountType!=0"> :class="{'text-red':x.SaleCommissionType==1}" v-if="x.PriceDiscountType!=0">
{{x.SaleCommissionType==1?'¥':''}}{{x.SaleCommissionMoney}}{{x.SaleCommissionType==0?'%':''}}</div> {{x.SaleCommissionType==1?'¥':''}}{{x.SaleCommissionMoney}}{{x.SaleCommissionType==0?'%':''}}</div>
...@@ -198,8 +198,8 @@ ...@@ -198,8 +198,8 @@
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </q-td>
<q-td v-else-if="col.name == 'PreferentialListB2BCommission'" style="padding-left:0px"> <q-td v-else-if="col.name == 'PreferentialListB2BCommission'" style="padding-left:0px" :key="col.name">
<div v-for="x in col.value"> <div v-for="(x,index) in col.value" :key="index">
<div class="border-bottom" style="padding-left: 16px" :class="{'text-red':x.B2BCommissionType==1}" <div class="border-bottom" style="padding-left: 16px" :class="{'text-red':x.B2BCommissionType==1}"
v-if="x.PriceDiscountType!=0"> v-if="x.PriceDiscountType!=0">
{{x.B2BCommissionType==1?'¥':''}}{{x.B2BCommissionMoney}}{{x.B2BCommissionType==0?'%':''}}</div> {{x.B2BCommissionType==1?'¥':''}}{{x.B2BCommissionMoney}}{{x.B2BCommissionType==0?'%':''}}</div>
...@@ -212,8 +212,8 @@ ...@@ -212,8 +212,8 @@
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </q-td>
<q-td v-else-if="col.name == 'TeacherList'"> <q-td v-else-if="col.name == 'TeacherList'" :key="col.name">
<div v-for="x in col.value"> <div v-for="(x,index) in col.value" :key="index">
<q-chip> <q-chip>
<q-avatar color="green-1" text-color="green"> <q-avatar color="green-1" text-color="green">
<img :src="x.TeacherHead" v-if="x.TeacherHead" /> <img :src="x.TeacherHead" v-if="x.TeacherHead" />
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
</q-chip> </q-chip>
</div> </div>
</q-td> </q-td>
<q-td v-else-if="col.name=='CourseIntro'"> <q-td v-else-if="col.name=='CourseIntro'" :key="col.name">
<q-btn flat color="primary" label="查看详情" @click="showContentDialog(col.value)" /> <q-btn flat color="primary" label="查看详情" @click="showContentDialog(col.value)" />
</q-td> </q-td>
<q-td v-else-if="col.name != 'CourseFeature'" :key="col.name" :props="props"> <q-td v-else-if="col.name != 'CourseFeature'" :key="col.name" :props="props">
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name" :visible-columns="visibleColumns"> row-key="name" :visible-columns="visibleColumns">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">就业信息</div> <div class="col-2 q-table__title">就业信息</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -31,174 +31,175 @@ ...@@ -31,174 +31,175 @@
<q-btn size="sm" color="accent" round dense @click="props.row.expand = !props.row.expand" <q-btn size="sm" color="accent" round dense @click="props.row.expand = !props.row.expand"
:icon="props.row.expand ? 'remove' : 'add'" /> :icon="props.row.expand ? 'remove' : 'add'" />
</q-td> </q-td>
<template v-for="col in props.cols"> <q-td key="ProductTypeName" :props="props" style="width:100px;">
<q-td v-if="col.name == 'ProductTypeName'" style="width:100px;"> {{props.row.ProductTypeName}}
{{col.value}} </q-td>
</q-td> <q-td key="Name" :props="props" style="width:100px;">
<q-td v-if="col.name == 'Name'" style="width:200px;"> {{props.row.Name}}
{{col.value}} </q-td>
</q-td> <q-td key="SupplierName" :props="props">
<q-td v-else-if="col.name == 'SupplierName'"> <div>{{props.row.SupplierName}}</div>
<div>{{col.value}}</div> <div>
<div> <a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;"
<a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;" v-if="props.row.SupplierContract && isHaveViewContractAction" target="_blank">
v-if="props.row.SupplierContract && isHaveViewContractAction" target="_blank"> 查看合同
查看合同 </a>
</a> </div>
</q-td>
<q-td key="StudyCountryName" :props="props">
{{props.row.StudyCountryName}}
</q-td>
<q-td key="SchoolName" :props="props">
{{props.row.SchoolName}}
</q-td>
<q-td key="SuggestPrice" :props="props">
{{props.row.SuggestPrice}}
</q-td>
<q-td key="SellPrice" :props="props">
{{props.row.SellPrice}}
</q-td>
<q-td key="PreferentialList" style="padding-right:0px">
<div v-for="(x,index) in props.row.PreferentialList" :key="index">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 2">
单人报名优惠
<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div> </div>
</q-td> <div class="border-bottom" v-if="x.PriceDiscountType == 3">
<q-td v-if="col.name=='StudyCountryName'"> 双人报名享优惠<template v-if="x.PriceType==0">
{{col.value}} {{x.PriceMoney }}%
</q-td> </template>
<q-td v-if="col.name=='SchoolName'"> <template v-else>
{{col.value}} {{x.PriceMoney}}
</q-td> </template>
<q-td v-if="col.name=='SuggestPrice'">
{{col.value}}
</q-td>
<q-td v-if="col.name=='SellPrice'">
{{col.value}}
</q-td>
<q-td v-if="col.name == 'PreferentialList'" style="padding-right:0px">
<div v-for="x in col.value">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 2">
单人报名优惠
<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 3">
双人报名享优惠<template v-if="x.PriceType==0">
{{x.PriceMoney }}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 4">
续费优惠<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div>
<div class="remark-font" v-if="x.PriceDiscountType == 0">
暂无优惠政策
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div class="border-bottom" v-if="x.PriceDiscountType == 4">
<div class="remark-font">暂无优惠政策</div> 续费优惠<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div> </div>
</q-td> <div class="remark-font" v-if="x.PriceDiscountType == 0">
<q-td v-else-if="col.name == 'PreferentialListSellCommission'" style="padding-right:0px;padding-left:0px"> 暂无优惠政策
<div v-for="x in col.value"> </div>
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px" </div>
:class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> <div v-if="! props.row.PreferentialList || props.row.PreferentialList.length == 0">
{{ x.SaleCommissionType == 1 ? "¥" : "" <div class="remark-font">暂无优惠政策</div>
</div>
</q-td>
<q-td key="PreferentialListSellCommission" style="padding-right:0px;padding-left:0px">
<div v-for="(x,index) in props.row.PreferentialListSellCommission" :key="index">
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px"
:class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
{{ x.SaleCommissionType == 1 ? "¥" : ""
}}{{ x.SaleCommissionMoney }}{{ x.SaleCommissionMoney
}}{{ x.SaleCommissionType == 0 ? "%" : "" }} }}{{ x.SaleCommissionType == 0 ? "%" : "" }}
</div>
<div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </div>
<q-td v-else-if="col.name == 'PreferentialListB2BCommission'" style="padding-left:0px"> <div
<div v-for="x in col.value"> v-if="!props.row.PreferentialListSellCommission || props.row.PreferentialListSellCommission.length == 0">
<div class="border-bottom" style="padding-left: 16px" <div class="remark-font">暂无佣金信息</div>
:class="{ 'text-red': x.B2BCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> </div>
{{ x.B2BCommissionType == 1 ? "¥" : "" </q-td>
<q-td key="PreferentialListB2BCommission" style="padding-left:0px">
<div v-for="(x,index) in props.row.PreferentialListB2BCommission" :key="index">
<div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.B2BCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{ x.B2BCommissionType == 1 ? "¥" : ""
}}{{ x.B2BCommissionMoney }}{{ x.B2BCommissionMoney
}}{{ x.B2BCommissionType == 0 ? "%" : "" }} }}{{ x.B2BCommissionType == 0 ? "%" : "" }}
</div>
<div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </div>
<q-td v-else-if="col.name=='EducationCommission'" style="padding-left:0px"> <div
<div v-for="x in col.value"> v-if="!props.row.PreferentialListB2BCommission || props.row.PreferentialListB2BCommission.length == 0">
<div class="border-bottom" style="padding-left: 16px" <div class="remark-font">暂无佣金信息</div>
:class="{ 'text-red': x.EduCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> </div>
{{ x.EduCommissionType == 1 ? "¥" : "" </q-td>
<q-td key="EducationCommission" style="padding-left:0px">
<div v-for="(x,index) in props.row.EducationCommission" :key="index">
<div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.EduCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{ x.EduCommissionType == 1 ? "¥" : ""
}}{{ x.EduCommissionMoney }}{{ x.EduCommissionMoney
}}{{ x.EduCommissionType == 0 ? "%" : "" }} }}{{ x.EduCommissionType == 0 ? "%" : "" }}
</div>
<div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </div>
<q-td v-else-if="col.name=='SaleStateName'"> <div v-if="!props.row.EducationCommission || props.row.EducationCommission.length == 0">
<template v-if="props.row.SaleState==1"> <div class="remark-font">暂无佣金信息</div>
{{col.value}} </div>
</template> </q-td>
<template v-if="props.row.SaleState!=1"> <q-td key="SaleStateName">
<a style="cursor:pointer;color:blue;" @click="ShowInfo(props.row)" title="点击查看审核信息"> {{col.value}}</a> <template v-if="props.row.SaleState==1">
</template> {{props.row.SaleStateName}}
</q-td> </template>
<q-td v-else-if="col.name == 'Id'" style="width:200px;"> <template v-if="props.row.SaleState!=1">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" <a style="cursor:pointer;color:blue;" @click="ShowInfo(props.row)" title="点击查看审核信息">
@click="EditStudy(props.row)" /> {{props.row.SaleStateName}}</a>
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;"> </template>
<q-list> </q-td>
<q-item clickable v-close-popup @click="EditStudyPrice(props.row)"> <q-td key="Id" style="width:200px;">
<q-item-section> <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
<q-item-label>价格设置</q-item-label> @click="EditStudy(props.row)" />
</q-item-section> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;">
</q-item> <q-list>
<q-item clickable v-close-popup <q-item clickable v-close-popup @click="EditStudyPrice(props.row)">
v-if="props.row.SaleState==1||props.row.SaleState==4||props.row.SaleState==5" <q-item-section>
@click="applyApply(props.row,2)"> <q-item-label>价格设置</q-item-label>
<q-item-section> </q-item-section>
<q-item-label>申请上架</q-item-label> </q-item>
</q-item-section> <q-item clickable v-close-popup
</q-item> v-if="props.row.SaleState==1||props.row.SaleState==4||props.row.SaleState==5"
<q-item clickable v-close-popup @click="GoToOrder(props.row)"> @click="applyApply(props.row,2)">
<q-item-section> <q-item-section>
<q-item-label>订单中心</q-item-label> <q-item-label>申请上架</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="GoToPayment(props.row)"> <q-item clickable v-close-popup @click="GoToOrder(props.row)">
<q-item-section> <q-item-section>
<q-item-label>收支明细</q-item-label> <q-item-label>订单中心</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup v-if="props.row.SaleState==3" @click="applyApply(props.row,5)"> <q-item clickable v-close-popup @click="GoToPayment(props.row)">
<q-item-section> <q-item-section>
<q-item-label>下架</q-item-label> <q-item-label>收支明细</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="removeStudy(props.row,1)" v-if="props.row.Status==0"> <q-item clickable v-close-popup v-if="props.row.SaleState==3" @click="applyApply(props.row,5)">
<q-item-section> <q-item-section>
<q-item-label>删除</q-item-label> <q-item-label>下架</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="removeStudy(props.row,0)" v-if="props.row.Status==1"> <q-item clickable v-close-popup @click="removeStudy(props.row,1)" v-if="props.row.Status==0">
<q-item-section> <q-item-section>
<q-item-label>恢复</q-item-label> <q-item-label>删除</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
</q-list> <q-item clickable v-close-popup @click="removeStudy(props.row,0)" v-if="props.row.Status==1">
</q-btn-dropdown> <q-item-section>
</q-td> <q-item-label>恢复</q-item-label>
</template> </q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</q-td>
</q-tr> </q-tr>
<q-tr v-show="props.row.expand" :props="props"> <q-tr v-show="props.row.expand" :props="props">
<q-td colspan="100%" class="bg-grey-2"> <q-td colspan="100%" class="bg-grey-2">
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name" :visible-columns="visibleColumns"> row-key="name" :visible-columns="visibleColumns">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">留学信息</div> <div class="col-2 q-table__title">留学信息</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -31,174 +31,175 @@ ...@@ -31,174 +31,175 @@
<q-btn size="sm" color="accent" round dense @click="props.row.expand = !props.row.expand" <q-btn size="sm" color="accent" round dense @click="props.row.expand = !props.row.expand"
:icon="props.row.expand ? 'remove' : 'add'" /> :icon="props.row.expand ? 'remove' : 'add'" />
</q-td> </q-td>
<template v-for="col in props.cols"> <q-td key="ProductTypeName" :props="props" style="width:100px;">
<q-td v-if="col.name == 'ProductTypeName'" style="width:100px;"> {{props.row.ProductTypeName}}
{{col.value}} </q-td>
</q-td> <q-td key="Name" :props="props" style="width:100px;">
<q-td v-if="col.name == 'Name'" style="width:200px;"> {{props.row.Name}}
{{col.value}} </q-td>
</q-td> <q-td key="SupplierName" :props="props">
<q-td v-else-if="col.name == 'SupplierName' "> <div>{{props.row.SupplierName}}</div>
<div>{{col.value}}</div> <div>
<div> <a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;"
<a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;" v-if="props.row.SupplierContract && isHaveViewContractAction" target="_blank">
v-if="props.row.SupplierContract&& isHaveViewContractAction" target="_blank"> 查看合同
查看合同 </a>
</a> </div>
</q-td>
<q-td key="StudyCountryName" :props="props">
{{props.row.StudyCountryName}}
</q-td>
<q-td key="SchoolName" :props="props">
{{props.row.SchoolName}}
</q-td>
<q-td key="SuggestPrice" :props="props">
{{props.row.SuggestPrice}}
</q-td>
<q-td key="SellPrice" :props="props">
{{props.row.SellPrice}}
</q-td>
<q-td key="PreferentialList" style="padding-right:0px">
<div v-for="(x,index) in props.row.PreferentialList" :key="index">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 2">
单人报名优惠
<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div> </div>
</q-td> <div class="border-bottom" v-if="x.PriceDiscountType == 3">
<q-td v-if="col.name=='StudyCountryName'"> 双人报名享优惠<template v-if="x.PriceType==0">
{{col.value}} {{x.PriceMoney }}%
</q-td> </template>
<q-td v-if="col.name=='SchoolName'"> <template v-else>
{{col.value}} {{x.PriceMoney}}
</q-td> </template>
<q-td v-if="col.name=='SuggestPrice'">
{{col.value}}
</q-td>
<q-td v-if="col.name=='SellPrice'">
{{col.value}}
</q-td>
<q-td v-if="col.name == 'PreferentialList'" style="padding-right:0px">
<div v-for="x in col.value">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
{{ x.BuyNum }}{{ x.SendNum }}
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 2">
单人报名优惠
<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 3">
双人报名享优惠<template v-if="x.PriceType==0">
{{x.PriceMoney }}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div>
<div class="border-bottom" v-if="x.PriceDiscountType == 4">
续费优惠<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div>
<div class="remark-font" v-if="x.PriceDiscountType == 0">
暂无优惠政策
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div class="border-bottom" v-if="x.PriceDiscountType == 4">
<div class="remark-font">暂无优惠政策</div> 续费优惠<template v-if="x.PriceType==0">
{{x.PriceMoney}}%
</template>
<template v-else>
{{x.PriceMoney}}
</template>
</div> </div>
</q-td> <div class="remark-font" v-if="x.PriceDiscountType == 0">
<q-td v-else-if="col.name == 'PreferentialListSellCommission'" style="padding-right:0px;padding-left:0px"> 暂无优惠政策
<div v-for="x in col.value"> </div>
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px" </div>
:class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> <div v-if="! props.row.PreferentialList || props.row.PreferentialList.length == 0">
{{ x.SaleCommissionType == 1 ? "¥" : "" <div class="remark-font">暂无优惠政策</div>
</div>
</q-td>
<q-td key="PreferentialListSellCommission" style="padding-right:0px;padding-left:0px">
<div v-for="(x,index) in props.row.PreferentialListSellCommission" :key="index">
<div class="border-bottom" style="padding-left: 16px;padding-right: 16px"
:class="{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
{{ x.SaleCommissionType == 1 ? "¥" : ""
}}{{ x.SaleCommissionMoney }}{{ x.SaleCommissionMoney
}}{{ x.SaleCommissionType == 0 ? "%" : "" }} }}{{ x.SaleCommissionType == 0 ? "%" : "" }}
</div>
<div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </div>
<q-td v-else-if="col.name == 'PreferentialListB2BCommission'" style="padding-left:0px"> <div
<div v-for="x in col.value"> v-if="!props.row.PreferentialListSellCommission || props.row.PreferentialListSellCommission.length == 0">
<div class="border-bottom" style="padding-left: 16px" <div class="remark-font">暂无佣金信息</div>
:class="{ 'text-red': x.B2BCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> </div>
{{ x.B2BCommissionType == 1 ? "¥" : "" </q-td>
<q-td key="PreferentialListB2BCommission" style="padding-left:0px">
<div v-for="(x,index) in props.row.PreferentialListB2BCommission" :key="index">
<div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.B2BCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{ x.B2BCommissionType == 1 ? "¥" : ""
}}{{ x.B2BCommissionMoney }}{{ x.B2BCommissionMoney
}}{{ x.B2BCommissionType == 0 ? "%" : "" }} }}{{ x.B2BCommissionType == 0 ? "%" : "" }}
</div>
<div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </div>
<q-td v-else-if="col.name=='EducationCommission'" style="padding-left:0px"> <div
<div v-for="x in col.value"> v-if="!props.row.PreferentialListB2BCommission || props.row.PreferentialListB2BCommission.length == 0">
<div class="border-bottom" style="padding-left: 16px" <div class="remark-font">暂无佣金信息</div>
:class="{ 'text-red': x.EduCommissionType == 1 }" v-if="x.PriceDiscountType != 0"> </div>
{{ x.EduCommissionType == 1 ? "¥" : "" </q-td>
<q-td key="EducationCommission" style="padding-left:0px">
<div v-for="(x,index) in props.row.EducationCommission" :key="index">
<div class="border-bottom" style="padding-left: 16px" :class="{ 'text-red': x.EduCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{ x.EduCommissionType == 1 ? "¥" : ""
}}{{ x.EduCommissionMoney }}{{ x.EduCommissionMoney
}}{{ x.EduCommissionType == 0 ? "%" : "" }} }}{{ x.EduCommissionType == 0 ? "%" : "" }}
</div>
<div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div>
</div>
</div> </div>
<div v-if="!col.value || col.value.length == 0"> <div v-if="x.PriceDiscountType == 0">
<div class="remark-font">暂无佣金信息</div> <div class="remark-font">暂无佣金信息</div>
</div> </div>
</q-td> </div>
<q-td v-else-if="col.name=='SaleStateName'"> <div v-if="!props.row.EducationCommission || props.row.EducationCommission.length == 0">
<template v-if="props.row.SaleState==1"> <div class="remark-font">暂无佣金信息</div>
{{col.value}} </div>
</template> </q-td>
<template v-if="props.row.SaleState!=1"> <q-td key="SaleStateName">
<a style="cursor:pointer;color:blue;" @click="ShowInfo(props.row)" title="点击查看审核信息"> {{col.value}}</a> <template v-if="props.row.SaleState==1">
</template> {{props.row.SaleStateName}}
</q-td> </template>
<q-td v-else-if="col.name == 'Id'" style="width:200px;"> <template v-if="props.row.SaleState!=1">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" <a style="cursor:pointer;color:blue;" @click="ShowInfo(props.row)" title="点击查看审核信息">
@click="EditStudy(props.row)" /> {{props.row.SaleStateName}}</a>
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;"> </template>
<q-list> </q-td>
<q-item clickable v-close-popup @click="EditStudyPrice(props.row)"> <q-td key="Id" style="width:200px;">
<q-item-section> <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
<q-item-label>价格设置</q-item-label> @click="EditStudy(props.row)" />
</q-item-section> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;">
</q-item> <q-list>
<q-item clickable v-close-popup <q-item clickable v-close-popup @click="EditStudyPrice(props.row)">
v-if="props.row.SaleState==1||props.row.SaleState==4||props.row.SaleState==5" <q-item-section>
@click="applyApply(props.row,2)"> <q-item-label>价格设置</q-item-label>
<q-item-section> </q-item-section>
<q-item-label>申请上架</q-item-label> </q-item>
</q-item-section> <q-item clickable v-close-popup
</q-item> v-if="props.row.SaleState==1||props.row.SaleState==4||props.row.SaleState==5"
<q-item clickable v-close-popup @click="GoToOrder(props.row)"> @click="applyApply(props.row,2)">
<q-item-section> <q-item-section>
<q-item-label>订单中心</q-item-label> <q-item-label>申请上架</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="GoToPayment(props.row)"> <q-item clickable v-close-popup @click="GoToOrder(props.row)">
<q-item-section> <q-item-section>
<q-item-label>收支明细</q-item-label> <q-item-label>订单中心</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup v-if="props.row.SaleState==3" @click="applyApply(props.row,5)"> <q-item clickable v-close-popup @click="GoToPayment(props.row)">
<q-item-section> <q-item-section>
<q-item-label>下架</q-item-label> <q-item-label>收支明细</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="removeStudy(props.row,1)" v-if="props.row.Status==0"> <q-item clickable v-close-popup v-if="props.row.SaleState==3" @click="applyApply(props.row,5)">
<q-item-section> <q-item-section>
<q-item-label>删除</q-item-label> <q-item-label>下架</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="removeStudy(props.row,0)" v-if="props.row.Status==1"> <q-item clickable v-close-popup @click="removeStudy(props.row,1)" v-if="props.row.Status==0">
<q-item-section> <q-item-section>
<q-item-label>恢复</q-item-label> <q-item-label>删除</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
</q-list> <q-item clickable v-close-popup @click="removeStudy(props.row,0)" v-if="props.row.Status==1">
</q-btn-dropdown> <q-item-section>
</q-td> <q-item-label>恢复</q-item-label>
</template> </q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</q-td>
</q-tr> </q-tr>
<q-tr v-show="props.row.expand" :props="props"> <q-tr v-show="props.row.expand" :props="props">
<q-td colspan="100%" class="bg-grey-2"> <q-td colspan="100%" class="bg-grey-2">
......
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