| | |
| | | align="center" |
| | | prop="company" |
| | | width="200" |
| | | /> |
| | | > |
| | | |
| | | </el-table-column> |
| | | <!-- <el-table-column label="工号" align="center" prop="jobNo" width="80" /> --> |
| | | <el-table-column label="姓名" align="center" prop="name" width="75" /> |
| | | <el-table-column label="性别" align="center" prop="sex" width="75"> |
| | |
| | | reservationTime: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "blur" }, |
| | | ], |
| | | dwDeptName: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "change" }, |
| | | ], |
| | | // dwDeptName: [ |
| | | // { required: true, validator: checkPhoneNum, trigger: "change" }, |
| | | // ], |
| | | signingPic: [ |
| | | { required: true, validator: checkPhoneNum, trigger: "blur" }, |
| | | ], |
| | |
| | | |
| | | /** 导入按钮操作 */ |
| | | handleImport() { |
| | | if (this.objs.drugManufacturerId && this.objs.reservationTime &&this.objs.dwDeptName) { |
| | | if (this.objs.drugManufacturerId && this.objs.reservationTime) { |
| | | this.upload.title = "用户导入"; |
| | | this.upload.open = true; |
| | | } else { |
| | | this.$modal.msgError("请选择单位或部门"); |
| | | this.$modal.msgError("请选择单位或预约时间"); |
| | | } |
| | | }, |
| | | /** 下载模板操作 */ |
| | |
| | | handleFileSuccess(response, file, fileList) { |
| | | this.ListObj = response.data; |
| | | this.userList = response.data.list; |
| | | this.userList.forEach(item => { |
| | | this.CompanyList.forEach (item1 => { |
| | | if(item1.drugManufacturerId ==this.objs.drugManufacturerId ){ |
| | | item.company = item1.cnName |
| | | } |
| | | }) |
| | | |
| | | }) |
| | | this.upload.open = false; |
| | | this.upload.isUploading = false; |
| | | this.$refs.upload.clearFiles(); |