king
2022-04-02 8436ec13ba28c0bc979be149ff1aa79eb6324fff
2022-04-02
6个文件已修改
32 ■■■■■ 已修改文件
public/README.txt 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/options.json 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/dragtitle/options.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/form/normal-form/index.jsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/form/tab-form/index.jsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/README.txt
@@ -6,7 +6,7 @@
systemType        -- 系统类型,正式系统是填production,开发系统为空,开发系统会有一部分的数据模糊化
externalDatabase  -- 外联库,不使用时默认为false
lineColor         -- 登录页分割线颜色
filter            -- 页面滤镜,值为'true'时,页面显示为黑白色
filter            -- 页面滤镜,值为'true'时,页面显示为黑白色;当设置为日期时(YYYY-MM-DD),截止到当前日期,页面显示为黑白色
defaultApp        -- 默认应用,系统默认打开某个子应用时需填写应用编码
defaultLang       -- 打开的子应用语言类型,默认为zh-CN
WXAppID           -- 使用公众号时,绑定的公众号ID
public/options.json
@@ -1,17 +1,17 @@
{
  "appId": "201912040924165801464FF1788654BC5AC73",
  "appkey": "20191106103859640976D6E924E464D029CF0",
  "appId": "202108312122504607B107A83F55B40C98CCF",
  "appkey": "20210831212235413F287EC3BF489424496C8",
  "mainSystemApi": "http://sso.mk9h.cn/cloud/webapi/dostars",
  "systemType": "",
  "externalDatabase": "false",
  "lineColor": "",
  "filter": "false",
  "defaultApp": "mk",
  "defaultApp": "mkindustry",
  "defaultLang": "zh-CN",
  "WXAppID": "",
  "debugger": false,
  "licenseKey": "",
  "probation": "",
  "host": "http://qingqiumarket.cn",
  "service": "MKWMS/"
  "licenseKey": "7EFE13KIKLILIJB64C12",
  "probation": "2021-12-31",
  "host": "http://demo.mk9h.cn",
  "service": "erp_new/"
}
src/index.js
@@ -177,7 +177,7 @@
    document.title = GLOB.platTitle || ''
    if (config.filter === 'true') {
    if (config.filter === 'true' || (/^20\d{2}-\d{2}-\d{2}$/.test(config.filter) && new Date(config.filter).getTime() + 86400000 >= new Date().getTime())) {
      let html = document.getElementsByTagName('html')[0]
      
      if (html) {
src/menu/components/form/dragtitle/options.jsx
@@ -7,7 +7,7 @@
  if (appType === 'mob') {
    group.fields.forEach(f => {
      if (f.field && ['text', 'number'].includes(f.type) && f.hidden !== 'true' && f.readonly !== 'true') {
      if (f.field && ['select', 'text', 'number'].includes(f.type) && f.hidden !== 'true' && f.readonly !== 'true') {
        fields.push(f)
      }
    })
src/tabviews/custom/components/form/normal-form/index.jsx
@@ -76,6 +76,12 @@
      group.subButton.OpenType = 'formSubmit'
      group.subButton.execError = 'never'
      group.subButton.syncComponentId = group.subButton.syncComponent ? group.subButton.syncComponent.pop() : ''
      if (group.subButton.syncComponentId === config.uuid) {
        group.subButton.syncComponentId = ''
      }
      if (group.subButton.enable === 'false') {
        group.subButton.style.display = 'none'
      }
src/tabviews/custom/components/form/tab-form/index.jsx
@@ -75,6 +75,12 @@
      group.subButton.OpenType = 'formSubmit'
      group.subButton.execError = 'never'
      group.subButton.syncComponentId = group.subButton.syncComponent ? group.subButton.syncComponent.pop() : ''
      if (group.subButton.syncComponentId === config.uuid) {
        group.subButton.syncComponentId = ''
      }
      if (group.subButton.enable === 'false') {
        group.subButton.style.display = 'none'
        group.$button = 'no-button'