Browse Source

no message

linwenxin 5 months ago
parent
commit
9c9af75748
1 changed files with 38 additions and 38 deletions
  1. 38 38
      src/views/setting/workContactLetter/department/index.vue

+ 38 - 38
src/views/setting/workContactLetter/department/index.vue

@@ -128,44 +128,44 @@ export default {
     },
     formItems() {
       return [
-        {
-          name: 'el-select',
-          options: this.websitList.map(item => ({
-            data: item,
-            label: `(${item.websitId})${item.name}`,
-            value: item.websitId
-          })),
-          md: 8,
-          attributes: {
-            placeholder: '请选择',
-            clearable: true,
-            filterable: true
-          },
-          formItemAttributes: {
-            label: '所属网点',
-            prop: 'websitId',
-            rules: [...required]
-          },
-          events: {
-            change: val => {
-              this.formData.adminUserId = ''
-              this.formData.userName = ''
-              if (val) {
-                this.formData.websitName = this.websitList?.find(item => item.websitId === val)?.name
-                getAccountList({
-                  websitId: val,
-                  pageNum: 1,
-                  pageSize: -1
-                }).then(res => {
-                  this.accountList = res.data.records
-                })
-              } else {
-                this.formData.websitName = ''
-                this.accountList = []
-              }
-            }
-          }
-        },
+        // {
+        //   name: 'el-select',
+        //   options: this.websitList.map(item => ({
+        //     data: item,
+        //     label: `(${item.websitId})${item.name}`,
+        //     value: item.websitId
+        //   })),
+        //   md: 8,
+        //   attributes: {
+        //     placeholder: '请选择',
+        //     clearable: true,
+        //     filterable: true
+        //   },
+        //   formItemAttributes: {
+        //     label: '所属网点',
+        //     prop: 'websitId',
+        //     rules: [...required]
+        //   },
+        //   events: {
+        //     change: val => {
+        //       this.formData.adminUserId = ''
+        //       this.formData.userName = ''
+        //       if (val) {
+        //         this.formData.websitName = this.websitList?.find(item => item.websitId === val)?.name
+        //         getAccountList({
+        //           websitId: val,
+        //           pageNum: 1,
+        //           pageSize: -1
+        //         }).then(res => {
+        //           this.accountList = res.data.records
+        //         })
+        //       } else {
+        //         this.formData.websitName = ''
+        //         this.accountList = []
+        //       }
+        //     }
+        //   }
+        // },
         {
           name: 'el-select',
           options: this.accountList.map(item => ({