| | |
| | | getTemplate(params, 1, 50).then((res) => { |
| | | //获取模板 |
| | | const mobel = res.data.data.records; |
| | | console.log(mobel); |
| | | // console.log(mobel); |
| | | params["userid"] = this.$route.query.deptid; |
| | | getUseInfor(params).then((res) => { |
| | | //处理对应数据 |
| | | const data = res.data.data.records[0]; |
| | | console.log(data); |
| | | // console.log(data); |
| | | if (data == [] || data == undefined) { |
| | | this.data = []; |
| | | this.loading = false; |
| | |
| | | id: +id[k] + 1, |
| | | }); |
| | | } |
| | | console.log(this.data); |
| | | // console.log(this.data); |
| | | for (let n in this.data) { |
| | | //处理模板 |
| | | for (let m in mobel) { |