diff --git a/src/views/modules/supplier/components/addPlan.vue b/src/views/modules/supplier/components/addPlan.vue new file mode 100644 index 0000000..6bd16bc --- /dev/null +++ b/src/views/modules/supplier/components/addPlan.vue @@ -0,0 +1,249 @@ + + + \ No newline at end of file diff --git a/src/views/modules/supplier/components/addProjects.vue b/src/views/modules/supplier/components/addProjects.vue new file mode 100644 index 0000000..faa2f3e --- /dev/null +++ b/src/views/modules/supplier/components/addProjects.vue @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/src/views/modules/supplier/components/evaluationTemplate-add.vue b/src/views/modules/supplier/components/evaluationTemplate-add.vue index b9bd990..bb1460a 100644 --- a/src/views/modules/supplier/components/evaluationTemplate-add.vue +++ b/src/views/modules/supplier/components/evaluationTemplate-add.vue @@ -1,7 +1,7 @@ @@ -159,6 +159,7 @@ export default { getTypeListURL: '/supplier/qmsProjectType/page', saveDataURL: '/supplier/qmsEvaluationTemplateProjectType/saveAll' }, + evaluationTemplateId: '', visibleList: [true, false, false, false, false], activeStep: 0, ruleForm: { @@ -315,13 +316,18 @@ export default { } const typeList = Array.from(new Set(temp)) console.log('aaaaaaa', typeList) - for (let type of typeList) { + for (let key of typeList) { let obj = {} - obj.projectTypeName = type + obj.projectTypeName = typeList[key] obj.dragVisible = false - obj.list = this.multipleSelection.filter(ele => { - if (ele.projectTypeName === type) { + obj.sort = key + obj.list = this.multipleSelection.filter((ele, index) => { + if (ele.projectTypeName === typeList[key]) { obj.projectTypeId = ele.projectTypeId + obj.evaluationTemplateId = this.evaluationTemplateId + ele.evaluationTemplateId = this.evaluationTemplateId + ele.projectId = ele.id + ele.sort = index return ele } }) @@ -416,6 +422,8 @@ export default { this.$emit("refreshDataList"); }, }) + console.log('新增结果', res.data) + this.evaluationTemplateId = res.data this.activeStep ++ // this.visibleList[0] = false // this.visibleList[1] = true diff --git a/src/views/modules/supplier/components/first.vue b/src/views/modules/supplier/components/first.vue new file mode 100644 index 0000000..501cc9f --- /dev/null +++ b/src/views/modules/supplier/components/first.vue @@ -0,0 +1,213 @@ + + + \ No newline at end of file diff --git a/src/views/modules/supplier/components/startPlan.vue b/src/views/modules/supplier/components/startPlan.vue new file mode 100644 index 0000000..3e01486 --- /dev/null +++ b/src/views/modules/supplier/components/startPlan.vue @@ -0,0 +1,123 @@ + + + + diff --git a/src/views/modules/supplier/components/status.vue b/src/views/modules/supplier/components/status.vue new file mode 100644 index 0000000..22e7fa6 --- /dev/null +++ b/src/views/modules/supplier/components/status.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/src/views/modules/supplier/components/supplier-add.vue b/src/views/modules/supplier/components/supplier-add.vue index 41738d5..fca6cb0 100644 --- a/src/views/modules/supplier/components/supplier-add.vue +++ b/src/views/modules/supplier/components/supplier-add.vue @@ -1,8 +1,8 @@