ll
liukangdong
2024-08-23 15b5b761a15805719294e7660f4cb84b35f84af8
admin/src/components/business/OperaMemberRoleWindow.vue
@@ -66,7 +66,7 @@
          return
      }
      callback()
    };
    }
    return {
      // 表单数据
     time:null,
@@ -104,8 +104,8 @@
  },
  methods: {
    filterMethod(query, item) {
      if (!query) return item;
      return item.label.indexOf(query) > -1 ;
      if (!query) return item
      return item.label.indexOf(query) > -1
    },
    seleTime (e) {
      if(e && e.length >= 2){
@@ -124,12 +124,11 @@
        if (this.form.roleIds == null || this.form.roleIds.length == 0) {
          this.$dialog.actionConfirm('权限为空,提交后即清除所选人员已分配权限!请谨慎操作', '您确认进行该操作吗?')
              .then(() => {
                this.confirmDo();
              this.confirmDo()
              })
              .catch(() => {})
        } else {
          this.confirmDo();
          this.confirmDo()
        }
      })
    },
@@ -149,7 +148,7 @@
              this.$emit('success')
            })
            .catch(e => {
              this.$tip.apiFailed(e)
          //  this.$tip.apiFailed(e)
            })
            .finally(() => {
              this.isWorking = false
@@ -178,8 +177,8 @@
      this.$nextTick(() => {
        this.$refs.form.resetFields()
        this.form[this.configData['field.id']] = null
        this.form.ids = ids;
        this.form.names =names;
        this.form.ids = ids
        this.form.names = names
        console.log(names)
      })