| | |
| | | props: ["deptid"], |
| | | data() { |
| | | var deptid = this.deptid; |
| | | if (this.deptid == undefined) { |
| | | // deptid = this.userInfo |
| | | // console.log(this.$store.getters.userInfo.dept_id); |
| | | deptid = this.$store.getters.userInfo.dept_id; |
| | | } |
| | | return { |
| | | do: 0, |
| | | form: { cardid: "" }, |
| | | |
| | | query: {}, |
| | |
| | | res: "data", |
| | | }, |
| | | tip: "请上传 .xls,.xlsx 标准格式文件", |
| | | action: "/api/social/import-user", |
| | | action: "/api/social/import-user?deptid=" + deptid, |
| | | }, |
| | | // { |
| | | // label: "数据覆盖", |
| | |
| | | }, |
| | | methods: { |
| | | changes(val) { |
| | | this.do++; |
| | | if (this.do >= 2) { |
| | | if (val.value != "") { |
| | | getuseList(val.value).then((res) => { |
| | | // console.log(res); |
| | | var d = res.data.data; |