浏览代码

采集盒问题

lipengtao 6 年之前
父节点
当前提交
470df2fb17
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/views/baseInfoManage/boxesConfig/index.vue

+ 1 - 5
src/views/baseInfoManage/boxesConfig/index.vue

100
    var server = (rule, value, callback) => {
100
    var server = (rule, value, callback) => {
101
      const that = this
101
      const that = this
102
      setTimeout(function() {
102
      setTimeout(function() {
103
        if (value === '' || that.ruleForm2.serverId === '') {
103
        if (that.ruleForm2.server === '' || that.ruleForm2.serverId === '') {
104
          callback(new Error('请选择服务器编号'))
104
          callback(new Error('请选择服务器编号'))
105
        } else {
105
        } else {
106
          callback()
106
          callback()
341
      this.dialogTableVisible = true
341
      this.dialogTableVisible = true
342
    },
342
    },
343
    querySearchAsync(queryString, cb) {
343
    querySearchAsync(queryString, cb) {
344
      if (queryString === '') {
345
        cb([])
346
        return
347
      }
348
      this.ruleForm2.serverId = ''
344
      this.ruleForm2.serverId = ''
349
      clearTimeout(this.timeout)
345
      clearTimeout(this.timeout)
350
      this.timeout = setTimeout(() => {
346
      this.timeout = setTimeout(() => {