king
2021-07-29 0a2fcaf8a8f1cc9ff52458e7f4d2b2840028b4b3
2021-07-29
3个文件已修改
14 ■■■■ 已修改文件
src/tabviews/rolemanage/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/rolemanage/index.jsx
@@ -712,12 +712,12 @@
    Api.getCloudConfig(param).then(result => {
      if (result.status) {
        if (!result.data || result.data.length === 0) {
          this.setState({loadingAppTree: false, appTrees: []})
          this.setState({loadingAppTree: false, appTrees: [], appInitCheckKeys: null, appCheckedKeys: [], appOpenKeys: [], selectAppTrees: [], selectAppOpenKeys: []})
        } else {
          this.initTrees(result.data)
        }
      } else {
        this.setState({loadingAppTree: false, appTrees: []})
        this.setState({loadingAppTree: false, appTrees: [], appInitCheckKeys: null, appCheckedKeys: [], appOpenKeys: [], selectAppTrees: [], selectAppOpenKeys: []})
        notification.warning({
          top: 92,
          message: result.message,
@@ -770,7 +770,7 @@
    let expandedKeys = this.getExpandedKeys(trees, 0, [])
    this.setState({loadingAppTree: false, appTrees: trees, appOpenKeys: expandedKeys}, () => {
    this.setState({loadingAppTree: false, appInitCheckKeys: null, appCheckedKeys: [], selectAppTrees: [], selectAppOpenKeys: [], appTrees: trees, appOpenKeys: expandedKeys}, () => {
      this.getSelectAppNodeList()
    })
  }
src/tabviews/zshare/mutilform/index.jsx
@@ -187,6 +187,11 @@
              pattern: /^[a-zA-Z0-9]*$/ig,
              message: formRule.input.letternummsg
            })
          } else if (item.regular === 'phone') {
            _rules.push({
              pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/ig,
              message: '请正确输入手机号'
            })
          } else if (item.regular === 'funcname') {
            _rules.push({
              pattern: /^[\u4E00-\u9FA50-9a-zA-Z_]*$/ig,
src/templates/zshare/formconfig.jsx
@@ -2555,6 +2555,9 @@
      }, {
        value: 'letter&number',
        text: Formdict['header.form.letter&number']
      }, {
        value: 'phone',
        text: '手机号'
      }]
    },
    {