diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue index 62b37b1a5..0312294bf 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue @@ -415,6 +415,41 @@ + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + /> @@ -510,7 +510,7 @@ v-model="addForm.dutyEngineer" placeholder="请输入责任工程师" @click.native="choiceZRR" - /> + /> @@ -518,7 +518,7 @@ v-model="addForm.authEngineer" placeholder="请输入认证工程师" @click.native="choiceMore('authEngineer','选择认证工程师',addForm.authEngineer)" - /> + /> @@ -526,7 +526,7 @@ v-model="addForm.qaEngineer" placeholder="请输入质量工程师" @click.native="choiceMore('qaEngineer','选择质量工程师',addForm.qaEngineer)" - /> + /> @@ -593,7 +593,6 @@ export default { loading: false, nonList: [], //未符合项表格数据 replaceLoading: false, - productLines: [], //产品线数据 //项目数据 ProjectDatas: [], itemsData: [], @@ -1007,7 +1006,6 @@ export default { }, //新增事件 addModel() { - alert('222') this.dataList = [] this.serialNumber = true this.drawerTitle = "新增"; @@ -1101,11 +1099,6 @@ export default { this.pageSizeNo = pageSize; this.getTableByPage(); }, - //产品线change事件 - handleChangeLine(val){ - console.log(val); - this.ProjectDatas = val.sarStandProjectLibraries - }, /** 项目名称change事件 */ handleChange(val) { @@ -1115,11 +1108,12 @@ export default { } this.addForm.productId = val.id this.addForm.productId = val.projectNumber + this.addForm.productLine = val.productLine this.addForm.productName = val.projectName this.addForm.productType = val.projectPlatfor this.serialNumber = false - // let productId = val.id - // this.getStandData(productId) + let productId = val.id + this.getStandData(productId) }, /** 标准号change事件 */ standChange(item) { @@ -1185,30 +1179,11 @@ export default { this.addForm.responsibleUnit = nameList; }, - //获取产品线数据 - getProductData() { - this.$http.get("sarStandProjectLibrary/queryProjectManager", { - current: 1, - PageSize:100, - }, { - _this: this - }, res => { - res.data.records.forEach(item => { - if(item.productLine){ - this.productLines.push(item) - } - }) - }, e => { - - }); - }, }, mounted() { //查询已维护的项目 this.getProjectData(); - //查询产品线 - this.getProductData() this.getData() // 加载所有的部门 this.getOrgTreeSource();