king
2024-09-13 c59272a71754865503c6a3ddeabc6c6da3ed47ce
2024-09-13
6个文件已修改
30 ■■■■■ 已修改文件
src/tabviews/basetable/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/popview/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils-custom.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/rolemanage/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/basetable/index.jsx
@@ -521,7 +521,7 @@
    if (cell.OpenType === 'excelOut') { // 导出
      cell.$menuName = item.$menuname
    } else if (cell.OpenType === 'pop' && cell.modal) {
      cell.modal.uuid = cell.uuid + 'pop'
      cell.modal.uuid = cell.uuid + '_pop'
    }
    if (cell.verify) {
src/tabviews/custom/index.jsx
@@ -981,7 +981,7 @@
        cell.modal.$cache = item.$cache
        cell.modal.$time = item.$time
      }
      cell.modal.uuid = cell.uuid + 'pop'
      cell.modal.uuid = cell.uuid + '_pop'
    }
    if (cell.verify) {
src/tabviews/custom/popview/index.jsx
@@ -672,7 +672,7 @@
    if (cell.OpenType === 'excelOut') { // 导出
      cell.$menuName = item.$menuname
    } else if (cell.OpenType === 'pop' && cell.modal) {
      cell.modal.uuid = cell.uuid + 'pop'
      cell.modal.uuid = cell.uuid + '_pop'
    }
    if (cell.verify) {
src/tabviews/zshare/mutilform/index.jsx
@@ -4,6 +4,7 @@
import { Form, Row, Col, notification, Tooltip, Rate } from 'antd'
import { QuestionCircleOutlined, StarFilled } from '@ant-design/icons'
import moment from 'moment'
import md5 from 'md5'
import Api from '@/api'
import Utils from '@/utils/utils.js'
@@ -840,7 +841,7 @@
  }
  getFormData = (deForms) => {
    if (window.backend && window.GLOB.CacheData.has('sql_' + deForms[0].uuid)) {
    if (window.backend && window.GLOB.CacheData.has('sql_' + md5(this.props.action.uuid.replace(/_pop$/, '') + deForms[0].uuid))) {
      this.improveBackActionForm(deForms)
    } else if (deForms.length === 1) {
      this.improveSimpleActionForm(deForms)
@@ -878,9 +879,16 @@
    let skip = false
    deForms.forEach(item => {
      let ex = window.GLOB.CacheData.get('sql_' + item.uuid)
      let ex = window.GLOB.CacheData.get('sql_' + md5(action.uuid.replace(/_pop$/, '') + item.uuid))
      
      if (!ex) return
      if (!ex) {
        notification.warning({
          top: 92,
          message: '表单(' + item.label + ')无可执行脚本。',
          duration: 5
        })
        return
      }
      
      let exps = []
      ex.reps.forEach(n => {
src/utils/utils-custom.js
@@ -3214,8 +3214,8 @@
          // 数据源sql语句,预处理,权限黑名单字段设置为隐藏表单
          if (['select', 'link', 'multiselect', 'radio', 'checkbox', 'checkcard'].includes(form.type) && form.resourceType === '1') {
            let msg = getFormSql(form, '表单')
            sqls.push({uuid: form.uuid, type: 'form', ...msg})
            sqls.push({uuid: md5(cell.uuid + form.uuid), type: 'form', ...msg})
          } else if (form.type === 'popSelect') {
            let msg = getPopSelectSql(form)
        
@@ -3248,7 +3248,7 @@
            if (['select', 'link', 'multiselect', 'radio', 'checkbox', 'checkcard'].includes(form.type) && form.resourceType === '1') {
              let msg = getFormSql(form, '表单')
    
              sqls.push({uuid: form.uuid, type: 'form', ...msg})
              sqls.push({uuid: md5(cell.uuid + form.uuid), type: 'form', ...msg})
            } else if (form.type === 'popSelect') {
              let msg = getPopSelectSql(form)
          
src/views/rolemanage/index.jsx
@@ -196,10 +196,10 @@
        })
        if (!im) {
          menus.push({nodes: '', type: 'none', extra: true, MenuID: app.instantMessage, MenuName: '即时通信'})
          menus.push({nodes: '', type: 'none', backend: 'level1', extra: true, MenuID: app.instantMessage, MenuName: '即时通信'})
        }
        if (!ub) {
          menus.push({nodes: '', type: 'none', extra: true, MenuID: app.userbind, MenuName: '用户绑定'})
          menus.push({nodes: '', type: 'none', backend: 'level1', extra: true, MenuID: app.userbind, MenuName: '用户绑定'})
        }
        this.setState({