Commit 24e6b65a authored by 吴春's avatar 吴春

解决冲突

parents c622d02e f1d6fff5
...@@ -115,8 +115,8 @@ export function UploadViittoBlobFile(path, file, callback) { ...@@ -115,8 +115,8 @@ export function UploadViittoBlobFile(path, file, callback) {
uploadLoadding.show({ uploadLoadding.show({
message: '正在上传文件,请稍后...' message: '正在上传文件,请稍后...'
}) })
let viewFileUrl = 'http://192.168.10.214:8130'; let viewFileUrl = 'http://192.168.5.214:8130';
let vtUploadUrl = "http://192.168.10.214:8120/upload/UploadBlob"; let vtUploadUrl = "http://192.168.5.214:8120/upload/UploadBlob";
let locationName = window.location.hostname; let locationName = window.location.hostname;
if (locationName.indexOf('testerp.oytour') !== -1) { if (locationName.indexOf('testerp.oytour') !== -1) {
vtUploadUrl = "http://upload.oytour.com/upload/UploadBlob"; vtUploadUrl = "http://upload.oytour.com/upload/UploadBlob";
......
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
StuType: "", //客户类型 StuType: "", //客户类型
StuNeeds: 0, //客户需求 StuNeeds: 0, //客户需求
StuTel: "", //显示使用 StuTel: "", //显示使用
FileVoucher: ""//http://192.168.10.214:8130/EduSystem/Test/Upload/SetStudentVoucher/202303221126306360000000004.png FileVoucher: ""
}, },
//日语基础列表 //日语基础列表
basicList: [], basicList: [],
......
...@@ -2014,11 +2014,7 @@ ...@@ -2014,11 +2014,7 @@
data() { data() {
return { return {
saveMsg: [ saveMsg: [
// {
// Type: 3,
// Content:'http://192.168.10.214:8130/EduSystem/Test/Upload/Temporary/202311131052426600000000001.png',
// Url:'http://192.168.10.214:8130/EduSystem/Test/Upload/Temporary/202311131052426600000000001.png'
// }
], ],
TeamShouZhi: false, TeamShouZhi: false,
F_Disbursement_Schedule: false, F_Disbursement_Schedule: false,
......
...@@ -170,6 +170,7 @@ ...@@ -170,6 +170,7 @@
font-weight: 600; font-weight: 600;
margin-right: 10px; margin-right: 10px;
} }
</style> </style>
<template> <template>
<div :class="[ <div :class="[
...@@ -290,6 +291,19 @@ ...@@ -290,6 +291,19 @@
:options="MyTransListData" option-label="StuName" @input="resetSearch" clearable option-value="StuId" :options="MyTransListData" option-label="StuName" @input="resetSearch" clearable option-value="StuId"
emit-value map-options /> emit-value map-options />
</div> </div>
<div class="col-3">
<q-select filled v-model="msg.Teacher_Id" dense use-input label="班主任" :options="MyTeacherListData"
option-label="EmployeeName" @input="resetSearch" @filter="filterTeacher" clearable option-value="Id"
emit-value map-options>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
未找到相关数据
</q-item-section>
</q-item>
</template>
</q-select>
</div>
</div> </div>
</div> </div>
<div class="col row wrap q-gutter-x-md" v-if="staticObj && !isComponent"> <div class="col row wrap q-gutter-x-md" v-if="staticObj && !isComponent">
...@@ -426,11 +440,7 @@ ...@@ -426,11 +440,7 @@
<q-item-label overline>添加事件</q-item-label> <q-item-label overline>添加事件</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<!-- <q-item dense clickable v-close-popup @click="showChangeCourse(props.row)">
<q-item-section>
<q-item-label overline >跳课</q-item-label>
</q-item-section>
</q-item> -->
</q-list> </q-list>
</q-btn-dropdown> </q-btn-dropdown>
</div> </div>
...@@ -559,7 +569,8 @@ ...@@ -559,7 +569,8 @@
GuestState: "", //学员状态 GuestState: "", //学员状态
CreateType: "", //客户来源 CreateType: "", //客户来源
StuChannelId: "", //收客渠道 StuChannelId: "", //收客渠道
StuSourceId: "" StuSourceId: "",
Teacher_Id: "", //班主任
}, },
pageCount: 0, pageCount: 0,
columns: [{ columns: [{
...@@ -569,7 +580,6 @@ ...@@ -569,7 +580,6 @@
align: "left", align: "left",
required: true required: true
}, },
{ {
name: "GuestName", name: "GuestName",
label: "姓名", label: "姓名",
...@@ -812,7 +822,9 @@ ...@@ -812,7 +822,9 @@
courseName: "", courseName: "",
isShowChangeCourse: false, isShowChangeCourse: false,
ChangeCourseObj: {}, ChangeCourseObj: {},
staticObj: {} //学生统计信息 staticObj: {}, //学生统计信息
MyTeacherListData: [], //查询老师列表
AllTeacherList: [], //所有教师列表
}; };
}, },
created() { created() {
...@@ -864,6 +876,7 @@ ...@@ -864,6 +876,7 @@
this.GetStuChannelList(); this.GetStuChannelList();
this.GetCustomerList(); this.GetCustomerList();
this.getEmployeeList(); this.getEmployeeList();
this.findData();
} else { } else {
this.msg.rowsPerPage = this.pageSize; this.msg.rowsPerPage = this.pageSize;
this.loading = this.outLoading; this.loading = this.outLoading;
...@@ -871,6 +884,18 @@ ...@@ -871,6 +884,18 @@
} }
}, },
methods: { methods: {
//获取班主任
findData() {
queryEmployee({
AccountTypeStr: "2",
IsLeave: 1
}).then(res => {
if (res.Code == 1) {
this.MyTeacherListData = res.Data;
this.AllTeacherList = res.Data;
}
})
},
//获取收客渠道 //获取收客渠道
GetStuChannelList() { GetStuChannelList() {
GetStuChannelList({}).then(res => { GetStuChannelList({}).then(res => {
...@@ -1010,6 +1035,18 @@ ...@@ -1010,6 +1035,18 @@
} }
}); });
}, },
filterTeacher(val, update) {
update(() => {
if (val === "") {
this.MyTeacherListData = JSON.parse(JSON.stringify(this.AllTeacherList));
} else {
const needle = val.toLowerCase();
this.MyTeacherListData = this.AllTeacherList.filter(
v => v.EmployeeName.toLowerCase().indexOf(needle) > -1
);
}
});
},
//筛选课程 //筛选课程
filterCourse(val, update) { filterCourse(val, update) {
update(() => { update(() => {
...@@ -1268,7 +1305,9 @@ ...@@ -1268,7 +1305,9 @@
} }
} }
}; };
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style>
\ No newline at end of file </style>
This diff is collapsed.
...@@ -95,7 +95,6 @@ ...@@ -95,7 +95,6 @@
<input v-model="uploadParm.params.ExamName" class="examList-popup-name" placeholder="请输入考试名称"/> <input v-model="uploadParm.params.ExamName" class="examList-popup-name" placeholder="请输入考试名称"/>
<div class="diy-upload-class"> <div class="diy-upload-class">
<!-- https://jjswapi.oytour.com --> <!-- https://jjswapi.oytour.com -->
<!-- http://192.168.10.36:8082 -->
<el-upload class="avatar-uploader" <el-upload class="avatar-uploader"
:data="uploadParm" :data="uploadParm"
name="myfile" name="myfile"
......
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