From 0995f447a98a23671820c228b36c16b41f2bfd24 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 07 三月 2025 21:24:06 +0800 Subject: [PATCH] 2025-03-07 --- src/views/appmanage/index.jsx | 6 +++--- src/views/appmanage/submutilform/index.jsx | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/views/appmanage/index.jsx b/src/views/appmanage/index.jsx index a67c41a..7c64c42 100644 --- a/src/views/appmanage/index.jsx +++ b/src/views/appmanage/index.jsx @@ -677,7 +677,7 @@ param.LText = sublist.map(item => { let _par = this.getCusParam(item) - return `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','false','false','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css || ''}','${item.title || ''}','${item.favicon || ''}','${item.user_binding || 'false'}','','${window.btoa(window.encodeURIComponent(JSON.stringify(_par)))}','${item.app_name || selectApp.remark || ''}','${item.app_icon || ''}'` + return `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','false','false','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css || ''}','${item.title || ''}','${item.favicon || ''}','${item.user_binding || 'false'}','','${window.btoa(window.encodeURIComponent(JSON.stringify(_par)))}','${item.app_name || selectApp.remark || ''}','${item.app_icon || ''}','${item.allow_subscribe || ''}'` }) param.LText = param.LText.join(' union all ') param.LText = Utils.formatOptions(param.LText, 'x') @@ -956,7 +956,7 @@ param.LText = selectApp.sublist.map(item => { let _par = this.getCusParam(item) - return `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','false','false','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css || ''}','${item.title || ''}','${item.favicon || ''}','${item.user_binding || 'false'}','','${window.btoa(window.encodeURIComponent(JSON.stringify(_par)))}','${item.app_name || selectApp.remark || ''}','${item.app_icon || ''}'` + return `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','false','false','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css || ''}','${item.title || ''}','${item.favicon || ''}','${item.user_binding || 'false'}','','${window.btoa(window.encodeURIComponent(JSON.stringify(_par)))}','${item.app_name || selectApp.remark || ''}','${item.app_icon || ''}','${item.allow_subscribe || ''}'` }) param.LText = param.LText.join(' union all ') param.LText = Utils.formatOptions(param.LText, 'x') @@ -1099,7 +1099,7 @@ param.LText = sublist.map(item => { let _par = this.getCusParam(item) - return `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','false','false','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css || ''}','${item.title || ''}','${item.favicon || ''}','${item.user_binding || 'false'}','','${window.btoa(window.encodeURIComponent(JSON.stringify(_par)))}','${item.app_name || selectApp.remark || ''}','${item.app_icon || ''}'` + return `select '${item.ID}','${item.typename}','${selectApp.ID}','${sessionStorage.getItem('CloudUserID') || ''}','${window.GLOB.appkey || ''}','false','false','${item.role_type || 'true'}','${item.lang || 'zh-CN'}','${item.css || ''}','${item.title || ''}','${item.favicon || ''}','${item.user_binding || 'false'}','','${window.btoa(window.encodeURIComponent(JSON.stringify(_par)))}','${item.app_name || selectApp.remark || ''}','${item.app_icon || ''}','${item.allow_subscribe || ''}'` }) param.LText = param.LText.join(' union all ') param.LText = Utils.formatOptions(param.LText, 'x') diff --git a/src/views/appmanage/submutilform/index.jsx b/src/views/appmanage/submutilform/index.jsx index c097389..f6c26a1 100644 --- a/src/views/appmanage/submutilform/index.jsx +++ b/src/views/appmanage/submutilform/index.jsx @@ -380,6 +380,23 @@ )} </Form.Item> </Col> : null} + <Col span={12}> + <Form.Item label={ + <Tooltip placement="topLeft" title="鏄惁鍏佽鍦ㄥ叾浠栧簲鐢ㄤ腑鎵撳紑銆�"> + <QuestionCircleOutlined className="mk-form-tip" /> + 璁㈤槄 + </Tooltip> + }> + {getFieldDecorator('allow_subscribe', { + initialValue: card ? card.allow_subscribe || '' : '' + })( + <Radio.Group> + <Radio value="">鍏抽棴</Radio> + <Radio value="Y">寮�鍚�</Radio> + </Radio.Group> + )} + </Form.Item> + </Col> {typename !== 'pc' ? <Col span={12}> <Form.Item label={ <Tooltip placement="topLeft" title="鍦ㄤ娇鐢ㄥ皬绋嬪簭鎴栨槑绉戜簯APP鏃讹紙app妯″紡涓級鏃犳晥"> -- Gitblit v1.8.0