Compare commits
No commits in common. "749e503f754cdfc7f280f9664ad7fd6c3aeac015" and "f33d0c90488761903965d719a5763a98e47e2633" have entirely different histories.
749e503f75
...
f33d0c9048
@ -31,8 +31,6 @@ t.routes['质量检查实时数据'] = 'Realtime Quality Inspection Data'
|
|||||||
t.routes['报表总览'] = 'Report Overview'
|
t.routes['报表总览'] = 'Report Overview'
|
||||||
t.routes['报表分类'] = 'Report Types'
|
t.routes['报表分类'] = 'Report Types'
|
||||||
t.routes['报表详情'] = 'Report Detail'
|
t.routes['报表详情'] = 'Report Detail'
|
||||||
t.routes['报表设计'] = 'Report Design'
|
|
||||||
t.routes['报表预览'] = 'Report Preview'
|
|
||||||
t.routes['质量检测基础数据'] = 'Quality Inspection Basic Data'
|
t.routes['质量检测基础数据'] = 'Quality Inspection Basic Data'
|
||||||
t.routes['当前检测数据'] = 'Current Inspection Data'
|
t.routes['当前检测数据'] = 'Current Inspection Data'
|
||||||
t.routes['质量检查信息记录'] = 'Quality Inspection Records'
|
t.routes['质量检查信息记录'] = 'Quality Inspection Records'
|
||||||
|
@ -32,8 +32,6 @@ t.routes['质量检查实时数据'] = '质量检查实时数据'
|
|||||||
t.routes['报表总览'] = '报表总览'
|
t.routes['报表总览'] = '报表总览'
|
||||||
t.routes['报表分类'] = '报表分类'
|
t.routes['报表分类'] = '报表分类'
|
||||||
t.routes['报表详情'] = '报表详情'
|
t.routes['报表详情'] = '报表详情'
|
||||||
t.routes['报表设计'] = '报表设计'
|
|
||||||
t.routes['报表预览'] = '报表预览'
|
|
||||||
t.routes['质量检测基础数据'] = '质量检测基础数据'
|
t.routes['质量检测基础数据'] = '质量检测基础数据'
|
||||||
t.routes['当前检测数据'] = '当前检测数据'
|
t.routes['当前检测数据'] = '当前检测数据'
|
||||||
t.routes['质量检查信息记录'] = '质量检查信息记录'
|
t.routes['质量检查信息记录'] = '质量检查信息记录'
|
||||||
|
@ -56,10 +56,8 @@ const tableConfigs = [
|
|||||||
name: i18n.t('inspect.det')
|
name: i18n.t('inspect.det')
|
||||||
},
|
},
|
||||||
{ prop: 'checkTime', name: i18n.t('inspect.time'), filter: timeFilter },
|
{ prop: 'checkTime', name: i18n.t('inspect.time'), filter: timeFilter },
|
||||||
{ prop: 'productionName', name: i18n.t('pl.title') },
|
{ prop: 'productionId', name: i18n.t('pl.id') },
|
||||||
{ prop: 'sectionName', name: i18n.t('ws.title') },
|
{ prop: 'sectionId', name: i18n.t('ws.id') },
|
||||||
// { prop: 'productionId', name: i18n.t('pl.id') },
|
|
||||||
// { prop: 'sectionId', name: i18n.t('ws.id') },
|
|
||||||
{ prop: 'checkPerson', name: i18n.t('inspect.people') },
|
{ prop: 'checkPerson', name: i18n.t('inspect.people') },
|
||||||
{ prop: 'source', name: i18n.t('source'), filter: val => ({ 1: i18n.t('manual'), 2: i18n.t('auto') }[val]) },
|
{ prop: 'source', name: i18n.t('source'), filter: val => ({ 1: i18n.t('manual'), 2: i18n.t('auto') }[val]) },
|
||||||
{ prop: 'explainText', name: i18n.t('desc') },
|
{ prop: 'explainText', name: i18n.t('desc') },
|
||||||
|
@ -129,7 +129,7 @@ export default {
|
|||||||
{ prop: obj.recordTime + '-inputNum', label: i18n.t('realtime.in') },
|
{ prop: obj.recordTime + '-inputNum', label: i18n.t('realtime.in') },
|
||||||
{ prop: obj.recordTime + '-outputNum', label: i18n.t('realtime.out') },
|
{ prop: obj.recordTime + '-outputNum', label: i18n.t('realtime.out') },
|
||||||
{ prop: obj.recordTime + '-scrapNum', label: i18n.t('realtime.data') },
|
{ prop: obj.recordTime + '-scrapNum', label: i18n.t('realtime.data') },
|
||||||
{ prop: obj.recordTime + '-scrapRate', label: i18n.t('realtime.rate'), filter: val => val !== '-' ? `${val.toFixed(2)}%` : '-' }
|
{ prop: obj.recordTime + '-scrapRate', label: i18n.t('realtime.rate') }
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -113,9 +113,9 @@ export default {
|
|||||||
children: [
|
children: [
|
||||||
{ prop: obj.recordTime + '-inputNum', label: i18n.t('realtime.in') },
|
{ prop: obj.recordTime + '-inputNum', label: i18n.t('realtime.in') },
|
||||||
{ prop: obj.recordTime + '-outputNum', label: i18n.t('realtime.out') },
|
{ prop: obj.recordTime + '-outputNum', label: i18n.t('realtime.out') },
|
||||||
// { prop: obj.recordTime + '-passArea', label: i18n.t('realtime.goodrate') },
|
{ prop: obj.recordTime + '-passArea', label: i18n.t('realtime.goodrate') },
|
||||||
// { prop: obj.recordTime + '-scrapNum', label: i18n.t('realtime.num') },
|
{ prop: obj.recordTime + '-scrapNum', label: i18n.t('realtime.num') },
|
||||||
// { prop: obj.recordTime + '-scrapRate', label: i18n.t('realtime.rate') }
|
{ prop: obj.recordTime + '-scrapRate', label: i18n.t('realtime.rate') }
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -131,8 +131,7 @@ export default {
|
|||||||
|
|
||||||
// 保存为 props
|
// 保存为 props
|
||||||
for (const key of sortedTime) {
|
for (const key of sortedTime) {
|
||||||
// const prop = { label: key, children: [] }
|
const prop = { label: key, children: [] }
|
||||||
const prop = { label: moment(key).format('YYYY-MM-DD HH:mm:ss'), children: [] }
|
|
||||||
for (const subKey in timeMap[key]) {
|
for (const subKey in timeMap[key]) {
|
||||||
prop.children.push({ label: subKey, prop: key + subKey })
|
prop.children.push({ label: subKey, prop: key + subKey })
|
||||||
}
|
}
|
||||||
|
@ -13,8 +13,7 @@ export default {
|
|||||||
// url: process.env.VUE_APP_REPORT_DESIGN_URL
|
// url: process.env.VUE_APP_REPORT_DESIGN_URL
|
||||||
// url: window.SITE_CONFIG['apiURL'] + this.$http.adornUrl('/ureport/designer')
|
// url: window.SITE_CONFIG['apiURL'] + this.$http.adornUrl('/ureport/designer')
|
||||||
// url: this.$http.adornUrl('/ureport/designer')
|
// url: this.$http.adornUrl('/ureport/designer')
|
||||||
// url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/designer'
|
url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/designer'
|
||||||
url: '/api/ureport/designer'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -125,7 +125,7 @@ export default {
|
|||||||
prop: 'operations',
|
prop: 'operations',
|
||||||
name: i18n.t('handle'),
|
name: i18n.t('handle'),
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
// width: 180,
|
width: 180,
|
||||||
subcomponent: TableOperateComponent,
|
subcomponent: TableOperateComponent,
|
||||||
options: [{ name: 'preview', emitField: 'fileName' }, { name: 'design', emitField: 'name' }, 'edit', 'delete']
|
options: [{ name: 'preview', emitField: 'fileName' }, { name: 'design', emitField: 'name' }, 'edit', 'delete']
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,7 @@ export default {
|
|||||||
loading: true,
|
loading: true,
|
||||||
// url: process.env.VUE_APP_REPORT_VIEW_URL
|
// url: process.env.VUE_APP_REPORT_VIEW_URL
|
||||||
// url: window.SITE_CONFIG['apiURL'] + this.$http.adornUrl('/ureport/preview')
|
// url: window.SITE_CONFIG['apiURL'] + this.$http.adornUrl('/ureport/preview')
|
||||||
// url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/preview'
|
url: (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + '/ureport/preview'
|
||||||
url: '/api/ureport/preview'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -23,8 +23,7 @@ export default {
|
|||||||
init() {
|
init() {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
// this.url = `${window.SITE_CONFIG['apiURL']}/sys/oss/upload?token=${Cookies.get('token')}`
|
// this.url = `${window.SITE_CONFIG['apiURL']}/sys/oss/upload?token=${Cookies.get('token')}`
|
||||||
// this.url = (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + `/sys/oss/upload?token=${Cookies.get('token')}`
|
this.url = (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + `/sys/oss/upload?token=${Cookies.get('token')}`
|
||||||
this.url = `/api/sys/oss/upload?token=${Cookies.get('token')}`
|
|
||||||
this.num = 0
|
this.num = 0
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
},
|
},
|
||||||
|
@ -103,8 +103,7 @@ export default {
|
|||||||
getCaptcha() {
|
getCaptcha() {
|
||||||
this.dataForm.uuid = getUUID()
|
this.dataForm.uuid = getUUID()
|
||||||
// this.captchaPath = `${window.SITE_CONFIG['apiURL']}/captcha?uuid=${this.dataForm.uuid}`
|
// this.captchaPath = `${window.SITE_CONFIG['apiURL']}/captcha?uuid=${this.dataForm.uuid}`
|
||||||
// this.captchaPath = (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + `/captcha?uuid=${this.dataForm.uuid}`
|
this.captchaPath = (process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor') + `/captcha?uuid=${this.dataForm.uuid}`
|
||||||
this.captchaPath = `/api/captcha?uuid=${this.dataForm.uuid}`
|
|
||||||
},
|
},
|
||||||
// 表单提交
|
// 表单提交
|
||||||
dataFormSubmitHandle: debounce(
|
dataFormSubmitHandle: debounce(
|
||||||
|
Loading…
Reference in New Issue
Block a user