| | |
| | | m.linkurl = m.linkurl.toLowerCase() |
| | | } |
| | | if (m.modal && m.modal.fields) { |
| | | if (m.modal.setting && m.modal.setting.focus) { |
| | | m.modal.setting.focus = m.modal.setting.focus.toLowerCase() |
| | | if (m.modal.setting) { |
| | | if (m.modal.setting.focus) { |
| | | m.modal.setting.focus = m.modal.setting.focus.toLowerCase() |
| | | } |
| | | if (m.modal.setting.errFocus) { |
| | | m.modal.setting.errFocus = m.modal.setting.errFocus.toLowerCase() |
| | | } |
| | | } |
| | | m.modal.fields = m.modal.fields.map(col => { |
| | | resetForm(col) |
| | |
| | | m.linkurl = getVal(m.linkurl) |
| | | } |
| | | if (m.modal && m.modal.fields) { |
| | | if (m.modal.setting && m.modal.setting.focus) { |
| | | m.modal.setting.focus = getVal(m.modal.setting.focus) |
| | | if (m.modal.setting) { |
| | | if (m.modal.setting.focus) { |
| | | m.modal.setting.focus = getVal(m.modal.setting.focus) |
| | | } |
| | | if (m.modal.setting.errFocus) { |
| | | m.modal.setting.errFocus = getVal(m.modal.setting.errFocus) |
| | | } |
| | | } |
| | | m.modal.fields = m.modal.fields.map(col => { |
| | | resetForm(col) |
| | |
| | | func: 'sPC_Get_LongParam', |
| | | MenuID: MenuID |
| | | } |
| | | |
| | | if (window.GLOB.mkHS) { |
| | | _param.lang = 'zh_CN' |
| | | } |
| | | |
| | | let result = await Api.getCacheConfig(_param) |
| | | |
| | |
| | | MenuID: MenuID |
| | | } |
| | | |
| | | if (window.GLOB.mkHS) { |
| | | _param.lang = 'zh_CN' |
| | | } |
| | | |
| | | let result = await Api.getCacheConfig(_param) |
| | | |
| | | if (result.status) { |
| | |
| | | duration: 5 |
| | | }) |
| | | return false |
| | | } else if (/,\./ig.test(sql)) { |
| | | let lines = [] |
| | | sql.split(/\n/).forEach((s, i) => { |
| | | if (/,\./ig.test(s)) { |
| | | lines.push(i + 1) |
| | | } |
| | | }) |
| | | |
| | | lines = lines.join('、') |
| | | lines = lines ? '(第' + lines + '行)' : '' |
| | | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: label + `${lines},不可出现英文逗号,.`, |
| | | duration: 5 |
| | | }) |
| | | return false |
| | | } else if (/\.,/ig.test(sql)) { |
| | | let lines = [] |
| | | sql.split(/\n/).forEach((s, i) => { |
| | | if (/\.,/ig.test(s)) { |
| | | lines.push(i + 1) |
| | | } |
| | | }) |
| | | |
| | | lines = lines.join('、') |
| | | lines = lines ? '(第' + lines + '行)' : '' |
| | | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: label + `${lines},不可出现英文逗号.,`, |
| | | duration: 5 |
| | | }) |
| | | return false |
| | | } else if (/‘|’/ig.test(sql)) { |
| | | let lines = [] |
| | | sql.split(/\n/).forEach((s, i) => { |
| | |
| | | duration: 5 |
| | | }) |
| | | return false |
| | | } else if (/,\./ig.test(sql)) { |
| | | let lines = [] |
| | | sql.split(/\n/).forEach((s, i) => { |
| | | if (/,\./ig.test(s)) { |
| | | lines.push(i + 1) |
| | | } |
| | | }) |
| | | |
| | | lines = lines.join('、') |
| | | lines = lines ? '(第' + lines + '行)' : '' |
| | | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: label + `${lines},不可出现英文逗号,.`, |
| | | duration: 5 |
| | | }) |
| | | } else if (/\.,/ig.test(sql)) { |
| | | let lines = [] |
| | | sql.split(/\n/).forEach((s, i) => { |
| | | if (/\.,/ig.test(s)) { |
| | | lines.push(i + 1) |
| | | } |
| | | }) |
| | | |
| | | lines = lines.join('、') |
| | | lines = lines ? '(第' + lines + '行)' : '' |
| | | |
| | | notification.warning({ |
| | | top: 92, |
| | | message: label + `${lines},不可出现英文逗号.,`, |
| | | duration: 5 |
| | | }) |
| | | } |
| | | |
| | | return true |
| | |
| | | document.body.className = 'mk-blue-black' |
| | | window.GLOB.dataFormat = false // 去除水印 |
| | | window.GLOB.mkHS = true |
| | | window.GLOB.dict = {} |
| | | |
| | | // HS下不可开启断点调试 |
| | | window.GLOB.breakpoint = false |