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(() => {
var postMsg = { that.apipost("admin_post_SetEmpBankAccount", this.clientMsg, res => {
Id: item.Id, if (res.data.resultCode == 1) {
IsSure: 1 var postMsg = {
}; Id: item.Id,
SetBackClassProtocolSure(postMsg).then(res => { IsSure: 1,
if (res.Code == 1) { ClientId: res.data.data
this.$q.notify({ };
icon: "iconfont icon-chenggong", SetBackClassProtocolSure(postMsg).then(res => {
color: "accent", if (res.Code == 1) {
timeout: 2000, that.$q.notify({
message: "退课协议确认成功!", icon: "iconfont icon-chenggong",
position: "top", color: "accent",
timeout: 2000,
message: "退课协议确认成功!",
position: "top",
});
that.$emit("success");
}
}); });
this.$emit("success");
} }
}); })
}) })
}, },
//复制生成二维码 //复制生成二维码
...@@ -317,8 +342,7 @@ ...@@ -317,8 +342,7 @@
}); });
}, 1000); }, 1000);
tipLoadding.hide(); tipLoadding.hide();
} } else {
else{
tipLoadding.hide(); tipLoadding.hide();
} }
}); });
......
This diff is collapsed.
...@@ -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();
......
This diff is collapsed.
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