src/tabviews/basetable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/popview/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/zshare/actionList/normalbutton/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/templates/zshare/verifycard/baseform/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/basetable/index.jsx
@@ -512,8 +512,11 @@ } } if (cell.verify && cell.verify.invalid === 'true') { if (item.setting.maxScript && item.setting.maxScript >= 300) { if (cell.verify) { if (cell.verify.invalid === 'true') { if (item.wrap && (item.wrap.datatype === 'static' || item.wrap.datatype === 'public')) { cell.verify.invalid = 'false' } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { cell.verify.invalid = 'false' } else if (cell.intertype !== 'system' && cell.procMode !== 'system') { cell.verify.invalid = 'false' @@ -524,7 +527,11 @@ } } if (cell.verify && cell.verify.preHandle === 'true') { if (cell.verify.linkEnable === 'true' && /@/.test(cell.verify.linkUrl)) { cell.returnValue = 'true' } if (cell.verify.preHandle === 'true') { let script = cell.verify.pre_func if (!/#position-/.test(script) || /#position-init/.test(script)) { try { @@ -545,6 +552,7 @@ cell.$callbackScript = script } } } if (cell.syncComponentId) { if (cell.syncComponentId === item.setting.supModule) { src/tabviews/custom/index.jsx
@@ -931,7 +931,8 @@ cell.modal.uuid = cell.uuid + 'pop' } if (cell.verify && cell.verify.invalid === 'true') { if (cell.verify) { if (cell.verify.invalid === 'true') { if (item.wrap && (item.wrap.datatype === 'static' || item.wrap.datatype === 'public')) { cell.verify.invalid = 'false' } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { @@ -945,7 +946,11 @@ } } if (cell.verify && cell.verify.preHandle === 'true') { if (cell.verify.linkEnable === 'true' && /@/.test(cell.verify.linkUrl)) { cell.returnValue = 'true' } if (cell.verify.preHandle === 'true') { let script = cell.verify.pre_func if (!/#position-/.test(script) || /#position-init/.test(script)) { try { @@ -966,6 +971,7 @@ cell.$callbackScript = script } } } if (cell.syncComponentId) { if (cell.syncComponentId === item.setting.supModule) { src/tabviews/custom/popview/index.jsx
@@ -628,21 +628,26 @@ } } if (cell.verify && cell.verify.invalid === 'true') { if (item.wrap && item.wrap.datatype === 'static') { if (cell.verify) { if (cell.verify.invalid === 'true') { if (item.wrap && (item.wrap.datatype === 'static' || item.wrap.datatype === 'public')) { cell.verify.invalid = 'false' } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { cell.verify.invalid = 'false' } else if (cell.intertype !== 'system' && cell.procMode !== 'system') { cell.verify.invalid = 'false' } else if (cell.sqlType === 'insert') { cell.verify.invalid = 'false' } else if (cell.Ot === 'notRequired') { cell.verify.invalid = 'false' } else if (cell.intertype !== 'system' && cell.procMode !== 'system') { cell.verify.invalid = 'false' } } if (cell.verify && cell.verify.preHandle === 'true') { if (cell.verify.linkEnable === 'true' && /@/.test(cell.verify.linkUrl)) { cell.returnValue = 'true' } if (cell.verify.preHandle === 'true') { let script = cell.verify.pre_func if (!/#position-/.test(script) || /#position-init/.test(script)) { try { @@ -663,6 +668,7 @@ cell.$callbackScript = script } } } if (cell.syncComponentId) { if (cell.syncComponentId === item.setting.supModule) { src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2320,7 +2320,7 @@ Modal.success({ title: msg, onOk: () => { this.successContinue(sign, id) this.successContinue(sign, id, res) } }) return @@ -2328,10 +2328,10 @@ } this.successContinue(sign, id) this.successContinue(sign, id, res) } successContinue = (sign, id) => { successContinue = (sign, id, res) => { const { btn } = this.props const { btnconfig } = this.state @@ -2452,6 +2452,16 @@ } else { url = btn.verify.linkUrl } if (/@/.test(url)) { Object.keys(res).forEach(key => { url = url.replace(new RegExp('@' + key + '@', 'ig'), res[key]) }) } if (!/^http/.test(url)) { url = window.location.origin + url } window.open(url) } } src/templates/zshare/verifycard/baseform/index.jsx
@@ -548,7 +548,7 @@ <Col span={24}></Col> <Col span={8}> <Form.Item label={ <Tooltip placement="bottomLeft" title="按钮执行成功后需要打开的链接地址。"> <Tooltip placement="bottomLeft" overlayStyle={{maxWidth: 350}} title="按钮执行成功后需要打开的链接地址。如果地址不是http开始,会拼接当前系统域名,例如:地址为 /xxxx 时,会打开 http://***.***.**/xxxx。"> <QuestionCircleOutlined className="mk-form-tip" /> 打开链接 </Tooltip>