| | |
| | | </template> |
| | | |
| | | <script> |
| | | import Cookies from "js-cookie" |
| | | import { |
| | | addDept, |
| | | addComp, |
| | |
| | | // 是否更新已经存在的用户数据 |
| | | updateSupport: 0, |
| | | // 设置上传的请求头部 |
| | | headers: { Authorization: "Bearer " + getToken() }, |
| | | headers: { Authorization: "Bearer " + getToken(),hospId: Cookies.get("hospId") }, |
| | | // 上传的地址 |
| | | url: |
| | | process.env.VUE_APP_BASE_API + |
| | |
| | | // this.$modal.msgError(response.msg); |
| | | // this.$modal.msgError("人员"+ response.data.list + "信息错误"); |
| | | const errorList = response.data.list.join(", "); |
| | | this.$confirm(`${errorList}`, "以下人员信息有误,请核对后导入:", { |
| | | this.$confirm(`${errorList}`,`${response.msg}`, { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "error", |