zxl
2025-03-02 16f122cfcec09e65e4790ecee46bae1f1b7b8fff
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);