update 产品属性、报表和质量模块的字段

This commit is contained in:
lb 2022-08-08 15:02:30 +08:00
parent 1e118a6d5d
commit c15671c496
7 changed files with 138 additions and 113 deletions

View File

@ -1,12 +1,10 @@
<template> <template>
<div class="mod-config"> <div class="mod-config">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()"> <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item label="设备分组名称"> <el-form-item label="设备分组名称"> <strong>111</strong></el-form-item>
<el-label><strong>111</strong></el-label>
</el-form-item>
<el-form-item label="设备分组编码"> <el-form-item label="设备分组编码">
<el-label><strong>111</strong></el-label> <strong>111</strong>
</el-form-item> </el-form-item>
<!-- <el-form-item> <!-- <el-form-item>
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input> <el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>

View File

@ -59,28 +59,30 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent' import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [ const tableConfigs = [
{ "prop": "id", "name": "ID" }, { prop: 'createTime', name: '添加时间' },
{ "prop": "code", "name": "编码" }, { prop: 'name', name: '属性名称' },
{ "prop": "name", "name": "名称" }, { prop: 'code', name: '属性编码' },
{ "prop": "productId", "name": "产品id,关联产品表" }, { prop: 'productId', name: '产品id,关联产品表' },
{ "prop": "value", "name": "属性值" }, { prop: 'value', name: '属性值' },
{ "prop": "description", "name": "描述" }, { prop: 'description', name: '描述' },
{ "prop": "externalCode", "name": "外部编码,用于对照外部系统的编码" }, // { prop: 'id', name: 'ID' },
{ "prop": "enabled", "name": "启用状态:0 、停用1、启用" }, // { prop: 'externalCode', name: '' },
{ "prop": "remark", "name": "备注" }, // { prop: 'enabled', name: ':0 1' },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" }, // { prop: 'remark', name: '' },
{ "prop": "creatorId", "name": "创建人" }, // { prop: 'valid', name: ':1 0' },
{ "prop": "creatorName", "name": "创建人姓名" }, // { prop: 'creatorId', name: '' },
{ "prop": "createTime", "name": "添加时间" }, // { prop: 'creatorName', name: '' },
{ "prop": "updaterId", "name": "更新人" }, // { prop: 'updaterId', name: '' },
{ "prop": "updaterName", "name": "更新人姓名" }, // { prop: 'updaterName', name: '' },
{ "prop": "updateTime", "name": "更新时间" }, // { prop: 'updateTime', name: '' },
{ "prop": "version", "name": "版本号" }, { prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] } // { prop: 'version', name: '' },
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
] ]
export default { export default {
data() { data() {
return {tableConfigs, return {
tableConfigs,
dataForm: { dataForm: {
key: '' key: ''
}, },
@ -94,7 +96,8 @@ export default {
} }
}, },
components: { components: {
AddOrUpdate,BaseTable AddOrUpdate,
BaseTable
}, },
activated() { activated() {
this.getDataList() this.getDataList()

View File

@ -57,24 +57,26 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent' import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [ const tableConfigs = [
{ "prop": "id", "name": "ID" }, { prop: 'createTime', name: '添加时间' },
{ "prop": "typeId", "name": "检测类型id" }, { prop: 'typeId', name: '检测类型id' },
{ "prop": "content", "name": "检测内容" }, { prop: 'content', name: '检测内容' },
{ "prop": "code", "name": "检测编码" }, { prop: 'code', name: '检测编码' },
{ "prop": "remark", "name": "备注" }, { prop: 'remark', name: '备注' },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" }, // { prop: 'id', name: 'ID' },
{ "prop": "creatorId", "name": "创建人" }, // { prop: 'valid', name: ':1 0' },
{ "prop": "creatorName", "name": "创建人姓名" }, // { prop: 'creatorId', name: '' },
{ "prop": "createTime", "name": "添加时间" }, // { prop: 'creatorName', name: '' },
{ "prop": "updaterId", "name": "更新人" }, // { prop: 'updaterId', name: '' },
{ "prop": "updaterName", "name": "更新人姓名" }, // { prop: 'updaterName', name: '' },
{ "prop": "updateTime", "name": "更新时间" }, // { prop: 'updateTime', name: '' },
{ "prop": "version", "name": "版本号" }, { prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] } // { prop: 'version', name: '' },
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
] ]
export default { export default {
data() { data() {
return {tableConfigs, return {
tableConfigs,
dataForm: { dataForm: {
key: '' key: ''
}, },
@ -88,7 +90,8 @@ export default {
} }
}, },
components: { components: {
AddOrUpdate,BaseTable AddOrUpdate,
BaseTable
}, },
activated() { activated() {
this.getDataList() this.getDataList()

View File

@ -62,32 +62,37 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent' import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [ const tableConfigs = [
{ "prop": "id", "name": "ID" }, { prop: 'createTime', name: '添加时间' },
{ "prop": "inspectionDetId", "name": "检测内容id" },
{ {
"prop": "inspectionDetContent", prop: 'inspectionDetContent',
"name": "检测内容设备推送消息时可能无对应id只填这个字段" name: '检测内容'
// "name": "id"
}, },
{ "prop": "productionId", "name": "产线id" }, { prop: 'checkTime', name: '检测时间' },
{ "prop": "sectionId", "name": "工段id" }, { prop: 'productionId', name: '产线id' },
{ "prop": "checkPerson", "name": "检测人员,可以多个" }, { prop: 'sectionId', name: '工段id' },
{ "prop": "checkTime", "name": "检测时间" }, { prop: 'checkPerson', name: '检测人员' },
{ "prop": "source", "name": "来源 1手动默认 2自动" }, // { prop: 'checkPerson', name: '' },
{ "prop": "explainText", "name": "描述" }, { prop: 'source', name: '来源' },
{ "prop": "remark", "name": "备注" }, // { prop: 'source', name: ' 1 2' },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" }, { prop: 'explainText', name: '描述' },
{ "prop": "creatorId", "name": "创建人" }, { prop: 'remark', name: '备注' },
{ "prop": "creatorName", "name": "创建人姓名" }, // { prop: 'inspectionDetId', name: 'id' },
{ "prop": "createTime", "name": "添加时间" }, // { prop: 'id', name: 'ID' },
{ "prop": "updaterId", "name": "更新人" }, // { prop: 'valid', name: ':1 0' },
{ "prop": "updaterName", "name": "更新人姓名" }, // { prop: 'creatorId', name: '' },
{ "prop": "updateTime", "name": "更新时间" }, // { prop: 'creatorName', name: '' },
{ "prop": "version", "name": "版本号" }, { prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] } // { prop: 'updaterId', name: '' },
// { prop: 'updaterName', name: '' },
// { prop: 'updateTime', name: '' },
// { prop: 'version', name: '' },
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
] ]
export default { export default {
data() { data() {
return {tableConfigs, return {
tableConfigs,
dataForm: { dataForm: {
key: '' key: ''
}, },
@ -101,7 +106,8 @@ export default {
} }
}, },
components: { components: {
AddOrUpdate,BaseTable AddOrUpdate,
BaseTable
}, },
activated() { activated() {
this.getDataList() this.getDataList()

View File

@ -56,23 +56,25 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent' import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [ const tableConfigs = [
{ "prop": "id", "name": "ID" }, { prop: 'createTime', name: '添加时间' },
{ "prop": "name", "name": "检测类型名称" }, { prop: 'name', name: '检测类型名称' },
{ "prop": "code", "name": "检测类型编码" }, { prop: 'code', name: '检测类型编码' },
{ "prop": "remark", "name": "备注" }, { prop: 'remark', name: '备注' },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" }, // { prop: 'id', name: 'ID' },
{ "prop": "creatorId", "name": "创建人" }, // { prop: 'valid', name: ':1 0' },
{ "prop": "creatorName", "name": "创建人姓名" }, // { prop: 'creatorId', name: '' },
{ "prop": "createTime", "name": "添加时间" }, // { prop: 'creatorName', name: '' },
{ "prop": "updaterId", "name": "更新人" }, // { prop: 'updaterId', name: '' },
{ "prop": "updaterName", "name": "更新人姓名" }, // { prop: 'updaterName', name: '' },
{ "prop": "updateTime", "name": "更新时间" }, // { prop: 'updateTime', name: '' },
{ "prop": "version", "name": "版本号" }, { prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] } // { prop: 'version', name: '' },
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
] ]
export default { export default {
data() { data() {
return {tableConfigs, return {
tableConfigs,
dataForm: { dataForm: {
key: '' key: ''
}, },
@ -86,7 +88,8 @@ export default {
} }
}, },
components: { components: {
AddOrUpdate,BaseTable AddOrUpdate,
BaseTable
}, },
activated() { activated() {
this.getDataList() this.getDataList()

View File

@ -60,24 +60,32 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent' import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [ const tableConfigs = [
{ "prop": "id", "name": "ID" }, { prop: 'createTime', name: '创建时间' },
{ "prop": "name", "name": "检测类型名称" }, { prop: 'name', name: '报表名称' },
{ "prop": "code", "name": "检测类型编码" }, { prop: 'code', name: '报表编码' },
{ "prop": "remark", "name": "备注" }, { prop: 'category', name: '报表分类' },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" }, // { prop: 'id', name: 'ID' },
{ "prop": "creatorId", "name": "创建人" }, // { prop: 'category', name: 'report_sheet_category' },
{ "prop": "creatorName", "name": "创建人姓名" }, { prop: 'fileName', name: '文件名称' },
{ "prop": "createTime", "name": "添加时间" }, { prop: 'url', name: '链接地址' },
{ "prop": "updaterId", "name": "更新人" }, { prop: 'description', name: '描述' },
{ "prop": "updaterName", "name": "更新人姓名" }, { prop: 'remark', name: '备注' },
{ "prop": "updateTime", "name": "更新时间" }, { prop: 'content', name: '报表内容' },
{ "prop": "version", "name": "版本号" }, { prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] } // { prop: 'enabled', name: ':0 1' },
// { prop: 'valid', name: ':1 0' },
// { prop: 'creatorId', name: '' },
// { prop: 'creatorName', name: '' },
// { prop: 'updaterId', name: '' },
// { prop: 'updaterName', name: '' },
// { prop: 'updateTime', name: '' },
// { prop: 'version', name: '' },
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
] ]
export default { export default {
data() { data() {
return {tableConfigs, return {
tableConfigs,
dataForm: { dataForm: {
key: '' key: ''
}, },
@ -91,7 +99,8 @@ export default {
} }
}, },
components: { components: {
AddOrUpdate,BaseTable AddOrUpdate,
BaseTable
}, },
activated() { activated() {
this.getDataList() this.getDataList()

View File

@ -59,26 +59,28 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent' import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [ const tableConfigs = [
{ "prop": "id", "name": "ID" }, { prop: 'createTime', name: '添加时间' },
{ "prop": "code", "name": "编码" }, { prop: 'name', name: '分类名称' },
{ "prop": "name", "name": "名称" }, { prop: 'code', name: '分类编码' },
{ "prop": "description", "name": "描述" }, // { "prop": "id", "name": "ID" },
{ "prop": "externalCode", "name": "外部编码,用于对照外部系统的编码" }, // { "prop": "description", "name": "" },
{ "prop": "enabled", "name": "启用状态:0 、停用1、启用" }, // { "prop": "externalCode", "name": "" },
{ "prop": "remark", "name": "备注" }, // { "prop": "enabled", "name": ":0 1" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" }, // { "prop": "remark", "name": "" },
{ "prop": "creatorId", "name": "创建人" }, // { "prop": "valid", "name": ":1 0" },
{ "prop": "creatorName", "name": "创建人姓名" }, // { "prop": "creatorId", "name": "" },
{ "prop": "createTime", "name": "添加时间" }, // { "prop": "creatorName", "name": "" },
{ "prop": "updaterId", "name": "更新人" }, // { "prop": "updaterId", "name": "" },
{ "prop": "updaterName", "name": "更新人姓名" }, // { "prop": "updaterName", "name": "" },
{ "prop": "updateTime", "name": "更新时间" }, // { "prop": "updateTime", "name": "" },
{ "prop": "version", "name": "版本号" }, { prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] } // { prop: 'version', name: '' },
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
] ]
export default { export default {
data() { data() {
return {tableConfigs, return {
tableConfigs,
dataForm: { dataForm: {
key: '' key: ''
}, },
@ -92,7 +94,8 @@ export default {
} }
}, },
components: { components: {
AddOrUpdate,BaseTable AddOrUpdate,
BaseTable
}, },
activated() { activated() {
this.getDataList() this.getDataList()