mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
授课记录调整
This commit is contained in:
@@ -109,9 +109,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tableBox ">
|
<div class="tableBox ">
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination v-if="tableDataTotal > 10" :showSizeChanger="true" :showQuickJumper="false" :hideOnSinglePage="true"
|
<a-pagination v-if="tableDataTotal > 10" :showSizeChanger="true" :showQuickJumper="false"
|
||||||
:pageSize="searchParam.pageSize" :current="searchParam.pageNo" :total="tableDataTotal" class="pagination"
|
:hideOnSinglePage="true" :pageSize="searchParam.pageSize" :current="searchParam.pageNo" :total="tableDataTotal"
|
||||||
@change="changePagination" />
|
class="pagination" @change="changePagination" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
<a-row :gutter="16">
|
<a-row :gutter="16">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="课程名称" name="courseName">
|
<a-form-item label="课程名称" name="courseName">
|
||||||
<a-input class="draitem" v-model:value="formParam.courseName" :maxlength="20" showCount placeholder="请输入后搜索面授课" @blur="sendName" allowClear showSearch>
|
<a-input class="draitem" v-model:value="formParam.courseName" :maxlength="20" showCount placeholder="请输入课程名称" @blur="sendName" allowClear showSearch>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -329,9 +329,8 @@ export default {
|
|||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const search = sessionStorage.getItem('searchLecturer')
|
const search = sessionStorage.getItem('searchExter')
|
||||||
if(route.query.activeKey == 1){
|
if(route.query.activeKey == 2&&search){
|
||||||
state.moreid = 2
|
|
||||||
state.searchParam = JSON.parse(search)
|
state.searchParam = JSON.parse(search)
|
||||||
}
|
}
|
||||||
searchSubmit()
|
searchSubmit()
|
||||||
@@ -354,7 +353,6 @@ export default {
|
|||||||
teacherdialogtitle: '',//讲师弹框title内容
|
teacherdialogtitle: '',//讲师弹框title内容
|
||||||
teachingdialog: false,//查看抽屉
|
teachingdialog: false,//查看抽屉
|
||||||
pageSizeOptions: ['10', '20', '30', '50'], //下拉选择每页显示多少条
|
pageSizeOptions: ['10', '20', '30', '50'], //下拉选择每页显示多少条
|
||||||
pageSize: 10,
|
|
||||||
beginTime: null, //开始时间
|
beginTime: null, //开始时间
|
||||||
endTime: null, //结束时间
|
endTime: null, //结束时间
|
||||||
teachingDate: undefined, //选择时间
|
teachingDate: undefined, //选择时间
|
||||||
@@ -373,7 +371,6 @@ export default {
|
|||||||
recordType: 2,
|
recordType: 2,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
teacherName: null,
|
|
||||||
name: null,
|
name: null,
|
||||||
address: null,
|
address: null,
|
||||||
courseStatus: null,
|
courseStatus: null,
|
||||||
@@ -644,8 +641,7 @@ export default {
|
|||||||
|
|
||||||
};
|
};
|
||||||
getTableDate()
|
getTableDate()
|
||||||
// // 翻页
|
const changePagination = (page, pageSize) => {
|
||||||
const changePagination = (page) => {
|
|
||||||
state.searchParam.pageNo = page;
|
state.searchParam.pageNo = page;
|
||||||
// state.pageNo = page;
|
// state.pageNo = page;
|
||||||
state.searchParam.pageSize = pageSize;
|
state.searchParam.pageSize = pageSize;
|
||||||
@@ -753,7 +749,6 @@ export default {
|
|||||||
state.formParam = {
|
state.formParam = {
|
||||||
courseStatus: 1,
|
courseStatus: 1,
|
||||||
recordType: 2,
|
recordType: 2,
|
||||||
teacherName: null,
|
|
||||||
mobile: null,
|
mobile: null,
|
||||||
name: null,
|
name: null,
|
||||||
type: null,
|
type: null,
|
||||||
@@ -783,6 +778,8 @@ export default {
|
|||||||
state.teachingdialog = true
|
state.teachingdialog = true
|
||||||
state.lookTeacherId = record.id
|
state.lookTeacherId = record.id
|
||||||
TeacherSystem()
|
TeacherSystem()
|
||||||
|
state.formParam.teachingDate= state.teachingDate
|
||||||
|
|
||||||
// let id = record.userNo
|
// let id = record.userNo
|
||||||
// router.push({ path: '/lecturer/ExternalTeachingDetail/', query: { id } })
|
// router.push({ path: '/lecturer/ExternalTeachingDetail/', query: { id } })
|
||||||
// router.push({ path: '/ExternalTeachingDetail' })
|
// router.push({ path: '/ExternalTeachingDetail' })
|
||||||
|
|||||||
@@ -225,7 +225,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="课程名称:" name="courseName">
|
<a-form-item label="课程名称:" name="courseName">
|
||||||
<a-input class="draitem" v-model:value="formParam.courseName" placeholder="请输入后搜索面授课" allowClear showSearch :maxlength="20" showCount @blur="sendName"
|
<a-input class="draitem" v-model:value="formParam.courseName" placeholder="输入课程名称" allowClear showSearch :maxlength="20" showCount @blur="sendName"
|
||||||
>
|
>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -345,6 +345,7 @@
|
|||||||
<a-descriptions-item label="内容分类">{{ formParam.courseTypeName }}</a-descriptions-item>
|
<a-descriptions-item label="内容分类">{{ formParam.courseTypeName }}</a-descriptions-item>
|
||||||
<a-descriptions-item label="备注 ">{{ formParam.remark }}</a-descriptions-item>
|
<a-descriptions-item label="备注 ">{{ formParam.remark }}</a-descriptions-item>
|
||||||
</a-descriptions>
|
</a-descriptions>
|
||||||
|
<div v-if="formParam.createFrom == '0'">
|
||||||
<div style="margin-top:20px ;line-height: 24px;" >
|
<div style="margin-top:20px ;line-height: 24px;" >
|
||||||
<span class="line"></span>
|
<span class="line"></span>
|
||||||
<span>讲师费发放情况</span>
|
<span>讲师费发放情况</span>
|
||||||
@@ -359,6 +360,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
|
</div>
|
||||||
<div :style="{
|
<div :style="{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
right: 0,
|
right: 0,
|
||||||
@@ -501,7 +503,19 @@ export default {
|
|||||||
},
|
},
|
||||||
startTime:null,
|
startTime:null,
|
||||||
searchParam:
|
searchParam:
|
||||||
{ "recordType": 1, "pageNo": 1, "pageSize": 10, "managerId": null, "name": null, "createFrom": null, "courseStatus": null, "sourceBelongId": null, "tSystemId": null, "endTime": null, "beginTime":null, "studys": [], "score": undefined }
|
{ recordType: 1,
|
||||||
|
pageNo: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
managerId: null,
|
||||||
|
name: null,
|
||||||
|
createFrom: null,
|
||||||
|
courseStatus: null,
|
||||||
|
sourceBelongId: null,
|
||||||
|
tSystemId: null,
|
||||||
|
endTime: null,
|
||||||
|
beginTime:null,
|
||||||
|
studys: [],
|
||||||
|
score: undefined }
|
||||||
})
|
})
|
||||||
// watch(()=>state.formParam.name,(val)=>{
|
// watch(()=>state.formParam.name,(val)=>{
|
||||||
// state.formParam.teacherName = val?.split('/')[1]
|
// state.formParam.teacherName = val?.split('/')[1]
|
||||||
@@ -795,10 +809,10 @@ export default {
|
|||||||
|
|
||||||
])
|
])
|
||||||
const rules = {
|
const rules = {
|
||||||
// name: [{ required: true, message:'',log: '讲师不能为空' }],
|
name: [{ required: true, message:'',log: '讲师不能为空' }],
|
||||||
// orgName: [{ required: true, message: '',log:'讲师组织不能为空' }],
|
orgName: [{ required: true, message: '',log:'讲师组织不能为空' }],
|
||||||
// tlevelName: [{ required: true, message: '',log:'讲师级别不能为空' }],
|
tlevelName: [{ required: true, message: '',log:'讲师级别不能为空' }],
|
||||||
// tsystemName: [{ required: true, message: '',log:'讲师体系不能为空' }],
|
tsystemName: [{ required: true, message: '',log:'讲师体系不能为空' }],
|
||||||
courseTypeId: [{ required: true, message: '',log:'内容分类不能为空' }],
|
courseTypeId: [{ required: true, message: '',log:'内容分类不能为空' }],
|
||||||
courseName: [{ required: true, message: '',log:'课程名称不能为空' }],
|
courseName: [{ required: true, message: '',log:'课程名称不能为空' }],
|
||||||
sourceBelongId: [{ required: true, message: '',log:'课程归属组织不能为空' }],
|
sourceBelongId: [{ required: true, message: '',log:'课程归属组织不能为空' }],
|
||||||
@@ -1188,7 +1202,6 @@ export default {
|
|||||||
state.tableDataTotal = Number(res.data.data.total);
|
state.tableDataTotal = Number(res.data.data.total);
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
message.destroy()
|
message.destroy()
|
||||||
message.error(err.data.msg)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const tableDatas = ref([])
|
const tableDatas = ref([])
|
||||||
@@ -1700,4 +1713,7 @@ display: flex;
|
|||||||
justify-content: right;
|
justify-content: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.item_inp .i_upload_img[data-v-6b882d01] {
|
||||||
|
border-radius:50%
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user