iedc-go/example/config/app.json

2474 lines
42 KiB
JSON
Raw Normal View History

2021-11-14 19:32:50 +00:00
{
2021-12-27 06:01:04 +00:00
"id": "a549346388b58195866106b5f2072b26",
2021-11-14 19:32:50 +00:00
"label": "HoTime管理平台",
"menus": [
{
"icon": "el-icon-s-home",
"label": "平台首页",
"name": "HelloWorld"
},
{
"icon": "el-icon-setting",
2021-12-27 06:01:04 +00:00
"label": "生产成品",
2021-11-14 19:32:50 +00:00
"menus": [
{
2021-12-27 06:01:04 +00:00
"label": "生产成品",
"table": "produce_product"
},
{
"label": "生产计划",
"table": "produce"
},
{
"label": "消耗原材料",
"table": "produce_material"
2021-11-14 19:32:50 +00:00
},
{
2021-12-27 06:01:04 +00:00
"label": "生产计划",
"table": "produce"
}
],
"name": "sys:produce"
},
{
"icon": "el-icon-setting",
"label": "系统管理",
"menus": [
{
"label": "客户管理",
2021-11-14 19:32:50 +00:00
"table": "user"
},
2021-12-27 06:01:04 +00:00
{
"label": "部门管理",
"table": "org"
},
2021-11-14 19:32:50 +00:00
{
"label": "人员管理",
"table": "admin"
},
{
"label": "事项管理",
"table": "category"
},
{
2021-12-27 06:01:04 +00:00
"label": "角色管理",
"table": "role"
2021-11-14 19:32:50 +00:00
},
{
2021-12-27 06:01:04 +00:00
"label": "炉温监控",
"table": "furnace_temperature"
}
],
"name": "sys"
},
{
"icon": "el-icon-setting",
"label": "抽检管理",
"menus": [
{
"label": "抽检管理",
"table": "product_spot_check"
2021-11-14 19:32:50 +00:00
},
{
2021-12-27 06:01:04 +00:00
"label": "成品管理",
"table": "product"
},
{
"label": "质检管理",
"table": "product_check"
},
{
"label": "产线管理",
"table": "product_line"
},
{
"label": "成品管理",
"table": "product"
2021-11-14 19:32:50 +00:00
}
],
2021-12-27 06:01:04 +00:00
"name": "sys:product"
},
{
"icon": "el-icon-setting",
"label": "原材料管理",
"menus": [
{
"label": "原材料管理",
"table": "material"
},
{
"label": "出入库管理",
"table": "material_inout"
},
{
"label": "原材料管理",
"table": "material"
}
],
"name": "sys:material"
2021-11-14 19:32:50 +00:00
}
],
"name": "admin",
"tables": {
"admin": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "名称",
"name": "name",
"type": "text"
},
{
"label": "手机号",
"name": "phone",
"type": "text"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
"info": false,
"label": "密码",
"list": false,
"must": false,
"name": "password",
"type": "password"
},
{
"label": "头像",
"list": false,
"must": false,
"name": "avatar_img",
"type": "image"
},
{
"label": "角色",
"link": "role",
"name": "role_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "部门",
"link": "org",
"name": "org_id",
"sortable": true,
"type": "number",
"value": "name"
}
],
"label": "人员管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
},
{
"label": "部门",
"link": "org",
"name": "org_id",
"type": "tree",
"value": "name"
}
],
"table": "admin"
},
"category": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "名称",
"name": "name",
"type": "text"
},
{
"label": "排序 序号越大越排前面",
"list": false,
"must": false,
"name": "sort",
"sortable": true,
"type": "number"
},
{
"label": "归属专区",
"link": "category",
"must": false,
"name": "parent_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "创建人员",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
2021-12-27 06:01:04 +00:00
"label": "部门",
2021-11-14 19:32:50 +00:00
"link": "org",
"name": "org_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"info": false,
"label": "索引",
"list": false,
"must": false,
"name": "index",
"notUse": true,
"type": "index"
}
],
"label": "事项管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
},
{
"label": "归属专区",
"link": "category",
"name": "parent_id",
"type": "tree",
"value": "name"
},
{
2021-12-27 06:01:04 +00:00
"label": "部门",
2021-11-14 19:32:50 +00:00
"link": "org",
"name": "org_id",
"type": "tree",
"value": "name"
}
],
"table": "category"
},
2021-12-27 06:01:04 +00:00
"furnace_temperature": {
2021-11-14 19:32:50 +00:00
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
2021-12-27 06:01:04 +00:00
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "日期",
2021-11-14 19:32:50 +00:00
"name": "name",
"type": "text"
},
2021-12-27 06:01:04 +00:00
{
"label": "炉温照片",
"list": false,
"must": false,
"name": "img",
"type": "image"
},
2021-11-14 19:32:50 +00:00
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
2021-12-27 06:01:04 +00:00
"label": "产线",
"link": "product_line",
"name": "product_line_id",
2021-11-14 19:32:50 +00:00
"sortable": true,
"type": "number",
"value": "name"
}
],
2021-12-27 06:01:04 +00:00
"label": "炉温监控",
2021-11-14 19:32:50 +00:00
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
2021-12-27 06:01:04 +00:00
"table": "furnace_temperature"
2021-11-14 19:32:50 +00:00
},
2021-12-27 06:01:04 +00:00
"material": {
2021-11-14 19:32:50 +00:00
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
2021-12-27 06:01:04 +00:00
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "原材料名称",
2021-11-14 19:32:50 +00:00
"name": "name",
"type": "text"
},
2021-12-27 06:01:04 +00:00
{
"label": "图片",
"list": false,
"must": false,
"name": "img",
"type": "image"
},
{
"label": "当前数量",
"name": "count",
"sortable": true,
"type": "number"
},
{
"label": "总消耗数",
"name": "used",
"sortable": true,
"type": "number"
},
{
"label": "总存储数",
"name": "saved",
"sortable": true,
"type": "number"
},
{
"label": "默认添加数量",
"name": "num",
"sortable": true,
"type": "number"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
2021-11-14 19:32:50 +00:00
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
2021-12-27 06:01:04 +00:00
"label": "基本信息",
"list": false,
"must": false,
"name": "rule",
"type": "form"
2021-11-14 19:32:50 +00:00
},
{
2021-12-27 06:01:04 +00:00
"label": "有效期",
2021-11-14 19:32:50 +00:00
"must": true,
2021-12-27 06:01:04 +00:00
"name": "validity",
2021-11-14 19:32:50 +00:00
"options": [
{
2021-12-27 06:01:04 +00:00
"name": "半年",
2021-11-14 19:32:50 +00:00
"value": "0"
},
{
2021-12-27 06:01:04 +00:00
"name": "一年",
2021-11-14 19:32:50 +00:00
"value": "1"
},
{
2021-12-27 06:01:04 +00:00
"name": "两年",
2021-11-14 19:32:50 +00:00
"value": "2"
},
{
2021-12-27 06:01:04 +00:00
"name": "三年",
2021-11-14 19:32:50 +00:00
"value": "3"
}
],
2021-12-27 06:01:04 +00:00
"sortable": true,
2021-11-14 19:32:50 +00:00
"type": "select"
},
{
2021-12-27 06:01:04 +00:00
"label": "识别数据",
"list": false,
"must": false,
"name": "content",
"type": "text"
},
{
"label": "备注信息",
"list": false,
"must": false,
"name": "description",
"type": "text"
2021-11-14 19:32:50 +00:00
}
],
2021-12-27 06:01:04 +00:00
"label": "原材料管理",
2021-11-14 19:32:50 +00:00
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
2021-12-27 06:01:04 +00:00
"label": "状态",
"list": false,
2021-11-14 19:32:50 +00:00
"must": true,
2021-12-27 06:01:04 +00:00
"name": "state",
2021-11-14 19:32:50 +00:00
"options": [
{
2021-12-27 06:01:04 +00:00
"name": "已启用",
2021-11-14 19:32:50 +00:00
"value": "0"
},
{
2021-12-27 06:01:04 +00:00
"name": "未启用",
2021-11-14 19:32:50 +00:00
"value": "1"
},
{
2021-12-27 06:01:04 +00:00
"name": "异常",
2021-11-14 19:32:50 +00:00
"value": "2"
},
{
2021-12-27 06:01:04 +00:00
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
},
{
"label": "有效期",
"must": true,
"name": "validity",
"options": [
{
"name": "半年",
"value": "0"
2021-11-14 19:32:50 +00:00
},
{
2021-12-27 06:01:04 +00:00
"name": "一年",
"value": "1"
},
{
"name": "两年",
"value": "2"
},
{
"name": "三年",
"value": "3"
2021-11-14 19:32:50 +00:00
},
{
"name": "全部",
"value": null
}
],
2021-12-27 06:01:04 +00:00
"sortable": true,
2021-11-14 19:32:50 +00:00
"type": "select",
"value": null
2021-12-27 06:01:04 +00:00
}
],
"table": "material"
},
"material_inout": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "图片",
"list": false,
"must": false,
"name": "img",
"type": "image"
},
{
"label": "出入库数量",
"name": "count",
"sortable": true,
"type": "number"
},
{
"label": "剩余数量",
"name": "saved",
"sortable": true,
"type": "number"
},
{
"label": "对应原材料",
"link": "material",
"name": "material_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
2021-11-14 19:32:50 +00:00
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
2021-12-27 06:01:04 +00:00
"name": "入库",
2021-11-14 19:32:50 +00:00
"value": "0"
},
{
2021-12-27 06:01:04 +00:00
"name": "出库",
2021-11-14 19:32:50 +00:00
"value": "1"
},
{
2021-12-27 06:01:04 +00:00
"name": "退货",
"value": "2"
}
],
"type": "select"
},
{
"label": "基础信息",
"list": false,
"must": false,
"name": "rule",
"type": "form"
},
{
"label": "关联生产计划",
"link": "produce",
"name": "produce_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "识别信息",
"list": false,
"must": false,
"name": "content",
"type": "text"
},
{
"label": "备注信息",
"list": false,
"must": false,
"name": "description",
"type": "text"
}
],
"label": "出入库管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "入库",
"value": "0"
},
{
"name": "出库",
"value": "1"
},
{
"name": "退货",
2021-11-14 19:32:50 +00:00
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
2021-12-27 06:01:04 +00:00
"table": "material_inout"
2021-11-14 19:32:50 +00:00
},
"org": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "编号",
"name": "sn",
"type": "text"
},
{
"label": "组织名称",
"name": "name",
"type": "text"
},
{
"label": "上级组织",
"link": "org",
"must": false,
"name": "parent_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
"add": false,
"edit": false,
"label": "注册时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "创建用户",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"info": false,
"label": "索引 格式为逗号分隔,1,2,",
"list": false,
"must": false,
"name": "index",
"notUse": true,
"type": "index"
}
],
"label": "部门管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
},
{
"label": "上级组织",
"link": "org",
"name": "parent_id",
"type": "tree",
"value": "name"
}
],
"table": "org"
},
2021-12-27 06:01:04 +00:00
"produce": {
2021-11-14 19:32:50 +00:00
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
2021-12-27 06:01:04 +00:00
"label": "二维码起始编码",
"name": "sn",
"type": "text"
},
{
"label": "计划名",
2021-11-14 19:32:50 +00:00
"name": "name",
"type": "text"
},
2021-12-27 06:01:04 +00:00
{
"label": "对应成品",
"link": "product",
"name": "product_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "客户",
"link": "user",
"name": "user_id",
"sortable": true,
"type": "number",
"value": "name"
},
2021-11-14 19:32:50 +00:00
{
"add": false,
"edit": false,
2021-12-27 06:01:04 +00:00
"label": "开始时间",
2021-11-14 19:32:50 +00:00
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
2021-12-27 06:01:04 +00:00
"label": "生产状态",
2021-11-14 19:32:50 +00:00
"list": false,
"must": true,
"name": "state",
"options": [
{
2021-12-27 06:01:04 +00:00
"name": "已完成",
2021-11-14 19:32:50 +00:00
"value": "0"
},
{
2021-12-27 06:01:04 +00:00
"name": "待生产",
2021-11-14 19:32:50 +00:00
"value": "1"
},
{
2021-12-27 06:01:04 +00:00
"name": "生产中",
2021-11-14 19:32:50 +00:00
"value": "2"
}
],
"type": "select"
},
{
2021-12-27 06:01:04 +00:00
"label": "计划生产总量",
"name": "count",
"sortable": true,
"type": "number"
},
{
"label": "当前已生产",
"name": "now",
"sortable": true,
"type": "number"
},
{
"label": "计划完成时间",
"name": "finish_time",
"type": "time"
},
{
"label": "其他规则",
"list": false,
"must": false,
2021-11-14 19:32:50 +00:00
"name": "rule",
2021-12-27 06:01:04 +00:00
"type": "form"
},
{
"label": "抽检覆盖量",
"name": "spot_check_count",
"sortable": true,
"type": "number"
},
{
"label": "发货抽检总覆盖量",
"name": "spot_check_used",
"sortable": true,
"type": "number"
},
{
"label": "总抽检总覆盖量",
"name": "spot_check_saved",
"sortable": true,
"type": "number"
2021-11-14 19:32:50 +00:00
}
],
2021-12-27 06:01:04 +00:00
"label": "生产计划",
2021-11-14 19:32:50 +00:00
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
2021-12-27 06:01:04 +00:00
"label": "生产状态",
2021-11-14 19:32:50 +00:00
"list": false,
"must": true,
"name": "state",
"options": [
{
2021-12-27 06:01:04 +00:00
"name": "已完成",
2021-11-14 19:32:50 +00:00
"value": "0"
},
{
2021-12-27 06:01:04 +00:00
"name": "待生产",
2021-11-14 19:32:50 +00:00
"value": "1"
},
{
2021-12-27 06:01:04 +00:00
"name": "生产中",
2021-11-14 19:32:50 +00:00
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
2021-12-27 06:01:04 +00:00
"table": "produce"
2021-11-14 19:32:50 +00:00
},
2021-12-27 06:01:04 +00:00
"produce_material": {
2021-11-14 19:32:50 +00:00
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
2021-12-27 06:01:04 +00:00
"label": "SN",
2021-11-14 19:32:50 +00:00
"name": "sn",
"type": "text"
},
{
2021-12-27 06:01:04 +00:00
"label": "原材料",
"link": "material",
"name": "material_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "计划使用数量",
"name": "count",
"sortable": true,
"type": "number"
},
{
"label": "已使用数量",
"name": "used",
"sortable": true,
"type": "number"
},
{
"label": "生产计划",
"link": "produce",
"name": "produce_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "生产状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
}
],
"type": "select"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
}
],
"label": "消耗原材料",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "生产状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "produce_material"
},
"produce_product": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "成品",
"link": "product",
"name": "product_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "生产计划",
"link": "produce",
"name": "produce_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "生产状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
}
],
"type": "select"
},
{
"label": "炉温",
"link": "furnace_temperature",
"name": "furnace_temperature_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "生产线",
"link": "product_line",
"name": "product_line_id",
"sortable": true,
"type": "number",
"value": "name"
}
],
"label": "生产成品",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "生产状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "produce_product"
},
"product": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "成品名称",
"name": "name",
"type": "text"
},
{
"label": "图片",
"list": false,
"must": false,
"name": "img",
"type": "image"
},
{
"label": "当前数量",
"name": "count",
"sortable": true,
"type": "number"
},
{
"label": "总发货量",
"name": "used",
"sortable": true,
"type": "number"
},
{
"label": "总生产量",
"name": "saved",
"sortable": true,
"type": "number"
},
{
"label": "抽检覆盖量",
"name": "spot_check_count",
"sortable": true,
"type": "number"
},
{
"label": "发货抽检总覆盖量",
"name": "spot_check_used",
"sortable": true,
"type": "number"
},
{
"label": "总抽检总覆盖量",
"name": "spot_check_saved",
"sortable": true,
"type": "number"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
"label": "抽检参数",
"list": false,
"must": false,
"name": "rule_spot_check",
"type": "form"
},
{
"label": "抽检百分比",
"list": false,
"must": false,
"name": "spot_check_percentage",
"sortable": true,
"type": "number"
},
{
"label": "质检参数",
"list": false,
"must": false,
"name": "rule_check",
"type": "form"
}
],
"label": "成品管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "product"
},
"product_check": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "图片",
"list": false,
"must": false,
"name": "img",
"type": "image"
},
{
"label": "生产成品",
"link": "produce_product",
"name": "produce_product_id",
"sortable": true,
"type": "number",
"value": "sn"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "质检结论",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
}
],
"type": "select"
},
{
"label": "基本信息",
"list": false,
"must": false,
"name": "rule",
"type": "form"
},
{
"label": "生产计划",
"link": "produce",
"name": "produce_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "成品名称",
"link": "product",
"name": "product_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "备注信息",
"list": false,
"must": false,
"name": "description",
"type": "text"
}
],
"label": "质检管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "质检结论",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "product_check"
},
"product_line": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "名称",
"name": "name",
"type": "text"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
"label": "扫码枪ip地址",
"name": "ipaddr",
"type": "text"
}
],
"label": "产线管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "product_line"
},
"product_spot_check": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "图片",
"list": false,
"must": false,
"name": "img",
"type": "image"
},
{
"label": "成品",
"link": "product",
"name": "product_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "经办人",
"link": "admin",
"name": "admin_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "抽检结论",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
}
],
"type": "select"
},
{
"label": "基本信息",
"list": false,
"must": false,
"name": "rule",
"type": "form"
},
{
"label": "生产计划",
"link": "produce",
"name": "produce_id",
"sortable": true,
"type": "number",
"value": "name"
},
{
"label": "生产成品",
"link": "produce_product",
"name": "produce_product_id",
"sortable": true,
"type": "number",
"value": "sn"
},
{
"label": "备注信息",
"list": false,
"must": false,
"name": "description",
"type": "text"
}
],
"label": "抽检管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "抽检结论",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "其他",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "product_spot_check"
},
"role": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "名称",
"name": "name",
"type": "text"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
}
],
"type": "select"
},
{
"label": "规则",
"list": false,
"must": false,
"name": "rule",
"type": "form"
}
],
"label": "角色管理",
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "已启用",
"value": "0"
},
{
"name": "未启用",
"value": "1"
},
{
"name": "异常",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "role"
},
"user": {
"auth": [
"add",
"delete",
"edit",
"info"
],
"columns": [
{
"add": false,
"edit": false,
"label": "ID",
"must": false,
"name": "id",
"sortable": true,
"type": "number"
},
{
"label": "SN",
"name": "sn",
"type": "text"
},
{
"label": "用户姓名",
"name": "name",
"type": "text"
},
{
"label": "公司名称",
"name": "company",
2021-11-14 19:32:50 +00:00
"type": "text"
},
{
"label": "手机号码",
"name": "phone",
"type": "text"
},
{
"label": "邮箱",
"list": false,
"must": false,
2021-12-27 06:01:04 +00:00
"name": "email",
2021-11-14 19:32:50 +00:00
"type": "text"
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "隐藏",
"value": "2"
}
],
"type": "select"
},
{
"label": "头像",
"list": false,
"must": false,
"name": "avatar",
"type": "image"
},
{
"add": false,
"edit": false,
"label": "创建时间",
"list": false,
"must": false,
"name": "create_time",
"type": "time"
},
{
"add": false,
"edit": false,
"label": "变更时间",
"must": false,
"name": "modify_time",
"type": "time"
}
],
2021-12-27 06:01:04 +00:00
"label": "客户管理",
2021-11-14 19:32:50 +00:00
"search": [
{
"label": "请输入关键词",
"name": "keyword",
"type": "search",
"value": null
},
{
"label": "时间段",
"name": "daterange",
"type": "search",
"value": null
},
{
"label": "排序",
"name": "sort",
"type": "search",
"value": null
},
{
"label": "状态",
"list": false,
"must": true,
"name": "state",
"options": [
{
"name": "正常",
"value": "0"
},
{
"name": "异常",
"value": "1"
},
{
"name": "隐藏",
"value": "2"
},
{
"name": "全部",
"value": null
}
],
"type": "select",
"value": null
}
],
"table": "user"
}
}
2021-12-27 06:01:04 +00:00
}