xiangpei
2025-06-05 1fa6ac40e2ce16e1174cec9ca538d45eeb660fdc
src/components/Process/panel/taskListener.vue
@@ -429,7 +429,7 @@
        // 0-0 格式
        const regex = /^(\d{1,3})-(\d{1,2})$/;
        for (let i = 0; i < this.listenerForm.fields.length; i++) {
          if (this.listenerForm.fields[i].name === '红码时长' || this.listenerForm.fields[i].name === '黄码时长') {
          if (this.listenerForm.fields[i].name === '红码时长' || this.listenerForm.fields[i].name === '黄码时长' || this.listenerForm.fields[i].name === '办理期限') {
            const match = this.listenerForm.fields[i].string.match(regex);
            if (match) {
              const hours1 = parseInt(match[1], 10);