Commit ce71d3c0 authored by zhengke's avatar zhengke

修改

parents 776ffde1 df685f6c
...@@ -212,6 +212,22 @@ export function getAllClassNowMonthStatistics(data) { ...@@ -212,6 +212,22 @@ export function getAllClassNowMonthStatistics(data) {
}); });
} }
// 财务轧账月份列表
export function getFinanceMonthStatementPageList(data) {
return request({
url: '/finance/GetFinanceMonthStatementPageList',
method: 'post',
data
});
}
// 财务轧账月份n 新增修改
export function setFinanceMonthStatementInfo(data) {
return request({
url: '/finance/SetFinanceMonthStatementInfo',
method: 'post',
data
});
}
......
This diff is collapsed.
...@@ -155,8 +155,6 @@ ...@@ -155,8 +155,6 @@
} }
}, },
mounted() { mounted() {
// this.queryClassInfo();
console.log(this.isShowEditBtn,'this.isShowEditBtn');
if(this.isShowEditBtn==1){ if(this.isShowEditBtn==1){
this.isShowMyBtn=1 this.isShowMyBtn=1
} }
......
...@@ -310,7 +310,7 @@ ...@@ -310,7 +310,7 @@
</template> </template>
<template v-slot:body-cell-optioned="props" v-if="isShowBtn"> <template v-slot:body-cell-optioned="props" v-if="isShowBtn">
<q-td :props="props" style="width:130px;"> <q-td :props="props" style="width:130px;">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400;display:none;" label="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400;" label="编辑"
@click="getInfo(props.row)"> @click="getInfo(props.row)">
<q-popup-proxy> <q-popup-proxy>
<q-banner v-if="isShowEdit"> <q-banner v-if="isShowEdit">
...@@ -558,7 +558,7 @@ ...@@ -558,7 +558,7 @@
<template v-else><span style="color:red;">{{props.row.GuestName}}</span></template> <template v-else><span style="color:red;">{{props.row.GuestName}}</span></template>
  <q-tooltip :offset="[0, 10]" v-if="props.row.IsChaBan==1">   <q-tooltip :offset="[0, 10]" v-if="props.row.IsChaBan==1">
 插班报入 <br />  插班报入 <br />
开始课时:{{props.row.StartClassHours}} <br /> 开始课时:{{props.row.StartClassHours}} <br />
 生效状态:{{props.row.EffectStatusStr}} <br />  生效状态:{{props.row.EffectStatusStr}} <br />
 生效时间:{{props.row.EffectTime}} <br />  生效时间:{{props.row.EffectTime}} <br />
 <template v-if="props.row.UpOrderId&&props.row.UpOrderId>0">  <template v-if="props.row.UpOrderId&&props.row.UpOrderId>0">
......
...@@ -69,7 +69,6 @@ ...@@ -69,7 +69,6 @@
}, },
watch: { watch: {
value(newVal, oldVal) { value(newVal, oldVal) {
console.log("监听到变化1",newVal,this.ue.isReady,this.isInputChange)
if (!this.isInputChange) { if (!this.isInputChange) {
if (this.ue) { if (this.ue) {
if (this.ue.isReady !== 1) { if (this.ue.isReady !== 1) {
...@@ -85,7 +84,7 @@ ...@@ -85,7 +84,7 @@
}, 100); }, 100);
return; return;
} }
console.log("监听到变化",newVal) ("监听到变化",newVal)
this.ue.setContent(newVal); this.ue.setContent(newVal);
} else { } else {
this.tempContent = newVal; this.tempContent = newVal;
......
<style>
.processSet {
width: 350px;
}
.processSet .processList {
width: 100%;
height: auto;
}
.processSet .processTop {
width: 100%;
height: 54px;
background-color: #F1F1F1;
color: #000000;
text-align: center;
line-height: 54px;
border-radius: 2px;
cursor: pointer;
position: relative;
}
.processSet .processLine {
width: 100%;
height: 54px;
background-color: #fff;
color: #bbb6b6;
text-align: center;
line-height: 54px;
}
.processSet .processLine i {
font-size: 25px;
font-weight: bold;
}
.processSet .otherList {
background-color: #2961FE !important;
color: #fff;
font-weight: bold;
}
.processSet .process_TwoList {
display: flex;
background-color: #2961FE !important;
color: #fff;
font-weight: bold;
align-items: center;
justify-content: center;
}
.processSet .process_He {
width: 36px;
height: 36px;
background-color: #3FC4FF;
text-align: center;
line-height: 36px;
color: #fff;
border-radius: 50%;
}
.processSet .process_Left {
width: 40%;
height: 100%;
text-align: right;
}
.processSet .process_center {
width: 20%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.processSet .process_Right {
width: 40%;
height: 100%;
text-align: left;
}
.processSet .process_OR {
background-color: #F28C1D;
}
.processSet .addProcessBtn {
width: 100%;
height: 45px;
text-align: center;
line-height: 45px;
color: #2961FE;
border: 1px dashed #2961FE;
border-radius: 2px;
cursor: pointer;
}
.processSet .process_BtnList {
margin-top: 30px;
width: 100%;
display: flex;
justify-content: center;
}
.processSet .process_BtnOne {
width: 90px;
height: 38px;
text-align: center;
line-height: 38px;
border-radius: 2px;
border: 1px solid #A1AAB2;
color: #000000;
cursor: pointer;
margin-right: 50px;
}
.processSet .SetShouSun {
display: inline-block;
border-radius: 2px;
background-color: #8175FB;
color: #fff;
position: absolute;
right: 10px;
width: 60px;
height: 27px;
left: 0;
top: 0;
line-height: 27px;
font-size: 13px;
}
.processSet .operationDiv {
position: absolute;
right: 0;
top: 0;
height: 30px;
line-height: 30px;
padding-right: 10px;
vertical-align: top;
}
.processSet .operationDiv i:first-child {
font-size: 13px;
}
.processSet .operationDiv i:hover {
color: red;
}
.processSet .justTwoClass {
margin-left: 8px;
}
</style>
<template>
<div class="processSet">
<div class="processList">
<div class="processTop">发起人</div>
<div class="processLine">
<i class="iconfont icon-down"></i>
</div>
</div>
<template v-for="(item,index) in flowObj.FlowNodeList">
<div class="processList" @click="getItem(index)">
<template v-if="item.FlowAduitList&&item.FlowAduitList.length==1">
<div class="processTop otherList">
{{item.FlowAduitList[0].AduitName}}
<template v-if="item.FlowAduitList&&item.FlowAduitList.length>0 && item.FlowAduitList[0].IsSpecNode==1">
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
<i class="iconfont icon-down"></i>
</div>
</template>
<template v-else>
<div class="processTop process_TwoList">
<div class="process_Left">{{item.FlowAduitList[0].AduitName}}</div>
<div class="process_center">
<template v-if="item.FlowAduitList[0].AuditWay==2">
<div class="process_He"></div>
</template>
<template v-if="item.FlowAduitList[0].AuditWay==3">
<div class="process_He process_OR">或者</div>
</template>
</div>
<div class="process_Right">
<template v-for="(subItem,subIndex) in item.FlowAduitList" v-if="subIndex>0">
{{subItem.AduitName}}
</template>
</div>
<template v-if="item.FlowAduitList&&item.FlowAduitList.length>0 && item.FlowAduitList[0].IsSpecNode==1">
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
<i class="iconfont icon-down"></i>
</div>
</template>
</div>
</template>
<br />
<div class="addProcessBtn" @click="AddNode">新增节点</div>
<div class="process_BtnList">
<!-- <div class="process_BtnOne">日志信息</div> -->
<q-btn label="保存" color="accent q-px-md" style="font-weight:400 !important" @click="setBackClassFlow" />
</div>
<process-form v-if="isShowProcess" :save-obj="processObj" :NodeIndex="ChooseNodeIndex" @close="closeProcessForm"
@success="refreshPage" :authObj="showObj">
</process-form>
</div>
</template>
<script>
import processForm from '../../components/flow/process-form';
import {
queryBackClassFlow,
saveBackClassFlow
} from '../../api/system/index'
export default {
meta: {
title: ""
},
components: {
processForm
},
data() {
return {
msg: {
FlowId: 1
},
isShowProcess: false, //显示旁边弹窗
processObj: {}, //传递子组件
flowObj: {
FlowId: 1,
FlowName: "退课流程",
FlowNodeList: [], //审核节点列表
},
//显示对象
showObj: {
isShowShouSun: 1, //显示收损
},
ChooseNodeIndex: 0,
}
},
created() {},
mounted() {
this.getBackClassFlow();
},
methods: {
//新增节点
AddNode() {
this.flowObj.FlowNodeList.push({
FlowId: 0,
NodeId: 0,
NodeName: "新增节点",
SortNum: 0,
FlowAduitList: [{
AduitName: "新增节点",
AuditType: 2,
AuditWay: 2,
CheckId: 0,
FlowId: 0,
IsSpecNode: 0,
NodeId: 8,
PostType: 0,
UserId: 0,
}]
});
},
//删除节点
DeleteNode(index) {
this.$q.dialog({
title: '提示信息',
message: '是否确定删除该流程',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
this.flowObj.FlowNodeList.splice(index, 1);
}).onCancel(() => {
});
},
getBackClassFlow() {
queryBackClassFlow(this.msg).then(res => {
if (res.Code == 1 && res.Data) {
this.flowObj = res.Data;
}
})
},
//点开旁边
getItem(nodeIndex) {
this.processObj = this.flowObj;
this.ChooseNodeIndex = nodeIndex;
this.isShowProcess = true;
},
//关闭
closeProcessForm() {
this.isShowProcess = false
},
//成功刷新
refreshPage() {
this.isShowProcess = false;
this.getBackClassFlow();
},
//保存退课流程
setBackClassFlow() {
saveBackClassFlow(this.flowObj).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '操作成功',
position: 'top'
})
this.refreshPage();
}
})
},
//下移下移
moveDown(index, IsUp) {
var currentItem = this.flowObj.FlowNodeList[index];
if (IsUp == 0) {
if (index > 0) {
var upItem = this.flowObj.FlowNodeList[index - 1];
this.$set(this.flowObj.FlowNodeList, index - 1, currentItem);
this.$set(this.flowObj.FlowNodeList, index, upItem);
}
} else {
if (index != this.flowObj.FlowNodeList.length - 1) {
var downItem = this.flowObj.FlowNodeList[index + 1];
this.$set(this.flowObj.FlowNodeList, index + 1, currentItem);
this.$set(this.flowObj.FlowNodeList, index, downItem);
}
}
}
}
}
</script>
<style>
.changeClassProcess {
width: 350px;
}
.changeClassProcess .processList {
width: 100%;
height: auto;
}
.changeClassProcess .processTop {
width: 100%;
height: 54px;
background-color: #F1F1F1;
color: #000000;
text-align: center;
line-height: 54px;
border-radius: 2px;
cursor: pointer;
position: relative;
}
.changeClassProcess .processLine {
width: 100%;
height: 54px;
background-color: #fff;
color: #bbb6b6;
text-align: center;
line-height: 54px;
}
.changeClassProcess .processLine i {
font-size: 25px;
font-weight: bold;
}
.changeClassProcess .otherList {
background-color: #2961FE !important;
color: #fff;
font-weight: bold;
}
.changeClassProcess .process_TwoList {
display: flex;
background-color: #2961FE !important;
color: #fff;
font-weight: bold;
align-items: center;
justify-content: center;
}
.changeClassProcess .process_He {
width: 36px;
height: 36px;
background-color: #3FC4FF;
text-align: center;
line-height: 36px;
color: #fff;
border-radius: 50%;
}
.changeClassProcess .process_Left {
width: 40%;
height: 100%;
text-align: right;
}
.changeClassProcess .process_center {
width: 20%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.changeClassProcess .process_Right {
width: 40%;
height: 100%;
text-align: left;
}
.changeClassProcess .process_OR {
background-color: #F28C1D;
}
.changeClassProcess .addProcessBtn {
width: 100%;
height: 45px;
text-align: center;
line-height: 45px;
color: #2961FE;
border: 1px dashed #2961FE;
border-radius: 2px;
cursor: pointer;
}
.changeClassProcess .process_BtnList {
margin-top: 30px;
width: 100%;
display: flex;
justify-content: center;
}
.changeClassProcess .process_BtnOne {
width: 90px;
height: 38px;
text-align: center;
line-height: 38px;
border-radius: 2px;
border: 1px solid #A1AAB2;
color: #000000;
cursor: pointer;
margin-right: 50px;
}
.changeClassProcess .SetShouSun {
display: inline-block;
border-radius: 2px;
background-color: #8175FB;
color: #fff;
position: absolute;
right: 10px;
width: 60px;
height: 27px;
left: 0;
top: 0;
line-height: 27px;
font-size: 13px;
}
.changeClassProcess .operationDiv {
position: absolute;
right: 0;
top: 0;
height: 30px;
line-height: 30px;
padding-right: 10px;
vertical-align: top;
}
.changeClassProcess .operationDiv i:first-child {
font-size: 13px;
}
.changeClassProcess .operationDiv i:hover {
color: red;
}
.changeClassProcess .justTwoClass {
margin-left: 8px;
}
</style>
<template>
<div class="changeClassProcess">
<div class="processList">
<div class="processTop">发起人</div>
<div class="processLine">
<i class="iconfont icon-down"></i>
</div>
</div>
<template v-for="(item,index) in flowObj.FlowNodeList">
<div class="processList" @click="getItem(index)">
<template v-if="item.FlowAduitList&&item.FlowAduitList.length==1">
<div class="processTop otherList">
{{item.FlowAduitList[0].AduitName}}
<template v-if="item.FlowAduitList&&item.FlowAduitList.length>0 && item.FlowAduitList[0].IsSpecNode==1">
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
<i class="iconfont icon-down"></i>
</div>
</template>
<template v-else>
<div class="processTop process_TwoList">
<div class="process_Left">{{item.FlowAduitList[0].AduitName}}</div>
<div class="process_center">
<template v-if="item.FlowAduitList[0].AuditWay==2">
<div class="process_He"></div>
</template>
<template v-if="item.FlowAduitList[0].AuditWay==3">
<div class="process_He process_OR">或者</div>
</template>
</div>
<div class="process_Right">
<template v-for="(subItem,subIndex) in item.FlowAduitList" v-if="subIndex>0">
{{subItem.AduitName}}
</template>
</div>
<template v-if="item.FlowAduitList&&item.FlowAduitList.length>0 && item.FlowAduitList[0].IsSpecNode==1">
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
<i class="iconfont icon-down"></i>
</div>
</template>
</div>
</template>
<br />
<div class="addProcessBtn" @click="AddNode">新增节点</div>
<div class="process_BtnList">
<q-btn label="保存" color="accent q-px-md" style="font-weight:400 !important" @click="setBackClassFlow" />
</div>
<process-form v-if="isShowProcess" :save-obj="processObj" :NodeIndex="ChooseNodeIndex" @close="closeProcessForm"
@success="refreshPage" :authObj="showObj">
</process-form>
</div>
</template>
<script>
import processForm from '../../components/flow/process-form';
import {
queryBackClassFlow,
saveBackClassFlow
} from '../../api/system/index'
export default {
meta: {
title: ""
},
components: {
processForm
},
data() {
return {
msg: {
FlowId: 2
},
isShowProcess: false, //显示旁边弹窗
processObj: {}, //传递子组件
flowObj: {
FlowId: 2,
FlowName: "调课流程",
FlowNodeList: [], //审核节点列表
},
//显示对象
showObj: {
isShowShouSun: 0,//不显示收损
},
ChooseNodeIndex: 0,
}
},
created() {},
mounted() {
this.getBackClassFlow();
},
methods: {
//新增节点
AddNode() {
this.flowObj.FlowNodeList.push({
FlowId: 0,
NodeId: 0,
NodeName: "新增节点",
SortNum: 0,
FlowAduitList: [{
AduitName: "新增节点",
AuditType: 2,
AuditWay: 2,
CheckId: 0,
FlowId: 0,
IsSpecNode: 0,
NodeId: 8,
PostType: 0,
UserId: 0,
}]
});
},
//删除节点
DeleteNode(index) {
this.$q.dialog({
title: '提示信息',
message: '是否确定删除该流程',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
this.flowObj.FlowNodeList.splice(index, 1);
}).onCancel(() => {
});
},
getBackClassFlow() {
queryBackClassFlow(this.msg).then(res => {
if (res.Code == 1 && res.Data) {
this.flowObj = res.Data;
}
})
},
//点开旁边
getItem(nodeIndex) {
this.processObj = this.flowObj;
this.ChooseNodeIndex = nodeIndex;
this.isShowProcess = true;
},
//关闭
closeProcessForm() {
this.isShowProcess = false
},
//成功刷新
refreshPage() {
this.isShowProcess = false;
this.getBackClassFlow();
},
//保存退课流程
setBackClassFlow() {
saveBackClassFlow(this.flowObj).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '操作成功',
position: 'top'
})
this.refreshPage();
}
})
},
//下移下移
moveDown(index, IsUp) {
var currentItem = this.flowObj.FlowNodeList[index];
if (IsUp == 0) {
if (index > 0) {
var upItem = this.flowObj.FlowNodeList[index - 1];
this.$set(this.flowObj.FlowNodeList, index - 1, currentItem);
this.$set(this.flowObj.FlowNodeList, index, upItem);
}
} else {
if (index != this.flowObj.FlowNodeList.length - 1) {
var downItem = this.flowObj.FlowNodeList[index + 1];
this.$set(this.flowObj.FlowNodeList, index + 1, currentItem);
this.$set(this.flowObj.FlowNodeList, index, downItem);
}
}
}
}
}
</script>
...@@ -123,13 +123,15 @@ ...@@ -123,13 +123,15 @@
position: absolute; position: absolute;
background-color: #E9EFFF; background-color: #E9EFFF;
} }
.process_InnerLineTwo{
.process_InnerLineTwo {
width: 5px; width: 5px;
top:65px; top: 65px;
height: 12px; height: 12px;
position: absolute; position: absolute;
background-color: #E9EFFF; background-color: #E9EFFF;
} }
.processAddzhai { .processAddzhai {
height: 50px; height: 50px;
border: 1px dashed #2961FE !important; border: 1px dashed #2961FE !important;
...@@ -141,13 +143,15 @@ ...@@ -141,13 +143,15 @@
margin: 0 20px; margin: 0 20px;
border-radius: 5px !important; border-radius: 5px !important;
} }
.ProcessShanchu{
.ProcessShanchu {
position: absolute; position: absolute;
right:10px; right: 10px;
top:10px; top: 10px;
color:red; color: red;
cursor: pointer; cursor: pointer;
} }
</style> </style>
<template> <template>
<q-dialog v-model="persistent" maximized full-height seamless position="right" @hide="closeProcess"> <q-dialog v-model="persistent" maximized full-height seamless position="right" @hide="closeProcess">
...@@ -159,6 +163,7 @@ ...@@ -159,6 +163,7 @@
<div class="q-gutter-sm" style="padding-top:20px;"> <div class="q-gutter-sm" style="padding-top:20px;">
<q-radio left-label v-model="aItem.AuditType" :val="2" label="指定人员" /> <q-radio left-label v-model="aItem.AuditType" :val="2" label="指定人员" />
<q-radio left-label v-model="aItem.AuditType" :val="3" label="内置角色" /> <q-radio left-label v-model="aItem.AuditType" :val="3" label="内置角色" />
<q-radio left-label v-model="aItem.AuditType" :val="4" label="系统角色" />
</div> </div>
<div style="margin:10px 0;"> <div style="margin:10px 0;">
<q-select class="col-6 q-pb" v-if="aItem.AuditType==2" clearable filled stack-label use-input <q-select class="col-6 q-pb" v-if="aItem.AuditType==2" clearable filled stack-label use-input
...@@ -174,23 +179,28 @@ ...@@ -174,23 +179,28 @@
</template> </template>
</q-select> </q-select>
<q-select class="col-6 q-pb" v-if="aItem.AuditType==3" clearable filled stack-label use-input <q-select class="col-6 q-pb" v-if="aItem.AuditType==3" clearable filled stack-label use-input
option-value="Id" option-label="Name" v-model="aItem.PostType" ref="ManagerId" :options="roleList" option-value="Id" option-label="Name" v-model="aItem.PostType" :options="roleList" label="选择角色"
label="选择角色" :dense="false" emit-value map-options @input="changeType(aItem)"> :dense="false" emit-value map-options @input="changeType(aItem)">
</q-select>
<q-select class="col-6 q-pb" v-if="aItem.AuditType==4" clearable filled stack-label use-input
option-value="PostId" option-label="PostName" v-model="aItem.PostType" :options="PostList" label="选择角色"
:dense="false" emit-value map-options @input="changeType(aItem)">
</q-select> </q-select>
</div> </div>
<q-toggle <q-toggle
v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex==0" v-if="AuthorityObj.isShowShouSun==1 &&saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex==0"
v-model="saveObj.FlowNodeList[NodeIndex].FlowAduitList[0].IsSpecNode" label="设定收损" left-label v-model="saveObj.FlowNodeList[NodeIndex].FlowAduitList[0].IsSpecNode" label="设定收损" left-label
:true-value="1" :false-value="0" :true-value="1" :false-value="0"
@input="changeSpecNode(saveObj.FlowNodeList[NodeIndex].FlowAduitList[0])" /> @input="changeSpecNode(saveObj.FlowNodeList[NodeIndex].FlowAduitList[0])" />
<div class="process_Warm" <div class="process_Warm"
v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex==0"> v-if="AuthorityObj.isShowShouSun==1&&saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex==0">
<i class="iconfont icon-jinggao"></i> <i class="iconfont icon-jinggao"></i>
只能由一个人开启,一旦开启其他关闭 只能由一个人开启,一旦开启其他关闭
</div> </div>
</div> </div>
<i class="iconfont icon-shanchu ProcessShanchu" v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex>0" <i class="iconfont icon-shanchu ProcessShanchu"
@click="DelAduitInfo(aIndex)"></i> v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex>0"
@click="DelAduitInfo(aIndex)"></i>
</div> </div>
<div class="process_LineTwo" <div class="process_LineTwo"
v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0" v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0"
...@@ -204,8 +214,7 @@ ...@@ -204,8 +214,7 @@
</div> </div>
<div class="process_InnerLineTwo"></div> <div class="process_InnerLineTwo"></div>
</div> </div>
<!-- <a v-if="saveObj.FlowNodeList[NodeIndex].FlowAduitList&&saveObj.FlowNodeList[NodeIndex].FlowAduitList.length>0 && aIndex>0"
@click="DelAduitInfo(aIndex)">删除</a> -->
</div> </div>
<div class="processAddzhai" @click="AddAduitInfo">新增审核人</div> <div class="processAddzhai" @click="AddAduitInfo">新增审核人</div>
<div class="process_Btn_List"> <div class="process_Btn_List">
...@@ -221,9 +230,14 @@ ...@@ -221,9 +230,14 @@
</template> </template>
<script> <script>
//员工列表
import { import {
queryEmployee queryEmployee
} from '../../api/users/user' } from '../../api/users/user'
//系统角色列表
import {
getPostList
} from '../../api/system/post'
import { import {
saveBackClassFlow saveBackClassFlow
} from '../../api/system/index' } from '../../api/system/index'
...@@ -237,6 +251,11 @@ ...@@ -237,6 +251,11 @@
NodeIndex: { NodeIndex: {
type: Number, type: Number,
default: 0, default: 0,
},
//显示设置
authObj: {
type: Object,
default: null
} }
}, },
components: {}, components: {},
...@@ -245,6 +264,7 @@ ...@@ -245,6 +264,7 @@
persistent: true, persistent: true,
AllemployeeList: [], //所有员工列表 AllemployeeList: [], //所有员工列表
EmployeeList: [], //员工列表 EmployeeList: [], //员工列表
PostList: [], //系统角色列表
//固定角色列表 //固定角色列表
roleList: [{ roleList: [{
Name: '班级老师', Name: '班级老师',
...@@ -268,16 +288,38 @@ ...@@ -268,16 +288,38 @@
}, { }, {
Name: '或签', Name: '或签',
Id: 3 Id: 3
}] }],
//权限显示对象
AuthorityObj: {
isShowShouSun: 0, //是否收损【默认不显示】
},
} }
}, },
created() { created() {
this.queryPostList();
this.getEmployee(); this.getEmployee();
}, },
mounted() { mounted() {
this.initAuth();
}, },
methods: { methods: {
//初始化权限信息
initAuth() {
if (this.authObj) {
if (this.authObj.isShowShouSun != null && this.authObj.isShowShouSun == 1) {
this.AuthorityObj.isShowShouSun = this.authObj.isShowShouSun;
}
}
},
queryPostList() {
getPostList({}).then(res => {
if (res.Code == 1) {
this.PostList = res.Data;
}
});
},
changeSpecNode(item) { changeSpecNode(item) {
if (item.IsSpecNode == 1) { if (item.IsSpecNode == 1) {
this.saveObj.FlowNodeList.forEach(item => { this.saveObj.FlowNodeList.forEach(item => {
...@@ -308,6 +350,14 @@ ...@@ -308,6 +350,14 @@
item.UserId = 0; item.UserId = 0;
} }
} }
//系统角色
else if (item.AuditType == 4) {
var chooseRole = this.PostList.filter(v => v.PostId == item.PostType);
if (chooseRole && chooseRole.length > 0) {
item.AduitName = chooseRole[0].PostName;
item.UserId = 0;
}
}
}, },
//新增审核人 //新增审核人
AddAduitInfo() { AddAduitInfo() {
...@@ -319,8 +369,8 @@ ...@@ -319,8 +369,8 @@
AduitName: "", AduitName: "",
IsSpecNode: 0, IsSpecNode: 0,
NodeId: 0, NodeId: 0,
PostType: 0, PostType: "",
UserId: 0, UserId: "",
}); });
}, },
//删除审核人 //删除审核人
...@@ -360,23 +410,23 @@ ...@@ -360,23 +410,23 @@
}, },
//保存退课流程 //保存退课流程
setBackClassFlow() { setBackClassFlow() {
for(let i=0;i<this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList.length;i++){ for (let i = 0; i < this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList.length; i++) {
if(this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].AuditType==2){ if (this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].AuditType == 2) {
if(!this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].UserId){ if (!this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].UserId) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
message: '请选择审批人'+(i+1)+'指定人员名称' message: '请选择审批人' + (i + 1) + '指定人员名称'
}) })
return; return;
} }
} }
if(this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].AuditType==3){ if (this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].AuditType == 3) {
if(!this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].PostType){ if (!this.saveObj.FlowNodeList[this.NodeIndex].FlowAduitList[i].PostType) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
message: '请选择审批人'+(i+1)+'角色' message: '请选择审批人' + (i + 1) + '角色'
}) })
return; return;
} }
......
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
this.OrderMsg.EduUserId = data.Id this.OrderMsg.EduUserId = data.Id
this.OrderMsg.TenantId = data.JHTenantId this.OrderMsg.TenantId = data.JHTenantId
this.OrderMsg.MallBaseId = data.JHMallBaseId this.OrderMsg.MallBaseId = data.JHMallBaseId
console.log(66, this.saveObj)
if (this.saveObj) { if (this.saveObj) {
if (this.sourceType === 1) { if (this.sourceType === 1) {
this.OrderMsg.ActivityId = this.saveObj.Id this.OrderMsg.ActivityId = this.saveObj.Id
...@@ -119,8 +118,6 @@ ...@@ -119,8 +118,6 @@
this.OrderMsg.ActivityId = this.saveObj.ActivityId this.OrderMsg.ActivityId = this.saveObj.ActivityId
this.OrderMsg.UnitPrice = this.saveObj.UnitPrice this.OrderMsg.UnitPrice = this.saveObj.UnitPrice
this.OrderMsg.EduStudentId = this.saveObj.EduStudentId this.OrderMsg.EduStudentId = this.saveObj.EduStudentId
// this.OrderMsg.EduUserId=this.saveObj.EduUserIds
} }
this.OrderMsg.LinkMan = this.saveObj.LinkMan this.OrderMsg.LinkMan = this.saveObj.LinkMan
this.OrderMsg.LinkTel = this.saveObj.LinkTel this.OrderMsg.LinkTel = this.saveObj.LinkTel
......
This diff is collapsed.
<style> <style>
.backflowMain { .eduflowMain {
width: 90%; width: 90%;
margin: auto; margin: auto;
height: auto; height: auto;
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
padding-bottom: 15px; padding-bottom: 15px;
} }
.backflowMain .backflow_Top { .eduflowMain .backflow_Top {
position: relative; position: relative;
width: 100%; width: 100%;
height: 36px; height: 36px;
line-height: 36px; line-height: 36px;
} }
.backflowMain .back_Circle { .eduflowMain .back_Circle {
width: 36px; width: 36px;
height: 36px; height: 36px;
background-color: #2961FE; background-color: #2961FE;
...@@ -29,13 +29,13 @@ ...@@ -29,13 +29,13 @@
font-size: 12px; font-size: 12px;
} }
.backflowMain .back_Name { .eduflowMain .back_Name {
color: #2D2D2D; color: #2D2D2D;
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 15px;
} }
.backflowMain .back_OrderStatus { .eduflowMain .back_OrderStatus {
padding: 1px 5px; padding: 1px 5px;
background: #FEB528; background: #FEB528;
color: #fff; color: #fff;
...@@ -44,29 +44,29 @@ ...@@ -44,29 +44,29 @@
border-radius: 3px; border-radius: 3px;
} }
.backflowMain .back_Bottom { .eduflowMain .back_Bottom {
height: auto; height: auto;
margin: 10px 0 0 10px; margin: 10px 0 0 10px;
padding-bottom: 15px; padding-bottom: 15px;
} }
.backflowMain .back_subList { .eduflowMain .back_subList {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.backflowMain .back_Time { .eduflowMain .back_Time {
color: #2D2D2D; color: #2D2D2D;
font-size: 12px; font-size: 12px;
} }
.backflowMain .back_Names { .eduflowMain .back_Names {
color: #2D2D2D; color: #2D2D2D;
font-size: 14px; font-size: 14px;
} }
.backflowMain .back_remark { .eduflowMain .back_remark {
position: relative; position: relative;
background-color: #EEEEEF; background-color: #EEEEEF;
min-height: 40px; min-height: 40px;
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
} }
.back_Bottom:last-child, .back_Bottom:last-child,
.backflowMain:last-child { .eduflowMain:last-child {
padding-bottom: 0; padding-bottom: 0;
} }
.backflowMain .triangle_border_up { .eduflowMain .triangle_border_up {
width: 0; width: 0;
height: 0; height: 0;
border-width: 0 7px 10px; border-width: 0 7px 10px;
...@@ -93,27 +93,28 @@ ...@@ -93,27 +93,28 @@
left: 15px; left: 15px;
} }
.backflowContent { .eduflowContent {
padding-bottom: 40px; padding-bottom: 40px;
height: 770px; height: 770px;
overflow: auto; overflow: auto;
margin-bottom: 40px;
} }
.backflowContent::-webkit-scrollbar { .eduflowContent::-webkit-scrollbar {
width: 3px; width: 3px;
height: 3px; height: 3px;
background-color: #F5F5F5; background-color: #F5F5F5;
} }
/*!*定义滚动条轨道 内阴影+圆角*!*/ /*!*定义滚动条轨道 内阴影+圆角*!*/
.backflowContent::-webkit-scrollbar-track { .eduflowContent::-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;
} }
/*!*定义滑块 内阴影+圆角*!*/ /*!*定义滑块 内阴影+圆角*!*/
.backflowContent::-webkit-scrollbar-thumb { .eduflowContent::-webkit-scrollbar-thumb {
border-radius: 10px; border-radius: 10px;
-webkit-box-shadow: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.5, transparent), to(transparent)); -webkit-box-shadow: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.5, transparent), to(transparent));
background-color: #0ae; background-color: #0ae;
...@@ -121,12 +122,13 @@ ...@@ -121,12 +122,13 @@
</style> </style>
<template> <template>
<div class="backflowContent"> <div class="eduflowContent">
<div class="backflowMain" v-for="(item,index) in DataList" :key="index"> <div class="eduflowMain" v-for="(item,index) in DataList" :key="index">
<div class="backflow_Top"> <div class="backflow_Top">
<div class="back_Circle">{{item.AduitStatusName}}</div> <div class="back_Circle">{{item.AduitStatusName}}</div>
<span class="back_Name">{{item.NodeName}}</span> <span class="back_Name">{{item.NodeName}}</span>
<span class="back_OrderStatus" v-if="item.AuditWayName && item.SubList&&item.SubList.length>1">{{item.AuditWayName}}</span> <span class="back_OrderStatus"
v-if="item.AuditWayName && item.SubList&&item.SubList.length>1">{{item.AuditWayName}}</span>
</div> </div>
<div class="back_Bottom" v-for="(subItem,subIndex) in item.SubList" :key="subIndex"> <div class="back_Bottom" v-for="(subItem,subIndex) in item.SubList" :key="subIndex">
<div class="back_subList"> <div class="back_subList">
...@@ -148,7 +150,7 @@ ...@@ -148,7 +150,7 @@
<script> <script>
import { import {
GetEduReceiptInfo GetEduReceiptInfo
} from '../../api/teacher/index' } from '../../api/teacher/index'
export default { export default {
props: { props: {
...@@ -177,7 +179,7 @@ ...@@ -177,7 +179,7 @@
}, },
methods: { methods: {
getStuBaclFlow() { getStuBaclFlow() {
GetEduReceiptInfo (this.qMsg).then(res => { GetEduReceiptInfo(this.qMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.DataList = res.Data this.DataList = res.Data
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div <div
style="background: rgba(2, 196, 153, 0.2);border-radius: 4px;text-align: center;padding: 2px 13px;margin-left: 30px"> style="background: rgba(2, 196, 153, 0.2);border-radius: 4px;text-align: center;padding: 2px 13px;margin-left: 30px">
<!-- <span style="color: #02C499">{{Detail.OrderStateName}}</span> --> <!-- <span style="color: #02C499">{{Detail.OrderStateName}}</span> -->
<span style="color: #02C499" v-if="saveObj.Status ===0">正常</span> <span style="color: #02C499" v-if="saveObj.Status ===0">正常</span>
<span style="color: #02C499" v-if="saveObj.Status ===1">已取消</span> <span style="color: #02C499" v-if="saveObj.Status ===1">已取消</span>
</div> </div>
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</div> </div>
<div class="col-6 row"> <div class="col-6 row">
<span class="two-left">实收:</span> <span class="two-left">实收:</span>
<div class="two-r"> <div class="two-r">
<template v-if="saveObj.Income>0 "> <template v-if="saveObj.Income>0 ">
{{getTwoWei(saveObj.Income)}} {{getTwoWei(saveObj.Income)}}
...@@ -125,24 +125,24 @@ ...@@ -125,24 +125,24 @@
<div class="col-6 row"> <div class="col-6 row">
<span class="two-left">平台税金:</span> <span class="two-left">平台税金:</span>
<div class="two-r"> <div class="two-r">
<template v-if="saveObj.PlatformTax>0"> <template v-if="saveObj.PlatformTax>0">
{{getTwoWei(saveObj.PlatformTax)}} {{getTwoWei(saveObj.PlatformTax)}}
</template> </template>
<template v-else> <template v-else>
<span class="redstyle">0</span> <span class="redstyle">0</span>
</template> </template>
</div> </div>
</div> </div>
<div class="col-6 row"> <div class="col-6 row">
<span class="two-left">结束时间:</span> <span class="two-left">结束时间:</span>
<span class="two-r">{{saveObj.EndTime}}</span> <span class="two-r">{{saveObj.EndTime}}</span>
</div> </div>
<div class="col-6 row"> <div class="col-6 row">
<span class="two-left">退款:</span> <span class="two-left">退款:</span>
<div class="two-r"> <div class="two-r">
<template v-if="saveObj.RefundPrice>0"> <template v-if="saveObj.RefundPrice>0">
{{getTwoWei(saveObj.RefundPrice)}} {{getTwoWei(saveObj.RefundPrice)}}
</template> </template>
<template v-else> <template v-else>
<span class="redstyle">0</span> <span class="redstyle">0</span>
...@@ -218,20 +218,20 @@ ...@@ -218,20 +218,20 @@
</div> </div>
</el-timeline-item> --> </el-timeline-item> -->
<el-timeline-item color="#2961FE"> <el-timeline-item color="#2961FE">
<div v-if="saveObj.Remark"> <div v-if="saveObj.Remark">
{{saveObj.Remark}} {{saveObj.Remark}}
</div> </div>
<div v-else> <div v-else>
暂无 暂无
</div> </div>
</el-timeline-item> </el-timeline-item>
<el-timeline-item color="#8175FB"> <el-timeline-item color="#8175FB">
<div v-if="saveObj.CancelRemark"> <div v-if="saveObj.CancelRemark">
{{saveObj.CancelRemark}} {{saveObj.CancelRemark}}
</div>
<div v-else>
暂无
</div> </div>
<div v-else>
暂无
</div>
</el-timeline-item> </el-timeline-item>
</el-timeline> </el-timeline>
<!-- <q-pagination class="full-width justify-end" v-model="msg2.PageIndex" color="primary" :max="pageCount2" <!-- <q-pagination class="full-width justify-end" v-model="msg2.PageIndex" color="primary" :max="pageCount2"
...@@ -575,19 +575,14 @@ ...@@ -575,19 +575,14 @@
} }
}, },
created() { created() {
console.log(507, this.saveObj)
if (this.saveObj.tab) { if (this.saveObj.tab) {
this.tab = (this.saveObj.tab).toString(); this.tab = (this.saveObj.tab).toString();
} }
this.msg.OrderId = this.saveObj.OrderId; this.msg.OrderId = this.saveObj.OrderId;
this.msg2.OrderId = this.saveObj.OrderId; this.msg2.OrderId = this.saveObj.OrderId;
this.msg3.SourceId = this.saveObj.OrderId; this.msg3.SourceId = this.saveObj.OrderId;
this.msg.ClassId = this.saveObj.ClassId; this.msg.ClassId = this.saveObj.ClassId;
this.getOrderInfo() this.getOrderInfo()
// this.getRolelist()
// this.getRemarkList()
// this.OrderLogList()
}, },
methods: { methods: {
Financial_post_GetFinancLogList: function (id) { // 获取单据日志 Financial_post_GetFinancLogList: function (id) { // 获取单据日志
...@@ -606,22 +601,11 @@ ...@@ -606,22 +601,11 @@
} }
}, null) }, null)
}, },
// getOrderInfo() {
// getClassOrderForDetail({
// OrderId: this.saveObj.Id
// }).then(res => {
// this.Detail = res.Data;
// this.getfinanciaALLPageList(1, this.Detail.ClassId, this.Detail.OrderId) //财务单据
// }).catch(() => {
// })
// },
getOrderInfo() { getOrderInfo() {
this.apipostDS("/api/Education/GetActivityBalanceSheet", { this.apipostDS("/api/Education/GetActivityBalanceSheet", {
Id: this.saveObj.ActivityId, Id: this.saveObj.ActivityId,
OrderId: this.saveObj.Id OrderId: this.saveObj.Id
}, (res) => { }, (res) => {
console.log(553, this.dataList)
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.dataList = res.data.data.FiniceReciveList; this.dataList = res.data.data.FiniceReciveList;
this.dataListp = res.data.data.FinicePayList; this.dataListp = res.data.data.FinicePayList;
......
...@@ -89,8 +89,8 @@ ...@@ -89,8 +89,8 @@
} }
this.addMsg.StartTime = this.date[0] this.addMsg.StartTime = this.date[0]
this.addMsg.EndTime = this.date[1] this.addMsg.EndTime = this.date[1]
console.log(97, this.date, this.addMsg) if (this.addMsg.StartTime == "" || this.addMsg.EndTime == "" || !this.addMsg.StartTime || !this.addMsg
if (this.addMsg.StartTime == "" || this.addMsg.EndTime == ""||!this.addMsg.StartTime||!this.addMsg.EndTime) { .EndTime) {
this.$q.notify({ this.$q.notify({
icon: "error", icon: "error",
color: "negative", color: "negative",
...@@ -99,15 +99,14 @@ ...@@ -99,15 +99,14 @@
}) })
return return
} }
setHolidayPlan(this.addMsg).then(res=>{ setHolidayPlan(this.addMsg).then(res => {
if(res.Code===1){ if (res.Code === 1) {
this.Success(res.Message) this.Success(res.Message)
this.closeVisitForm(); this.closeVisitForm();
this.$emit("success") this.$emit("success")
} }
}) })
}, },
} }
}; };
......
...@@ -195,11 +195,10 @@ ...@@ -195,11 +195,10 @@
...this.msg, ...this.msg,
...this.activeBaseData ...this.activeBaseData
} }
console.log(144, msg)
this.apipostDS("/api/Education/SetActivity", msg, (res) => { this.apipostDS("/api/Education/SetActivity", msg, (res) => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
// this.getDetail()
this.$router.push("/activity/activityList") this.$router.push("/activity/activityList")
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
......
...@@ -313,12 +313,10 @@ ...@@ -313,12 +313,10 @@
}, },
//同意 //同意
agreeApply(item) { agreeApply(item) {
console.log(305,item)
this.bdMsg.Id = item.Id; this.bdMsg.Id = item.Id;
this.bdMsg.ApplyForCancelStatus = 1; this.bdMsg.ApplyForCancelStatus = 1;
this.apipostDS("/api/Education/SetCommerceConsultApplyCancel", this.bdMsg, res => { this.apipostDS("/api/Education/SetCommerceConsultApplyCancel", this.bdMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
// location.reload();
this.Success("操作成功") this.Success("操作成功")
this.getList() this.getList()
} else { } else {
......
<style> <style>
@import "../../assets/css/advert/advmanager.css"; @import "../../assets/css/advert/advmanager.css";
</style> </style>
<template> <template>
<div class="advmanager-box page-body"> <div class="advmanager-box page-body">
<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">
<q-select @input="getaddatas(0)" standout="bg-primary text-white" v-model="adMsg.IsFee" :options="statusOpts" <q-select @input="getaddatas(0)" standout="bg-primary text-white" v-model="adMsg.IsFee" :options="statusOpts"
emit-value map-options label="类型" /> emit-value map-options label="类型" />
</div>
</div>
<q-btn label="新增" size="sm" color="accent q-px-md" style="font-weight:400 !important" @click="add" />
</div> </div>
<div class="content" > </div>
<vueWaterfallEasy :imgsArr="addatas" ref="waterfall" @scrollReachBottom="handleCurrentChange" :maxCols='7' :imgWidth='208' :enablePullDownEvent='true' v-if="addatas.length>0"> <q-btn label="新增" size="sm" color="accent q-px-md" style="font-weight:400 !important" @click="add" />
<template slot-scope="props"> </div>
<span class="money" v-if="props.value.IsFee==1">{{props.value.ChargeAmount.toFixed(2)}}</span> <div class="content">
<span class="free" v-else>{{$t('advmanager.v_free')}}</span> <vueWaterfallEasy :imgsArr="addatas" ref="waterfall" @scrollReachBottom="handleCurrentChange" :maxCols='7'
<div class="star-box"> :imgWidth='208' :enablePullDownEvent='true' v-if="addatas.length>0">
<i class="iconfont icon-star star"></i>&nbsp; {{props.value.AdvertisingCount}} <template slot-scope="props">
</div> <span class="money" v-if="props.value.IsFee==1">{{props.value.ChargeAmount.toFixed(2)}}</span>
<div class="label-box" v-if="props.value.LableList.length>0"> <span class="free" v-else>{{$t('advmanager.v_free')}}</span>
<div v-for="(item,index) in props.value.LableList" :key="index" class="ad-label" v-if="index<3"> <div class="star-box">
{{ item }} <i class="iconfont icon-star star"></i>&nbsp; {{props.value.AdvertisingCount}}
</div> </div>
</div> <div class="label-box" v-if="props.value.LableList.length>0">
<div class="zezhao"> <div v-for="(item,index) in props.value.LableList" :key="index" class="ad-label" v-if="index<3">
<i class="el-icon-edit" :title="$t('pub.updateMsg')" @click="update(props.value)"></i> {{ item }}
<i class="el-icon-delete" :title="$t('system.table_delete')" @click="delAD(props.value.ID)" ></i>
</div>
</template>
<div slot="waterfall-over">没有更多了</div>
</vueWaterfallEasy>
<div v-if="addatas.length===0" style="text-align:center">
暂无数据
</div> </div>
</div> </div>
<!-- 新增修改广告图 --> <div class="zezhao">
<AdvmanagerForm v-if="showForm" @close="closeruleset" :save-obj="model" @success="getaddatas(0)"> <i class="el-icon-edit" :title="$t('pub.updateMsg')" @click="update(props.value)"></i>
</AdvmanagerForm> <i class="el-icon-delete" :title="$t('system.table_delete')" @click="delAD(props.value.ID)"></i>
</div>
</template>
<div slot="waterfall-over">没有更多了</div>
</vueWaterfallEasy>
<div v-if="addatas.length===0" style="text-align:center">
暂无数据
</div>
</div> </div>
<!-- 新增修改广告图 -->
<AdvmanagerForm v-if="showForm" @close="closeruleset" :save-obj="model" @success="getaddatas(0)">
</AdvmanagerForm>
</div>
</template> </template>
<script> <script>
import vueWaterfallEasy from 'vue-waterfall-easy'; import vueWaterfallEasy from 'vue-waterfall-easy';
import AdvmanagerForm from "../../components/activity/advmanager-form" import AdvmanagerForm from "../../components/activity/advmanager-form"
import {getAdvertisingList,delAd} from '../../api/AD/index.js' import {
export default { getAdvertisingList,
data(){ delAd
return{ } from '../../api/AD/index.js'
addatas:[], export default {
model:{}, data() {
statusOpts:[ return {
{ addatas: [],
model: {},
statusOpts: [{
label: "全部", label: "全部",
value: 0 value: 0
}, },
...@@ -65,90 +69,90 @@ export default { ...@@ -65,90 +69,90 @@ export default {
label: "免费", label: "免费",
value: 2 value: 2
} }
], ],
showForm:false, showForm: false,
adMsg:{ adMsg: {
pageIndex:1, pageIndex: 1,
pageSize:10, pageSize: 10,
IsFee:0 IsFee: 0
}
} }
}
}, },
mounted(){ mounted() {
this.getaddatas(0) this.getaddatas(0)
}, },
components: { components: {
vueWaterfallEasy, vueWaterfallEasy,
AdvmanagerForm AdvmanagerForm
}, },
methods:{ methods: {
//关闭弹窗 //关闭弹窗
closeruleset() { closeruleset() {
this.showForm = false; this.showForm = false;
}, },
// 新增 // 新增
add(){ add() {
this.showForm=true this.showForm = true
this.model={ this.model = {
ID:0, ID: 0,
IsFee:2, IsFee: 2,
ChargeAmount:0, ChargeAmount: 0,
PictureUrl:"", PictureUrl: "",
SamplePicturesUrl:"", SamplePicturesUrl: "",
Title:"", Title: "",
LableList:[] LableList: []
} }
}, },
update(x){ update(x) {
console.log(x) this.showForm = true
this.showForm=true this.model = x
this.model=x },
},
handleCurrentChange() {
handleCurrentChange() { this.adMsg.pageIndex++
this.adMsg.pageIndex++ this.getaddatas(1)
this.getaddatas(1) },
}, //获取广告图列表
//获取广告图列表 getaddatas(type) {
getaddatas(type){ if (type === 0) {
if(type===0){ this.adMsg.pageIndex = 1
this.adMsg.pageIndex=1
}
getAdvertisingList(this.adMsg).then(res=>{
if(res.Code===1){
console.log(397,res)
res.Data.PageData.forEach(x=>{
x.src=`${x.SamplePicturesUrl}?x-oss-process=image/resize,w_200`
x.id=x.ID
})
if(type==0){
this.addatas=res.Data.PageData
}else{
this.addatas=this.addatas.concat(res.Data.PageData)
}
this.total=res.Data.Count
if (res.Data.PageData.length == 0) {
this.$refs.waterfall.waterfallOver()
}
}
})
},
//删除广告图
delAD(id){
delAd({BAID:id}).then(res=>{
if(res.Code===1){
this.$message.success('删除成功')
this.getaddatas(0)
}else{
this.$message.error(res.message)
}
})
} }
getAdvertisingList(this.adMsg).then(res => {
if (res.Code === 1) {
res.Data.PageData.forEach(x => {
x.src = `${x.SamplePicturesUrl}?x-oss-process=image/resize,w_200`
x.id = x.ID
})
if (type == 0) {
this.addatas = res.Data.PageData
} else {
this.addatas = this.addatas.concat(res.Data.PageData)
}
this.total = res.Data.Count
if (res.Data.PageData.length == 0) {
this.$refs.waterfall.waterfallOver()
}
}
})
},
//删除广告图
delAD(id) {
delAd({
BAID: id
}).then(res => {
if (res.Code === 1) {
this.$message.success('删除成功')
this.getaddatas(0)
} else {
this.$message.error(res.message)
}
})
}
} }
} }
</script>
</script>
...@@ -653,7 +653,7 @@ ...@@ -653,7 +653,7 @@
new browserMD5File(blob, function (err, md5) { new browserMD5File(blob, function (err, md5) {
msg.SecretKey = md5; msg.SecretKey = md5;
saveMakeAd(msg).then(res => { saveMakeAd(msg).then(res => {
console.log(651, res)
}) })
}) })
} }
...@@ -844,16 +844,6 @@ ...@@ -844,16 +844,6 @@
}); });
}, },
uploadImage(name, file) { uploadImage(name, file) {
// let newArr = [];
// newArr.push(file);
// var path = `/Adv/user/${this.user.EmployeeId}/${name}`;
// this.uploadSelfBlob(path, newArr, x => {
// console.log(848,x)
// });
// UploadViittoBlobFile ("ad",file,(res)=>{
// console.log(864,res);
// })
}, },
operation(type) { operation(type) {
...@@ -1317,7 +1307,6 @@ ...@@ -1317,7 +1307,6 @@
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
if (res.data.data) { if (res.data.data) {
console.log(this.domainManager().mallUrl,res.data.data)
let getBlob = this.getAnyFileBlob(this.domainManager().mallUrl + res.data.data) let getBlob = this.getAnyFileBlob(this.domainManager().mallUrl + res.data.data)
let that = this let that = this
getBlob.then(blob => { getBlob.then(blob => {
......
...@@ -527,7 +527,6 @@ ...@@ -527,7 +527,6 @@
}); });
}, },
UploadImage(file) { UploadImage(file) {
console.log(530,file)
this.UploadFileToTencent(this.FileType().GoodsImg, file.file, res => { this.UploadFileToTencent(this.FileType().GoodsImg, file.file, res => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.Success('上传成功') this.Success('上传成功')
...@@ -540,27 +539,11 @@ ...@@ -540,27 +539,11 @@
} }
}) })
}, },
//上传视频
// UploadVideo(file) {
// var that = this;
// UploadViittoFile('Edu/Video', file.file, res => {
// console.log("res",res);
// if (res.Code == 1) {
// this.Success('上传成功')
// that.addpageMsg.Image = res.VideoCoverImg;
// that.addpageMsg.Path = res.FileUrl;
// that.addpageMsg.Name = res.FileName;
// that.addPageList();
// that.$forceUpdate();
// }
// })
// },
UploadVideo(file) { UploadVideo(file) {
var that = this; var that = this;
this.UploadFileToTencent(this.FileType().Video, file.file, res => { this.UploadFileToTencent(this.FileType().Video, file.file, res => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.Success('上传成功') this.Success('上传成功')
console.log(561,res)
if (this.addpageMsg.Type == 2) { if (this.addpageMsg.Type == 2) {
this.addpageMsg.Image = ""; this.addpageMsg.Image = "";
} }
...@@ -731,13 +714,10 @@ ...@@ -731,13 +714,10 @@
//截取视频第一帧 //截取视频第一帧
captureImage(video) { captureImage(video) {
let canvas = document.createElement('canvas') let canvas = document.createElement('canvas')
// canvas.width = video.videoWidth
// canvas.height = video.videoHeight
canvas.width = '140px' canvas.width = '140px'
canvas.height = '140px' canvas.height = '140px'
let ctx=canvas.getContext('2d') let ctx=canvas.getContext('2d')
console.log(816,ctx) ctx.drawImage(video, 0, 0, canvas.width, canvas.height)
ctx.drawImage(video, 0, 0, canvas.width, canvas.height)
return canvas.toDataURL('image/png') return canvas.toDataURL('image/png')
} }
}, },
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
watch: { watch: {
dataList: { dataList: {
handler(val) { handler(val) {
console.log(78, val)
} }
} }
} }
......
...@@ -211,8 +211,6 @@ ...@@ -211,8 +211,6 @@
}).then(r => { }).then(r => {
this.updateNo = true; this.updateNo = true;
this.getchaperTree(); this.getchaperTree();
//this.$refs.chapterTree.remove(data.ChapterId);
this.$q.notify({ this.$q.notify({
icon: "iconfont icon-chenggong", icon: "iconfont icon-chenggong",
color: "accent", color: "accent",
...@@ -223,7 +221,7 @@ ...@@ -223,7 +221,7 @@
}); });
}) })
.onCancel(() => { .onCancel(() => {
// console.log('>>>> Cancel')
}); });
}, },
batchUpdate() { batchUpdate() {
...@@ -248,14 +246,12 @@ ...@@ -248,14 +246,12 @@
return list; return list;
}, },
rowsClick(row, column, event) { rowsClick(row, column, event) {
//console.log(row,event)
this.$refs.chapterTab.toggleRowExpansion(row); this.$refs.chapterTab.toggleRowExpansion(row);
}, },
//新增修改章节 //新增修改章节
EditChapter(obj) { EditChapter(obj) {
// this.$router.push({
// path: '/chapter-editor?courseId='+this.CourseId
// });
if (!obj) { if (!obj) {
openURL( openURL(
window.location.origin + window.location.origin +
...@@ -281,7 +277,7 @@ ...@@ -281,7 +277,7 @@
res.Data.forEach(x => { res.Data.forEach(x => {
this.expandKeys.push(x.ChapterId); this.expandKeys.push(x.ChapterId);
}); });
console.log(this.expandKeys);
this.dataList = res.Data; this.dataList = res.Data;
if (this.updateNo) { if (this.updateNo) {
......
...@@ -218,7 +218,6 @@ ...@@ -218,7 +218,6 @@
}) })
}, },
changeNode(data, node, ev) { changeNode(data, node, ev) {
console.log(data,'data');
if (this.chapter && this.chapter.ChapterId > 0) { if (this.chapter && this.chapter.ChapterId > 0) {
if (this.defauRateObj.Id != 0) { if (this.defauRateObj.Id != 0) {
this.chapter.CourseRate = this.defauRateObj.Id this.chapter.CourseRate = this.defauRateObj.Id
...@@ -314,7 +313,7 @@ ...@@ -314,7 +313,7 @@
}) })
}) })
}).onCancel(() => { }).onCancel(() => {
// console.log('>>>> Cancel')
}) })
}, },
...@@ -367,7 +366,7 @@ ...@@ -367,7 +366,7 @@
moveUp() { moveUp() {
let data = this.$refs.chapterTree.getCurrentNode() let data = this.$refs.chapterTree.getCurrentNode()
let node = this.$refs.chapterTree.getNode(data.ChapterId) let node = this.$refs.chapterTree.getNode(data.ChapterId)
console.log(data)
if (node) { if (node) {
let noTemp = data.ChapterNo.toString().split('.') let noTemp = data.ChapterNo.toString().split('.')
let no = parseInt(noTemp[noTemp.length - 1]) - 1 let no = parseInt(noTemp[noTemp.length - 1]) - 1
...@@ -389,7 +388,7 @@ ...@@ -389,7 +388,7 @@
moveDown() { moveDown() {
let data = this.$refs.chapterTree.getCurrentNode() let data = this.$refs.chapterTree.getCurrentNode()
let node = this.$refs.chapterTree.getNode(data.ChapterId) let node = this.$refs.chapterTree.getNode(data.ChapterId)
console.log(data)
if (node) { if (node) {
let noTemp = data.ChapterNo.toString().split('.') let noTemp = data.ChapterNo.toString().split('.')
let no = parseInt(noTemp[noTemp.length - 1]) - 1 let no = parseInt(noTemp[noTemp.length - 1]) - 1
...@@ -468,19 +467,18 @@ ...@@ -468,19 +467,18 @@
} }
}, },
handleDragStart(node, ev) { handleDragStart(node, ev) {
console.log('drag start', node);
}, },
handleDragEnter(draggingNode, dropNode, ev) { handleDragEnter(draggingNode, dropNode, ev) {
console.log('tree drag enter: ', dropNode.label);
}, },
handleDragLeave(draggingNode, dropNode, ev) { handleDragLeave(draggingNode, dropNode, ev) {
console.log('tree drag leave: ', dropNode.label);
}, },
handleDragOver(draggingNode, dropNode, ev) { handleDragOver(draggingNode, dropNode, ev) {
console.log('tree drag over: ', dropNode.label);
}, },
handleDragEnd(draggingNode, dropNode, dropType, ev) { handleDragEnd(draggingNode, dropNode, dropType, ev) {
console.log(draggingNode, dropNode, dropType)
this.updateChapters = [] this.updateChapters = []
if (dropType == 'inner') { if (dropType == 'inner') {
draggingNode.data.ParentId = dropNode.data.ChapterId draggingNode.data.ParentId = dropNode.data.ChapterId
...@@ -494,11 +492,7 @@ ...@@ -494,11 +492,7 @@
}, },
handleDrop(draggingNode, dropNode, dropType, ev) {}, handleDrop(draggingNode, dropNode, dropType, ev) {},
allowDrop(draggingNode, dropNode, type) { allowDrop(draggingNode, dropNode, type) {
// if (dropNode.data.ChapterName === '二级 3-1') {
// return type !== 'inner';
// } else {
return true; return true;
//}
}, },
allowDrag(draggingNode) { allowDrag(draggingNode) {
return true; return true;
...@@ -508,7 +502,6 @@ ...@@ -508,7 +502,6 @@
queryChapterTree({ queryChapterTree({
CourseId: this.courseId CourseId: this.courseId
}).then(r => { }).then(r => {
console.log(r);
this.dataList = r.Data this.dataList = r.Data
this.canOptions = false this.canOptions = false
if (this.defaultChapterId != 0) { if (this.defaultChapterId != 0) {
...@@ -587,7 +580,7 @@ ...@@ -587,7 +580,7 @@
}, },
batchUpdate() { batchUpdate() {
batchUpdateChapterNo(this.updateChapters).then(r => { batchUpdateChapterNo(this.updateChapters).then(r => {
console.log(x)
}) })
}, },
//点击导入 //点击导入
......
...@@ -581,7 +581,6 @@ ...@@ -581,7 +581,6 @@
}, },
generalFinancacls(item){ generalFinancacls(item){
this.CheckID = item.Id this.CheckID = item.Id
console.log(item)
if(item.Money>0){ if(item.Money>0){
this.getcomSendEmployeeList() this.getcomSendEmployeeList()
}else{ }else{
......
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
<q-input @change="getClassList" clearable standout="bg-primary text-white" v-model="msg.ClassName" <q-input @change="getClassList" clearable standout="bg-primary text-white" v-model="msg.ClassName"
label="班级名称" @clear="getClassList" maxlength="20" /> label="班级名称" @clear="getClassList" maxlength="20" />
</div> </div>
<div class="col-3">
<q-input @change="getClassList" clearable standout="bg-primary text-white" v-model="msg.ClassNo"
label="班号" @clear="getClassList" maxlength="20" />
</div>
<div class="col-3"> <div class="col-3">
<q-select @input="getClassList" standout="bg-primary text-white" option-value="Id" option-label="Name" <q-select @input="getClassList" standout="bg-primary text-white" option-value="Id" option-label="Name"
v-model="msg.ClassStatus" :options="classStatusList" emit-value map-options label="班级状态" /> v-model="msg.ClassStatus" :options="classStatusList" emit-value map-options label="班级状态" />
...@@ -327,6 +331,7 @@ ...@@ -327,6 +331,7 @@
TeacherName: '', //带班老师 TeacherName: '', //带班老师
CourseName: '', //学习课程 CourseName: '', //学习课程
School_Id: -1, //关联校区 School_Id: -1, //关联校区
ClassNo:'',//班号
}, },
//班级状态 //班级状态
classStatusList: [], classStatusList: [],
......
...@@ -380,17 +380,14 @@ export default { ...@@ -380,17 +380,14 @@ export default {
methods: { methods: {
getList() { getList() {
GetClassLessPlan(this.msg).then(res => { GetClassLessPlan(this.msg).then(res => {
console.log(res.Data)
if (res.Code == 1) { if (res.Code == 1) {
let data = res.Data; let data = res.Data;
if (data.Chapter && data.Chapter.length>0) { if (data.Chapter && data.Chapter.length>0) {
if(!data.Chapter[0].ChildList || data.Chapter[0].ChildList.length==0){ if(!data.Chapter[0].ChildList || data.Chapter[0].ChildList.length==0){
console.log(data.Chapter[0].ChildList.length)
data.Chapter[0].ChildList=[] data.Chapter[0].ChildList=[]
data.Chapter[0].ChildList.push(data.Chapter[0]) data.Chapter[0].ChildList.push(data.Chapter[0])
} }
this.chapters = data.Chapter this.chapters = data.Chapter
} }
this.courseName=data.CourseName this.courseName=data.CourseName
// this.addMsg.CourseNum = data.CourseNum; // this.addMsg.CourseNum = data.CourseNum;
......
...@@ -578,7 +578,7 @@ ...@@ -578,7 +578,7 @@
let data=res.Data; let data=res.Data;
if (data.Chapter && data.Chapter.length>0) { if (data.Chapter && data.Chapter.length>0) {
if(!data.Chapter[0].ChildList || data.Chapter[0].ChildList.length==0){ if(!data.Chapter[0].ChildList || data.Chapter[0].ChildList.length==0){
console.log(data.Chapter[0].ChildList.length)
data.Chapter[0].ChildList=[] data.Chapter[0].ChildList=[]
data.Chapter[0].ChildList.push(data.Chapter[0]) data.Chapter[0].ChildList.push(data.Chapter[0])
} }
......
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div><span style="cursor: pointer;text-decoration: underline;" @click="goUrlclass('/course/classManage',scope.row.ClassName)">{{scope.row.ClassName}}</span> {{scope.row.ClassTypeName}}<span style="color: #409EFF;" v-if='scope.row.IsContinueClass==1'>(续)</span></div> <div><span style="cursor: pointer;text-decoration: underline;" @click="goUrlclass('/course/classManage',scope.row.ClassName)">{{scope.row.ClassName}}</span> {{scope.row.ClassTypeName}}<span style="color: #409EFF;" v-if='scope.row.IsContinueClass==1'>(续)</span></div>
<div>学生数量:{{scope.row.StudentCount}}</div> <div>学生数量:{{scope.row.StudentCount}}</div>
<div>班号:{{scope.row.ClassNo}}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="OrderId" label="订单号" > <el-table-column prop="OrderId" label="订单号" >
......
...@@ -630,7 +630,6 @@ ...@@ -630,7 +630,6 @@
}, },
goUrl(path,Names){ goUrl(path,Names){
let Name = encodeURI(Names) let Name = encodeURI(Names)
console.log(Name)
this.OpenNewUrl(path, { this.OpenNewUrl(path, {
Name: Name, Name: Name,
}); });
......
This diff is collapsed.
This diff is collapsed.
...@@ -337,7 +337,6 @@ ...@@ -337,7 +337,6 @@
d1.setMonth(d1.getMonth()+1); d1.setMonth(d1.getMonth()+1);
var month = d1.getMonth()+1; var month = d1.getMonth()+1;
EndTime = d1.getFullYear()+'-'+month EndTime = d1.getFullYear()+'-'+month
console.log(EndTime)
} }
this.OpenNewUrl('/sale/orderStatistics' , { this.OpenNewUrl('/sale/orderStatistics' , {
EnterID:row.EnterID, EnterID:row.EnterID,
......
...@@ -224,10 +224,8 @@ ...@@ -224,10 +224,8 @@
if(this.$route.query && this.$route.query.ClassName){ if(this.$route.query && this.$route.query.ClassName){
let Name = decodeURI(this.$route.query.ClassName) let Name = decodeURI(this.$route.query.ClassName)
this.ClassName = [Name] this.ClassName = [Name]
console.log(Name)
this.msg.pageSize = 1000 this.msg.pageSize = 1000
} }
}, },
mounted() { mounted() {
this.getList();//获取提成周期列表 this.getList();//获取提成周期列表
......
...@@ -265,17 +265,7 @@ ...@@ -265,17 +265,7 @@
this.apipostDS("/api/Education/GetConsultOrderStatisticsPage", msg, (res) => { this.apipostDS("/api/Education/GetConsultOrderStatisticsPage", msg, (res) => {
this.loading = false this.loading = false
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.data = res.data.data.pageData; this.data = res.data.data.pageData;
console.log(319, this.data)
// let OrderIds = []
// this.data.forEach(x => {
// OrderIds.push(x.Id)
// })
// OrderIds = OrderIds.join(',')
// if (this.data.length > 0) {
// this.$refs.orderL.getOrderFinanceList(OrderIds, 1)
// }
this.pageCount = res.data.data.pageCount; this.pageCount = res.data.data.pageCount;
} }
}) })
......
...@@ -204,7 +204,6 @@ ...@@ -204,7 +204,6 @@
} }
}).onOk(() => { }).onOk(() => {
delHolidayPlan({HolidayId:item.HolidayId}).then(res=>{ delHolidayPlan({HolidayId:item.HolidayId}).then(res=>{
console.log(res)
if(res.Code===1){ if(res.Code===1){
this.$message.success("操作成功") this.$message.success("操作成功")
that.resetSearch() that.resetSearch()
......
This diff is collapsed.
...@@ -189,7 +189,6 @@ ...@@ -189,7 +189,6 @@
billObj: {}, //单据信息 billObj: {}, //单据信息
showType: 1, //1-查看,2-审核 showType: 1, //1-查看,2-审核
OrderTypeList: [], OrderTypeList: [],
} }
}, },
created() { created() {
......
...@@ -330,7 +330,6 @@ ...@@ -330,7 +330,6 @@
this.loading = true; this.loading = true;
GetStuPageList(this.msg).then(res => { GetStuPageList(this.msg).then(res => {
this.loading = false this.loading = false
console.log(439, res)
if (res.Code === 1) { if (res.Code === 1) {
this.data = res.Data.PageData this.data = res.Data.PageData
this.pageCount = res.Data.PageCount this.pageCount = res.Data.PageCount
......
...@@ -224,7 +224,6 @@ ...@@ -224,7 +224,6 @@
if(this.$route.query && this.$route.query.ClassName){ if(this.$route.query && this.$route.query.ClassName){
let Name = decodeURI(this.$route.query.ClassName) let Name = decodeURI(this.$route.query.ClassName)
this.ClassName = [Name] this.ClassName = [Name]
console.log(Name)
this.msg.pageSize = 1000 this.msg.pageSize = 1000
} }
let data=JSON.parse( localStorage.getItem("loginUserInfo")) let data=JSON.parse( localStorage.getItem("loginUserInfo"))
......
...@@ -228,7 +228,6 @@ ...@@ -228,7 +228,6 @@
this.isShowBillForm = true; this.isShowBillForm = true;
this.showType = type; this.showType = type;
this.billObj = item; this.billObj = item;
}, },
//重新查询 //重新查询
resetSearch() { resetSearch() {
......
This diff is collapsed.
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