fzq #31

Closed
fanzhiqin wants to merge 215 commits from fzq into test
7 changed files with 138 additions and 113 deletions
Showing only changes of commit c15671c496 - Show all commits

View File

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

View File

@ -36,7 +36,7 @@
</template>
</el-table-column>
</el-table> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -59,28 +59,30 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [
{ "prop": "id", "name": "ID" },
{ "prop": "code", "name": "编码" },
{ "prop": "name", "name": "名称" },
{ "prop": "productId", "name": "产品id,关联产品表" },
{ "prop": "value", "name": "属性值" },
{ "prop": "description", "name": "描述" },
{ "prop": "externalCode", "name": "外部编码,用于对照外部系统的编码" },
{ "prop": "enabled", "name": "启用状态:0 、停用1、启用" },
{ "prop": "remark", "name": "备注" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" },
{ "prop": "creatorId", "name": "创建人" },
{ "prop": "creatorName", "name": "创建人姓名" },
{ "prop": "createTime", "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'] }
{ prop: 'createTime', name: '添加时间' },
{ prop: 'name', name: '属性名称' },
{ prop: 'code', name: '属性编码' },
{ prop: 'productId', name: '产品id,关联产品表' },
{ prop: 'value', name: '属性值' },
{ prop: 'description', name: '描述' },
// { prop: 'id', name: 'ID' },
// { prop: 'externalCode', name: '' },
// { prop: 'enabled', name: ':0 1' },
// { prop: 'remark', name: '' },
// { 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 {
data() {
return {tableConfigs,
return {
tableConfigs,
dataForm: {
key: ''
},
@ -94,7 +96,8 @@ export default {
}
},
components: {
AddOrUpdate,BaseTable
AddOrUpdate,
BaseTable
},
activated() {
this.getDataList()

View File

@ -34,7 +34,7 @@
</template>
</el-table-column>
</el-table> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -57,24 +57,26 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [
{ "prop": "id", "name": "ID" },
{ "prop": "typeId", "name": "检测类型id" },
{ "prop": "content", "name": "检测内容" },
{ "prop": "code", "name": "检测编码" },
{ "prop": "remark", "name": "备注" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" },
{ "prop": "creatorId", "name": "创建人" },
{ "prop": "creatorName", "name": "创建人姓名" },
{ "prop": "createTime", "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'] }
{ prop: 'createTime', name: '添加时间' },
{ prop: 'typeId', name: '检测类型id' },
{ prop: 'content', name: '检测内容' },
{ prop: 'code', name: '检测编码' },
{ prop: 'remark', name: '备注' },
// { prop: 'id', name: 'ID' },
// { 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 {
data() {
return {tableConfigs,
return {
tableConfigs,
dataForm: {
key: ''
},
@ -88,7 +90,8 @@ export default {
}
},
components: {
AddOrUpdate,BaseTable
AddOrUpdate,
BaseTable
},
activated() {
this.getDataList()

View File

@ -39,7 +39,7 @@
</template>
</el-table-column>
</el-table> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -62,32 +62,37 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [
{ "prop": "id", "name": "ID" },
{ "prop": "inspectionDetId", "name": "检测内容id" },
{
"prop": "inspectionDetContent",
"name": "检测内容设备推送消息时可能无对应id只填这个字段"
},
{ "prop": "productionId", "name": "产线id" },
{ "prop": "sectionId", "name": "工段id" },
{ "prop": "checkPerson", "name": "检测人员,可以多个" },
{ "prop": "checkTime", "name": "检测时间" },
{ "prop": "source", "name": "来源 1手动默认 2自动" },
{ "prop": "explainText", "name": "描述" },
{ "prop": "remark", "name": "备注" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" },
{ "prop": "creatorId", "name": "创建人" },
{ "prop": "creatorName", "name": "创建人姓名" },
{ "prop": "createTime", "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'] }
{ prop: 'createTime', name: '添加时间' },
{
prop: 'inspectionDetContent',
name: '检测内容'
// "name": "id"
},
{ prop: 'checkTime', name: '检测时间' },
{ prop: 'productionId', name: '产线id' },
{ prop: 'sectionId', name: '工段id' },
{ prop: 'checkPerson', name: '检测人员' },
// { prop: 'checkPerson', name: '' },
{ prop: 'source', name: '来源' },
// { prop: 'source', name: ' 1 2' },
{ prop: 'explainText', name: '描述' },
{ prop: 'remark', name: '备注' },
// { prop: 'inspectionDetId', name: 'id' },
// { prop: 'id', name: 'ID' },
// { 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 {
data() {
return {tableConfigs,
return {
tableConfigs,
dataForm: {
key: ''
},
@ -101,7 +106,8 @@ export default {
}
},
components: {
AddOrUpdate,BaseTable
AddOrUpdate,
BaseTable
},
activated() {
this.getDataList()

View File

@ -33,7 +33,7 @@
</template>
</el-table-column>
</el-table> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -56,23 +56,25 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [
{ "prop": "id", "name": "ID" },
{ "prop": "name", "name": "检测类型名称" },
{ "prop": "code", "name": "检测类型编码" },
{ "prop": "remark", "name": "备注" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" },
{ "prop": "creatorId", "name": "创建人" },
{ "prop": "creatorName", "name": "创建人姓名" },
{ "prop": "createTime", "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'] }
{ prop: 'createTime', name: '添加时间' },
{ prop: 'name', name: '检测类型名称' },
{ prop: 'code', name: '检测类型编码' },
{ prop: 'remark', name: '备注' },
// { prop: 'id', name: 'ID' },
// { 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 {
data() {
return {tableConfigs,
return {
tableConfigs,
dataForm: {
key: ''
},
@ -86,7 +88,8 @@ export default {
}
},
components: {
AddOrUpdate,BaseTable
AddOrUpdate,
BaseTable
},
activated() {
this.getDataList()

View File

@ -37,7 +37,7 @@
</template>
</el-table-column>
</el-table> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -60,24 +60,32 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [
{ "prop": "id", "name": "ID" },
{ "prop": "name", "name": "检测类型名称" },
{ "prop": "code", "name": "检测类型编码" },
{ "prop": "remark", "name": "备注" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" },
{ "prop": "creatorId", "name": "创建人" },
{ "prop": "creatorName", "name": "创建人姓名" },
{ "prop": "createTime", "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'] }
{ prop: 'createTime', name: '创建时间' },
{ prop: 'name', name: '报表名称' },
{ prop: 'code', name: '报表编码' },
{ prop: 'category', name: '报表分类' },
// { prop: 'id', name: 'ID' },
// { prop: 'category', name: 'report_sheet_category' },
{ prop: 'fileName', name: '文件名称' },
{ prop: 'url', name: '链接地址' },
{ prop: 'description', name: '描述' },
{ prop: 'remark', name: '备注' },
{ prop: 'content', name: '报表内容' },
// { 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 {
data() {
return {tableConfigs,
return {
tableConfigs,
dataForm: {
key: ''
},
@ -91,7 +99,8 @@ export default {
}
},
components: {
AddOrUpdate,BaseTable
AddOrUpdate,
BaseTable
},
activated() {
this.getDataList()

View File

@ -36,7 +36,7 @@
</template>
</el-table-column>
</el-table> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="500" />
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -59,26 +59,28 @@ import TableOperateComponent from '@/components/base-table/components/operationC
import TableTextComponent from '@/components/base-table/components/detailComponent'
const tableConfigs = [
{ "prop": "id", "name": "ID" },
{ "prop": "code", "name": "编码" },
{ "prop": "name", "name": "名称" },
{ "prop": "description", "name": "描述" },
{ "prop": "externalCode", "name": "外部编码,用于对照外部系统的编码" },
{ "prop": "enabled", "name": "启用状态:0 、停用1、启用" },
{ "prop": "remark", "name": "备注" },
{ "prop": "valid", "name": "删除标志,是否有效:1 可用 0不可用" },
{ "prop": "creatorId", "name": "创建人" },
{ "prop": "creatorName", "name": "创建人姓名" },
{ "prop": "createTime", "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'] }
{ prop: 'createTime', name: '添加时间' },
{ prop: 'name', name: '分类名称' },
{ prop: 'code', name: '分类编码' },
// { "prop": "id", "name": "ID" },
// { "prop": "description", "name": "" },
// { "prop": "externalCode", "name": "" },
// { "prop": "enabled", "name": ":0 1" },
// { "prop": "remark", "name": "" },
// { "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 {
data() {
return {tableConfigs,
return {
tableConfigs,
dataForm: {
key: ''
},
@ -92,7 +94,8 @@ export default {
}
},
components: {
AddOrUpdate,BaseTable
AddOrUpdate,
BaseTable
},
activated() {
this.getDataList()