讲师管理页面调整

This commit is contained in:
wangxuemei
2024-08-05 17:38:10 +08:00
parent b0f6f56759
commit 36200b08ef
11 changed files with 330 additions and 94 deletions

View File

@@ -179,13 +179,12 @@
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="讲师组织" name="userNo">
<a-form-item label="讲师组织" name="departId">
<a-popover title="讲师组织">
<template #content>
<p>自动带出讲师的组织,展示主要部分,鼠标浮上去展示所有</p>
{{ formParam.userNo }}
{{ formParam.departId }}
</template>
<a-input disabled v-model:value="formParam.userNo" class="draitem"
<a-input disabled v-model:value="formParam.departId" class="draitem"
placeholder="自动带出讲师的组织,展示主要部分,鼠标浮上去展示所有" allowClear showSearch>
</a-input>
</a-popover>
@@ -218,7 +217,7 @@
<a-input v-model:value="formParam.defaultTeachingTime" style="width:80%; height: 40px; border-radius: 8px; " placeholder="0"
allowClear showSearch suffix="分钟">
</a-input>
<span style="margin-left: 5px ;">{{ (formParam.defaultTeachingTime /60 ).toFixed(2)}}小时</span>
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime!= null">{{ (formParam.defaultTeachingTime /60 ).toFixed(2)}}小时</span>
</a-form-item>
</a-col>
<a-col :span="12">
@@ -407,7 +406,8 @@ export default {
formParam: {
userNo:null,
certStatus: 0,//认证状态
defaultTeachingTime: '0'
defaultTeachingTime: '0',
},
searchParam: {
name:null,
@@ -475,7 +475,7 @@ export default {
let array = [];
arr.map((value) => {
let obj = {
value: value.systemid,
value: value.kid,
label: value.systemName,
};
array.push(obj);
@@ -649,7 +649,7 @@ console.log( "讲师体系id" +val);
}
const columns = ref([
{
title: '姓名 ',
title: '讲师姓名 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
@@ -657,7 +657,7 @@ console.log( "讲师体系id" +val);
width: 100,
},
{
title: '工号 ',
title: '讲师工号 ',
dataIndex: 'userNo',
key: 'userNo',
elipsis: true,
@@ -787,6 +787,7 @@ console.log( "讲师体系id" +val);
state.searchParam = {
name:null,
userNo: null,
departId:null,
systemid: null,
tlevelId: null,
waitStatus: null,