讲师管理bug

This commit is contained in:
zhangsir
2024-12-02 17:19:43 +08:00
parent 8c9b52a8d6
commit cd6e0db646
4 changed files with 9 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ const memberParam = ref({name: '', pageNo:1, pageSize: 20})
const {data: userList, loading} = useThrottlePage(USER_LIST_NEW, memberParam.value, false)
const options = computed(() => userList.value.filter(e => !(props.value + '').includes(e.id)).map(e => ({
label: e.name + e.mobile,
label: e.name + '(' + e.mobile + ')',
value: e.id //,
// ...e,
// audienceList: null

View File

@@ -61,7 +61,7 @@ const memberParam = ref({name: '', pageNo:1, pageSize: 20})
const {data: userList, loading} = useThrottlePage(USER_LIST_NEW, memberParam.value, false)
const options = computed(() => userList.value.filter(e => !(props.value + '').includes(e.id)).map(e => ({
label: e.name + e.mobile,
label: e.name + '(' + e.mobile + ')' ,
value: e.id // ,
// ...e,
// audienceList: null

View File

@@ -307,7 +307,7 @@
/>
</div>
<span class="line"></span>
<span>讲师信息</span>
<span style="font-weight:600;">讲师信息</span>
<a-descriptions style="margin-top:15px;" bordered :column="2" :contentStyle="rowCenter" :labelStyle="{'width':'160px'}">
<a-descriptions-item label="讲师名称">{{ formParam.teacherName ||'-'}}</a-descriptions-item>
<a-descriptions-item label="讲师工号">{{ formParam.userNo||'-' }}</a-descriptions-item>
@@ -335,7 +335,7 @@
<div v-if="formParam.createFrom == '0'">
<div style="margin-top:20px ;line-height: 24px;margin-bottom: 15px;">
<span class="line"></span>
<span>讲师费发放情况</span>
<span style="font-weight:600;">讲师费发放情况</span>
</div>
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe;margin-bottom: 60px;" :columns="column"
:data-source="tableDatas" :pagination="false">
@@ -1685,10 +1685,11 @@ export default {
.line {
float: left;
width: 3px;
height: 25px;
height: 17px;
background: #4ea6ff;
border-radius: 30%;
margin-right: 5px;
margin-top: 3px;
}
//抽屉功能

View File

@@ -262,6 +262,7 @@
})
onMounted(()=>{
const search = sessionStorage.getItem('searchApprlval')
console.log(search,'search')
if(search){
state.searchParam = JSON.parse(search)
state.searchdate = state.searchParam.searchdate
@@ -512,6 +513,7 @@
const searchSubmit = () => {
state.searchParam.pageNo = 1;
getTableDate();
sessionStorage.removeItem('searchApprlval')
};
//重置
const searchReset = () => {
@@ -531,6 +533,7 @@
pageSize: 10 ,
};
getTableDate();
sessionStorage.removeItem('searchApprlval')
};
// //修改时间
// function searchTimeChange(time, timeStr) {