Commit 91b44fe0 authored by 黄奎's avatar 黄奎
parents c6dc5772 faac62e6
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
<style> <style>
@import url('~assets/css/font.css'); @import url('~assets/css/font.css');
@import url('//at.alicdn.com/t/font_2077629_byb6agikplo.css'); @import url('//at.alicdn.com/t/font_2077629_1f7iels6h8w.css');
html, html,
body, body,
......
...@@ -111,3 +111,16 @@ export function getEmployeeAddrBook(data) ...@@ -111,3 +111,16 @@ export function getEmployeeAddrBook(data)
data data
}) })
} }
/**
* 获取个人中心信息
*/
export function getUserCenterInfo(data)
{
return request({
url: '/UserInfo/GetUserCenterInfo',
method: 'post',
data
})
}
This diff is collapsed.
...@@ -28,13 +28,28 @@ ...@@ -28,13 +28,28 @@
<q-select filled stack-label option-value="Id" option-label="Name" v-model="chooseSpecialty" ref="SpecialtyList" <q-select filled stack-label option-value="Id" option-label="Name" v-model="chooseSpecialty" ref="SpecialtyList"
:options="SpecialtyList" label="老师特长" :dense="false" class="col-6 q-pr-lg q-pb-lg" emit-value map-options :options="SpecialtyList" label="老师特长" :dense="false" class="col-6 q-pr-lg q-pb-lg" emit-value map-options
@input="schoolChagne" multiple clearable /> @input="schoolChagne" multiple clearable />
<q-select filled stack-label option-value="Id" option-label="Name" v-model="objOption.BaseHoursEnabled"
ref="BaseHoursEnabled" :options="BaseHoursList" label="是否启用基础课时" :dense="false" class="col-6 q-pb-lg" emit-value map-options />
<q-input v-if='objOption.BaseHoursEnabled==1' filled v-model="objOption.EnableTime" mask="####-##" label="启用时间" ref="EnableTime"
:rules="[val => !!val || '请选择启用时间']">
<template v-slot:append>
<q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qDateProxy" transition-show="scale" transition-hide="scale">
<div class="q-gutter-md row items-start">
<q-date v-model="objOption.EnableTime" mask="YYYY-MM"></q-date>
</div>
<q-btn v-close-popup label="关闭" color="primary" flat style="float:right" />
</q-popup-proxy>
</q-icon>
</template>
</q-input>
</div> </div>
<div class="row wrap" style="margin-top:20px;"> <div class="row wrap" style="margin-top:20px;">
<div class="col-6 q-pr-lg q-pb-lg"> <div class="col-6 q-pr-lg q-pb-lg">
<q-uploader style="display: inline-block;height: 320px;max-width: 100%; background-repeat:no-repeat" <q-uploader style="display: inline-block;height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.TeacherHead + ')'}" max-files="1" hide-upload-btn :style="{'background-image':'url(' + objOption.TeacherHead + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="教师头像" :max-file-size="5*1024*1024" accept=".jpg, image/*" auto-upload @rejected="onRejected" label="教师头像" :max-file-size="5*1024*1024" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails @added="getType(1)"> :factory="uploadFile" no-thumbnails @added="getType(1)">
</q-uploader> </q-uploader>
</div> </div>
...@@ -145,7 +160,10 @@ ...@@ -145,7 +160,10 @@
BaseStuNum: 0, //带班基础人数 BaseStuNum: 0, //带班基础人数
BaseHourFee: 0, //基础课时费 BaseHourFee: 0, //基础课时费
Specialty: "", //老师擅长 Specialty: "", //老师擅长
BaseHoursEnabled:1,//是否启用基础课时 1是
EnableTime :'',//启用时间 (存到月)
}, },
BaseHoursList:[{Id:0,Name:'关闭'},{Id:1,Name:'开启'}],
chooseSpecialty: [], chooseSpecialty: [],
optionTitle: "", optionTitle: "",
schoolList: [], schoolList: [],
...@@ -344,6 +362,9 @@ ...@@ -344,6 +362,9 @@
// } else if (this.objOption.TeacherHead == '') { // } else if (this.objOption.TeacherHead == '') {
// err_msg = "请上传用户头像" // err_msg = "请上传用户头像"
// } // }
if(this.objOption.BaseHoursEnabled==1 && this.objOption.EnableTime==''){
err_msg = "请选择日期"
}
if (err_msg == "") { if (err_msg == "") {
this.objOption.TeachTag = JSON.stringify(this.tags) this.objOption.TeachTag = JSON.stringify(this.tags)
saveTeacher(this.objOption).then(res => { saveTeacher(this.objOption).then(res => {
......
This diff is collapsed.
<style scoped> <style scoped>
.header-box{ .header-box {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-bottom: 40px; margin-bottom: 40px;
} }
.p_title { .p_title {
color: #000000; color: #000000;
font-size: 20px; font-size: 20px;
/* height: 30px !important; */ /* height: 30px !important; */
display: flex; display: flex;
align-items: center; align-items: center;
} }
.activeDetail{
.activeDetail {
overflow-y: scroll; overflow-y: scroll;
} }
.conbox{
height: calc(100vh - 220px);
overflow-y: scroll;
}
.conbox::-webkit-scrollbar {
/*滚动条整体样式*/
width : 5px; /*宽度竖滚动条的尺寸*/
height: 10px; /*高度横滚动条的尺寸*/
}
.conbox::-webkit-scrollbar-thumb {
/*滚动条里面的条*/
border-radius: 10px;
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
background : #eee;
}
.conbox::-webkit-scrollbar-track {
/*滚动条里面轨道*/
border-radius: 5px;
background : #ffffff;
}
.listTitle{
font-size: 18px
}
</style> </style>
<template> <template>
<div class="page-body activeDetail"> <div class="page-body activeDetail">
<div class="header-box"> <div class="header-box">
<div class="flex"> <div class="flex">
<q-btn color="accent" size="sm" class="q-mr-md" label="返回" @click="goBack" /> <q-btn color="accent" size="sm" class="q-mr-md" label="返回" @click="goBack" />
<span class="p_title">活动详情</span> <span class="p_title">活动详情</span>
</div> </div>
<div> <div>
<q-btn color="accent" size="sm" class="q-mr-md" label="新增活动" @click="addActiveList" /> <q-btn color="accent" size="sm" class="q-mr-sm" label="新增活动" @click="addActiveList" />
<q-btn color="accent" size="sm" label="保存" @click="save" /> <q-btn color="accent" size="sm" label="保存" @click="save" />
</div> </div>
</div> </div>
<div class="">
<div v-for="(item,index) in ActivityTitle" :key="item.id" class="flex " >
<DetailItem :itemData="item" :index="index+1" @success="getItemData($event,index)" ref="child"/>
<el-tooltip class="item" effect="dark" content="删除当前活动" placement="top" v-if="index>0"> <div class="conbox">
<i class="iconfont icon-img_delete_small q-ml-sm" style="color: #2961FE" @click="delActiveList(index)"></i> <ActiveForm :save-obj="activedata" :activeTypeOptions="activityTypeList" ref="childForm"
</el-tooltip> @success="getactivedata" />
<div class="">
<div class="q-mt-lg q-mb-lg listTitle">
活动列表
</div>
<div v-for="(item,index) in ActivityTitle" :key="item.id" class="flex ">
<DetailItem :itemData="item" :index="index+1" @success="getItemData($event,index)" ref="child" />
<el-tooltip class="item" effect="dark" content="删除当前活动" placement="top" v-if="index>0">
<i class="iconfont icon-img_delete_small q-ml-sm" style="color: #2961FE" @click="delActiveList(index)"></i>
</el-tooltip>
</div>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import DetailItem from "../../components/activity/activeDetail-item" import DetailItem from "../../components/activity/activeDetail-item"
import ActiveForm from '../../components/activity/active-from'
export default { export default {
meta: { meta: {
title: "活动详情" title: "活动详情"
}, },
components: { components: {
DetailItem DetailItem,
ActiveForm
}, },
data() { data() {
return { return {
msg:{ msg: {
Id:0, Id: 0,
ActivityTitle:[] ActivityTitle: []
}, },
ActivityTitle:[ activeBaseData: {
{
Title:"",//活动大标题 },
TripSort:0,//活动排序 ActivityTitle: [{
ActivityPlanList:[//活动安排 Title: "", //活动大标题
{ TripSort: 0, //活动排序
TripSort:0,//排序 ActivityPlanList: [ //活动安排
StartTime:"",//开始时间 {
ActivityDuration:"",//活动时长(单位:分钟) TripSort: 0, //排序
LonLat:"",//活动地址经纬度 StartTime: "", //开始时间
LocationName:"",//活动地址 ActivityDuration: "", //活动时长(单位:分钟)
TripTitle:"",//安排标题 LonLat: "", //活动地址经纬度
TripContent:"",//内容 LocationName: "", //活动地址
TripPicList:[]//图片 TripTitle: "", //安排标题
} TripContent: "", //内容
] TripPicList: [] //图片
} }
], ]
item:{ }],
activedata: {
}
},
activityTypeList: [],
} }
}, },
mounted(){ mounted() {
if(this.$route.query.Id){ this.getActiveTypeList();
this.msg.Id=this.$route.query.Id if (this.$route.query.Id) {
this.getDetail() this.msg.Id = this.$route.query.Id
} this.getDetail()
}, }
},
methods: { methods: {
goBack(){ goBack() {
this.$router.go(-1) this.$router.go(-1)
}, },
addActiveList(){ addActiveList() {
let obj={ let obj = {
Title:"",//活动大标题 Title: "", //活动大标题
TripSort:this.ActivityTitle.length,//活动排序 TripSort: this.ActivityTitle.length, //活动排序
ActivityPlanList:[//活动安排 ActivityPlanList: [ //活动安排
{ {
TripSort:0,//排序 TripSort: 0, //排序
StartTime:"",//开始时间 StartTime: "", //开始时间
ActivityDuration:"",//活动时长(单位:分钟) ActivityDuration: "", //活动时长(单位:分钟)
LonLat:"",//活动地址经纬度 LonLat: "", //活动地址经纬度
LocationName:"",//活动地址 LocationName: "", //活动地址
TripTitle:"",//安排标题 TripTitle: "", //安排标题
TripContent:"",//内容 TripContent: "", //内容
TripPicList:[]//图片 TripPicList: [] //图片
} }
] ]
} }
this.ActivityTitle.push(obj) this.ActivityTitle.push(obj)
}, },
delActiveList(index){ delActiveList(index) {
this.ActivityTitle.splice(index,1) this.ActivityTitle.splice(index, 1)
}, },
getItemData(val,index){ //活动详情列表数据
this.msg.ActivityTitle[index]=val getItemData(val, index) {
this.msg.ActivityTitle[index] = val
}, },
//保存信息 //保存信息
save() { save() {
this.msg.ActivityTitle=this.ActivityTitle this.msg.ActivityTitle = this.ActivityTitle
this.$refs.child.map(x=>{ this.$refs.child.map(x => {
x.ruleVerification(); x.ruleVerification();
}) })
let res= this.$refs.child.every(x=>{ let res = this.$refs.child.every(x => {
return x.ruleVerification(); return x.ruleVerification();
}) })
if(res){ let res2 = this.$refs.childForm.saveRule()
this.apipostDS("/api/Education/GetSetActivityPlan", this.msg, (res) => { if (res && res2) {
let msg = {
...this.msg,
...this.activeBaseData
}
console.log(144, msg)
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()
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}) })
} }
},
getDetail() {
this.apipostDS("/api/Education/GetActivity", {
Id: this.msg.Id
}, (res) => {
if (res.data.resultCode === 1) {
this.ActivityTitle = res.data.data.ActivityTitleList
this.activedata = res.data.data
}
})
}, },
  getDetail(){ //获取活动类型下拉
        this.apipostDS("/api/Education/GetActivity", {Id:this.msg.Id}, (res) => { getActiveTypeList() {
            if (res.data.resultCode === 1) { this.apipostDS("/api/Education/GetCommerceActivityTypeList", {}, (res) => {
              this.ActivityTitle=res.data.data.ActivityTitleList if (res.data.resultCode === 1) {
            }  this.activityTypeList = res.data.data;
          }) this.activityTypeList.unshift({
      } Id: -1,
TypeName: "不限"
})
}
})
},
//活动基础数据
getactivedata(val) {
this.activeBaseData = val
}
} }
} }
......
This diff is collapsed.
<style scoped>
.header-box {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40px;
}
.p_title {
color: #000000;
font-size: 20px;
/* height: 30px !important; */
display: flex;
align-items: center;
}
.activeDetail {
overflow-y: scroll;
}
.conbox{
height: calc(100vh - 220px);
overflow-y: scroll;
}
.conbox::-webkit-scrollbar {
/*滚动条整体样式*/
width : 5px; /*宽度竖滚动条的尺寸*/
height: 10px; /*高度横滚动条的尺寸*/
}
.conbox::-webkit-scrollbar-thumb {
/*滚动条里面的条*/
border-radius: 10px;
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
background : #eee;
}
.conbox::-webkit-scrollbar-track {
/*滚动条里面轨道*/
border-radius: 5px;
background : #ffffff;
}
.listTitle{
font-size: 18px
}
</style>
<template>
<div class="page-body activeDetail">
<div class="header-box">
<div class="flex">
<q-btn color="accent" size="sm" class="q-mr-md" label="返回" @click="goBack" />
<span class="p_title">复制活动</span>
</div>
<div>
<q-btn color="accent" size="sm" class="q-mr-sm" label="新增活动" @click="addActiveList" />
<q-btn color="accent" size="sm" label="保存" @click="save" />
</div>
</div>
<div class="conbox">
<ActiveForm :save-obj="activedata" :activeTypeOptions="activityTypeList" ref="childForm"
@success="getactivedata" />
<div class="">
<div class="q-mt-lg q-mb-lg listTitle">
活动列表
</div>
<div v-for="(item,index) in ActivityTitle" :key="item.id" class="flex ">
<DetailItem :itemData="item" :index="index+1" @success="getItemData($event,index)" ref="child" />
<el-tooltip class="item" effect="dark" content="删除当前活动" placement="top" v-if="index>0">
<i class="iconfont icon-img_delete_small q-ml-sm" style="color: #2961FE" @click="delActiveList(index)"></i>
</el-tooltip>
</div>
</div>
</div>
</div>
</template>
<script>
import DetailItem from "../../components/activity/activeDetail-item"
import ActiveForm from '../../components/activity/active-from'
export default {
meta: {
title: "活动详情"
},
components: {
DetailItem,
ActiveForm
},
data() {
return {
msg: {
Id: 0,
ActivityTitle: []
},
activeBaseData: {
},
ActivityTitle: [{
Title: "", //活动大标题
TripSort: 0, //活动排序
ActivityPlanList: [ //活动安排
{
TripSort: 0, //排序
StartTime: "", //开始时间
ActivityDuration: "", //活动时长(单位:分钟)
LonLat: "", //活动地址经纬度
LocationName: "", //活动地址
TripTitle: "", //安排标题
TripContent: "", //内容
TripPicList: [] //图片
}
]
}],
activedata: {
},
activityTypeList: [],
}
},
mounted() {
this.getActiveTypeList();
if (this.$route.query.Id) {
this.msg.Id = this.$route.query.Id
this.getDetail()
}
},
methods: {
goBack() {
this.$router.go(-1)
},
addActiveList() {
let obj = {
Title: "", //活动大标题
TripSort: this.ActivityTitle.length, //活动排序
ActivityPlanList: [ //活动安排
{
TripSort: 0, //排序
StartTime: "", //开始时间
ActivityDuration: "", //活动时长(单位:分钟)
LonLat: "", //活动地址经纬度
LocationName: "", //活动地址
TripTitle: "", //安排标题
TripContent: "", //内容
TripPicList: [] //图片
}
]
}
this.ActivityTitle.push(obj)
},
delActiveList(index) {
this.ActivityTitle.splice(index, 1)
},
//活动详情列表数据
getItemData(val, index) {
this.msg.ActivityTitle[index] = val
},
//保存信息
save() {
this.msg.ActivityTitle = this.ActivityTitle
this.$refs.child.map(x => {
x.ruleVerification();
})
let res = this.$refs.child.every(x => {
return x.ruleVerification();
})
let res2 = this.$refs.childForm.saveRule()
if (res && res2) {
let msg = {
...this.msg,
...this.activeBaseData
}
msg.Id=0
this.apipostDS("/api/Education/SetActivity", msg, (res) => {
if (res.data.resultCode === 1) {
this.Success("操作成功");
// this.getDetail()
this.$router.push("/activity/activityList")
} else {
this.Error(res.data.message);
}
})
}
},
getDetail() {
this.apipostDS("/api/Education/GetActivity", {
Id: this.msg.Id
}, (res) => {
if (res.data.resultCode === 1) {
this.ActivityTitle = res.data.data.ActivityTitleList
this.activedata = res.data.data
this.activedata.StartTime=""
this.activedata.StartTimeStr=""
this.activedata.EndTime=""
this.activedata.EndTimeStr=""
this.activedata.SignStartTime=""
this.activedata.SignStartTimeStr=""
this.activedata.SignEndTime=""
this.activedata.SignEndTimeStr=""
}
})
},
//获取活动类型下拉
getActiveTypeList() {
this.apipostDS("/api/Education/GetCommerceActivityTypeList", {}, (res) => {
if (res.data.resultCode === 1) {
this.activityTypeList = res.data.data;
this.activityTypeList.unshift({
Id: -1,
TypeName: "不限"
})
}
})
},
//活动基础数据
getactivedata(val) {
this.activeBaseData = val
}
}
}
</script>
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
...@@ -81,17 +81,17 @@ ...@@ -81,17 +81,17 @@
<q-card-section> <q-card-section>
<div class="text-subtitle1 q-mb-md">章节学习内容</div> <div class="text-subtitle1 q-mb-md">章节学习内容</div>
<div v-html="viewObj.ChapterContent" v-if="viewObj.ChapterContent!=''" <div v-html="viewObj.ChapterContent" v-if="viewObj.ChapterContent!=''"
class="q-pa-md bg-grey-2 rounded-borders"></div> class="q-pa-md bg-grey-2 rounded-borders chapter-Content"></div>
<div class="text-grey-3 text-center" v-else>未添加内容</div> <div class="text-grey-3 text-center" v-else>未添加内容</div>
</q-card-section> </q-card-section>
<q-card-section> <q-card-section>
<div class="text-subtitle1 q-mb-md">教学重点</div> <div class="text-subtitle1 q-mb-md">教学重点</div>
<div v-html="viewObj.Objectives" v-if="viewObj.ChapterContent!=''"></div> <div v-html="viewObj.Objectives" class="chapter-Content" v-if="viewObj.ChapterContent!=''"></div>
<div class="text-grey-3 text-center" v-else>未添加内容</div> <div class="text-grey-3 text-center" v-else>未添加内容</div>
</q-card-section> </q-card-section>
<q-card-section> <q-card-section>
<div class="text-subtitle1 q-mb-md">学生学习要求</div> <div class="text-subtitle1 q-mb-md">学生学习要求</div>
<div v-html="viewObj.Requirement" v-if="viewObj.ChapterContent!=''"></div> <div v-html="viewObj.Requirement" class="chapter-Content" v-if="viewObj.ChapterContent!=''"></div>
<div class="text-grey-3 text-center" v-else>未添加内容</div> <div class="text-grey-3 text-center" v-else>未添加内容</div>
</q-card-section> </q-card-section>
</q-card> </q-card>
...@@ -389,5 +389,14 @@ ...@@ -389,5 +389,14 @@
} }
/**@import url('~assets/css/table.sass')*/ /**@import url('~assets/css/table.sass')*/
.chapter-Content h6,
.chapter-Content h5,
.chapter-Content h4,
.chapter-Content h3,
.chapter-Content h2,
.chapter-Content h1{
font-size: unset !important;
line-height: unset !important;
letter-spacing: unset !important;
}
</style> </style>
...@@ -327,8 +327,8 @@ ...@@ -327,8 +327,8 @@
} }
}, },
created() { created() {
if (this.$route.query) { if (this.$route.query && this.$route.query.ClassName) {
this.msg.ClassName = this.$route.query.ClassName this.msg.ClassName = decodeURI(this.$route.query.ClassName)
} }
this.getClassStatus(); this.getClassStatus();
this.getSchool(); this.getSchool();
...@@ -517,9 +517,10 @@ ...@@ -517,9 +517,10 @@
this.isShowClassInfo = true; this.isShowClassInfo = true;
}, },
gomonthLessonCost(row){ gomonthLessonCost(row){
let ClassName = encodeURI(row.ClassName)
this.OpenNewUrl('/course/monthLessonCost' , { this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: row.ClassId, ClassId: row.ClassId,
ClassName: row.ClassName, ClassName: ClassName,
}); });
} }
} }
......
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
}), }),
mounted() { mounted() {
if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数 if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数
this.msg.CourseName = this.$route.query.Name this.msg.CourseName = decodeURI(this.$route.query.Name)
} }
this.getCategorytree(); this.getCategorytree();
this.currentUrl = this.$route.path; this.currentUrl = this.$route.path;
......
...@@ -210,12 +210,12 @@ ...@@ -210,12 +210,12 @@
align: "left", align: "left",
format: (val, row) => `${val}课时` format: (val, row) => `${val}课时`
}, },
{ // {
name: "CreateByName", // name: "CreateByName",
label: "创建人", // label: "创建人",
field: "CreateByName", // field: "CreateByName",
align: "left" // align: "left"
}, // },
{ {
name: "UpdateTimeStr", name: "UpdateTimeStr",
label: "更新时间", label: "更新时间",
......
...@@ -134,12 +134,23 @@ ...@@ -134,12 +134,23 @@
opacity: 0.8; opacity: 0.8;
} }
.prePare_Content{ .prePare_Content{
width:430px; /* width:430px; */
min-height:100px; min-height:100px;
height:auto; height:auto;
background-color: #F0F5FB; background-color: #F0F5FB;
padding:20px; padding:20px;
margin:20px auto; margin:20px auto;
font-family: '微软雅黑' !important;
}
.prePare_Content h6,
.prePare_Content h5,
.prePare_Content h4,
.prePare_Content h3,
.prePare_Content h2,
.prePare_Content h1{
font-size: unset !important;
line-height: unset !important;
letter-spacing: unset !important;
} }
</style> </style>
...@@ -227,7 +238,7 @@ ...@@ -227,7 +238,7 @@
<div class="text14-o" v-html="x.ProjectContent"></div> <div class="text14-o" v-html="x.ProjectContent"></div>
<template v-if="data.IsEditSummary>0"> <template v-if="data.IsEditSummary>0">
<div v-if="x.Summary" style="width: 100%;background: #F0F5FB;border-radius: 5px;padding:10px;margin-bottom:20px;"> <div v-if="x.Summary" style="width: 100%;background: #F0F5FB;border-radius: 5px;padding:10px;margin-bottom:20px;">
{{x.Summary}} 单项总结:{{x.Summary}}
</div> </div>
</template> </template>
<template v-else> <template v-else>
......
...@@ -526,12 +526,12 @@ ...@@ -526,12 +526,12 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="班号":"> <el-form-item label="班号:">
<el-input v-model="msg.ClassNo"></el-input> <el-input v-model="msg.ClassNo"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="班级id:"> <el-form-item label="班级编号:">
<el-input v-model="msg.ClassId"></el-input> <el-input v-model="msg.ClassId"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -573,7 +573,7 @@ ...@@ -573,7 +573,7 @@
关闭团队收支</el-button> 关闭团队收支</el-button>
</el-col> </el-col>
<el-col :span="4" style="margin-left:110px"> <el-col :span="2" >
<div style="height: 40px;padding-top: 5px;"> <div style="height: 40px;padding-top: 5px;">
<!-- <button class="normalBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button> --> <!-- <button class="normalBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button> -->
<q-btn color="primary" size="11px" :label="$t('pub.searchBtn')" @click="resetPageIndex(),getPageList()" style="marginRight:10px"/> <q-btn color="primary" size="11px" :label="$t('pub.searchBtn')" @click="resetPageIndex(),getPageList()" style="marginRight:10px"/>
...@@ -1478,9 +1478,10 @@ ...@@ -1478,9 +1478,10 @@
}) })
}else if(column.title == '已上课时'){ }else if(column.title == '已上课时'){
if(rowData.ClassId>0){ if(rowData.ClassId>0){
let ClassName = encodeURI(rowData.ClassName)
this.OpenNewUrl('/course/monthLessonCost' , { this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: rowData.ClassId, ClassId: rowData.ClassId,
ClassName:rowData.ClassName, ClassName:ClassName,
}); });
} }
} }
......
...@@ -3332,10 +3332,11 @@ ...@@ -3332,10 +3332,11 @@
}, },
jumpbjPage(path, item) { jumpbjPage(path, item) {
if (path == 'classManage') { if (path == 'classManage') {
let Name = encodeURI(item.ClassName)
this.$router.push({ this.$router.push({
path: '/course/' + path, path: '/course/' + path,
query: { query: {
'ClassName': item.ClassName 'ClassName': Name
} }
}) })
} else if (path == 'paymentDetail') { } else if (path == 'paymentDetail') {
......
...@@ -2424,16 +2424,21 @@ ...@@ -2424,16 +2424,21 @@
this.currentPage = 1; this.currentPage = 1;
}, },
goUrl(path, id, Conditon, pageIndex) { goUrl(path, id, Conditon, pageIndex) {
this.$router.push({ this.OpenNewUrl('/financial/financalDocument/' + path, {
path: '/financial/financalDocument/' + path, "id": id,
query: {
"id": id,
"Conditon": Conditon, "Conditon": Conditon,
"pageIndex": pageIndex, "pageIndex": pageIndex,
blank: 'y', });
tab: '单据详情' // this.$router.push({
} // path: '/financial/financalDocument/' + path,
}) // query: {
// "id": id,
// "Conditon": Conditon,
// "pageIndex": pageIndex,
// blank: 'y',
// tab: '单据详情'
// }
// })
}, },
goUrlWeituo(path) { goUrlWeituo(path) {
let tempStr = '/financial/financalDocument/' + path; let tempStr = '/financial/financalDocument/' + path;
......
...@@ -2192,10 +2192,11 @@ ...@@ -2192,10 +2192,11 @@
}, },
jumpbjPage(path, item) { jumpbjPage(path, item) {
if (path == 'classManage') { if (path == 'classManage') {
let Name = encodeURI(item.ClassName)
this.$router.push({ this.$router.push({
path: '/course/' + path, path: '/course/' + path,
query: { query: {
'ClassName': item.ClassName 'ClassName': Name
} }
}) })
} else if (path == 'paymentDetail') { } else if (path == 'paymentDetail') {
......
...@@ -628,12 +628,15 @@ ...@@ -628,12 +628,15 @@
} }
}, },
goUrl(path,Name){ goUrl(path,Names){
let Name = encodeURI(Names)
console.log(Name)
this.OpenNewUrl(path, { this.OpenNewUrl(path, {
Name: Name, Name: Name,
}); });
}, },
goUrl2(path,Name){//班级 goUrl2(path,Names){//班级
let Name = encodeURI(Names)
this.OpenNewUrl(path, { this.OpenNewUrl(path, {
ClassName: Name, ClassName: Name,
}); });
......
...@@ -118,20 +118,6 @@ ...@@ -118,20 +118,6 @@
<el-table-column prop="GuestNum" label="报名人数"> </el-table-column> <el-table-column prop="GuestNum" label="报名人数"> </el-table-column>
<el-table-column prop="JKNum" label="结课人数"> </el-table-column> <el-table-column prop="JKNum" label="结课人数"> </el-table-column>
<el-table-column prop="OrderNum" label="订单数量"> </el-table-column> <el-table-column prop="OrderNum" label="订单数量"> </el-table-column>
<!-- <el-table-column label="操作">
<template slot-scope="scope">
<div class="_icon_btn">
<el-tooltip class="item" effect="dark" content="查看老师" placement="top">
<i class="iconfont icon-sousuo"
@click="goUrl('teacherclassfee',scope.row.AccountId)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="查看学生" placement="top">
<i class="iconfont icon-sousuo"
@click="goUrl('studentsClassfee',scope.row.AccountId)"></i>
</el-tooltip>
</div>
</template>
</el-table-column> -->
</el-table> </el-table>
<div style="margin-top: 10px;text-align: center;"> <div style="margin-top: 10px;text-align: center;">
......
...@@ -222,7 +222,8 @@ ...@@ -222,7 +222,8 @@
this.msg.EndMonth = this.$route.query.EndMonth this.msg.EndMonth = this.$route.query.EndMonth
} }
if(this.$route.query && this.$route.query.ClassName){ if(this.$route.query && this.$route.query.ClassName){
this.ClassName = [this.$route.query.ClassName] let Name = decodeURI(this.$route.query.ClassName)
this.ClassName = [Name]
} }
}, },
......
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
created() {}, created() {},
mounted() { mounted() {
if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数 if(this.$route.query && this.$route.query.Name){//从订单完成统计跳转过来的带的参数
this.msg.ContractNo = this.$route.query.Name this.msg.ContractNo = decodeURI(this.$route.query.Name)
} }
this.getList() this.getList()
}, },
......
...@@ -2,9 +2,17 @@ ...@@ -2,9 +2,17 @@
<div class="page-body myOrder"> <div class="page-body myOrder">
<div style="width: 100%;display: flex;justify-content: space-between"> <div style="width: 100%;display: flex;justify-content: space-between">
<span style="font-size: 20px;font-weight: 400; ">报名统计</span> <span style="font-size: 20px;font-weight: 400; ">报名统计</span>
<span>
<q-toggle v-model="msg.Q_NotCollect" label="只看款未收齐订单" class="q-mb-md" false-value="0" true-value="1" <div style="display: flex;align-items: center;">
@input="resetSearch" /></span> <span>
<q-toggle v-model="msg.Q_NotCollect" label="只看款未收齐订单" class="q-mb-md" false-value="0" true-value="1"
@input="resetSearch" />
</span>
<div class="page-option" style="margin-left: 10px;">
<q-btn color="accent" size="sm" class="q-mr-md" label="导出" @click="goexport()" />
</div>
</div>
</div> </div>
<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">
...@@ -131,7 +139,10 @@ ...@@ -131,7 +139,10 @@
import myOrderForm from '../../components/sale/myOrder-form' import myOrderForm from '../../components/sale/myOrder-form'
import classinfoForm from '../../components/course/classinfo-form'; import classinfoForm from '../../components/course/classinfo-form';
import orderlist from '../../components/sale/orderlist' import orderlist from '../../components/sale/orderlist'
import { queryEmployee } from '../../api/users/user' import { queryEmployee } from '../../api/users/user';
import {
EduDownLoad,
} from '../../api/common/common';
export default { export default {
meta: { meta: {
title: "报名统计" title: "报名统计"
...@@ -345,6 +356,10 @@ ...@@ -345,6 +356,10 @@
} }
}) })
}, },
goexport(){//导出
var msg = JSON.parse(JSON.stringify(this.msg));
EduDownLoad("/order/GetOrderPageListStatisticsToExcel", msg, "订单列表.xls")
}
} }
} }
......
...@@ -2,9 +2,15 @@ ...@@ -2,9 +2,15 @@
<div class="page-body myOrder"> <div class="page-body myOrder">
<div style="width: 100%;display: flex;justify-content: space-between"> <div style="width: 100%;display: flex;justify-content: space-between">
<span style="font-size: 20px;font-weight: 400; ">留学就业统计</span> <span style="font-size: 20px;font-weight: 400; ">留学就业统计</span>
<span> <div style="display: flex;align-items: center;">
<q-toggle v-model="msg.Q_NotCollect" label="只看款未收齐订单" class="q-mb-md" false-value="0" true-value="1" <span>
@input="resetSearch" /></span> <q-toggle v-model="msg.Q_NotCollect" label="只看款未收齐订单" class="q-mb-md" false-value="0" true-value="1"
@input="resetSearch" /></span>
<div class="page-option" style="margin-left: 10px;">
<q-btn color="accent" size="sm" class="q-mr-md" label="导出" @click="goexport()" />
</div>
</div>
</div> </div>
<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">
...@@ -111,6 +117,9 @@ ...@@ -111,6 +117,9 @@
import { import {
queryEmployee queryEmployee
} from '../../api/users/user' } from '../../api/users/user'
import {
EduDownLoad,
} from '../../api/common/common';
export default { export default {
meta: { meta: {
title: "留学就业统计" title: "留学就业统计"
...@@ -293,6 +302,10 @@ ...@@ -293,6 +302,10 @@
}) })
}, },
goexport(){//导出
var msg = JSON.parse(JSON.stringify(this.msg));
EduDownLoad("/order/GetStudyOrderPageListStatisticsToExcel", msg, "留学就业统计.xls")
}
} }
} }
......
...@@ -21,6 +21,12 @@ ...@@ -21,6 +21,12 @@
width: 1px; width: 1px;
padding: 20px 26px; padding: 20px 26px;
} }
.personalData .box_r2{
flex: 1;
width: 1px;
padding: 0px 0px;
}
.personalData .box_l_t { .personalData .box_l_t {
margin-top: 28px; margin-top: 28px;
...@@ -126,11 +132,16 @@ ...@@ -126,11 +132,16 @@
<span>{{showObj.DeptName}}</span> <span>{{showObj.DeptName}}</span>
</div> </div>
<!-- <div class="box_l_title" style="margin-top: 55px;">概要信息</div> --> <!-- <div class="box_l_title" style="margin-top: 55px;">概要信息</div> -->
<div :class="rightType==0?'box_l_title':'box_l_cen'" @click='rightType=0'>概要信息</div>
<div :class="rightType==3?'box_l_title':'box_l_cen'" @click='rightType=3'>预警信息</div> <div :class="rightType==3?'box_l_title':'box_l_cen'" @click='rightType=3'>预警信息</div>
<div :class="rightType==1?'box_l_title':'box_l_cen'" @click='rightType=1'>账户资料</div> <div :class="rightType==1?'box_l_title':'box_l_cen'" @click='rightType=1'>账户资料</div>
<div :class="rightType==2?'box_l_title':'box_l_cen'" @click='rightType=2'>密码修改</div> <div :class="rightType==2?'box_l_title':'box_l_cen'" @click='rightType=2'>密码修改</div>
</div> </div>
<div class="box_r"> <!-- 个人资料 -->
<div v-if='rightType == 0' class="box_r2">
<summaryInfo></summaryInfo>
</div>
<div class="box_r" v-if='rightType !=0'>
<template v-if='rightType == 1'> <template v-if='rightType == 1'>
<div style="font-size: 16px;font-weight: bold;color: #000000;">账户资料</div> <div style="font-size: 16px;font-weight: bold;color: #000000;">账户资料</div>
<div class="box_r_title">账户资料</div> <div class="box_r_title">账户资料</div>
...@@ -213,19 +224,20 @@ ...@@ -213,19 +224,20 @@
NewPassWord:'', NewPassWord:'',
NewSurePassWord:'', NewSurePassWord:'',
} }
import summaryInfo from '../../components/user/summaryInfo'
export default { export default {
meta: { meta: {
title: "个人资料" title: "个人资料"
}, },
components: { components: {
summaryInfo
}, },
data() { data() {
return { return {
loading1: false, loading1: false,
loading2:false, loading2:false,
showObj: {}, showObj: {},
rightType: 1,//右边显示类型 rightType: 0,//右边显示类型
datamodify: {}, datamodify: {},
CompanyList: [], CompanyList: [],
passwordMsg:Object.assign({},defaultpassword), passwordMsg:Object.assign({},defaultpassword),
......
...@@ -741,6 +741,11 @@ const routes = [{ ...@@ -741,6 +741,11 @@ const routes = [{
component: () => component: () =>
import("pages/activity/activeDetail.vue") import("pages/activity/activeDetail.vue")
}, },
{
path: "/activity/copyActive", //活动 复制活动
component: () =>
import("pages/activity/copyActive.vue")
},
{ {
path: "/activity/advmanager", //活动 广告图管理 path: "/activity/advmanager", //活动 广告图管理
component: () => component: () =>
...@@ -835,7 +840,7 @@ const routes = [{ ...@@ -835,7 +840,7 @@ const routes = [{
component: () => component: () =>
import("pages/course/chapter.vue") import("pages/course/chapter.vue")
}, },
{ {
path: "/course/coursejob", //作业管理 path: "/course/coursejob", //作业管理
component: () => component: () =>
...@@ -985,9 +990,9 @@ const routes = [{ ...@@ -985,9 +990,9 @@ const routes = [{
}, },
}, },
{ {
path: "/course/chapter-editor", //章节管理 path: "/course/chapter-editor", //章节管理
component: () => component: () =>
import("pages/course/chapterEditor.vue") import("pages/course/chapterEditor.vue")
}, },
{ {
path: "*", path: "*",
......
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