浏览代码

merge fix

scorpio 2 年之前
父节点
当前提交
0adab98697
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/home/component/owner_serach.vue

+ 3 - 3
src/views/home/component/owner_serach.vue

@@ -182,7 +182,7 @@ export default {
         amount: '',
         isImportant: '', // 是否省重点
         isFocusStart: '', // 是否集中开工
-        deptId: '', // 机构id,多选
+        deptIds: '', // 机构id,多选
         type: true
       },
       totalAmount: [
@@ -267,7 +267,7 @@ export default {
       this.form.amount = ''
       this.form.isFocusStart = ''
       this.form.isImportant = ''
-      this.form.deptId = ''
+      this.form.deptIds = ''
       this.form.type = false
       this.$bus.emit('serach', this.form)
     },
@@ -296,7 +296,7 @@ export default {
     },
     orgCheck () {
       const checked = this.deptList.filter(sub => sub.checked)
-      this.form.deptId = checked.map(sub => sub.id).join(',')
+      this.form.deptIds = checked.map(sub => sub.id).join(',')
       this.showOrg = false
     },
     change () {