faculty.neu.edu.cn/yunhyan/neu_surface_defect_database.html
时间: 2023-11-30 18:00:28 浏览: 45
faculty.neu.edu.cn/yunhyan/neu_surface_defect_database.html是一个位于东北大学官方网站上的网页链接,该链接指向东北大学的表面缺陷数据库页面。这个数据库是由东北大学教授云海燕团队开发的一个用于研究和教学的资源。通过这个数据库,用户可以查找各种不同类型的表面缺陷的图像和信息,这些缺陷可能出现在不同材料的表面上。这对于材料科学、电子工程以及其他相关领域的研究和学习都具有重要的价值。
在这个数据库中,用户可以找到各种类型的表面缺陷的实际图像,以及对这些缺陷的详细描述和分类。这对于研究人员来说是一个非常有用的资源,可以帮助他们更好地理解各种材料表面上可能出现的缺陷,并为他们的研究提供重要的参考。同时,对于学生和教育工作者来说,这个数据库也能够提供丰富的案例和教学素材,帮助他们更好地理解材料科学的知识。
总之,faculty.neu.edu.cn/yunhyan/neu_surface_defect_database.html是一个非常有价值的资源链接,它为研究人员和教育工作者提供了丰富的图像和信息,有助于他们更好地开展材料表面缺陷的研究和教学工作。希望更多的人能够利用这个数据库,为材料科学领域的发展做出更多的贡献。
相关问题
windows 安装metis_Eigen+suitesparse for windows 安装
安装metis_Eigen和suitesparse的步骤如下:
1. 安装Visual Studio 2015或以上版本,可以从Microsoft官网下载。
2. 下载metis的Windows二进制文件,可以从官网https://github.com/aydin-demircioglu/metis-windows/releases下载。
3. 解压缩Metis Windows二进制文件,并将其放在一个目录下。
4. 下载suitesparse的Windows二进制文件,可以从官网http://faculty.cse.tamu.edu/davis/suitesparse.html下载。
5. 解压缩Suitesparse Windows二进制文件,并将其放在一个目录下。
6. 下载Eigen的源代码,可以从官网http://eigen.tuxfamily.org/index.php?title=Main_Page下载。
7. 解压缩Eigen源代码,并将其放在一个目录下。
8. 打开Visual Studio,并创建一个新的空项目。
9. 将Eigen源代码目录中的“Eigen”文件夹复制到Visual Studio项目的目录中。
10. 在Visual Studio项目中添加Metis和Suitesparse的头文件和库文件路径,具体步骤如下:
a. 在Visual Studio项目中右键单击“项目”并选择“属性”。
b. 选择“VC++目录”选项卡。
c. 在“包含目录”中添加Metis和Suitesparse的头文件路径。
d. 在“库目录”中添加Metis和Suitesparse的库文件路径。
11. 在Visual Studio项目中添加Metis和Suitesparse的库文件,具体步骤如下:
a. 在Visual Studio项目中右键单击“项目”并选择“属性”。
b. 选择“链接器”选项卡。
c. 在“输入”中添加Metis和Suitesparse的库文件。
12. 现在可以在Visual Studio项目中使用Metis和Suitesparse库了。
methods: { selectstaff(facultyId) { if (facultyId) { selectstaff({ facultyId }).then(response => { this.staffNumber = response.data; }); } else { this.staffNumber = []; } }, /** 查询一级审核人员管理列表 */ getList() { // 调用获取学院信息和员工编号信息的方法 this.selectfaculty(); this. selectstaff(this.form.facultyId); }, change_faculty() { this.selectstaff(this.form.facultyId); // pass the selected faculty id as an argument this.form.firstStaffNumber = []; // reset the first staff number when faculty changes this.form.firstStaffName = []; // reset the first staff name when faculty changes }, change_selsect(){ // console.log("jinlai") for(const staffss of this.staffNumber){ // console.log(staffss.staffNumber+"aaa") if(staffss.staffNumber==this.form.firstStaffNumber){ this.form.firstStaffName = staffss.staffName } } },以上这段代码在选择学院时一级审核人员工号依旧获得全部的
根据你提供的代码,我需要更多的信息来确定问题的具体原因。但是根据你的描述,这可能是因为在 `this.selectstaff` 方法中没有正确传递 `facultyId` 参数。
在 `getList` 方法中,你首先调用了 `selectfaculty` 方法,然后再调用 `selectstaff` 方法。但是,你没有等待 `selectfaculty` 方法完成,就立即调用了 `selectstaff` 方法,并且传递了 `this.form.facultyId` 参数。如果 `selectfaculty` 方法不是同步的,那么它可能尚未完成,因此 `this.form.facultyId` 可能仍然是 `undefined`。如果 `facultyId` 为 `undefined`,那么 `selectstaff` 方法将无法正确地获取员工编号信息。
为了解决这个问题,你可以将 `selectstaff` 方法包装在一个 Promise 中,并使用 async/await 或者 Promise.then() 等方式等待返回结果。另外,你还需要确保 `this.form.facultyId` 有正确的值。
以下是一种可能的解决方法:
```javascript
methods: {
async selectstaff(facultyId) {
if (facultyId) {
try {
const response = await selectstaff({ facultyId });
this.staffNumber = response.data;
} catch (error) {
console.error(error);
}
} else {
this.staffNumber = [];
}
},
async getList() {
try {
await this.selectfaculty();
await this.selectstaff(this.form.facultyId);
} catch (error) {
console.error(error);
}
},
change_faculty() {
this.selectstaff(this.form.facultyId);
this.form.firstStaffNumber = [];
this.form.firstStaffName = [];
},
change_select() {
for (const staffss of this.staffNumber) {
if (staffss.staffNumber == this.form.firstStaffNumber) {
this.form.firstStaffName = staffss.staffName;
}
}
},
},
```
在这个解决方法中,`selectstaff` 方法和 `getList` 方法都使用了 async/await 语法来等待异步操作的完成。如果出现错误,它们将打印错误消息。另外,在 `change_faculty` 方法中,我还重置了 `this.form.firstStaffNumber` 和 `this.form.firstStaffName`,以确保它们在学院选择更改时被正确重置。
希望这可以帮助你解决问题。如果你仍然遇到问题,请提供更多的细节和代码。