This commit is contained in:
dhr
2025-08-22 19:53:59 +08:00
parent e3b4826dce
commit 1405857f55
2 changed files with 6 additions and 3 deletions

View File

@ -202,8 +202,9 @@ const generatePieOption = (data) => {
{
name: '合同数量',
type: 'pie',
radius: ['45%', '65%'],
center: ['50%', '60%'],
radius: ['30%', '60%'],
center: ['30%', '60%'],
data: [], // 空数据,避免显示圆环
itemStyle: { borderColor: '#000', borderWidth: 1 },
// 中心显示“加载中”提示

View File

@ -631,7 +631,9 @@ const handleProgressInput = () => {
const handleExport = () => {
proxy?.download('patch/patch/export', { ...queryParams.value }, `任务列表_${new Date().getTime()}.xlsx`);
};
onMounted(() => {
getList();
});
// 监听项目id刷新数据
const listeningProject = watch(
() => currentProject.value?.id,