Merge pull request 'projects/mesxc-zhp' (#310) from projects/mesxc-zhp into projects/mesxc-test

Reviewed-on: #310
This commit is contained in:
朱菊兰 2024-04-07 16:09:32 +08:00
commit f52815abe6
8 ha cambiato i file con 19 aggiunte e 11 eliminazioni

Vedi File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-01-29 16:50:26
* @LastEditTime: 2024-04-03 17:10:15
* @LastEditTime: 2024-04-07 16:05:59
* @LastEditors: zhp
* @Description:
-->
@ -418,7 +418,7 @@ export default {
// yield:ele.yield
// })
sumAreaList.push(ele.sumArea)
yieldList.push((ele.yield * 100).toFixed(3))
yieldList.push((ele.yield * 100).toFixed(0))
})
this.$nextTick(() => {
this.$refs.productChart.initChart(nameList, yieldList, sumAreaList)
@ -625,8 +625,8 @@ export default {
`<span style="color:rgba(255,255,255,0.5)">${this.getSize(item.size) || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.NumFormat(item.productArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.NumFormat(item.wasteArea) + '㎡' || ''}</span>`,
`<div style = "${(item.product * 100).toFixed(2) > 91 ? 'display:block;color:#00FFF7' : 'display:none;'}">${(item.product * 100).toFixed(2) + '%' || ''}</div>
<div style = "${(item.product * 100).toFixed(2) < 91 ? 'display:block; color:rgba(255, 209, 96, 1)' : 'display:none;'}">${(item.product * 100).toFixed(2) + '%' || ''}</div>`
`<div style = "${(item.product * 100).toFixed(0) > 91 ? 'display:block;color:#00FFF7' : 'display:none;'}">${(item.product * 100).toFixed(0) + '%' || ''}</div>
<div style = "${(item.product * 100).toFixed(0) < 91 ? 'display:block; color:rgba(255, 209, 96, 1)' : 'display:none;'}">${(item.product * 100).toFixed(0) + '%' || ''}</div>`
])
this.cutConfig.data = cutArr
// this.$nextTick(() => {

Vedi File

@ -54,7 +54,9 @@ export default {
param: 'inspectionDetContent',
},
{
type: 'button',
type: this.$auth.hasPermi('base:quality-inspection-box-btn:query')
? 'button'
: '',
btnName: '查询',
name: 'search',
color: 'primary',

Vedi File

@ -66,7 +66,9 @@ export default {
param: 'nickName',
},
{
type: 'button',
type: this.$auth.hasPermi('base:quality-inspection-box-permissions:query')
? 'button'
: '',
btnName: '查询',
name: 'search',
color: 'primary',

Vedi File

@ -92,7 +92,9 @@ export default {
// width: 350,
// },
{
type: 'button',
type: this.$auth.hasPermi('base:quality-inspection-det:query')
? 'button'
: '',
btnName: '查询',
name: 'search',
color: 'primary',

Vedi File

@ -134,7 +134,9 @@ export default {
param: 'name',
},
{
type: 'button',
type: this.$auth.hasPermi('base:quality-inspection-type:query')
? 'button'
: '',
btnName: '查询',
name: 'search',
color: 'primary',

Vedi File

@ -131,7 +131,7 @@ export default {
// width: 350,
},
{
type: 'button',
type: this.$auth.hasPermi(' base: quality - isra - statistics: query') ? 'button' : '',
btnName: '查询',
name: 'search',
color: 'primary',

Vedi File

@ -92,7 +92,7 @@ export default {
filterable: true
},
{
type: 'button',
type: this.$auth.hasPermi('base:quality-scrap-det:query') ? 'button' : '',
btnName: '查询',
name: 'search',
color: 'primary',

Vedi File

@ -82,7 +82,7 @@ export default {
param: 'name',
},
{
type: 'button',
type: this.$auth.hasPermi('base:quality-scrap-type:query') ? 'button' : '',
btnName: '查询',
name: 'search',
color: 'primary',