工艺问题修改

dev-scheduling
zhangdi 4 weeks ago
parent af1bcbd009
commit d3f06afd6a
  1. 4
      src/views/processManagement/procepssPlanning.vue
  2. 2
      src/views/processManagement/processTemplate.vue
  3. 1
      src/views/processManagement/sinTer/index.vue

@ -16,7 +16,7 @@
@on-load="onLoad" @on-load="onLoad"
> >
<template #body> <template #body>
<el-tag style="width: 100%; display: block; line-height: 22px" <el-tag style="width: 100%; display: block; line-height: 17px;margin-bottom: 5px;" v-if="expireData.length>0"
>{{ expireData.length }}个零件工艺即将到期请尽快维护有效期</el-tag >{{ expireData.length }}个零件工艺即将到期请尽快维护有效期</el-tag
> >
</template> </template>
@ -341,7 +341,7 @@ export default {
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.data = res.data.data.records; this.data = res.data.data.records;
this.loading = false; this.loading = false;
this.page.total = res.data.data.length; this.page.total = res.data.data.total;
this.selectionClear(); this.selectionClear();
}); });
}, },

@ -321,7 +321,7 @@ export default {
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.data = res.data.data.records; this.data = res.data.data.records;
this.loading = false; this.loading = false;
this.page.total = res.data.data.length; this.page.total = res.data.data.total;
}); });
}, },
}, },

@ -259,7 +259,6 @@ export default {
color: '#fff', color: '#fff',
formatter: params => { formatter: params => {
const childText =params.data.quota>=0?`${params.data.quota}`:'' const childText =params.data.quota>=0?`${params.data.quota}`:''
console.log(999999,params)
// \n // \n
return `${params.name}${childText ? '\n' + childText : ''}`; return `${params.name}${childText ? '\n' + childText : ''}`;
}, },

Loading…
Cancel
Save