king
2020-04-17 4f8ffec8fc4aa9918264a3b3b4952421d896f5eb
src/templates/subtableconfig/index.jsx
@@ -207,7 +207,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
          })
        }
      })
@@ -296,7 +296,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -336,7 +336,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -502,7 +502,7 @@
            notification.warning({
              top: 92,
              message: result.message,
              duration: 10
              duration: 5
            })
          }
@@ -585,14 +585,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -700,7 +700,7 @@
                  notification.warning({
                    top: 92,
                    message: response.message,
                    duration: 10
                    duration: 5
                  })
                } else {
                  this.setState({
@@ -762,14 +762,14 @@
          notification.warning({
            top: 92,
            message: '字段已存在!',
            duration: 10
            duration: 5
          })
          return
        } else if (labelrepet) {
          notification.warning({
            top: 92,
            message: '名称已存在!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -841,7 +841,7 @@
        notification.warning({
          top: 92,
          message: '请填写内部函数!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -887,7 +887,7 @@
              notification.warning({
                top: 92,
                message: '弹窗(表单)按钮,请先配置表单信息!',
                duration: 10
                duration: 5
              })
              resolve(false)
            }
@@ -905,7 +905,7 @@
            notification.warning({
              top: 92,
              message: '请完善导入Excel验证信息!',
              duration: 10
              duration: 5
            })
            resolve(false)
          }
@@ -983,7 +983,7 @@
        notification.warning({
          top: 92,
          message: '接口类型为-内部,且存在内部函数时,才可以创建存储过程!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1056,7 +1056,7 @@
      notification.warning({
        top: 92,
        message: '此按钮无子配置项!',
        duration: 10
        duration: 5
      })
    }
  }
@@ -1113,7 +1113,7 @@
        notification.warning({
          top: 92,
          message: '按钮名称不可相同!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -1235,7 +1235,7 @@
          notification.warning({
            top: 92,
            message: '编译错误',
            duration: 10
            duration: 5
          })
          this.setState({
@@ -1337,7 +1337,7 @@
                notification.warning({
                  top: 92,
                  message: error.message,
                  duration: 10
                  duration: 5
                })
                resolve(false)
              } else {
@@ -1381,7 +1381,7 @@
            notification.warning({
              top: 92,
              message: msg,
              duration: 10
              duration: 5
            })
            return false
          } else {
@@ -1413,7 +1413,7 @@
              notification.warning({
                top: 92,
                message: response.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -1423,7 +1423,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['header.menu.basemsg'],
        duration: 10
        duration: 5
      })
    })
  }
@@ -1475,7 +1475,7 @@
            notification.warning({
              top: 92,
              message: error.message,
              duration: 10
              duration: 5
            })
            resolve(false)
          } else {
@@ -1599,7 +1599,7 @@
      notification.warning({
        top: 92,
        message: '请选择表名!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -1835,7 +1835,7 @@
          notification.warning({
            top: 92,
            message: res.message,
            duration: 10
            duration: 5
          })
        }
      })
@@ -1957,7 +1957,7 @@
      notification.warning({
        top: 92,
        message: '菜单尚未保存,请保存菜单配置!',
        duration: 10
        duration: 5
      })
    } else {
      this.menuformRef.handleConfirm().then(res => {
@@ -1967,7 +1967,7 @@
          notification.warning({
            top: 92,
            message: '菜单配置已修改,请保存!',
            duration: 10
            duration: 5
          })
        } else {
          this.setState({
@@ -2037,7 +2037,7 @@
              notification.warning({
                top: 92,
                message: res.message,
                duration: 10
                duration: 5
              })
            }
          })
@@ -2046,7 +2046,7 @@
        notification.warning({
          top: 92,
          message: '菜单基本信息已修改,请保存!',
          duration: 10
          duration: 5
        })
      })
    }
@@ -2059,13 +2059,13 @@
      notification.warning({
        top: 92,
        message: '尚未设置数据源,不可启用!',
        duration: 10
        duration: 5
      })
    } else if (!config.setting.primaryKey) {
      notification.warning({
        top: 92,
        message: '尚未设置主键,不可启用!',
        duration: 10
        duration: 5
      })
    } else {
      this.setState({
@@ -2151,7 +2151,7 @@
        notification.warning({
          top: 92,
          message: res.message,
          duration: 10
          duration: 5
        })
      }
    })
@@ -2167,7 +2167,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['form.required.select'] + this.state.dict['header.form.thawbutton'],
        duration: 10
        duration: 5
      })
    } else {
@@ -2197,7 +2197,7 @@
          notification.warning({
            top: 92,
            message: '打开方式为 弹窗(表单)、提示框或直接执行,且使用系统函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2226,7 +2226,7 @@
          notification.warning({
            top: 92,
            message: '接口类型为-内部,且不存在内部函数时,才可以创建接口!',
            duration: 10
            duration: 5
          })
          return
        }
@@ -2250,14 +2250,14 @@
        notification.warning({
          top: 92,
          message: '配置信息格式错误!',
          duration: 10
          duration: 5
        })
        return
      } else if (!['pop', 'prompt', 'exec', 'excelIn', 'excelOut', 'popview'].includes(res.OpenType)) {
        notification.warning({
          top: 92,
          message: '不支持此打开方式!',
          duration: 10
          duration: 5
        })
        return
      }