| | |
| | | if (['select', 'link', 'multiselect', 'checkcard', 'radio'].includes(cell.type) && cell.resourceType === '1' && cell.dataSource) { |
| | | let msg = getFormSql(cell, '搜索') |
| | | |
| | | sqls.push({uuid: cell.uuid, type: 'sForm', ...msg}) |
| | | sqls.push({uuid: md5(item.uuid + cell.uuid), type: 'sForm', ...msg}) |
| | | } |
| | | }) |
| | | } |
| | |
| | | type: item.type, |
| | | isconst: item.constant === 'true' |
| | | } |
| | | |
| | | |
| | | if (_item.type === 'datemonth') { |
| | | _item.type = 'text' |
| | | } else if (_item.type === 'number' || _item.type === 'rate') { |
| | |
| | | let _key = item.key.toLowerCase() |
| | | |
| | | keys.push(_key) |
| | | if (item.type === 'number' || item.type === 'rate') { |
| | | values.push('@mk_' + _key + '_mk@') |
| | | } else { |
| | | values.push(`'@mk_${_key}_mk@'`) |
| | | } |
| | | values.push('@' + _key) |
| | | }) |
| | | |
| | | if (!keys.includes(primaryKey.toLowerCase())) { |
| | |
| | | let _key = item.key.toLowerCase() |
| | | |
| | | _arr.push(_key) |
| | | if (item.type === 'number' || item.type === 'rate') { |
| | | _form.push(`${_key}=@mk_${_key}_mk@`) |
| | | } else { |
| | | _form.push(`${_key}='@mk_${_key}_mk@'`) |
| | | } |
| | | _form.push(_key + '=@' + _key) |
| | | }) |
| | | |
| | | if (_actionType === 'audit') { |
| | |
| | | ` |
| | | |
| | | _tailScript = `${_tailScript} |
| | | select @ErrorCode as ErrorCode,@retmsg as retmsg |
| | | aaa: |
| | | select @ErrorCode as ErrorCode,@retmsg as retmsg |
| | | ` |
| | | } |
| | | |