未符合项新增,责任工程师ui

This commit is contained in:
wangxiahui@91isoft.com
2021-12-03 15:31:32 +08:00
parent e3b81f6009
commit e221dce3e9
@@ -1120,7 +1120,7 @@ export default {
this.roleShowflag = true this.roleShowflag = true
}, },
drawerCheck(data) { drawerCheck(data) {
this.addForm.dutyEngineer = data[0].name.slice(0,data[0].name.indexOf('(')) this.addForm.dutyEngineer = data[0].name
this.roleShowflag = false this.roleShowflag = false
}, },
/** 选择认证工程师和质量工程师 */ /** 选择认证工程师和质量工程师 */
@@ -1140,7 +1140,7 @@ export default {
idList += ',' idList += ','
} }
idList += item.id idList += item.id
nameList += item.name.slice(0,item.name.indexOf('(')) nameList += item.name
}) })
if (this.type === 'authEngineer') { if (this.type === 'authEngineer') {
this.addForm.authEngineer = nameList this.addForm.authEngineer = nameList