Commit 12429021 authored by 黄奎's avatar 黄奎
parents dfb69fde 7a802be7
...@@ -81,8 +81,8 @@ ...@@ -81,8 +81,8 @@
<div class="page-content recordForm"> <div class="page-content recordForm">
<div class="row wrap" style="display:flex;justify-content:flex-end"> <div class="row wrap" style="display:flex;justify-content:flex-end">
<div class="col-3"> <div class="col-3">
<q-select filled stack-label option-value="TId" @input="getRecord()" option-label="TeacherName" <q-select filled stack-label option-value="TId" @input="changeRecord()" option-label="TeacherName"
v-model="msg.TeacherId" ref="Teacher_Id" :options="TeacherList" label="关联教师" :dense="false" v-model="TeacherId" ref="Teacher_Id" :options="TeacherList" label="关联教师" :dense="false"
class="col-6 q-pr-lg q-pb-lg" emit-value map-options /> class="col-6 q-pr-lg q-pb-lg" emit-value map-options />
</div> </div>
</div> </div>
...@@ -139,6 +139,7 @@ ...@@ -139,6 +139,7 @@
School_Id: 0, School_Id: 0,
ClassId: 0 ClassId: 0
}, },
TeacherId:0,
dataList: {}, dataList: {},
TeacherList: [], //关联老师下拉 TeacherList: [], //关联老师下拉
} }
...@@ -147,6 +148,7 @@ ...@@ -147,6 +148,7 @@
}, },
mounted() { mounted() {
this.TeacherId = this.setingObj.Teacher_Id;
this.getRecord(); this.getRecord();
this.GetTeacherList(); this.GetTeacherList();
}, },
...@@ -161,6 +163,17 @@ ...@@ -161,6 +163,17 @@
} }
}) })
}, },
changeRecord(){
this.msg.School_Id = this.setingObj.School_Id;
this.msg.ClassId = this.setingObj.ClassId;
this.msg.TeacherId = this.TeacherId;
GetClassPlanLogPageList(this.msg).then(res => {
if (res.Code == 1) {
this.dataList = res.Data.PageData;
}
})
},
//获取教师下拉 //获取教师下拉
GetTeacherList() { GetTeacherList() {
getTeacherDropDownList({}).then(res => { getTeacherDropDownList({}).then(res => {
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<q-card-section> <q-card-section>
<div class="text-h6">退课申请</div> <div class="text-h6">退课申请</div>
</q-card-section> </q-card-section>
<div style="margin:20px;">
<q-table :loading="loading" no-data-label="暂无相关学员数据" flat class="sticky-column-table" separator="none" <q-table :loading="loading" no-data-label="暂无相关学员数据" flat class="sticky-column-table" separator="none"
:data="studentList" :columns="columns" hide-bottom row-key="Id"> :data="studentList" :columns="columns" hide-bottom row-key="Id">
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
...@@ -22,6 +23,7 @@ ...@@ -22,6 +23,7 @@
<q-input filled stack-label :dense="false" v-model="applyReason" style="margin-top: 20px" type="textarea" <q-input filled stack-label :dense="false" v-model="applyReason" style="margin-top: 20px" type="textarea"
class="col-12" label="申请理由" /> class="col-12" label="申请理由" />
<q-separator /> <q-separator />
</div>
<q-card-actions align="right" class="bg-white"> <q-card-actions align="right" class="bg-white">
<q-btn label="取消" flat color="grey-10" style="font-weight:400 !important" @click="closeBackClassForm" /> <q-btn label="取消" flat color="grey-10" style="font-weight:400 !important" @click="closeBackClassForm" />
<q-btn label="确认申请" color="accent" class="q-px-md" style="font-weight:400 !important" <q-btn label="确认申请" color="accent" class="q-px-md" style="font-weight:400 !important"
......
...@@ -285,9 +285,9 @@ ...@@ -285,9 +285,9 @@
<span style="color: #02C499">{{item.OrderStateName}}</span> <span style="color: #02C499">{{item.OrderStateName}}</span>
</div> </div>
</td> </td>
<td style="border:none"> <td style="border:none;">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" @click="editOrder(item)" /> <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400;display:none;" label="编辑" @click="editOrder(item)" />
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;"> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;display:none;">
<q-list> <q-list>
<q-item clickable v-close-popup> <q-item clickable v-close-popup>
<q-item-section @click="gostudent(item)"> <q-item-section @click="gostudent(item)">
......
...@@ -271,6 +271,9 @@ ...@@ -271,6 +271,9 @@
import { import {
getEmployeeAddrBook getEmployeeAddrBook
} from '../../api/users/user' } from '../../api/users/user'
import {
UploadSelfFile
} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -341,10 +344,14 @@ ...@@ -341,10 +344,14 @@
let newArr=[]; let newArr=[];
newArr.push(file.file) newArr.push(file.file)
let path="/Upload/Temporary/" let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{
let url = this.domainManager().ViittoFileUrl + x.data.FilePath UploadSelfFile('Temporary', file.file, x => {
if(x.Code==1){
let url = x.FileUrl
this.appMsg.Image.push(url) this.appMsg.Image.push(url)
this.fileList.push({url:url}) this.fileList.push({url: url})
}
}); });
}, },
handleRemove(file){ //删除 handleRemove(file){ //删除
...@@ -521,7 +528,7 @@ ...@@ -521,7 +528,7 @@
}); });
}, },
updateAapproval(path,cmd,submitCmd,workFlowId,templateId){ updateAapproval(path,cmd,submitCmd,workFlowId,templateId){
this.$router.push({ name: path, query:{cmd:cmd,submitCmd:submitCmd,workFlowId:workFlowId,templateId:templateId}}) this.$router.push({ path: path, query:{cmd:cmd,submitCmd:submitCmd,workFlowId:workFlowId,templateId:templateId}})
}, },
getBigpic(obj){ getBigpic(obj){
......
...@@ -146,12 +146,14 @@ ...@@ -146,12 +146,14 @@
let newArr = []; let newArr = [];
newArr.push(file.file) newArr.push(file.file)
UploadSelfFile('Temporary', file.file, x => { UploadSelfFile('Temporary', file.file, x => {
console.log(x) if(x.Code==1){
let url = x.FileUrl let url = x.FileUrl
this.submitFileList.push(url) this.submitFileList.push(url)
this.fileList.push({ this.fileList.push({
url: x.FileUrl url: x.FileUrl
}) })
}
}); });
}, },
handleRemove(file) { //删除 handleRemove(file) { //删除
......
...@@ -265,6 +265,9 @@ ...@@ -265,6 +265,9 @@
import { import {
getEmployeeAddrBook getEmployeeAddrBook
} from '../../api/users/user' } from '../../api/users/user'
import {
UploadSelfFile
} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -335,10 +338,12 @@ ...@@ -335,10 +338,12 @@
let newArr=[]; let newArr=[];
newArr.push(file.file) newArr.push(file.file)
let path="/Upload/Temporary/" let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{ UploadSelfFile('Temporary', file.file, x => {
let url = this.domainManager().ViittoFileUrl + x.data.FilePath if(x.Code==1){
let url = x.FileUrl
this.appMsg.Image.push(url) this.appMsg.Image.push(url)
this.fileList.push({url: url}) this.fileList.push({url: url})
}
}); });
......
...@@ -267,6 +267,9 @@ ...@@ -267,6 +267,9 @@
setCareOf, setCareOf,
copyTomyaudit copyTomyaudit
} from '../../api/administration/administration'; } from '../../api/administration/administration';
import {
UploadSelfFile
} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -337,10 +340,12 @@ ...@@ -337,10 +340,12 @@
let newArr=[]; let newArr=[];
newArr.push(file.file) newArr.push(file.file)
let path="/Upload/Temporary/" let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{ UploadSelfFile('Temporary', file.file, x => {
let url = this.domainManager().ViittoFileUrl + x.data.FilePath if(x.Code==1){
let url = x.FileUrl
this.appMsg.Image.push(url) this.appMsg.Image.push(url)
this.fileList.push({url: url}) this.fileList.push({url: url})
}
}); });
......
...@@ -809,7 +809,7 @@ ...@@ -809,7 +809,7 @@
</div> </div>
</div> </div>
<div style="padding-left: 75px;"> <div style="padding-left: 75px;">
<button class="hollowFixedBtn" v-if="(bossID===1 || bossID===5||bossID===1903) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)" @click="bohui()">驳回</button> <!-- <button class="hollowFixedBtn" v-if="(bossID===1 || bossID===5||bossID===1903) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)" @click="bohui()">驳回</button>-->
<button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button> <button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button>
</div> </div>
</div> </div>
......
...@@ -1088,6 +1088,7 @@ ...@@ -1088,6 +1088,7 @@
let path = "/Upload/Temporary/" let path = "/Upload/Temporary/"
this.$message.info(this.$t('tips.shangchuanzhong')) this.$message.info(this.$t('tips.shangchuanzhong'))
UploadSelfFile('Temporary', file.file, x => { UploadSelfFile('Temporary', file.file, x => {
if(x.Code==1){
let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0); let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0);
this.saveMsg.push({ this.saveMsg.push({
Content: x.FileUrl, Content: x.FileUrl,
...@@ -1096,6 +1097,8 @@ ...@@ -1096,6 +1097,8 @@
Url: x.FileUrl, Url: x.FileUrl,
}) })
this.$message.success(this.$t('tips.scchenggong')) this.$message.success(this.$t('tips.scchenggong'))
}
}, 1); }, 1);
}, },
AuditOrRefund() { AuditOrRefund() {
......
...@@ -989,6 +989,7 @@ ...@@ -989,6 +989,7 @@
let path = "/Upload/Temporary/" let path = "/Upload/Temporary/"
this.$message.info(this.$t('tips.shangchuanzhong')) this.$message.info(this.$t('tips.shangchuanzhong'))
UploadSelfFile('Temporary', file.file, x => { UploadSelfFile('Temporary', file.file, x => {
if(x.Code==1){
let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0); let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0);
this.saveMsg.push({ this.saveMsg.push({
Content: x.FileUrl, Content: x.FileUrl,
...@@ -1030,6 +1031,7 @@ ...@@ -1030,6 +1031,7 @@
}); });
}); });
} }
}
}, 1); }, 1);
}, },
countFee() { // 输入原币手续费计算本位币手续费 countFee() { // 输入原币手续费计算本位币手续费
......
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