Commit f877b55b authored by 黄奎's avatar 黄奎

页面修改

parent 04e371d2
...@@ -24,8 +24,9 @@ ...@@ -24,8 +24,9 @@
<div>您的退款协议《{{ProtocolNum}}</div> <div>您的退款协议《{{ProtocolNum}}</div>
<div>请长按识别二维码,查阅并签字</div> <div>请长按识别二维码,查阅并签字</div>
</div> </div>
<q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table sticky-right-column-table" <q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat
separator="none" title="退课协议" :data="dataList" :columns="columns" row-key="name"> class="sticky-column-table sticky-right-column-table" separator="none" title="退课协议" :data="dataList"
:columns="columns" row-key="name">
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">退课协议</div> <div class="col-2 q-table__title">退课协议</div>
<q-space /> <q-space />
...@@ -193,7 +194,21 @@ ...@@ -193,7 +194,21 @@
billObj: {}, billObj: {},
imgUrl: '', imgUrl: '',
getBlob: '', getBlob: '',
ProtocolNum: '' ProtocolNum: '',
//添加常用付款对象
clientMsg: {
Id: '0',
ObjID: '-1',
BankId: '-1',
OpenBankName: '',
BankName: '',
AccountHolder: '',
CardNum: '',
AccountAlias: '',
AccountType: '1',
AccountClassify: 2,
Type: '10',
},
} }
}, },
created() { created() {
...@@ -241,7 +256,12 @@ ...@@ -241,7 +256,12 @@
}, },
//确认退课协议 //确认退课协议
SureProtocol(item) { SureProtocol(item) {
let that = this let that = this;
this.clientMsg.ObjID = item.GuestId;
this.clientMsg.BankName = item.BackAccountName;
this.clientMsg.OpenBankName = item.BackAccountName;
this.clientMsg.CardNum = item.BackAccount;
this.clientMsg.AccountAlias = item.BackAccountName;
this.$q.dialog({ this.$q.dialog({
title: "提示信息", title: "提示信息",
message: "你正在进行确认退课协议,是否确认执行", message: "你正在进行确认退课协议,是否确认执行",
...@@ -256,22 +276,27 @@ ...@@ -256,22 +276,27 @@
focus: true focus: true
} }
}).onOk(() => { }).onOk(() => {
that.apipost("admin_post_SetEmpBankAccount", this.clientMsg, res => {
if (res.data.resultCode == 1) {
var postMsg = { var postMsg = {
Id: item.Id, Id: item.Id,
IsSure: 1 IsSure: 1,
ClientId: res.data.data
}; };
SetBackClassProtocolSure(postMsg).then(res => { SetBackClassProtocolSure(postMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$q.notify({ that.$q.notify({
icon: "iconfont icon-chenggong", icon: "iconfont icon-chenggong",
color: "accent", color: "accent",
timeout: 2000, timeout: 2000,
message: "退课协议确认成功!", message: "退课协议确认成功!",
position: "top", position: "top",
}); });
this.$emit("success"); that.$emit("success");
} }
}); });
}
})
}) })
}, },
//复制生成二维码 //复制生成二维码
...@@ -317,8 +342,7 @@ ...@@ -317,8 +342,7 @@
}); });
}, 1000); }, 1000);
tipLoadding.hide(); tipLoadding.hide();
} } else {
else{
tipLoadding.hide(); tipLoadding.hide();
} }
}); });
......
<!--退课表单审核信息--> <!--退课表单审核信息-->
<style> <style>
.backbill-Dialog .drawerTop { .backbill-Dialog .drawerTop {
width: 100%; width: 100%;
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -8,137 +8,135 @@ ...@@ -8,137 +8,135 @@
background-color: #f0f5fb; background-color: #f0f5fb;
padding: 5px 10px; padding: 5px 10px;
align-items: center; align-items: center;
} }
.backbill-Dialog .classFirst { .backbill-Dialog .classFirst {
color: #000000; color: #000000;
font-weight: bold; font-weight: bold;
} }
.backbill-Dialog .className { .backbill-Dialog .className {
margin-left: 10px; margin-left: 10px;
} }
.backbill-Dialog .classStatus { .backbill-Dialog .classStatus {
padding: 3px 8px; padding: 3px 8px;
background-color: #c8d7fc; background-color: #c8d7fc;
color: #2961fe; color: #2961fe;
font-size: 12px; font-size: 12px;
border-radius: 2px; border-radius: 2px;
margin-left: 20px; margin-left: 20px;
} }
.backbill-Dialog .normalName { .backbill-Dialog .normalName {
color: #999999; color: #999999;
} }
.backbill-Dialog .normalInner { .backbill-Dialog .normalInner {
color: #111111; color: #111111;
} }
.drop_NameDown { .drop_NameDown {
margin-top: 20px; margin-top: 20px;
width: 300px; width: 300px;
} }
.backinfoContent { .backinfoContent {
margin: 10px; margin: 10px;
padding-bottom: 80px; padding-bottom: 80px;
} }
.backinfoContent .role_Line { .backinfoContent .role_Line {
width: 3px; width: 3px;
height: 11px; height: 11px;
margin-right: 10px; margin-right: 10px;
background-color: #3fc4ff; background-color: #3fc4ff;
display: inline-block; display: inline-block;
} }
.backinfoContent .backinfo_Item { .backinfoContent .backinfo_Item {
color: #000000; color: #000000;
font-weight: bold; font-weight: bold;
} }
.backinfoContent .backInfo_One { .backinfoContent .backInfo_One {
margin: 20px 0; margin: 20px 0;
} }
.backinfoContent .backOtherInfo { .backinfoContent .backOtherInfo {
color: #111111; color: #111111;
} }
.backinfoContent .backInfo_Title { .backinfoContent .backInfo_Title {
display: inline-block; display: inline-block;
width: 75px; width: 75px;
text-align: left; text-align: left;
color: #999999; color: #999999;
} }
.backinfoContent .replayReason { .backinfoContent .replayReason {
width: 100%; width: 100%;
min-height: 100px; min-height: 100px;
background-color: #f0f5fb; background-color: #f0f5fb;
border-radius: 3px; border-radius: 3px;
padding: 20px; padding: 20px;
margin: 20px 0; margin: 20px 0;
} }
.backinfoContent .replay_Title { .backinfoContent .replay_Title {
font-weight: bold; font-weight: bold;
color: #111111; color: #111111;
} }
.backinfoContent .chaosong_Peo { .backinfoContent .chaosong_Peo {
display: inline-block; display: inline-block;
padding: 2px 3px; padding: 2px 3px;
color: #fff; color: #fff;
border-radius: 3px; border-radius: 3px;
margin: 0 5px 5px 0; margin: 0 5px 5px 0;
background-color: #9cf; background-color: #9cf;
} }
.backinfoContent .topBaseInfo { .backinfoContent .topBaseInfo {
/* height: 300px; */ /* height: 300px; */
overflow: auto; overflow: auto;
} }
.topBaseInfo::-webkit-scrollbar { .topBaseInfo::-webkit-scrollbar {
width: 3px; width: 3px;
height: 3px; height: 3px;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
/*!*定义滚动条轨道 内阴影+圆角*!*/ /*!*定义滚动条轨道 内阴影+圆角*!*/
.topBaseInfo::-webkit-scrollbar-track { .topBaseInfo::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px; border-radius: 10px;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
/*!*定义滑块 内阴影+圆角*!*/ /*!*定义滑块 内阴影+圆角*!*/
.topBaseInfo::-webkit-scrollbar-thumb { .topBaseInfo::-webkit-scrollbar-thumb {
border-radius: 10px; border-radius: 10px;
-webkit-box-shadow: -webkit-gradient( -webkit-box-shadow: -webkit-gradient(linear,
linear,
0 0, 0 0,
0 100%, 0 100%,
color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.5, rgba(255, 255, 255, 0.2)),
color-stop(0.5, transparent), color-stop(0.5, transparent),
to(transparent) to(transparent));
);
background-color: #0ae; background-color: #0ae;
} }
._addUpload_box { ._addUpload_box {
display: block; display: block;
margin-top: 15px; margin-top: 15px;
} }
._addUpload_box img { ._addUpload_box img {
width: 100%; width: 100%;
} }
._addUpload_box > div { ._addUpload_box>div {
float: left; float: left;
width: 138px; width: 138px;
height: 92px; height: 92px;
...@@ -150,21 +148,21 @@ ...@@ -150,21 +148,21 @@
margin-right: 10px; margin-right: 10px;
position: relative; position: relative;
text-align: center; text-align: center;
} }
._addUpload_box > div:hover { ._addUpload_box>div:hover {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
._addFile_name { ._addFile_name {
padding-left: 15px; padding-left: 15px;
max-width: 450px; max-width: 450px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
._addUpload_box .icon-guanbi1 { ._addUpload_box .icon-guanbi1 {
font-size: 12px; font-size: 12px;
color: white; color: white;
display: inline-block; display: inline-block;
...@@ -178,31 +176,31 @@ ...@@ -178,31 +176,31 @@
width: 20px; width: 20px;
text-align: center; text-align: center;
line-height: 20px; line-height: 20px;
} }
._addUpload_box .icon-guanbi1:hover { ._addUpload_box .icon-guanbi1:hover {
font-size: 12px; font-size: 12px;
color: #c94052; color: #c94052;
} }
._addUpload_box .icon-excel, ._addUpload_box .icon-excel,
._addUpload_box .icon-pdf, ._addUpload_box .icon-pdf,
._addUpload_box .icon-txt, ._addUpload_box .icon-txt,
._addUpload_box .icon-wenjian, ._addUpload_box .icon-wenjian,
._addUpload_box .icon-yasuobao, ._addUpload_box .icon-yasuobao,
._addUpload_box .icon-shipin, ._addUpload_box .icon-shipin,
._addUpload_box .icon-word { ._addUpload_box .icon-word {
text-align: center; text-align: center;
font-size: 38px; font-size: 38px;
color: green; color: green;
line-height: 75px; line-height: 75px;
} }
._addUpload_box .icon-yasuobao { ._addUpload_box .icon-yasuobao {
color: gray; color: gray;
} }
._show_img_box { ._show_img_box {
position: fixed; position: fixed;
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
left: 0; left: 0;
...@@ -211,35 +209,26 @@ ...@@ -211,35 +209,26 @@
height: 100%; height: 100%;
z-index: 999; z-index: 999;
text-align: center; text-align: center;
} }
._addUpload_tips { ._addUpload_tips {
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
} }
._jump_page { ._jump_page {
cursor: pointer; cursor: pointer;
text-decoration: underline; text-decoration: underline;
} }
._jump_page:hover { ._jump_page:hover {
color: #c94052; color: #c94052;
} }
</style> </style>
<template> <template>
<q-dialog <q-dialog v-model="persistent" maximized full-height seamless position="right" @hide="closeShenheForm">
v-model="persistent" <q-card style="margin-top: 61px; width: 850px" class="no-border-radius backbill-Dialog">
maximized
full-height
seamless
position="right"
@hide="closeShenheForm"
>
<q-card
style="margin-top: 61px; width: 850px"
class="no-border-radius backbill-Dialog"
>
<div class="drawerTop"> <div class="drawerTop">
<div style="display: flex; align-items: center"> <div style="display: flex; align-items: center">
<div class="className"> <div class="className">
...@@ -247,14 +236,7 @@ ...@@ -247,14 +236,7 @@
</div> </div>
</div> </div>
</div> </div>
<q-tabs <q-tabs style="margin: 15px" v-model="tabCheck" narrow-indicator dense align="left" class="text-primary">
style="margin: 15px"
v-model="tabCheck"
narrow-indicator
dense
align="left"
class="text-primary"
>
<q-tab :ripple="false" name="first" label="详细信息" /> <q-tab :ripple="false" name="first" label="详细信息" />
<q-tab :ripple="false" name="second" label="审批记录" /> <q-tab :ripple="false" name="second" label="审批记录" />
</q-tabs> </q-tabs>
...@@ -294,23 +276,23 @@ ...@@ -294,23 +276,23 @@
<div class="row backInfo_One"> <div class="row backInfo_One">
<div class="col-6"> <div class="col-6">
<span class="backInfo_Title">合同信息:</span> <span class="backInfo_Title">合同信息:</span>
<span <span class="backOtherInfo" style="cursor: pointer; text-decoration: underline"
class="backOtherInfo" @click="getlookContractNo(setingObj.DataObj.ContractId)" v-if="
style="cursor: pointer; text-decoration: underline"
@click="getlookContractNo(setingObj.DataObj.ContractId)"
v-if="
setingObj.DataObj.ContractNo && setingObj.DataObj.ContractNo &&
setingObj.DataObj.ContractNo != '' setingObj.DataObj.ContractNo != ''
" ">
>
{{ setingObj.DataObj.ContractNo }} {{ setingObj.DataObj.ContractNo }}
</span> </span>
<span v-else></span> <span v-else></span>
</div> </div>
<div class="col-6">
<span class="backInfo_Title">退课协议:</span>
<span class="backOtherInfo" style="cursor: pointer; text-decoration: underline"
@click="goToBackProtocol(setingObj.DataObj.BackClassProtocolId)">{{ setingObj.DataObj.ProtocolNum }}</span>
</div>
</div> </div>
<div class="backinfo_Item"> <div class="backinfo_Item">
<span class="role_Line" style="background-color: #f28c1d"></span <span class="role_Line" style="background-color: #f28c1d"></span>教学信息
>教学信息
</div> </div>
<div class="row backInfo_One"> <div class="row backInfo_One">
<div class="col-6"> <div class="col-6">
...@@ -323,11 +305,8 @@ ...@@ -323,11 +305,8 @@
<span class="backInfo_Title">班级信息:</span> <span class="backInfo_Title">班级信息:</span>
<span class="backOtherInfo"> <span class="backOtherInfo">
{{ setingObj.DataObj.ClassName }} {{ setingObj.DataObj.ClassName }}
<span <span style="color: #2961fe; cursor: pointer"
style="color: #2961fe; cursor: pointer" @click="goClassManage(setingObj.DataObj.ClassName)">{{ setingObj.DataObj.ClassNo }}</span>
@click="goClassManage(setingObj.DataObj.ClassName)"
>{{ setingObj.DataObj.ClassNo }}</span
>
</span> </span>
</div> </div>
</div> </div>
...@@ -346,8 +325,7 @@ ...@@ -346,8 +325,7 @@
</div> </div>
</div> </div>
<div class="backinfo_Item"> <div class="backinfo_Item">
<span class="role_Line" style="background-color: #02c499"></span <span class="role_Line" style="background-color: #02c499"></span>学习信息
>学习信息
</div> </div>
<div class="row backInfo_One"> <div class="row backInfo_One">
<div class="col-6"> <div class="col-6">
...@@ -356,11 +334,8 @@ ...@@ -356,11 +334,8 @@
</div> </div>
<div class="col-6"> <div class="col-6">
<span class="backInfo_Title">已学课时:</span> <span class="backInfo_Title">已学课时:</span>
<span <span class="backOtherInfo" style="cursor: pointer; text-decoration: underline"
class="backOtherInfo" @click="getlookFinishHours()">
style="cursor: pointer; text-decoration: underline"
@click="getlookFinishHours()"
>
{{ setingObj.DataObj.CompleteHours }} 课时 {{ setingObj.DataObj.CompleteHours }} 课时
</span> </span>
</div> </div>
...@@ -373,49 +348,29 @@ ...@@ -373,49 +348,29 @@
<div class="col-6"></div> <div class="col-6"></div>
</div> </div>
<div class="backinfo_Item"> <div class="backinfo_Item">
<span class="role_Line" style="background-color: #8175fb"></span <span class="role_Line" style="background-color: #8175fb"></span>其他信息
>其他信息
</div> </div>
<div class="row backInfo_One"> <div class="row backInfo_One">
<div class="col-6"> <div class="col-6">
<span class="backInfo_Title">关联单号:</span> <span class="backInfo_Title">关联单号:</span>
<span <span class="backOtherInfo" style="color: #2961fe; cursor: pointer"
class="backOtherInfo" @click="goOrderStatic(setingObj.DataObj.OrderId)">{{ setingObj.DataObj.OrderId }}</span>
style="color: #2961fe; cursor: pointer"
@click="goOrderStatic(setingObj.DataObj.OrderId)"
>{{ setingObj.DataObj.OrderId }}</span
>
</div> </div>
<div class="col-6"> <div class="col-6">
<span class="backInfo_Title">预计退费:</span> <span class="backInfo_Title">预计退费:</span>
<span class="backOtherInfo" style="color: #f72e52" <span class="backOtherInfo" style="color: #f72e52">¥{{ setingObj.DataObj.BackMoney }}</span>
>¥{{ setingObj.DataObj.BackMoney }}</span
>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<span class="backInfo_Title" <span class="backInfo_Title">附件:<span v-if="fj.length === 0"></span></span>
>附件:<span v-if="fj.length === 0"></span></span
>
</div> </div>
<div class="row flex" v-if="fj.length > 0"> <div class="row flex" v-if="fj.length > 0">
<div class="_addUpload_box clearfix flex"> <div class="_addUpload_box clearfix flex">
<template v-for="(item, index) in fj"> <template v-for="(item, index) in fj">
<div <div style="width: 138px; height: 92px; overflow: hidden" :key="index" @click="showUpLoadFile(item)">
style="width: 138px; height: 92px; overflow: hidden" <img :src="item.url" v-if="item.type === 2" style="width: 100%; height: auto; overflow: hidden" />
:key="index" <span v-if="item.type === 1" class="iconfont" :class="
@click="showUpLoadFile(item)"
>
<img
:src="item.url"
v-if="item.type === 2"
style="width: 100%; height: auto; overflow: hidden"
/>
<span
v-if="item.type === 1"
class="iconfont"
:class="
item.suffix == 'PDF' item.suffix == 'PDF'
? 'icon-pdf' ? 'icon-pdf'
: item.suffix == 'TXT' : item.suffix == 'TXT'
...@@ -423,20 +378,10 @@ ...@@ -423,20 +378,10 @@
: item.suffix == 'DOCX' || item.suffix == 'DOC' : item.suffix == 'DOCX' || item.suffix == 'DOC'
? 'icon-word' ? 'icon-word'
: 'icon-excel' : 'icon-excel'
" "></span>
></span> <span v-if="item.type === 3" class="iconfont icon-yasuobao"></span>
<span <span v-if="item.type === 4" class="iconfont icon-shipin"></span>
v-if="item.type === 3" <span v-if="item.type === 5" class="iconfont icon-wenjian"></span>
class="iconfont icon-yasuobao"
></span>
<span
v-if="item.type === 4"
class="iconfont icon-shipin"
></span>
<span
v-if="item.type === 5"
class="iconfont icon-wenjian"
></span>
</div> </div>
</template> </template>
</div> </div>
...@@ -449,14 +394,8 @@ ...@@ -449,14 +394,8 @@
</div> </div>
<template v-if="setingObj.SpecialNode == 1"> <template v-if="setingObj.SpecialNode == 1">
<span> <span>
<q-input <q-input filled stack-label :dense="false" v-model="backBillMsg.BackMoney" class="col-12"
filled label="退课金额" />
stack-label
:dense="false"
v-model="backBillMsg.BackMoney"
class="col-12"
label="退课金额"
/>
</span> </span>
<span> <span>
系统计算课时费为:{{ 系统计算课时费为:{{
...@@ -468,97 +407,55 @@ ...@@ -468,97 +407,55 @@
</span> </span>
</template> </template>
<div v-if="showType == 2"> <div v-if="showType == 2">
<div <div style="
style="
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-top: 20px; margin-top: 20px;
" ">
>
<div>审批意见</div> <div>审批意见</div>
<div> <div>
<q-radio <q-radio v-model="backBillMsg.AuditStatus" :val="2" label="通过" />
v-model="backBillMsg.AuditStatus" <q-radio v-model="backBillMsg.AuditStatus" :val="3" label="驳回" />
:val="2" </div>
label="通过" </div>
/> <q-input filled stack-label :dense="false" v-model="backBillMsg.Description" type="textarea"
<q-radio label="审批意见" />
v-model="backBillMsg.AuditStatus"
:val="3"
label="驳回"
/>
</div>
</div>
<q-input
filled
stack-label
:dense="false"
v-model="backBillMsg.Description"
type="textarea"
label="审批意见"
/>
</div> </div>
<div style="margin-top: 20px"> <div style="margin-top: 20px">
<div class="row"> <div class="row">
<div class="col-6" style="display: flex; align-items: top"> <div class="col-6" style="display: flex; align-items: top">
<template v-if="tempPeople.length > 0"> <template v-if="tempPeople.length > 0">
<div style="display: inline-block; width: 45px">抄送:</div> <div style="display: inline-block; width: 45px">抄送:</div>
<div <div style="
style="
display: inline-block; display: inline-block;
margin-left: 5px; margin-left: 5px;
width: 340px; width: 340px;
" ">
> <span class="chaosong_Peo" v-for="(childItem, cindex) in tempPeople">
<span
class="chaosong_Peo"
v-for="(childItem, cindex) in tempPeople"
>
{{ getName(childItem) }} {{ getName(childItem) }}
</span> </span>
</div> </div>
</template> </template>
</div> </div>
<div <div class="col-6" style="
class="col-6"
style="
justify-content: flex-end; justify-content: flex-end;
display: flex; display: flex;
align-items: center; align-items: center;
" ">
> <i class="iconfont icon-aite" style="
<i
class="iconfont icon-aite"
style="
font-size: 20px; font-size: 20px;
margin: 7px 20px 0 0; margin: 7px 20px 0 0;
cursor: pointer; cursor: pointer;
" " v-if="showType == 2">
v-if="showType == 2"
>
<q-popup-proxy> <q-popup-proxy>
<q-banner> <q-banner>
<div style="width: 350px"> <div style="width: 350px">
<div style="margin: 10px 0 15px 0">抄送</div> <div style="margin: 10px 0 15px 0">抄送</div>
<q-select <q-select class="col-6 q-pb-lg q-pr-lg" multiple clearable filled stack-label use-input
class="col-6 q-pb-lg q-pr-lg" option-value="Id" option-label="EmployeeName" v-model="tempPeople" ref="ManagerId"
multiple :options="EmployeeList" label="选择人员" :dense="false" emit-value map-options
clearable @filter="filterFn">
filled
stack-label
use-input
option-value="Id"
option-label="EmployeeName"
v-model="tempPeople"
ref="ManagerId"
:options="EmployeeList"
label="选择人员"
:dense="false"
emit-value
map-options
@filter="filterFn"
>
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey"> <q-item-section class="text-grey">
...@@ -572,12 +469,7 @@ ...@@ -572,12 +469,7 @@
</q-popup-proxy> </q-popup-proxy>
</i> </i>
<q-btn class="q-mr-md" label="关闭" @click="closeBackInfo" /> <q-btn class="q-mr-md" label="关闭" @click="closeBackInfo" />
<q-btn <q-btn v-if="showType == 2" color="accent q-px-md" label="确认" @click="saveBackClassInfo()" />
v-if="showType == 2"
color="accent q-px-md"
label="确认"
@click="saveBackClassInfo()"
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -585,33 +477,19 @@ ...@@ -585,33 +477,19 @@
</div> </div>
</div> </div>
<div v-if="tabCheck == 'second'"> <div v-if="tabCheck == 'second'">
 <flowinfoForm  <flowinfoForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">
:seting-obj="setingObj"
:showType="showType"
@close="closeShenheForm"
@success="refreshPage"
>
</flowinfoForm> </flowinfoForm>
</div> </div>
</q-card> </q-card>
<div <div class="dialog-out-close" @click="closeShenheForm" style="
class="dialog-out-close"
@click="closeShenheForm"
style="
height: 40px !important; height: 40px !important;
border-top-left-radius: 4px !important; border-top-left-radius: 4px !important;
border-bottom-left-radius: 4px !important; border-bottom-left-radius: 4px !important;
" ">
>
<q-icon name="iconfont icon-jujue1" size="26px" /> <q-icon name="iconfont icon-jujue1" size="26px" />
</div> </div>
<div <div v-if="picIsShow" class="_show_img_box" @click="(picIsShow = false), (picObj = [])">
v-if="picIsShow" <div style="
class="_show_img_box"
@click="(picIsShow = false), (picObj = [])"
>
<div
style="
position: absolute; position: absolute;
max-width: 800px; max-width: 800px;
height: auto; height: auto;
...@@ -619,16 +497,9 @@ ...@@ -619,16 +497,9 @@
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" ">
> <el-image style="width: 100%; height: 100%" fit="cover" v-for="(item, index) in picObj" :key="index" :src="item"
<el-image :preview-src-list="picObj">
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
</el-image> </el-image>
</div> </div>
</div> </div>
...@@ -636,11 +507,16 @@ ...@@ -636,11 +507,16 @@
</template> </template>
<script> <script>
import flowinfoForm from "../sale/flowinfo-form"; import flowinfoForm from "../sale/flowinfo-form";
import { saveBackBillAduit, queryBackBillMoney } from "../../api/sale/bill"; import {
import { queryEmployee } from "../../api/users/user"; saveBackBillAduit,
queryBackBillMoney
export default { } from "../../api/sale/bill";
import {
queryEmployee
} from "../../api/users/user";
export default {
props: { props: {
setingObj: { setingObj: {
type: Object, type: Object,
...@@ -828,7 +704,6 @@ export default { ...@@ -828,7 +704,6 @@ export default {
}, },
getlookContractNo(ContractId) { getlookContractNo(ContractId) {
//跳转合同管理 //跳转合同管理
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: "/contractView", path: "/contractView",
query: { query: {
...@@ -837,6 +712,12 @@ export default { ...@@ -837,6 +712,12 @@ export default {
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
}, },
//跳转到退课协议
goToBackProtocol(Id) {
this.OpenNewUrl("/courseRefund", {
Id: Id,
});
},
getlookFinishHours() { getlookFinishHours() {
//跳转学员消耗课时明细 //跳转学员消耗课时明细
let StartMonth = ""; let StartMonth = "";
...@@ -880,5 +761,6 @@ export default { ...@@ -880,5 +761,6 @@ export default {
a.click(); a.click();
}, },
}, },
}; };
</script> </script>
...@@ -486,9 +486,6 @@ ...@@ -486,9 +486,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost('WorkFlow_get_GetDepartMentPost', {}, res => {
// this.roleList = res.data.data
// }, err => {})
}, },
handleNodeChange1(data, checked) { handleNodeChange1(data, checked) {
data.IsCheck = checked; data.IsCheck = checked;
......
...@@ -302,13 +302,6 @@ ...@@ -302,13 +302,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost('app_user_workflow_GetAuditInfo',{WorkFlowId:id,TemplateType:type},res=>{
// if(res.data.resultCode == 1) {
// this.outerVisible=true;
// this.dialogTitle='审批详情'
// this.detailList=res.data.data
// }
// },err=>{})
}, },
getAppAuditStatus() { getAppAuditStatus() {
getMyInitiateAuditStatus({}).then(res => { getMyInitiateAuditStatus({}).then(res => {
...@@ -380,14 +373,6 @@ ...@@ -380,14 +373,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost('WorkFlow_get_GetOAPageList',this.msg,res=>{
// if(res.data.resultCode==1){
// this.list=res.data.data.pageData;
// this.total=res.data.data.count;
// this.loading=false
//
// }else{}
// },err=>{})
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.PageIndex = val; this.msg.PageIndex = val;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @change="resetSearch" clearable standout="bg-primary text-white" v-model="msg.ProtocolNum" <q-input @change="resetSearch" clearable standout="bg-primary text-white" v-model="msg.ProtocolNum"
label="合同编号" @clear="resetSearch" maxlength="30" /> label="协议编号" @clear="resetSearch" maxlength="30" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @change="resetSearch" clearable standout="bg-primary text-white" v-model="msg.PartyAName" <q-input @change="resetSearch" clearable standout="bg-primary text-white" v-model="msg.PartyAName"
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
ProtocolNum: '', ProtocolNum: '',
IsQueryAll: 1, IsQueryAll: 1,
QCreateBy:"",//业务员 QCreateBy:"",//业务员
Id:"",//退课协议编号
}, },
pageCount: 0, pageCount: 0,
dataList: [], dataList: [],
...@@ -97,6 +98,9 @@ ...@@ -97,6 +98,9 @@
}; };
}, },
created() { created() {
if (this.$route.query.Id) {
this.msg.Id = this.$route.query.Id;
}
this.getEmployee() this.getEmployee()
}, },
mounted() { mounted() {
......
...@@ -423,11 +423,6 @@ ...@@ -423,11 +423,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost('WorkFlow_get_GetDepartMentEmployee', {}, res => {
// if(res.data.resultCode == 1) {
// this.memberList = res.data.data
// }
// }, err => {})
}, },
clearTransferDialog(done){ clearTransferDialog(done){
done() done()
......
...@@ -266,13 +266,6 @@ ...@@ -266,13 +266,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost(this.cmd, {
// workFlowId: this.workFlowId
// }, res => {
// if(res.data.resultCode == 1) {
//
// }
// }, err => {})
}, },
getDuration(obj, index) { getDuration(obj, index) {
let starTime = '' let starTime = ''
......
...@@ -417,11 +417,6 @@ ...@@ -417,11 +417,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost('WorkFlow_get_GetDepartMentEmployee', {}, res => {
// if(res.data.resultCode == 1) {
// this.memberList = res.data.data
// }
// }, err => {})
}, },
clearTransferDialog(){ clearTransferDialog(){
this.filterText='' this.filterText=''
......
...@@ -1418,23 +1418,11 @@ ...@@ -1418,23 +1418,11 @@
} }
}, err => {}) }, err => {})
}, },
getCompanyList(){ //获取公司列表 //获取公司列表
// this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{ getCompanyList(){
// if(res.data.resultCode==1){
// this.CompanyList=res.data.data;
// }else{}
// },err=>{})
getSchoolDropdown({}).then(res => { getSchoolDropdown({}).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
var tempArray = res.Data; var tempArray = res.Data;
// if (!tempArray) {
// tempArray = [];
// }
// tempArray.unshift({
// SId: 0,
// SName: "不限"
// })
this.CompanyList = tempArray; this.CompanyList = tempArray;
} }
}) })
......
...@@ -812,16 +812,6 @@ ...@@ -812,16 +812,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost(
// 'admin_get_EmployeeGetList', {},
// res => {
// if (res.data.resultCode == 1) {
// this.EmployeeList = res.data.data
// }
// },
// err => {}
// )
}, },
AuditSort() { AuditSort() {
let sum = 0; let sum = 0;
...@@ -1139,18 +1129,9 @@ ...@@ -1139,18 +1129,9 @@
} }
this.myAuditUserList1.push(obj) this.myAuditUserList1.push(obj)
}) })
}, },
addAuditUser() { // 抄送人 // 抄送人
// let _arr = this.sysUserKeys.concat(this.memberSetCheckedUserKeys) addAuditUser() {
// this.dialogTitle = this.$t('fnc.xzrenyuan');
// this.outerVisible2 = true;
// let _this = this;
// this.apipost('WorkFlow_get_GetTempLateDepartMentEmployee', {}, res => {
// if (res.data.resultCode == 1) {
// this.userList = res.data.data
// }
// }, err => {})
this.dialogTitle = this.$t('fnc.xzrenyuan'); this.dialogTitle = this.$t('fnc.xzrenyuan');
this.outerVisible2 = true; this.outerVisible2 = true;
var arr=[]; var arr=[];
......
...@@ -853,16 +853,6 @@ ...@@ -853,16 +853,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost(
// 'admin_get_EmployeeGetList', {},
// res => {
// if (res.data.resultCode == 1) {
// this.EmployeeList = res.data.data
// }
// },
// err => {}
// )
}, },
AuditSort() { AuditSort() {
let sum = 0; let sum = 0;
...@@ -1181,16 +1171,8 @@ ...@@ -1181,16 +1171,8 @@
}) })
}, },
addAuditUser() { // 抄送人 addAuditUser() {
// let _arr = this.sysUserKeys.concat(this.memberSetCheckedUserKeys) // 抄送人
// this.dialogTitle = this.$t('fnc.xzrenyuan');
// this.outerVisible2 = true;
// let _this = this;
// this.apipost('WorkFlow_get_GetTempLateDepartMentEmployee', {}, res => {
// if (res.data.resultCode == 1) {
// this.userList = res.data.data
// }
// }, err => {})
this.dialogTitle = this.$t('fnc.xzrenyuan'); this.dialogTitle = this.$t('fnc.xzrenyuan');
this.outerVisible2 = true; this.outerVisible2 = true;
var arr = []; var arr = [];
......
...@@ -937,20 +937,6 @@ ...@@ -937,20 +937,6 @@
this.peopleData = []; this.peopleData = [];
} }
}, },
// addnewpoint(id){
// this.apipost('Financial_post_AppointPeople',{Id:0,emList:this.chosenPeople,WorkFlowId:id}, res => {
// if(res.data.resultCode == 1) {
// this.$router.push({name:'FinancialDocuments',query:{'Type':this.$route.query.Type}})
// }
// }, err => {})
// },
// hasnextpoint(){
// this.apipost('Financial_post_Get',{ID:this.currentType==this.currentId}, res => {
// if(res.data.resultCode == 1) {
// this.nextPoint = res.data.data
// }
// }, err => {})
// },
showUpLoadFile(i) { // 预览上传文件 showUpLoadFile(i) { // 预览上传文件
if (i.Type == 3) { if (i.Type == 3) {
let isExsit = false let isExsit = false
......
...@@ -2526,12 +2526,6 @@ ...@@ -2526,12 +2526,6 @@
remoteMethod(query) { remoteMethod(query) {
if (query !== '') { if (query !== '') {
this.loadingPeople = true this.loadingPeople = true
// this.apipost('admin_Get_Chat_All_SelectEmpName',{EmName:query}, res => {
// if(res.data.resultCode == 1) {
// this.peopleData = res.data.data
// }
// this.loadingPeople = false
// }, err => {})
var qMsg = { var qMsg = {
EmployeeName: query EmployeeName: query
} }
......
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
AuditStatus: -1, AuditStatus: -1,
QOrderId: '', QOrderId: '',
ProtocolNum: '', ProtocolNum: '',
IsQueryAll: 0 IsQueryAll: 0,
Id: "",
}, },
pageCount: 0, pageCount: 0,
dataList: [], dataList: [],
...@@ -91,7 +92,9 @@ ...@@ -91,7 +92,9 @@
}; };
}, },
created() { created() {
if (this.$route.query.Id) {
this.msg.Id = this.$route.query.Id;
}
}, },
mounted() { mounted() {
this.getList(); this.getList();
......
<style> <style>
.Sysuser_Date .el-range-editor .el-range-input { .Sysuser_Date .el-range-editor .el-range-input {
background-color: transparent; background-color: transparent;
} }
.Sysuser_Date .el-range-editor.el-input__inner { .Sysuser_Date .el-range-editor.el-input__inner {
background-color: transparent; background-color: transparent;
} }
.ReceipTypeName { .ReceipTypeName {
display: inline-block; display: inline-block;
padding: 2px 8px; padding: 2px 8px;
color: white; color: white;
background-color: rgb(233, 82, 82); background-color: rgb(233, 82, 82);
line-height: 16px; line-height: 16px;
border-radius: 4px; border-radius: 4px;
} }
.bill_Rearsons { .bill_Rearsons {
width: 250px; width: 250px;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
</style> </style>
<template> <template>
<div class="page-body"> <div class="page-body">
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-col-gutter-md"> <div class="col row wrap q-col-gutter-md">
<div class="col-3"> <div class="col-3">
<q-input <q-input @change="resetSearch" clearable filled v-model="msg.Id" label="单号" maxlength="10" />
@change="resetSearch"
clearable
filled
v-model="msg.Id"
label="单号"
maxlength="10"
/>
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select <q-select @input="resetSearch" clearable filled v-model="msg.VerifyStatus" :options="ShowOpts" emit-value
@input="resetSearch" map-options label="审核状态" />
clearable
filled
v-model="msg.VerifyStatus"
:options="ShowOpts"
emit-value
map-options
label="审核状态"
/>
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select <q-select @input="resetSearch" clearable filled option-value="Id" option-label="Name"
@input="resetSearch" v-model="msg.ReceiptType" :options="OrderTypeList" emit-value map-options label="单据类型" />
clearable
filled
option-value="Id"
option-label="Name"
v-model="msg.ReceiptType"
:options="OrderTypeList"
emit-value
map-options
label="单据类型"
/>
</div> </div>
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled> <q-field filled>
 <template v-slot:control>  <template v-slot:control>
<el-date-picker <el-date-picker v-model="applyDateList" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange"
v-model="applyDateList" style="border: none" range-separator="至" start-placeholder="申请开始日期" end-placeholder="申请结束日期">
@change="resetSearch()"  </el-date-picker>       
value-format="yyyy-MM-dd"
type="daterange"
style="border: none"
range-separator="至"
start-placeholder="申请开始日期"
end-placeholder="申请结束日期"
>
 </el-date-picker
>       
</template> </template>
</q-field> </q-field>
</div> </div>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<q-tabs <q-tabs style="margin-bottom: 20px" v-model="tabCheck" narrow-indicator dense align="left" class="text-primary">
style="margin-bottom: 20px"
v-model="tabCheck"
narrow-indicator
dense
align="left"
class="text-primary"
>
<q-tab :ripple="false" name="1" label="我发起的" /> <q-tab :ripple="false" name="1" label="我发起的" />
<q-tab :ripple="false" name="3" label="待我审批" /> <q-tab :ripple="false" name="3" label="待我审批" />
<q-tab :ripple="false" name="2" label="已审批" /> <q-tab :ripple="false" name="2" label="已审批" />
<q-tab :ripple="false" name="4" label="抄送给我的" /> <q-tab :ripple="false" name="4" label="抄送给我的" />
</q-tabs> </q-tabs>
<q-table <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
:pagination="msg" class="sticky-tow-column-table sticky-right-column-table" separator="none" :data="data" :columns="columns"
:loading="loading" row-key="name">
no-data-label="暂无相关数据"
flat
class="sticky-tow-column-table sticky-right-column-table"
separator="none"
:data="data"
:columns="columns"
row-key="name"
>
<template v-slot:body-cell-ReceiptTypeName="props"> <template v-slot:body-cell-ReceiptTypeName="props">
<q-td :props="props"> <q-td :props="props">
<span class="ReceipTypeName">{{ props.row.ReceiptTypeName }}</span> <span class="ReceipTypeName">{{ props.row.ReceiptTypeName }}</span>
...@@ -136,181 +88,98 @@ ...@@ -136,181 +88,98 @@
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
class="full-width justify-end" :input="true" @input="changePage" />
v-model="msg.pageIndex"
color="primary"
:max="pageCount"
:input="true"
@input="changePage"
/>
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<template v-if="tabCheck == '3'"> <template v-if="tabCheck == '3'">
<q-btn <q-btn flat size="xs" icon="edit" color="accent" style="font-weight: 400" label="审核"
flat @click="showBillForm(props.row, 2)" />
size="xs"
icon="edit"
color="accent"
style="font-weight: 400"
label="审核"
@click="showBillForm(props.row, 2)"
/>
</template> </template>
<template v-else> <template v-else>
<template <template v-if="
v-if="
props.row.DataObj && props.row.DataObj &&
props.row.VerifyStatus == 2 && props.row.VerifyStatus == 2 &&
props.row.ReceiptType == 2 && props.row.ReceiptType == 2 &&
props.row.DataObj.FinanceId <= 0 && props.row.DataObj.FinanceId <= 0 &&
tabCheck == '1' tabCheck == '1'
" ">
> <q-btn flat size="xs" icon="directions" color="secondary" style="font-weight: 400" label="签订退课协议"
<q-btn @click="goToBackProtocol(props.row)" />
flat  <q-tooltip>
size="xs" 用户签订协议后,需要你进行确认,确认好以后系统自动生成财务单据,无需手动干预
icon="directions" </q-tooltip>
color="secondary"
style="font-weight: 400"
label="制单"
@click="createBillForm(props.row)"
/>
</template> </template>
<template <template v-if="
v-if="
props.row.DataObj && props.row.DataObj &&
props.row.VerifyStatus == 2 && props.row.VerifyStatus == 2 &&
props.row.ReceiptType == 2 && props.row.ReceiptType == 2 &&
props.row.DataObj.FinanceId > 0 props.row.DataObj.FinanceId > 0
" ">
> <span @click="
<span
@click="
goFinaceUrl('FinancialDocumentsDetail', props.row.DataObj) goFinaceUrl('FinancialDocumentsDetail', props.row.DataObj)
" " title="退课财务单据号"
title="退课财务单据号" style="color: #2961fe; font-weight: bold; cursor: pointer">协议已签订,财务单号:{{ props.row.DataObj.FinanceId }}</span>
style="color: #2961fe; font-weight: bold; cursor: pointer"
>{{ props.row.DataObj.FinanceId }}</span
>
</template> </template>
<q-btn <q-btn v-if="props.row.VerifyStatus == 0 && tabCheck == '1'" flat size="xs" icon="delete" color="negative"
v-if="props.row.VerifyStatus == 0 && tabCheck == '1'" style="font-weight: 400" label="作废" @click="invalidBillForm(props.row)" />
flat <q-btn flat size="xs" icon="edit" color="accent" style="font-weight: 400" label="查看"
size="xs" @click="showBillForm(props.row, 1)" />
icon="delete"
color="negative"
style="font-weight: 400"
label="作废"
@click="invalidBillForm(props.row)"
/>
<q-btn
flat
size="xs"
icon="edit"
color="accent"
style="font-weight: 400"
label="查看"
@click="showBillForm(props.row, 1)"
/>
</template> </template>
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
<backbill-form <!-- 退课审批 -->
v-if="isShowBillForm" <backbill-form v-if="isShowBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
:seting-obj="billObj" @success="refreshPage">
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
>
</backbill-form> </backbill-form>
<createbackbill-form <createbackbill-form v-if="isShowCreateBillForm" :seting-obj="billObj" @close="closeBillForm"
v-if="isShowCreateBillForm" @success="refreshPage">
:seting-obj="billObj"
@close="closeBillForm"
@success="refreshPage"
>
</createbackbill-form> </createbackbill-form>
<changebill-form <changebill-form v-if="isShowChangeBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowChangeBillForm" @success="refreshPage">
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
>
</changebill-form> </changebill-form>
<stopbill-form <stopbill-form v-if="isShowStopBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowStopBillForm" @success="refreshPage">
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
>
</stopbill-form> </stopbill-form>
<!-- 订单转班-查看 --> <!-- 订单转班-查看 -->
<ordertrans-form <ordertrans-form v-if="isShowClassTrans" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowClassTrans" @success="refreshPage">
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
>
</ordertrans-form> </ordertrans-form>
<!-- 订单临时上课邀请-查看 --> <!-- 订单临时上课邀请-查看 -->
<temporaryClass-form <temporaryClass-form v-if="isShowTemporaryClass" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowTemporaryClass" @success="refreshPage">
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
>
</temporaryClass-form> </temporaryClass-form>
<!-- 请假申请 --> <!-- 请假申请 -->
<leaveBillForm <leaveBillForm v-if="isShowLeaveBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowLeaveBillForm" @success="refreshPage"></leaveBillForm>
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
></leaveBillForm>
<!-- 组卷审批 --> <!-- 组卷审批 -->
<zujuanBillForm <zujuanBillForm v-if="isShowZujuanBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowZujuanBillForm" @success="refreshPage"></zujuanBillForm>
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
></zujuanBillForm>
<!-- 考试申请 --> <!-- 考试申请 -->
<examBillForm <examBillForm v-if="isShowExamBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
v-if="isShowExamBillForm" @success="refreshPage"></examBillForm>
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
></examBillForm>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { import {
GetEducationReceiptPage, GetEducationReceiptPage,
GetEducationReceiptType, GetEducationReceiptType,
invalidReceiptInfo, invalidReceiptInfo,
} from "../../api/teacher/index"; } from "../../api/teacher/index";
import backbillForm from "../../components/sale/backbill-form"; import backbillForm from "../../components/sale/backbill-form";
import changebillForm from "../../components/sale/changebill-form"; import changebillForm from "../../components/sale/changebill-form";
import stopbillForm from "../../components/sale/stopbill-form"; import stopbillForm from "../../components/sale/stopbill-form";
import createbackbillForm from "../../components/sale/createbackbill-form"; import createbackbillForm from "../../components/sale/createbackbill-form";
import ordertransForm from "../../components/sale/ordertrans-form"; import ordertransForm from "../../components/sale/ordertrans-form";
import temporaryClassForm from "../../components/sale/temporaryClassbill-form"; import temporaryClassForm from "../../components/sale/temporaryClassbill-form";
import leaveBillForm from "../../components/sale/leavebill-form.vue"; import leaveBillForm from "../../components/sale/leavebill-form.vue";
import zujuanBillForm from "../../components/sale/zujuanbill-form.vue"; import zujuanBillForm from "../../components/sale/zujuanbill-form.vue";
import examBillForm from "../../components/sale/exambill-form.vue"; import examBillForm from "../../components/sale/exambill-form.vue";
export default { export default {
meta: { meta: {
title: "业务单据", title: "业务单据",
}, },
...@@ -328,8 +197,7 @@ export default { ...@@ -328,8 +197,7 @@ export default {
data() { data() {
return { return {
currentUrl: "", currentUrl: "",
columns: [ columns: [{
{
name: "Id", name: "Id",
label: "单号", label: "单号",
field: "Id", field: "Id",
...@@ -374,8 +242,7 @@ export default { ...@@ -374,8 +242,7 @@ export default {
data: [], data: [],
loading: true, loading: true,
applyDateList: [], //申请日期 applyDateList: [], //申请日期
ShowOpts: [ ShowOpts: [{
{
label: "审核中", label: "审核中",
value: "1", value: "1",
}, },
...@@ -433,6 +300,12 @@ export default { ...@@ -433,6 +300,12 @@ export default {
this.getStuBackBill(); this.getStuBackBill();
}, },
methods: { methods: {
//跳转到退课协议
goToBackProtocol(Id) {
this.OpenNewUrl("/sale/contractRefund", {
Id: Id,
});
},
//跳转到财务单据 //跳转到财务单据
goFinaceUrl(path, rowData) { goFinaceUrl(path, rowData) {
this.OpenNewUrl("/financial/financalDocument/" + path, { this.OpenNewUrl("/financial/financalDocument/" + path, {
...@@ -608,8 +481,10 @@ export default { ...@@ -608,8 +481,10 @@ export default {
this.resetSearch(); this.resetSearch();
}, },
}, },
}; };
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style> </style>
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