hookehuyr

feat(cycle-selection): 添加周期备注显示并移除调试日志

在周期选择弹窗中添加周期备注的显示,并移除新增状态下的调试日志输出
同时更新开发环境配置文件,添加新的代理目标
###
# @Date: 2023-02-13 14:56:34
# @LastEditors: hookehuyr hookehuyr@gmail.com
# @LastEditTime: 2024-08-12 17:13:16
# @LastEditTime: 2025-09-09 17:05:22
# @FilePath: /data-table/.env.development
# @Description: 文件描述
###
......@@ -27,6 +27,7 @@ VITE_PROXY_TARGET = http://oa-dev.onwall.cn
# VITE_PROXY_TARGET = http://oa.onwall.cn
# VITE_PROXY_TARGET = https://www.wxgzjs.cn/
# VITE_PROXY_TARGET = https://oa.baorongsi.com/
# VITE_PROXY_TARGET = https://oa.jcedu.org/
# PC端地址
VITE_MOBILE_URL = http://localhost:5173/
......
No preview for this file type
......@@ -4,6 +4,7 @@
<div class="cycle-popup">
<div class="popup-header">
<h3>选择周期</h3>
<p>{{ cycle_note }}</p>
</div>
<div class="popup-content">
<van-radio-group v-model="selectedCycle">
......@@ -55,6 +56,7 @@ const themeVars = {
// 周期选择相关变量
const cycleList = ref([]);
const selectedCycle = ref('');
const cycle_note = ref('');
/**
* 动态计算弹窗内容区域高度
......@@ -93,6 +95,7 @@ const getCycleList = async (form_code) => {
}
// 设置周期列表
cycleList.value = data.cycle_list;
cycle_note.value = data.cycle_note;
// 计算高度
calculatePopupContentHeight();
} else {
......@@ -152,7 +155,6 @@ const confirmCycleSelection = () => {
const checkUnfinishedForm = (route) => {
// 只在新增状态时检查
if (route.query.page_type === 'add' || route.query.page_type === undefined) {
console.warn('表单为新增状态, 检查是否有未完成的表单信息');
const existingCookie = Cookies.get(route.query.code);
if (existingCookie && route.query.force_back !== '1') {
// 显示确认对话框
......