king
2020-04-17 4f8ffec8fc4aa9918264a3b3b4952421d896f5eb
src/templates/formtabconfig/index.jsx
@@ -180,7 +180,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -242,7 +242,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -269,7 +269,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -318,7 +318,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -649,7 +649,7 @@
          notification.warning({
            top: 92,
            message: '表单中字段名不可与主键重复!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -721,14 +721,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepeat) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -859,7 +859,7 @@
        notification.warning({
          top: 92,
          message: '请填写内部函数!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -916,7 +916,7 @@
        notification.warning({
          top: 92,
          message: '接口类型为-内部,且存在内部函数时,才可以创建存储过程!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1052,7 +1052,7 @@
        notification.warning({
          top: 92,
          message: '按钮名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1071,7 +1071,7 @@
        notification.warning({
          top: 92,
          message: '标签名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1218,7 +1218,7 @@
          notification.warning({
            top: 92,
            message: '编译错误',
            duration: 10
            duration: 5
          })
          this.setState({
@@ -1312,7 +1312,7 @@
                notification.warning({
                  top: 92,
                  message: error.message,
                  duration: 10
                  duration: 5
                })
                resolve(false)
              } else {
@@ -1344,7 +1344,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1354,7 +1354,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.basemsg'],
        duration: 10
        duration: 5
      })
    })
  }
@@ -1399,7 +1399,7 @@
            notification.warning({
              top: 92,
              message: error.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -1466,7 +1466,7 @@
      notification.warning({
        top: 92,
        message: '请选择表名!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -1612,7 +1612,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -1707,7 +1707,7 @@
      notification.warning({
        top: 92,
        message: '菜单尚未保存,请保存菜单配置!',
        duration: 10
        duration: 5
      })
    } else {
      this.menuformRef.handleConfirm().then(res => {
@@ -1717,7 +1717,7 @@
          notification.warning({
            top: 92,
            message: '菜单配置已修改,请保存!',
            duration: 10
            duration: 5
          })
        } else {
          this.setState({
@@ -1771,7 +1771,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1780,7 +1780,7 @@
        notification.warning({
          top: 92,
          message: '菜单基本信息已修改,请保存!',
          duration: 10
          duration: 5
        })
      })
    }
@@ -1821,31 +1821,31 @@
      notification.warning({
        top: 92,
        message: '尚未设置数据源,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (config.setting.datatype === 'query' && !config.setting.primaryKey) {
      notification.warning({
        top: 92,
        message: '尚未设置主键,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!tabinvalid) {
      notification.warning({
        top: 92,
        message: '存在多余标签组,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!forminvalid) {
      notification.warning({
        top: 92,
        message: '存在多余空表单组,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (primaryrepeat) {
      notification.warning({
        top: 92,
        message: '表单字段与主键重复,不可启用!',
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -1999,7 +1999,7 @@
          notification.warning({
            top: 92,
            message: '不支持此表单类型!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2014,7 +2014,7 @@
        notification.warning({
          top: 92,
          message: '配置信息格式错误!',
          duration: 10
          duration: 5
        })
      }
    })