king
2022-08-19 545231cc08e10b40011a581afb6be5f27e85ab52
2022-08-19
4个文件已修改
42 ■■■■■ 已修改文件
src/api/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/topSearch/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/printTemplate/option.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -811,7 +811,7 @@
    }
    let url = '/webapi/dostars'
    if (param.rduri && /\/dostars/.test(param.rduri)) {
    if (param.rduri && /\/dostars/.test(param.rduri) && param.func !== 'webapi_ChangeUser') { // 切换用户需要通过本地
      url = param.rduri
      delete param.rduri
    }
src/tabviews/zshare/topSearch/index.jsx
@@ -228,7 +228,7 @@
      advanceValues,
      searchlist: _list
    }, () => {
      if (!window.GLOB.mkHS && options.sysType === 'local' && !window.GLOB.systemType) {
      if (!window.GLOB.mkHS && options.sysType === 'local' && window.GLOB.systemType !== 'production') {
        this.improveSimpleSearch(deForms)
      } else {
        this.improveSearch(mainItems, localItems)
@@ -241,7 +241,7 @@
    const { BID } = this.props
    let deffers = []
    if (!window.GLOB.mkHS && window.GLOB.systemType !== 'production') {
    if (!window.GLOB.mkHS && options.sysType !== 'local') {
      localItems = [...localItems, ...mainItems]
      mainItems = []
    }
@@ -360,6 +360,10 @@
      param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
      param.secretkey = Utils.encrypt(param.LText, param.timestamp)
      if (item.database === 'sso' && window.GLOB.mainSystemApi) {
        param.rduri = window.GLOB.mainSystemApi
      }
      return (
        new Promise(resolve => {
          setTimeout(() => {
src/templates/zshare/formconfig.jsx
@@ -3068,6 +3068,19 @@
    },
    {
      type: 'radio',
      key: 'hidden',
      label: "隐藏",
      initVal: card.hidden || 'false',
      options: [{
        value: 'true',
        text: Formdict['model.true']
      }, {
        value: 'false',
        text: Formdict['model.false']
      }]
    },
    {
      type: 'radio',
      key: 'readonly',
      label: '只读',
      initVal: card.readonly || 'false',
@@ -3082,21 +3095,8 @@
    {
      type: 'radio',
      key: 'required',
      label: Formdict['model.required'],
      label: "必填",
      initVal: card.required || 'true',
      options: [{
        value: 'true',
        text: Formdict['model.true']
      }, {
        value: 'false',
        text: Formdict['model.false']
      }]
    },
    {
      type: 'radio',
      key: 'hidden',
      label: Formdict['model.hidden'],
      initVal: card.hidden || 'false',
      options: [{
        value: 'true',
        text: Formdict['model.true']
src/views/printTemplate/option.js
@@ -134,6 +134,10 @@
  {
    text: 'qrcode',
    value: 'qrcode'
  },
  {
    text: 'datamatrix',
    value: 'datamatrix'
  }
]