From 3140b58a56be4b1693766121dacb83fe6f6f21df Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 26 九月 2023 14:48:30 +0800
Subject: [PATCH] 2023-09-26

---
 src/utils/utils.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/utils/utils.js b/src/utils/utils.js
index 54ed1de..f7bd5ee 100644
--- a/src/utils/utils.js
+++ b/src/utils/utils.js
@@ -407,6 +407,10 @@
       }
 
       if (item.type === 'text' || item.type === 'select') {
+        if (/@username@|@fullName@/ig.test(item.initval)) {
+          item.initval = item.initval.replace(/@username@/ig, sessionStorage.getItem('User_Name') || '').replace(/@fullName@/ig, sessionStorage.getItem('Full_Name') || '')
+          item.oriInitval = item.initval
+        }
         if (/,/.test(item.field)) {
           item.field.split(',').forEach(field => {
             keys.push(field.toLowerCase())
@@ -1557,8 +1561,6 @@
     }
 
     columns.forEach(col => {
-      if (col.field === 'works_flow_param') return
-
       if (col.type === 'colspan' || col.type === 'old_colspan') {
         col.subcols.forEach(cell => {
           setField(cell)

--
Gitblit v1.8.0