king
2020-04-17 4f8ffec8fc4aa9918264a3b3b4952421d896f5eb
src/templates/comtableconfig/index.jsx
@@ -266,7 +266,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -328,7 +328,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -355,7 +355,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -404,7 +404,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -528,7 +528,7 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
          }
@@ -738,14 +738,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -853,7 +853,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                } else {
                  this.setState({
@@ -928,7 +928,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                } else {
                  this.setState({
@@ -990,14 +990,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -1089,7 +1089,7 @@
        notification.warning({
          top: 92,
          message: '请填写内部函数!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1135,7 +1135,7 @@
              notification.warning({
                top: 92,
                message: '弹窗(表单)按钮,请先配置表单信息!',
                duration: 10
                duration: 5
              })
              resolve(false)
            }
@@ -1153,7 +1153,7 @@
            notification.warning({
              top: 92,
              message: '请完善导入Excel验证信息!',
              duration: 10
              duration: 5
            })
            resolve(false)
          }
@@ -1232,7 +1232,7 @@
        notification.warning({
          top: 92,
          message: '接口类型为-内部,且存在内部函数时,才可以创建存储过程!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1264,7 +1264,7 @@
          notification.warning({
            top: 92,
            message: '打开方式为 弹窗(表单)、提示框或直接执行,且使用系统函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -1294,7 +1294,7 @@
          notification.warning({
            top: 92,
            message: '接口类型为-内部,且不存在内部函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -1385,7 +1385,7 @@
      notification.warning({
        top: 92,
        message: '此按钮无子配置项!',
        duration: 10
        duration: 5
      })
    }
  }
@@ -1476,7 +1476,7 @@
        notification.warning({
          top: 92,
          message: '按钮名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1495,7 +1495,7 @@
        notification.warning({
          top: 92,
          message: '标签名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1664,7 +1664,7 @@
          notification.warning({
            top: 92,
            message: '编译错误',
            duration: 10
            duration: 5
          })
          this.setState({
            menucloseloading: false,
@@ -1806,7 +1806,7 @@
                notification.warning({
                  top: 92,
                  message: error.message,
                  duration: 10
                  duration: 5
                })
                resolve(false)
              } else {
@@ -1850,7 +1850,7 @@
            notification.warning({
              top: 92,
              message: msg,
              duration: 10
              duration: 5
            })
            return false
          } else {
@@ -1904,7 +1904,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1914,7 +1914,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.basemsg'],
        duration: 10
        duration: 5
      })
    })
  }
@@ -1966,7 +1966,7 @@
            notification.warning({
              top: 92,
              message: error.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -2144,7 +2144,7 @@
      notification.warning({
        top: 92,
        message: '请选择表名!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -2223,7 +2223,7 @@
      notification.warning({
        top: 92,
        message: '请选择添加字段',
        duration: 10
        duration: 5
      })
      return
    }
@@ -2390,7 +2390,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -2524,7 +2524,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.config.notsave'],
        duration: 10
        duration: 5
      })
    } else {
      this.menuformRef.handleConfirm().then(res => {
@@ -2544,7 +2544,7 @@
          notification.warning({
            top: 92,
            message: this.state.dict['header.menu.config.update'],
            duration: 10
            duration: 5
          })
          return
        }
@@ -2625,7 +2625,7 @@
            notification.warning({
              top: 92,
              message: res.message,
              duration: 10
              duration: 5
            })
          }
        })
@@ -2633,7 +2633,7 @@
        notification.warning({
          top: 92,
          message: this.state.dict['header.menu.config.update'],
          duration: 10
          duration: 5
        })
      })
    }
@@ -2658,19 +2658,19 @@
      notification.warning({
        top: 92,
        message: '菜单尚未设置数据源,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!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 {
      this.setState({
@@ -2808,7 +2808,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -2824,7 +2824,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['form.required.select'] + this.state.dict['header.form.thawbutton'],
        duration: 10
        duration: 5
      })
    } else {
@@ -2912,7 +2912,7 @@
          notification.warning({
            top: 92,
            message: '显示列已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2925,7 +2925,7 @@
        notification.warning({
          top: 92,
          message: '配置信息格式错误!',
          duration: 10
          duration: 5
        })
      }
    })