|
@@ -392,7 +392,12 @@
|
|
|
prop="inspectionName"
|
|
prop="inspectionName"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
- <el-table-column label="工艺参数" prop="defaultValue" align="center">
|
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ label="工艺参数"
|
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
|
+ prop="defaultValue"
|
|
|
|
|
+ align="center"
|
|
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<div style="display: flex; justify-content: center">
|
|
<div style="display: flex; justify-content: center">
|
|
|
<span>{{ scope.row.symbol }}</span>
|
|
<span>{{ scope.row.symbol }}</span>
|
|
@@ -434,7 +439,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
- <el-pagination
|
|
|
|
|
|
|
+ <!-- <el-pagination
|
|
|
@size-change="handleSchemeSizeChange"
|
|
@size-change="handleSchemeSizeChange"
|
|
|
@current-change="handleSchemeCurrentChange"
|
|
@current-change="handleSchemeCurrentChange"
|
|
|
:current-page="schemePagination.currentPage"
|
|
:current-page="schemePagination.currentPage"
|
|
@@ -442,7 +447,7 @@
|
|
|
:page-size="schemePagination.pageSize"
|
|
:page-size="schemePagination.pageSize"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="schemeList.length"
|
|
:total="schemeList.length"
|
|
|
- />
|
|
|
|
|
|
|
+ /> -->
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -472,6 +477,7 @@
|
|
|
schemeList: {
|
|
schemeList: {
|
|
|
handler(newVal, oldVal) {
|
|
handler(newVal, oldVal) {
|
|
|
this.templateList = newVal;
|
|
this.templateList = newVal;
|
|
|
|
|
+ // console.log(newVal, 'schemeList');
|
|
|
},
|
|
},
|
|
|
deep: true,
|
|
deep: true,
|
|
|
immediate: true
|
|
immediate: true
|
|
@@ -769,18 +775,16 @@
|
|
|
},
|
|
},
|
|
|
// 分页后的质检方案列表
|
|
// 分页后的质检方案列表
|
|
|
paginatedSchemeList() {
|
|
paginatedSchemeList() {
|
|
|
- const { currentPage, pageSize } = this.schemePagination;
|
|
|
|
|
- const start = (currentPage - 1) * pageSize;
|
|
|
|
|
- const end = start + pageSize;
|
|
|
|
|
- console.log(this.templateList, 'this.templateList');
|
|
|
|
|
- return this.templateList?.slice(start, end);
|
|
|
|
|
- // return this.schemeList?.slice(start, end);
|
|
|
|
|
|
|
+ // const { currentPage, pageSize } = this.schemePagination;
|
|
|
|
|
+ // const start = (currentPage - 1) * pageSize;
|
|
|
|
|
+ // const end = start + pageSize;
|
|
|
|
|
+ // console.log(this.templateList,'全部数据')
|
|
|
|
|
+ // return this.templateList?.slice(start, end);
|
|
|
|
|
+ return this.templateList;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
created() {
|
|
|
- // console.log(this.schemeList, 'schemeList');
|
|
|
|
|
-
|
|
|
|
|
this.activeNameKK = this.activeName;
|
|
this.activeNameKK = this.activeName;
|
|
|
this.reload({ qualityWorkerId: this.ids });
|
|
this.reload({ qualityWorkerId: this.ids });
|
|
|
let direction = this.$getDirection();
|
|
let direction = this.$getDirection();
|
|
@@ -1071,7 +1075,6 @@
|
|
|
this.$refs.inspectionTemplateRef.open(type);
|
|
this.$refs.inspectionTemplateRef.open(type);
|
|
|
},
|
|
},
|
|
|
async inspectionTemplateSuccess(select) {
|
|
async inspectionTemplateSuccess(select) {
|
|
|
- console.log('222222222222222');
|
|
|
|
|
let data = await getQualityTemplateByIds({
|
|
let data = await getQualityTemplateByIds({
|
|
|
templateIds: select.map((item) => item.id)
|
|
templateIds: select.map((item) => item.id)
|
|
|
});
|
|
});
|