-
+
条件搜索
@@ -160,13 +160,14 @@ export default {
type: "button",
btnName: i18n.t('add'),
name: "add",
- color: "primary",
+ color: "success",
+ plain:true
},
{
type: "button",
btnName: i18n.t('search'),
name: "search",
- color: "primary",
+ color: "primary"
}
],
};
diff --git a/src/views/modules/gage/qmsGageType.vue b/src/views/modules/gage/qmsGageType.vue
index a8991fc..338fd2e 100644
--- a/src/views/modules/gage/qmsGageType.vue
+++ b/src/views/modules/gage/qmsGageType.vue
@@ -1,7 +1,7 @@
@@ -130,7 +130,8 @@ export default {
type: "button",
btnName: i18n.t('add'),
name: "add",
- color: "primary",
+ color: "success",
+ plain:true
},
{
type: "button",
diff --git a/src/views/modules/gage/qmsGageTypeDifferenceParameter.vue b/src/views/modules/gage/qmsGageTypeDifferenceParameter.vue
index 430fd7d..9915808 100644
--- a/src/views/modules/gage/qmsGageTypeDifferenceParameter.vue
+++ b/src/views/modules/gage/qmsGageTypeDifferenceParameter.vue
@@ -1,7 +1,7 @@
@@ -135,7 +135,8 @@ export default {
type: "button",
btnName: i18n.t('add'),
name: "add",
- color: "primary",
+ color: "success",
+ plain:true
},
{
type: "button",
diff --git a/src/views/modules/gage/qmsGageVerification.vue b/src/views/modules/gage/qmsGageVerification.vue
index 46cb27b..d2d2cb5 100644
--- a/src/views/modules/gage/qmsGageVerification.vue
+++ b/src/views/modules/gage/qmsGageVerification.vue
@@ -2,7 +2,7 @@
@@ -185,24 +185,26 @@ export default {
// {
// type: "separate",
// },
+ {
+ type: "button",
+ btnName: i18n.t('search'),
+ name: "search",
+ color: "primary",
+ },
{
type: "button",
btnName: i18n.t('add'),
name: "add",
- color: "primary",
+ color: "success",
+ plain:true
},
{
type: "button",
btnName: i18n.t('export'),
name: "export",
color: "primary",
+ plain: true
},
- {
- type: "button",
- btnName: i18n.t('search'),
- name: "search",
- color: "primary",
- }
],
};
},
diff --git a/src/views/modules/gage/qmsStationDeviationAnalysis.vue b/src/views/modules/gage/qmsStationDeviationAnalysis.vue
index 760fd2e..e1f9480 100644
--- a/src/views/modules/gage/qmsStationDeviationAnalysis.vue
+++ b/src/views/modules/gage/qmsStationDeviationAnalysis.vue
@@ -1,7 +1,7 @@
@@ -108,16 +108,17 @@ export default {
},
{
type: "button",
- btnName: i18n.t('export'),
- name: "export",
+ btnName: i18n.t('search'),
+ name: "search",
color: "primary",
},
{
type: "button",
- btnName: i18n.t('search'),
- name: "search",
+ btnName: i18n.t('export'),
+ name: "export",
color: "primary",
- }
+ plain:true
+ }
],
};
},
diff --git a/src/views/modules/laboratory/components/employeeResumeDetail.vue b/src/views/modules/laboratory/components/employeeResumeDetail.vue
index ca10142..404eadf 100644
--- a/src/views/modules/laboratory/components/employeeResumeDetail.vue
+++ b/src/views/modules/laboratory/components/employeeResumeDetail.vue
@@ -1,13 +1,13 @@
- {{ $t('oss.type1') }}}
+ {{ $t('oss.type1') }}
diff --git a/src/views/modules/laboratory/components/experienceDetail.vue b/src/views/modules/laboratory/components/experienceDetail.vue
index ff2cba3..fd0410b 100644
--- a/src/views/modules/laboratory/components/experienceDetail.vue
+++ b/src/views/modules/laboratory/components/experienceDetail.vue
@@ -1,7 +1,7 @@
@@ -14,7 +14,7 @@
-->
- {{ $t('oss.type1') }}}
+ {{ $t('oss.type1') }}
diff --git a/src/views/modules/laboratory/components/inspectionDetail.vue b/src/views/modules/laboratory/components/inspectionDetail.vue
index 4121538..36e69e4 100644
--- a/src/views/modules/laboratory/components/inspectionDetail.vue
+++ b/src/views/modules/laboratory/components/inspectionDetail.vue
@@ -1,13 +1,13 @@
- {{ $t('oss.type1') }}}
+ {{ $t('oss.type1') }}
diff --git a/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue b/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue
index 8162948..5295545 100644
--- a/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue
+++ b/src/views/modules/laboratory/qmsLaboratoryEmployeeResume.vue
@@ -1,7 +1,7 @@
@@ -123,15 +123,16 @@ export default {
// },
{
type: "button",
- btnName: i18n.t('add'),
- name: "add",
+ btnName: i18n.t('search'),
+ name: "search",
color: "primary",
},
{
type: "button",
- btnName: i18n.t('search'),
- name: "search",
- color: "primary",
+ btnName: i18n.t('add'),
+ name: "add",
+ color: "success",
+ plain:true
}
],
};
diff --git a/src/views/modules/laboratory/qmsLaboratoryTester.vue b/src/views/modules/laboratory/qmsLaboratoryTester.vue
index 46d8cf9..63f265f 100644
--- a/src/views/modules/laboratory/qmsLaboratoryTester.vue
+++ b/src/views/modules/laboratory/qmsLaboratoryTester.vue
@@ -1,7 +1,7 @@
@@ -127,23 +127,25 @@ export default {
// {
// type: "separate",
// },
+ {
+ type: "button",
+ btnName: i18n.t('search'),
+ name: "search",
+ color: "primary",
+ },
{
type: "button",
btnName: i18n.t('add'),
name: "add",
- color: "primary",
+ color: "success",
+ plain: true
},
{
type: "button",
btnName: i18n.t('export'),
name: "export",
color: "primary",
- },
- {
- type: "button",
- btnName: i18n.t('search'),
- name: "search",
- color: "primary",
+ plain: true
}
],
};
diff --git a/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue b/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue
index 3307ce3..f1f9a6f 100644
--- a/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue
+++ b/src/views/modules/laboratory/qmsLaboratoryTesterInspectionQualification.vue
@@ -1,7 +1,7 @@
@@ -126,15 +126,16 @@ export default {
// },
{
type: "button",
- btnName: i18n.t('add'),
- name: "add",
+ btnName: i18n.t('search'),
+ name: "search",
color: "primary",
},
{
type: "button",
- btnName: i18n.t('search'),
- name: "search",
- color: "primary",
+ btnName: i18n.t('add'),
+ name: "add",
+ color: "success",
+ plain: true
}
],
};
diff --git a/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue b/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue
index fb496e0..57bc306 100644
--- a/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue
+++ b/src/views/modules/laboratory/qmsLaboratoryTrainExperience.vue
@@ -1,7 +1,7 @@
@@ -124,23 +124,25 @@ export default {
// {
// type: "separate",
// },
+ {
+ type: "button",
+ btnName: i18n.t('search'),
+ name: "search",
+ color: "primary",
+ },
{
type: "button",
btnName: i18n.t('add'),
name: "add",
- color: "primary",
+ color: "success",
+ plain:true
},
{
type: "button",
btnName: i18n.t('export'),
name: "export",
color: "primary",
- },
- {
- type: "button",
- btnName: i18n.t('search'),
- name: "search",
- color: "primary",
+ plain: true
}
],
};
diff --git a/src/views/modules/mutual/components/dataDictionary-add.vue b/src/views/modules/mutual/components/dataDictionary-add.vue
index 2a0436b..9807e38 100644
--- a/src/views/modules/mutual/components/dataDictionary-add.vue
+++ b/src/views/modules/mutual/components/dataDictionary-add.vue
@@ -1,7 +1,7 @@
@@ -76,9 +76,9 @@ export default {
},
},
methods: {
- init(id, moduleDataDictionaryId ) {
- this.dataForm.id = id || ""
- this.dataForm.moduleDataDictionaryId = moduleDataDictionaryId || ""
+ init(obj) {
+ this.dataForm.id = obj.id || ""
+ this.dataForm.moduleDataDictionaryId = obj.moduleDataDictionaryId || ""
// console.log(11111)
// this.dataForm.dictTypeId = dictTypeId || "";
this.visible = true
diff --git a/src/views/modules/mutual/components/dataDictionaryDetail-add.vue b/src/views/modules/mutual/components/dataDictionaryDetail-add.vue
index a7a48d6..92491c4 100644
--- a/src/views/modules/mutual/components/dataDictionaryDetail-add.vue
+++ b/src/views/modules/mutual/components/dataDictionaryDetail-add.vue
@@ -1,7 +1,7 @@
@@ -39,8 +39,8 @@ export default {
addButtonShow:'新增',
dataForm: {
id: null,
- dataDictionaryCode: null,
- dataDictionaryName: null,
+ dataDictionaryDetailName: null,
+ dataDictionaryDetailCode: null,
dataDictionaryId:null
},
};
@@ -76,9 +76,9 @@ export default {
},
},
methods: {
- init(id, dataDictionaryId ) {
- this.dataForm.id = id || ""
- this.dataForm.dataDictionaryId = dataDictionaryId || ""
+ init(obj) {
+ this.dataForm.id = obj.id || ""
+ this.dataForm.dataDictionaryId = obj.dataDictionaryId || ""
// console.log(11111)
// this.dataForm.dictTypeId = dictTypeId || "";
this.visible = true
diff --git a/src/views/modules/mutual/qmsDataDictionary.vue b/src/views/modules/mutual/qmsDataDictionary.vue
index 313e995..7f00e30 100644
--- a/src/views/modules/mutual/qmsDataDictionary.vue
+++ b/src/views/modules/mutual/qmsDataDictionary.vue
@@ -1,7 +1,7 @@
@@ -143,7 +143,7 @@ export default {
}
},
methods: {
- //search-bar点击
+ // search-bar点击
handleProductCancel() {
this.productOrUpdateVisible = false;
this.productOrEditTitle = "";
@@ -195,10 +195,14 @@ export default {
.catch(() => { });
} else if (val.type === 'edit') {
this.addOrEditTitle = this.$t('edit')
- this.addOrUpdateVisible = true;
+ this.addOrUpdateVisible = true
+ const obj = {
+ id: val.data.id,
+ moduleDataDictionaryId: this.listQuery.moduleDataDictionaryId
+ }
this.$nextTick(() => {
- this.$refs.addOrUpdate.init(val.data.id, this.listQuery.moduleDataDictionaryId);
- });
+ this.$refs.addOrUpdate.init(obj)
+ })
} else if (val.type === 'detail') {
this.$router.push({
name: 'mutual-qmsDataDictionaryDetail',
@@ -222,8 +226,13 @@ export default {
break;
case "add":
this.addOrEditTitle = '新增'
- this.addOrUpdateVisible = true;
- this.addOrUpdateHandle()
+ this.addOrUpdateVisible = true
+ const obj = {
+ moduleDataDictionaryId: this.listQuery.moduleDataDictionaryId
+ }
+ this.$nextTick(() => {
+ this.$refs.addOrUpdate.init(obj)
+ })
break;
default:
console.log(val)
diff --git a/src/views/modules/mutual/qmsDataDictionaryDetail.vue b/src/views/modules/mutual/qmsDataDictionaryDetail.vue
index 8decbfd..3bd7c7d 100644
--- a/src/views/modules/mutual/qmsDataDictionaryDetail.vue
+++ b/src/views/modules/mutual/qmsDataDictionaryDetail.vue
@@ -1,7 +1,7 @@
@@ -191,9 +191,13 @@ export default {
} else if (val.type === 'edit') {
this.addOrUpdateVisible = true
this.addOrEditTitle = this.$t('edit')
+ const obj = {
+ id: val.data.id,
+ dataDictionaryId: this.listQuery.dataDictionaryId
+ }
this.$nextTick(() => {
- this.$refs.addOrUpdate.init(val.data.id, this.listQuery.dataDictionaryId);
- });
+ this.$refs.addOrUpdate.init(obj)
+ })
}
},
buttonClick(val) {
@@ -209,9 +213,14 @@ export default {
this.exportHandle();
break;
case "add":
- this.addOrEditTitle = '新增'
- this.addOrUpdateVisible = true;
- this.addOrUpdateHandle()
+ this.addOrEditTitle = this.$t('add')
+ const obj = {
+ dataDictionaryId: this.listQuery.dataDictionaryId
+ }
+ this.addOrUpdateVisible = true
+ this.$nextTick(() => {
+ this.$refs.addOrUpdate.init(obj)
+ })
break;
default:
console.log(val)
diff --git a/src/views/modules/researchquality/components/available.vue b/src/views/modules/researchquality/components/available.vue
new file mode 100644
index 0000000..4ab1932
--- /dev/null
+++ b/src/views/modules/researchquality/components/available.vue
@@ -0,0 +1,41 @@
+
+
+
+ 可用
+ 不可用
+
+
+
+
diff --git a/src/views/modules/researchquality/components/innerTable.vue b/src/views/modules/researchquality/components/innerTable.vue
new file mode 100644
index 0000000..9d5272b
--- /dev/null
+++ b/src/views/modules/researchquality/components/innerTable.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/components/qualityChange-add.vue b/src/views/modules/researchquality/components/qualityChange-add.vue
new file mode 100644
index 0000000..e7b50ab
--- /dev/null
+++ b/src/views/modules/researchquality/components/qualityChange-add.vue
@@ -0,0 +1,357 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/components/qualityChangeSearch.vue b/src/views/modules/researchquality/components/qualityChangeSearch.vue
new file mode 100644
index 0000000..e0839f4
--- /dev/null
+++ b/src/views/modules/researchquality/components/qualityChangeSearch.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/components/qualityRequirementList-add.vue b/src/views/modules/researchquality/components/qualityRequirementList-add.vue
new file mode 100644
index 0000000..5952232
--- /dev/null
+++ b/src/views/modules/researchquality/components/qualityRequirementList-add.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/components/qualityRequirementListGroup-add.vue b/src/views/modules/researchquality/components/qualityRequirementListGroup-add.vue
new file mode 100644
index 0000000..3119322
--- /dev/null
+++ b/src/views/modules/researchquality/components/qualityRequirementListGroup-add.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/components/radio.vue b/src/views/modules/researchquality/components/radio.vue
new file mode 100644
index 0000000..aaf9937
--- /dev/null
+++ b/src/views/modules/researchquality/components/radio.vue
@@ -0,0 +1,49 @@
+
+
+
+ 进货检验
+ 过程检验
+ 成品检验
+ 出货检验
+
+
+
+
diff --git a/src/views/modules/researchquality/qmsQualityChange.vue b/src/views/modules/researchquality/qmsQualityChange.vue
new file mode 100644
index 0000000..48b8a80
--- /dev/null
+++ b/src/views/modules/researchquality/qmsQualityChange.vue
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+ 条件搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t("close") }}
+
+ {{
+ $t("reset")
+ }}
+
+ {{ $t("search") }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/qmsQualityRequirementList.vue b/src/views/modules/researchquality/qmsQualityRequirementList.vue
new file mode 100644
index 0000000..15a1af0
--- /dev/null
+++ b/src/views/modules/researchquality/qmsQualityRequirementList.vue
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/researchquality/qmsQualityRequirementListGroup.vue b/src/views/modules/researchquality/qmsQualityRequirementListGroup.vue
new file mode 100644
index 0000000..9eeee98
--- /dev/null
+++ b/src/views/modules/researchquality/qmsQualityRequirementListGroup.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/supplier/components/supplierRequirementListGroup-add.vue b/src/views/modules/supplier/components/supplierRequirementListGroup-add.vue
index 73ce229..a0e42d1 100644
--- a/src/views/modules/supplier/components/supplierRequirementListGroup-add.vue
+++ b/src/views/modules/supplier/components/supplierRequirementListGroup-add.vue
@@ -1,7 +1,7 @@
@@ -90,7 +90,7 @@ export default {
// 获取信息
getInfo() {
this.$http
- .get(`/supplier/qmsProjectType/${this.dataForm.id}`)
+ .get(`/supplier/qmsSupplierRequirementListGroup/${this.dataForm.id}`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
diff --git a/src/views/modules/supplier/qmsSupplier.vue b/src/views/modules/supplier/qmsSupplier.vue
index 79c8c0f..7cf48e6 100644
--- a/src/views/modules/supplier/qmsSupplier.vue
+++ b/src/views/modules/supplier/qmsSupplier.vue
@@ -1,7 +1,7 @@
@@ -16,7 +16,7 @@
@@ -117,6 +117,7 @@ export default {
urlOptions: {
getDataListURL: "/supplier/qmsSupplier/page",
deleteURL: "/supplier/qmsSupplier",
+ submitURL: "/supplier/qmsSupplier",
exportURL: '/supplier/qmsSupplier/export',
getSupplierTypeListURL: '/supplier/qmsSupplierType/page'
// submitURL: '/supplier/qmsSupplierType'
@@ -216,15 +217,29 @@ export default {
console.log(val)
this.tableData[val._pageIndex - 1][val.prop] = val[val.prop]
console.log(this.tableData)
+ this.$http.put(this.urlOptions.submitURL, this.tableData[val._pageIndex - 1])
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg);
+ }
+ this.$message({
+ message: this.$t("prompt.success"),
+ type: "success",
+ duration: 500,
+ onClose: () => {
+ this.getDataList()
+ },
+ });
+ })
},
- emitButtonClick() {
- console.log('emitButtonClick')
- let obj = {}
- for (let i of this.tableData) {
- obj[i.prop] = ''
- }
- this.tableData.push(obj)
- },
+ // emitButtonClick() {
+ // console.log('emitButtonClick')
+ // let obj = {}
+ // for (let i of this.tableData) {
+ // obj[i.prop] = ''
+ // }
+ // this.tableData.push(obj)
+ // },
getData() {
this.$http
.get(this.urlOptions.getSupplierTypeListURL, { params: this.listQuery })