讲师费用管理,页面跳转,刷新页面

This commit is contained in:
gengxin
2025-02-18 09:10:11 +08:00
parent 100a31d665
commit edf0e099ba
3 changed files with 6 additions and 11 deletions

View File

@@ -173,7 +173,6 @@ const expenseList = ref([])
const searchList = ref([])
const timesList = ref([])
const clickItem = (item,i) => {
console.log("clickItem gx item",item,i);
indexList.value = i
resetData(i,false)
}
@@ -197,8 +196,6 @@ watch(()=>props.visible,(val)=>{
).then(res=>{
if(res.data.code === 200){
forData.value = res.data.data;
console.log("getListByAffiliation gx forData.value ",forData.value)
console.log("getListByAffiliation gx forData.value value",forData.value)
//todo1 , 只有一个处理 初始化 处理数据 ,进行 激活处理
if(forData.value.length == 1){
activeList.value.push(0);
@@ -472,8 +469,6 @@ const columns = [
const closeDrawer = () => emit("update:visible", false);
const activeList = ref([])
const setList = (item) => {
console.log("setList gx item",item)
console.log("setList gx activeList",activeList)
const index = activeList.value.findIndex(listItem => listItem === item);
if (index > -1) {
activeList.value.splice(index, 1);