mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
讲师管理bug
This commit is contained in:
@@ -61,7 +61,7 @@ const memberParam = ref({name: '', pageNo:1, pageSize: 20})
|
|||||||
const {data: userList, loading} = useThrottlePage(USER_LIST_NEW, memberParam.value, false)
|
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 => ({
|
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 //,
|
value: e.id //,
|
||||||
// ...e,
|
// ...e,
|
||||||
// audienceList: null
|
// audienceList: null
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ const memberParam = ref({name: '', pageNo:1, pageSize: 20})
|
|||||||
const {data: userList, loading} = useThrottlePage(USER_LIST_NEW, memberParam.value, false)
|
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 => ({
|
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 // ,
|
value: e.id // ,
|
||||||
// ...e,
|
// ...e,
|
||||||
// audienceList: null
|
// audienceList: null
|
||||||
|
|||||||
@@ -307,7 +307,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span class="line"></span>
|
<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 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.teacherName ||'-'}}</a-descriptions-item>
|
||||||
<a-descriptions-item label="讲师工号">{{ formParam.userNo||'-' }}</a-descriptions-item>
|
<a-descriptions-item label="讲师工号">{{ formParam.userNo||'-' }}</a-descriptions-item>
|
||||||
@@ -335,7 +335,7 @@
|
|||||||
<div v-if="formParam.createFrom == '0'">
|
<div v-if="formParam.createFrom == '0'">
|
||||||
<div style="margin-top:20px ;line-height: 24px;margin-bottom: 15px;">
|
<div style="margin-top:20px ;line-height: 24px;margin-bottom: 15px;">
|
||||||
<span class="line"></span>
|
<span class="line"></span>
|
||||||
<span>讲师费发放情况</span>
|
<span style="font-weight:600;">讲师费发放情况</span>
|
||||||
</div>
|
</div>
|
||||||
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe;margin-bottom: 60px;" :columns="column"
|
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe;margin-bottom: 60px;" :columns="column"
|
||||||
:data-source="tableDatas" :pagination="false">
|
:data-source="tableDatas" :pagination="false">
|
||||||
@@ -1685,10 +1685,11 @@ export default {
|
|||||||
.line {
|
.line {
|
||||||
float: left;
|
float: left;
|
||||||
width: 3px;
|
width: 3px;
|
||||||
height: 25px;
|
height: 17px;
|
||||||
background: #4ea6ff;
|
background: #4ea6ff;
|
||||||
border-radius: 30%;
|
border-radius: 30%;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
//抽屉功能
|
//抽屉功能
|
||||||
|
|||||||
@@ -262,6 +262,7 @@
|
|||||||
})
|
})
|
||||||
onMounted(()=>{
|
onMounted(()=>{
|
||||||
const search = sessionStorage.getItem('searchApprlval')
|
const search = sessionStorage.getItem('searchApprlval')
|
||||||
|
console.log(search,'search')
|
||||||
if(search){
|
if(search){
|
||||||
state.searchParam = JSON.parse(search)
|
state.searchParam = JSON.parse(search)
|
||||||
state.searchdate = state.searchParam.searchdate
|
state.searchdate = state.searchParam.searchdate
|
||||||
@@ -512,6 +513,7 @@
|
|||||||
const searchSubmit = () => {
|
const searchSubmit = () => {
|
||||||
state.searchParam.pageNo = 1;
|
state.searchParam.pageNo = 1;
|
||||||
getTableDate();
|
getTableDate();
|
||||||
|
sessionStorage.removeItem('searchApprlval')
|
||||||
};
|
};
|
||||||
//重置
|
//重置
|
||||||
const searchReset = () => {
|
const searchReset = () => {
|
||||||
@@ -531,6 +533,7 @@
|
|||||||
pageSize: 10 ,
|
pageSize: 10 ,
|
||||||
};
|
};
|
||||||
getTableDate();
|
getTableDate();
|
||||||
|
sessionStorage.removeItem('searchApprlval')
|
||||||
};
|
};
|
||||||
// //修改时间
|
// //修改时间
|
||||||
// function searchTimeChange(time, timeStr) {
|
// function searchTimeChange(time, timeStr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user