This commit is contained in:
guochunsi
2026-01-29 11:56:37 +08:00
parent 043c92efc9
commit 9fea29454f
28 changed files with 230 additions and 384 deletions

View File

@@ -167,7 +167,7 @@
</template>
<script setup lang="ts" name="recruitstudentplan">
import { ref, reactive, computed, onMounted } from 'vue'
import { ref, reactive, computed } from 'vue'
import { storeToRefs } from 'pinia'
import { useUserInfo } from '/@/stores/userInfo'
import { BasicTableProps, useTable } from '/@/hooks/table'
@@ -312,9 +312,7 @@ const handleSubmit = async () => {
})
}
onMounted(() => {
getDataList()
})
// 表格数据由 useTablecreatedIsNeed 默认 true在挂载时自动请求
</script>
<style lang="scss" scoped>

View File

@@ -113,7 +113,7 @@
</template>
<script setup lang="ts" name="recruitstudentplandegreeofeducation">
import { ref, reactive, computed, onMounted } from 'vue'
import { ref, reactive, computed } from 'vue'
import { storeToRefs } from 'pinia'
import { useUserInfo } from '/@/stores/userInfo'
import { BasicTableProps, useTable } from '/@/hooks/table'
@@ -242,9 +242,7 @@ const handleSubmit = async () => {
})
}
onMounted(() => {
getDataList()
})
// 表格数据由 useTablecreatedIsNeed 默认 true在挂载时自动请求
</script>
<style lang="scss" scoped>

View File

@@ -307,9 +307,9 @@ const resetQuery = () => {
getDataList();
};
// 表格数据由 useTablecreatedIsNeed 默认 true自动请求onMounted 仅执行 init
onMounted(() => {
init();
getDataList();
});
</script>

View File

@@ -97,7 +97,7 @@
</template>
<script setup lang="ts" name="recruitstudentsignupturnovermoneychange">
import { ref, reactive, computed, onMounted, defineAsyncComponent, nextTick } from 'vue'
import { ref, reactive, computed, defineAsyncComponent, nextTick } from 'vue'
import { storeToRefs } from 'pinia'
import { useUserInfo } from '/@/stores/userInfo'
import { BasicTableProps, useTable } from '/@/hooks/table'
@@ -182,9 +182,7 @@ const handleDel = async (row: any) => {
}
}
onMounted(() => {
getDataList()
})
// 表格数据由 useTablecreatedIsNeed 默认 true在挂载时自动请求
</script>
<style lang="scss" scoped>