From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 21 四月 2025 12:18:03 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/views/systemproc/proc/index.jsx |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/systemproc/proc/index.jsx b/src/views/systemproc/proc/index.jsx
index 62ce63a..100a0ff 100644
--- a/src/views/systemproc/proc/index.jsx
+++ b/src/views/systemproc/proc/index.jsx
@@ -6,6 +6,7 @@
 import Utils from '@/utils/utils.js'
 import Api from '@/api'
 import CodeMirror from '@/templates/zshare/codemirror'
+import Transfer from '../transfer'
 import './index.scss'
 
 const { confirm } = Modal
@@ -161,22 +162,24 @@
 
     let dropParam = {
       func: 'sPC_TableData_InUpDe',
-      LText: Utils.formatOptions(dropfunc),
+      LText: Utils.formatOptions(dropfunc, window.GLOB.execType || 'y'),
+      exec_type: window.GLOB.execType || 'y',
       TypeCharOne: 'proc' // 鍒犻櫎瀛樺偍杩囩▼
     }
 
     dropParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
-    dropParam.secretkey = Utils.encrypt(dropParam.LText, dropParam.timestamp)
+    dropParam.secretkey = Utils.encrypt('', dropParam.timestamp)
     dropParam.open_key = Utils.encryptOpenKey(dropParam.secretkey, dropParam.timestamp)
 
     let createParam = {
       func: 'sPC_TableData_InUpDe',
-      LText: Utils.formatOptions(createfunc),
+      LText: Utils.formatOptions(createfunc, window.GLOB.execType || 'y'),
+      exec_type: window.GLOB.execType || 'y',
       TypeCharOne: 'proc' // 鍒涘缓瀛樺偍杩囩▼
     }
 
     createParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
-    createParam.secretkey = Utils.encrypt(createParam.LText, createParam.timestamp)
+    createParam.secretkey = Utils.encrypt('', createParam.timestamp)
     createParam.open_key = Utils.encryptOpenKey(createParam.secretkey, createParam.timestamp)
 
     let saveParam = {
@@ -379,6 +382,7 @@
               {!inputing ? <Search placeholder="璇疯緭鍏ュ瓨鍌ㄨ繃绋嬪悕绉�" defaultValue={procName} disabled={loading} enterButton="纭畾" onSearch={this.search}/> : null}
             </div>
             <div className="action-wrap">
+              {!procName || loading || !content ? null : <Transfer procName={procName} content={content} />}
               <Button key="save" className="mk-btn mk-green" disabled={loading} onClick={() => this.save()}>淇濆瓨</Button>
               <Button key="prev" className="mk-btn mk-primary" disabled={!procName || loading} onClick={this.prev}>涓婁竴鐗堟湰</Button>
               <Button key="next" className="mk-btn mk-primary" disabled={!procName || loading} onClick={this.next}>涓嬩竴鐗堟湰</Button>

--
Gitblit v1.8.0