king
2022-08-28 8c9ec65045d861a1082a6929a8f3413b3c5cd7f6
2022-08-28
6个文件已修改
40 ■■■■■ 已修改文件
public/options.json 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/actionform/index.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/actioncomponent/actionform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/options.json
@@ -1,20 +1,20 @@
{
  "appId": "202104131808068631B24E716878D4DEDBB6D",
  "appkey": "20210413175253507D1D53824539942FDA833",
  "appId": "202108312122504607B107A83F55B40C98CCF",
  "appkey": "20210831212235413F287EC3BF489424496C8",
  "mainSystemApi": "http://sso.mk9h.cn/cloud/webapi/dostars",
  "systemType": "",
  "externalDatabase": "false",
  "lineColor": "",
  "filter": "false",
  "defaultApp": "mk",
  "defaultApp": "css_wx_app",
  "defaultLang": "zh-CN",
  "WXAppID": "",
  "WXAppID": "wx4d8a34c8d4494872",
  "WXminiAppID": "",
  "debugger": false,
  "licenseKey": "",
  "probation": "",
  "keepPassword": "true",
  "platforms": ["H5", "wechat", "android", "ios", "wxMiniProgram"],
  "host": "https://demo.mk9h.cn",
  "service": "mes/"
  "host": "http://demo.mk9h.cn",
  "service": "erp_new/"
}
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -429,6 +429,9 @@
      } else if (_funcType === 'pay') {
        shows.push('payType', 'Ot', 'execSuccess', 'execError', 'syncComponent', 'openmenu')
        reOptions.Ot = requireOptions.filter(op => ['requiredSgl'].includes(op.value))
      } else if (_funcType === 'refund') {
        shows.push('Ot', 'execSuccess', 'execError', 'syncComponent', 'openmenu')
        reOptions.Ot = requireOptions.filter(op => ['requiredSgl'].includes(op.value))
      }
    }
    
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -91,15 +91,16 @@
  let pageTemps = [
    { value: 'billprint', text: '单据打印' },
    { value: 'pay', text: Formdict['model.pay'] },
    { value: 'custom', text: Formdict['header.form.custom'] }
    { value: 'pay', text: '支付' },
    { value: 'custom', text: '自定义' }
  ]
  const isApp = ['pc', 'mob'].includes(appType)
  let funTypes = [
    { value: 'print', text: '标签打印' },
    { value: 'changeuser', text: '切换用户' },
    { value: 'refund', text: '退款' },
    { value: 'closetab', text: '标签关闭' },
    { value: 'changeuser', text: '切换用户' },
    { value: 'megvii', text: '旷视面板机' },
    { value: 'filezip', text: '文件压缩包' },
  ]
@@ -121,6 +122,7 @@
    funTypes = [
      { value: 'scan', text: '扫码' },
      { value: 'pay', text: '支付' },
      { value: 'refund', text: '退款' },
      { value: 'resetPwd', text: '修改密码'},
      { value: 'mkBinding', text: '开通扫码登录' },
      { value: 'mkUnBinding', text: '用户解绑' },
@@ -137,6 +139,7 @@
  } else if (appType === 'pc') {
    opentypes = opentypes.filter(item => item.value !== 'tab')
    funTypes = [
      { value: 'refund', text: '退款' },
      { value: 'changeuser', text: '切换用户' },
    ]
    pageTemps = [
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1929,10 +1929,7 @@
        }
      }
      let keys = []
      verify.wxNoteKeys.forEach(item => {
        keys.push(item.key)
        _param.data[item.key] = {value: '', color: item.color}
      })
@@ -1948,9 +1945,9 @@
          m.client_msg_id = item.send_id
        }
        keys.forEach(key => {
          if (item[key] !== undefined) {
            m.data[key].value = item[key]
        verify.wxNoteKeys.forEach(note => {
          if (item[note.value] !== undefined) {
            m.data[note.key].value = item[note.value]
          }
        })
src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -302,6 +302,10 @@
        shows.push('refreshTab')
      } else if (_funcType === 'megvii') {
        shows.push('subFunc', 'progress')
      } else if (_funcType === 'refund') {
        shows.push('Ot', 'execSuccess', 'execError')
        reOptions.Ot = requireOptions.filter(op => op.value === 'requiredSgl')
      } else if (_funcType === 'filezip') {
        reOptions.Ot = requireOptions
        reRequired.innerFunc = false
src/templates/zshare/formconfig.jsx
@@ -980,6 +980,9 @@
        value: 'print',
        text: '标签打印'
      }, {
        value: 'refund',
        text: '退款'
      }, {
        value: 'changeuser',
        text: '切换用户'
      }, {