Commit 2db19791 authored by 李志鸣's avatar 李志鸣

fea(表格组件): 业务表格组件开发

parent ff2774e8
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
const fs = require('fs') const fs = require('fs')
const path = require('path') const path = require('path')
const axios = require('axios') const axios = require('axios')
let url = 'http://10.100.172.150:9105/v2/api-docs' let url = 'http://10.100.172.150:9108/v2/api-docs'
let filePath = path.join(__dirname, '../src') let filePath = path.join(__dirname, '../src')
function fetch () { function fetch () {
......
...@@ -13,12 +13,7 @@ module.exports = { ...@@ -13,12 +13,7 @@ module.exports = {
// 代理后端服务器 // 代理后端服务器
proxyTable: { proxyTable: {
'/host': { '/host': {
// target: 'http://10.168.1.72:9009', //设置你调用的接口域名和端口号 别忘了加http 现场测试环境 target: 'http://10.100.172.150:9108', //设置你调用的接口域名和端口号 别忘了加http
target: 'http://10.100.172.150:9105', //设置你调用的接口域名和端口号 别忘了加http
// target: 'http://10.100.172.207:8080', //设置你调用的接口域名和端口号 别忘了加http 许翔服务器
// target: 'http://10.100.172.169:9997', // 旭的服务器地址
// target: 'http://10.100.172.168:8080', // 伟材的服务器地址
// target: 'http://10.100.172.34:8080', // 浩鹏服务器地址
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/host': ''//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可 '^/host': ''//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>华莹生产制造执行系统</title> <title>中通</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
<template>
<div v-if="tableForceUpdateToggle"
class="table-pack">
<el-table
ref="table"
:data="tableConfig.data"
style="width: 100%"
tooltip-effect="dark"
stripe
border
:height="tableConfig.height"
:highlight-current-row="tableConfig.highLightCurrentToggle"
@row-click="doTableRowClick"
@sort-change="onSortChange"
@selection-change="onSelectChange">
<el-table-column
v-if="tableConfig.checkedToggle"
type="selection"
width="55"
align="center">
</el-table-column>
<template
v-for="(item, index) in tableConfig.fieldList">
<!-- 正常表格 -->
<el-table-column
:key="index"
:prop="item.value"
show-overflow-tooltip
v-bind="judgeTableColumnAttribute(item)">
<template slot-scope="scope">
<span v-if="item.dataType === 'DATETIME'">
{{ scope.row[item.value] === null || scope.row[item.value] === '' || scope.row[item.value] === undefined ? '暂无' : format(scope.row[item.value], 'yyyy-MM-dd hh:mm:ss') }}
</span>
<span v-if="item.dataType === 'NUMBER'">
{{ scope.row[item.value] === null || scope.row[item.value] === '' || scope.row[item.value] === undefined ? '暂无' : (scope.row[item.value]).toFix(2) }}
</span>
<span v-else>
{{ scope.row[item.value] === null || scope.row[item.value] === '' || scope.row[item.value] === undefined ? '暂无' : scope.row[item.value] }}
</span>
</template>
</el-table-column>
</template>
<!-- 预留字段及其他功能插槽 -->
<slot name="operationColumn"></slot>
</el-table>
<!-- 分页 -->
<div class="pagination-pack" v-if="tableConfig.paginationToggle">
<el-pagination
background
:total="tableConfig.paginationConfig.total"
style="text-align: center; margin-top: 12px;"
:page-sizes="[20, 50, 100, 200]"
layout="prev, pager, next, sizes, jumper"
:current-page.sync="tableConfig.paginationConfig.currentPage"
:page-size.sync="tableConfig.paginationConfig.pageSize"
@size-change="onPageSizeChange"
@current-change="onCurrentPageChange">
</el-pagination>
</div>
</div>
</template>
<script>
import { setTimeout } from 'timers';
export default {
props: {
tableConfig: {
type: Object,
required: true
}
},
data () {
return {
// 表格强制刷新开关
tableForceUpdateToggle: true
}
},
methods: {
// 日期时间格式化
format (date, fmt) {
let nowDate = new Date(date);
let o = {
'M+': nowDate.getMonth() + 1, //月份
'd+': nowDate.getDate(), //日
'h+': nowDate.getHours(), //小时
'm+': nowDate.getMinutes(), //分
's+': nowDate.getSeconds(), //秒
'q+': Math.floor((nowDate.getMonth() + 3) / 3), //季度
'S': nowDate.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (nowDate.getFullYear() + '').substr(4 - RegExp.$1.length));
for (let k in o) {
if (new RegExp('(' + k + ')').test(fmt)) {
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)));
}
}
return fmt;
},
// 触发分页数量改变事件
onPageSizeChange (pageSize) {
this.tableConfig.paginationConfig.currentPage = 1
this.tableConfig.paginationConfig.pageSize = pageSize
this.$emit('onPageSizeChange', pageSize)
},
// 触发分页页数改变事件
onCurrentPageChange (currentPage) {
this.tableConfig.paginationConfig.currentPage = currentPage
this.$emit('onCurrentPageChange', currentPage)
},
// 表格数据点击事件
doTableRowClick (tableNodeValue) {
this.$emit('doTableRowClick', tableNodeValue)
},
// 触发表格排序功能
onSortChange (sortValue) {
this.$emit('onSortChange', sortValue)
},
// 触发表格多选功能
onSelectChange (selectValue) {
this.$emit('onSelectChange', selectValue)
},
// 解析属性
judgeTableColumnAttribute (attributeArray) {
let judgeObject = _.cloneDeep(attributeArray)
// 默认加入排序功能
// 中通项目暂不加默认排序功能
// if (judgeObject.hasOwnProperty('sortable')) {
// judgeObject.sortable = attributeArray.sort
// } else {
// judgeObject.sortable = 'custom'
// }
return judgeObject
}
},
watch: {
tableConfig: {
handler (newVal, oldVal) {
this.tableConfig = newVal
}
// deep: true
},
'tableConfig.fieldList': {
handler (newVal, oldVal) {
// 当数据有所变动时,强制刷新表格组件
this.tableForceUpdateToggle = false
this.$nextTick(() => {
this.tableForceUpdateToggle = true
})
}
},
$route (to, from) {
// 如果路由发生变化时,强制刷新表格组件
this.tableForceUpdateToggle = false
this.$nextTick(() => {
this.tableForceUpdateToggle = true
})
}
}
}
</script>
<style lang="scss">
.table-pack {
.el-table__body tr.current-row>td {
background: #b2d8ff !important;
}
}
</style>
/* eslint-disable */ /* eslint-disable */
export default { export default {
"process-start-controller": { "equip-date-channel-controller": {
"findMaterialRecord-get": { "insert-post": {
"url": "/api/ProcessStart/findMaterialRecord", "url": "/api/channel/insert",
"method": "get"
},
"findPresentationRecord-get": {
"url": "/api/ProcessStart/findPresentationRecord",
"method": "get"
},
"findProgram-get": {
"url": "/api/ProcessStart/findProgram",
"method": "get"
},
"findStepMachine-get": {
"url": "/api/ProcessStart/findStepMachine",
"method": "get"
},
"findTrayRecord-get": {
"url": "/api/ProcessStart/findTrayRecord",
"method": "get"
},
"findVaildTrayRecord-get": {
"url": "/api/ProcessStart/findVaildTrayRecord",
"method": "get"
},
"inProcess-get": {
"url": "/api/ProcessStart/inProcess",
"method": "get"
},
"noRelationMachine-get": {
"url": "/api/ProcessStart/noRelationMachine",
"method": "get"
},
"norelationTray-get": {
"url": "/api/ProcessStart/norelationTray",
"method": "get"
},
"outProcess-get": {
"url": "/api/ProcessStart/outProcess",
"method": "get"
},
"presentation-get": {
"url": "/api/ProcessStart/presentation",
"method": "get"
},
"relationMachine-get": {
"url": "/api/ProcessStart/relationMachine",
"method": "get"
},
"relationMaterial-get": {
"url": "/api/ProcessStart/relationMaterial",
"method": "get"
},
"relationTray-get": {
"url": "/api/ProcessStart/relationTray",
"method": "get"
},
"sendProgram-get": {
"url": "/api/ProcessStart/sendProgram",
"method": "get"
},
"vaildTray-get": {
"url": "/api/ProcessStart/vaildTray",
"method": "get"
},
"workFinish-get": {
"url": "/api/ProcessStart/workFinish",
"method": "get"
}
},
"app-info-controller": {
"appVersionPage-get": {
"url": "/api/app/appVersionPage",
"method": "get"
},
"create-post": {
"url": "/api/app/create",
"method": "post"
},
"id-delete": {
"url": "/api/app/deleteAppByCode/{id}",
"method": "delete"
},
"page-get": {
"url": "/api/app/page",
"method": "get"
},
"searchPage-post": {
"url": "/api/app/searchPage",
"method": "post"
},
"updateAppInfo-put": {
"url": "/api/app/updateAppInfo",
"method": "put"
}
},
"app-version-controller": {
"id-delete": {
"url": "/api/app/deleteAppVersion/{id}",
"method": "delete"
},
"newVersion-get": {
"url": "/api/app/newVersion",
"method": "get"
},
"updateAppVersion-put": {
"url": "/api/app/updateAppVersion",
"method": "put"
},
"upload-post": {
"url": "/api/app/upload",
"method": "post"
},
"uploadfile-post": {
"url": "/api/app/uploadfile",
"method": "post"
}
},
"work-arrange-controller": {
"arrange-post": {
"url": "/api/arrange/arrange",
"method": "post"
},
"getWorkOrderList-get": {
"url": "/api/arrange/getWorkOrderList",
"method": "get"
}
},
"barcode-controller": {
"create-post": {
"url": "/api/barcode/create",
"method": "post"
},
"getCode-get": {
"url": "/api/barcode/getCode",
"method": "get"
},
"page-post": {
"url": "/api/barcode/page",
"method": "post"
},
"update-put": {
"url": "/api/barcode/update",
"method": "put"
},
"id-delete": {
"url": "/api/barcode/{id}",
"method": "delete"
}
},
"bartender-printer-controller": {
"print-get": {
"url": "/api/bartender/printer/print",
"method": "get"
}
},
"calendar-common-config-controller": {
"config-post": {
"url": "/api/calendar/common/config",
"method": "post"
},
"active-get": {
"url": "/api/calendar/common/config/active",
"method": "get"
},
"configType-get": {
"url": "/api/calendar/commonConfig/day/configType",
"method": "get"
},
"commonConfigId-delete": {
"url": "/api/calendar/commonConfig/{commonConfigId}",
"method": "delete"
},
"config-get": {
"url": "/api/calendar/update/common/config",
"method": "get"
}
},
"calendar-precise-config-controller": {
"getWorkCalendar-get": {
"url": "/api/calendar/precise/getWorkCalendar",
"method": "get"
},
"updateCalendarPreciseConfig-post": {
"url": "/api/calendar/precise/updateCalendarPreciseConfig",
"method": "post"
}
},
"program-controller": {
"program-post": {
"url": "/api/crafts/program",
"method": "post"
},
"program-put": {
"url": "/api/crafts/program",
"method": "put"
},
"programCode-get": {
"url": "/api/crafts/program/findHistory/{programCode}",
"method": "get"
},
"programId-get": {
"url": "/api/crafts/program/{programId}",
"method": "get"
},
"findPage-post": {
"url": "/api/crafts/program/findPage",
"method": "post"
},
"ballMounter-post": {
"url": "/api/crafts/program/insert/ballMounter",
"method": "post"
},
"page-get": {
"url": "/api/crafts/program/page",
"method": "get"
},
"sendKoreaTesterProgram-get": {
"url": "/api/crafts/program/sendKoreaTesterProgram",
"method": "get"
},
"programId-delete": {
"url": "/api/crafts/program/{programId}",
"method": "delete"
}
},
"crafts-route-controller": {
"check-put": {
"url": "/api/craftsRoute/check",
"method": "put"
},
"copy-post": {
"url": "/api/craftsRoute/copy",
"method": "post"
},
"create-post": {
"url": "/api/craftsRoute/create",
"method": "post"
},
"delMaterielRelation-delete": {
"url": "/api/craftsRoute/delMaterielRelation",
"method": "delete"
},
"id-delete": {
"url": "/api/craftsRoute/delete/{id}",
"method": "delete"
},
"id-get": {
"url": "/api/craftsRoute/getPositionById/{id}",
"method": "get"
},
"materielCode-get": {
"url": "/api/craftsRoute/findByMaterielCode/{materielCode}",
"method": "get"
},
"positionId-get": {
"url": "/api/craftsRoute/getByPositionId/{positionId}",
"method": "get"
},
"proLineId-get": {
"url": "/api/craftsRoute/materiel/{materielCode}/proLine/{proLineId}",
"method": "get"
},
"materielList-post": {
"url": "/api/craftsRoute/materielList",
"method": "post"
},
"id-post": {
"url": "/api/craftsRoute/upgrade/{id}",
"method": "post"
},
"page-get": {
"url": "/api/craftsRoute/page",
"method": "get"
},
"page-post": {
"url": "/api/craftsRoute/page",
"method": "post"
},
"setDefaults-put": {
"url": "/api/craftsRoute/setDefaults",
"method": "put"
},
"update-put": {
"url": "/api/craftsRoute/update",
"method": "put"
}
},
"equip-controller": {
"equip-post": {
"url": "/api/equip",
"method": "post"
},
"equip-put": {
"url": "/api/equip",
"method": "put"
},
"code-get": {
"url": "/api/equip/code/{code}",
"method": "get"
},
"fileId-get": {
"url": "/api/equip/download/{fileId}",
"method": "get"
},
"enable-put": {
"url": "/api/equip/enable",
"method": "put"
},
"evaluation-post": {
"url": "/api/equip/evaluation",
"method": "post"
},
"evaluation-put": {
"url": "/api/equip/evaluation",
"method": "put"
},
"evalId-delete": {
"url": "/api/equip/evaluation/{evalId}",
"method": "delete"
},
"equipCode-get": {
"url": "/api/equip/lastRecord/{equipCode}",
"method": "get"
},
"page-post": {
"url": "/api/equip/page",
"method": "post"
},
"pageEvaluation-post": {
"url": "/api/equip/pageEvaluation",
"method": "post"
},
"pageRecord-post": {
"url": "/api/equip/pageRecord",
"method": "post"
},
"pageRepairman-post": {
"url": "/api/equip/pageRepairman",
"method": "post"
},
"repairman-post": {
"url": "/api/equip/repairman",
"method": "post"
},
"id-delete": {
"url": "/api/equip/repairman/{id}",
"method": "delete"
},
"tree-get": {
"url": "/api/equip/tree",
"method": "get"
},
"upload-post": {
"url": "/api/equip/upload",
"method": "post"
}
},
"equipment-controller": {
"findByCode-get": {
"url": "/api/equipment/findByCode",
"method": "get"
},
"findById-get": {
"url": "/api/equipment/findById",
"method": "get"
},
"pageList-get": {
"url": "/api/equipment/pageList",
"method": "get"
}
},
"equipment-types-controller": {
"equipmentTypes-post": {
"url": "/api/equipmentTypes",
"method": "post"
},
"equipmentTypes-put": {
"url": "/api/equipmentTypes",
"method": "put"
},
"page-post": {
"url": "/api/equipmentTypes/page",
"method": "post"
},
"sort-put": {
"url": "/api/equipmentTypes/sort",
"method": "put"
},
"tree-get": {
"url": "/api/equipmentTypes/tree",
"method": "get"
},
"tree-put": {
"url": "/api/equipmentTypes/tree",
"method": "put"
},
"type-put": {
"url": "/api/equipmentTypes/type",
"method": "put"
},
"id-delete": {
"url": "/api/equipmentTypes/{id}",
"method": "delete"
}
},
"work-execute-controller": {
"findExecuteProcessRecord-get": {
"url": "/api/execute/findExecuteProcessRecord",
"method": "get"
},
"findExecuteProgramRecord-get": {
"url": "/api/execute/findExecuteProgramRecord",
"method": "get"
},
"findExecuteStepMachine-get": {
"url": "/api/execute/findExecuteStepMachine",
"method": "get"
},
"findExecuteStepMateriel-get": {
"url": "/api/execute/findExecuteStepMateriel",
"method": "get"
},
"findExecuteStepRecord-get": {
"url": "/api/execute/findExecuteStepRecord",
"method": "get"
},
"findExecuteTrayRecord-get": {
"url": "/api/execute/findExecuteTrayRecord",
"method": "get"
},
"findProcessInfo-get": {
"url": "/api/execute/findProcessInfo",
"method": "get"
},
"findStarting-get": {
"url": "/api/execute/findStarting",
"method": "get"
},
"findStepList-get": {
"url": "/api/execute/findStepList",
"method": "get"
},
"findWorkExecute-get": {
"url": "/api/execute/findWorkExecute",
"method": "get"
},
"findWorkExecuteNoNew-get": {
"url": "/api/execute/findWorkExecuteNoNew",
"method": "get"
},
"findWorkExecuteProcess-get": {
"url": "/api/execute/findWorkExecuteProcess",
"method": "get"
},
"findWorkExecuteToday-get": {
"url": "/api/execute/findWorkExecuteToday",
"method": "get"
},
"getExecuteById-get": {
"url": "/api/execute/getExecuteById",
"method": "get"
},
"getWorkExecute-get": {
"url": "/api/execute/getWorkExecute",
"method": "get"
}
},
"ferrite-controller": {
"coplanarData-get": {
"url": "/api/ferrite/coplanarData",
"method": "get"
},
"retestData-get": {
"url": "/api/ferrite/retestData",
"method": "get"
},
"voltageData-get": {
"url": "/api/ferrite/voltageData",
"method": "get"
}
},
"ferrite-process-controller": {
"ferriteProcessStart-get": {
"url": "/api/ferriteProcess/ferriteProcessStart",
"method": "get"
}
},
"fixture-controller": {
"create-post": {
"url": "/api/fixture/create",
"method": "post"
},
"id-delete": {
"url": "/api/fixture/deletefixtureByCode/{id}",
"method": "delete"
},
"page-get": {
"url": "/api/fixture/page",
"method": "get"
},
"searchPage-post": {
"url": "/api/fixture/searchPage",
"method": "post"
},
"updateFixtureInfo-put": {
"url": "/api/fixture/updateFixtureInfo",
"method": "put"
}
},
"hy-process-materiel-controller": {
"getMaterielInfo-get": {
"url": "/api/hyProcessMateriel/getMaterielInfo",
"method": "get"
},
"relationMaterial-get": {
"url": "/api/hyProcessMateriel/relationMaterial",
"method": "get"
}
},
"in-storage-controller": {
"findPage-post": {
"url": "/api/inStorage/findPage",
"method": "post"
},
"getByCode-get": {
"url": "/api/inStorage/getByCode",
"method": "get"
},
"inStorage-post": {
"url": "/api/inStorage/inStorage",
"method": "post"
},
"inStorageId-get": {
"url": "/api/inStorage/{inStorageId}",
"method": "get"
}
},
"in-storage-apply-controller": {
"findPage-post": {
"url": "/api/inStorageApply/findPage",
"method": "post"
}
},
"in-storage-apply-detail-controller": {
"findPage-post": {
"url": "/api/inStorageApplyDetail/findPage",
"method": "post"
}
},
"in-storage-detail-controller": {
"findByInStorageCode-get": {
"url": "/api/inStorageDetail/findByInStorageCode",
"method": "get"
},
"findByInStorageId-get": {
"url": "/api/inStorageDetail/findByInStorageId",
"method": "get"
},
"findPage-post": {
"url": "/api/inStorageDetail/findPage",
"method": "post"
},
"getByCode-get": {
"url": "/api/inStorageDetail/getByCode",
"method": "get"
},
"inStorageDetailId-get": {
"url": "/api/inStorageDetail/{inStorageDetailId}",
"method": "get"
}
},
"kitting-result-controller": {
"KittingDetailList-get": {
"url": "/api/kittingResult/KittingDetailList",
"method": "get"
},
"KittingResultList-get": {
"url": "/api/kittingResult/KittingResultList",
"method": "get"
},
"KittingResultListForLast-get": {
"url": "/api/kittingResult/KittingResultListForLast",
"method": "get"
},
"findPage-post": {
"url": "/api/kittingResult/findPage",
"method": "post"
},
"findPageForPlan-post": {
"url": "/api/kittingResult/findPageForPlan",
"method": "post"
},
"getKittingResultById-get": {
"url": "/api/kittingResult/getKittingResultById",
"method": "get"
},
"getKittingResultDetail-get": {
"url": "/api/kittingResult/getKittingResultDetail",
"method": "get"
},
"getKittingResultDetailForOld-get": {
"url": "/api/kittingResult/getKittingResultDetailForOld",
"method": "get"
},
"planListForKitResult-get": {
"url": "/api/kittingResult/planListForKitResult",
"method": "get"
}
},
"korea-tester-program-controller": {
"code-get": {
"url": "/api/koreaTester/program/code",
"method": "get"
},
"getById-get": {
"url": "/api/koreaTester/program/getById",
"method": "get"
},
"csv-post": {
"url": "/api/koreaTester/program/import/csv",
"method": "post"
},
"insert-post": {
"url": "/api/koreaTester/program/ndr/insert",
"method": "post"
},
"update-put": {
"url": "/api/koreaTester/program/ndr/update",
"method": "put"
}
},
"lack-material-controller": {
"LackMaterialForDetail-get": {
"url": "/api/lackMaterial/LackMaterialForDetail",
"method": "get"
},
"LackMaterialList-get": {
"url": "/api/lackMaterial/LackMaterialList",
"method": "get"
},
"findPage-post": {
"url": "/api/lackMaterial/findPage",
"method": "post"
}
},
"location-controller": {
"create-post": {
"url": "/api/location/create",
"method": "post"
},
"id-delete": {
"url": "/api/location/delete/{id}",
"method": "delete"
},
"findPage-post": {
"url": "/api/location/findPage",
"method": "post"
},
"getLocation-get": {
"url": "/api/location/getLocation",
"method": "get"
},
"update-post": {
"url": "/api/location/update",
"method": "post"
}
},
"maintain-cycle-controller": {
"maintainCycle-post": {
"url": "/api/maintainCycle",
"method": "post"
},
"maintainCycle-put": {
"url": "/api/maintainCycle",
"method": "put"
},
"code-get": {
"url": "/api/maintainCycle/byCode/{code}",
"method": "get"
},
"equip-post": {
"url": "/api/maintainCycle/equip",
"method": "post"
},
"equip-delete": {
"url": "/api/maintainCycle/equip",
"method": "delete"
},
"page-post": {
"url": "/api/maintainCycle/page",
"method": "post"
},
"pageEquipment-post": {
"url": "/api/maintainCycle/pageEquipment",
"method": "post"
},
"id-delete": {
"url": "/api/maintainCycle/{id}",
"method": "delete"
}
},
"maintain-item-controller": {
"maintainItem-post": {
"url": "/api/maintainItem",
"method": "post"
},
"maintainItem-put": {
"url": "/api/maintainItem",
"method": "put"
},
"equipmentCode-get": {
"url": "/api/maintainItem/getItembyEquipmentCode/{equipmentCode}",
"method": "get"
},
"page-post": {
"url": "/api/maintainItem/page",
"method": "post"
},
"sort-put": {
"url": "/api/maintainItem/sort",
"method": "put"
},
"id-get": {
"url": "/api/maintainItem/{id}",
"method": "get"
},
"id-delete": {
"url": "/api/maintainItem/{id}",
"method": "delete"
}
},
"maintain-record-controller": {
"maintainRecord-post": {
"url": "/api/maintainRecord",
"method": "post"
},
"maintainRecord-put": {
"url": "/api/maintainRecord",
"method": "put"
},
"findPage-post": {
"url": "/api/maintainRecord/findPage",
"method": "post"
},
"page-get": {
"url": "/api/maintainRecord/page",
"method": "get"
},
"maintainRecordId-delete": {
"url": "/api/maintainRecord/{maintainRecordId}",
"method": "delete"
}
},
"maintain-record-item-controller": {
"maintainRecordItem-post": {
"url": "/api/maintainRecordItem",
"method": "post"
},
"maintainRecordItem-put": {
"url": "/api/maintainRecordItem",
"method": "put"
},
"page-get": {
"url": "/api/maintainRecordItem/page",
"method": "get"
},
"queryItemByRecordId-get": {
"url": "/api/maintainRecordItem/queryItemByRecordId",
"method": "get"
},
"maintainRecordItemId-delete": {
"url": "/api/maintainRecordItem/{maintainRecordItemId}",
"method": "delete"
}
},
"maintain-template-controller": {
"maintainTemplate-post": {
"url": "/api/maintainTemplate",
"method": "post"
},
"maintainTemplate-put": {
"url": "/api/maintainTemplate",
"method": "put"
},
"code-get": {
"url": "/api/maintainTemplate/byCode/{code}",
"method": "get"
},
"page-post": {
"url": "/api/maintainTemplate/page",
"method": "post"
},
"id-delete": {
"url": "/api/maintainTemplate/{id}",
"method": "delete"
}
},
"mat-bom-controller": {
"check-put": {
"url": "/api/matBom/check",
"method": "put"
},
"copy-post": {
"url": "/api/matBom/copy",
"method": "post"
},
"create-post": {
"url": "/api/matBom/create",
"method": "post"
},
"id-get": {
"url": "/api/matBom/findById/{id}",
"method": "get"
},
"page-get": {
"url": "/api/matBom/page",
"method": "get"
},
"page-post": {
"url": "/api/matBom/page",
"method": "post"
},
"update-put": {
"url": "/api/matBom/update",
"method": "put"
},
"id-post": {
"url": "/api/matBom/upgrade/{id}",
"method": "post"
},
"matBomId-delete": {
"url": "/api/matBom/{matBomId}",
"method": "delete"
}
},
"mat-bom-detail-controller": {
"create-post": {
"url": "/api/matBomDetail/create",
"method": "post"
},
"bomId-get": {
"url": "/api/matBomDetail/getByBomId/{bomId}",
"method": "get"
},
"update-put": {
"url": "/api/matBomDetail/update",
"method": "put"
},
"matBomDetailId-delete": {
"url": "/api/matBomDetail/{matBomDetailId}",
"method": "delete"
}
},
"materiel-controller": {
"create-post": {
"url": "/api/materiel/create",
"method": "post"
},
"id-delete": {
"url": "/api/materiel/delete/{id}",
"method": "delete"
},
"findListByKeyword-get": {
"url": "/api/materiel/findListByKeyword",
"method": "get"
},
"code-get": {
"url": "/api/materiel/getByCode/{code}",
"method": "get"
},
"craftsRouteId-get": {
"url": "/api/materiel/getByCraftsRouteId/{craftsRouteId}",
"method": "get"
},
"id-get": {
"url": "/api/materiel/getById/{id}",
"method": "get"
},
"getBytypeId-get": {
"url": "/api/materiel/getBytypeId",
"method": "get"
},
"page-get": {
"url": "/api/materiel/page",
"method": "get"
},
"page-post": {
"url": "/api/materiel/page",
"method": "post"
},
"update-put": {
"url": "/api/materiel/update",
"method": "put"
},
"updateState-put": {
"url": "/api/materiel/updateState",
"method": "put"
},
"updateType-put": {
"url": "/api/materiel/updateType",
"method": "put"
}
},
"materiel-pack-controller": {
"create-post": {
"url": "/api/materielPack/create",
"method": "post"
},
"materielId-get": {
"url": "/api/materielPack/getByMaterielId/{materielId}",
"method": "get"
},
"update-put": {
"url": "/api/materielPack/update",
"method": "put"
},
"materielPackId-delete": {
"url": "/api/materielPack/{materielPackId}",
"method": "delete"
}
},
"materiel-property-controller": {
"create-post": {
"url": "/api/materielProperty/create",
"method": "post"
},
"id-delete": {
"url": "/api/materielProperty/delete/{id}",
"method": "delete"
},
"materielId-get": {
"url": "/api/materielProperty/getByMaterielId/{materielId}",
"method": "get"
},
"parseExcel-post": {
"url": "/api/materielProperty/parseExcel",
"method": "post"
},
"update-put": {
"url": "/api/materielProperty/update",
"method": "put"
}
},
"materiel-record-controller": {
"createAndPrintByExecute-post": {
"url": "/api/materielRecord/createAndPrintByExecute",
"method": "post"
},
"createByExecute-post": {
"url": "/api/materielRecord/createByExecute",
"method": "post"
},
"createByMateriel-post": {
"url": "/api/materielRecord/createByMateriel",
"method": "post"
},
"createReelAndPrint-post": {
"url": "/api/materielRecord/createReelAndPrint",
"method": "post"
},
"id-delete": {
"url": "/api/materielRecord/delete/{id}",
"method": "delete"
},
"findPage-post": {
"url": "/api/materielRecord/findPage",
"method": "post"
},
"getByBarcode-get": {
"url": "/api/materielRecord/getByBarcode",
"method": "get"
},
"getByCode-get": {
"url": "/api/materielRecord/getByCode",
"method": "get"
},
"getByLocation-get": {
"url": "/api/materielRecord/getByLocation",
"method": "get"
},
"print-post": {
"url": "/api/materielRecord/print",
"method": "post"
},
"updateQuantityByBarcode-post": {
"url": "/api/materielRecord/updateQuantityByBarcode",
"method": "post"
},
"materielRecordId-get": {
"url": "/api/materielRecord/{materielRecordId}",
"method": "get"
}
},
"materiel-record-change-controller": {
"findPage-post": {
"url": "/api/materielRecordChange/findPage",
"method": "post"
}
},
"materiel-spec-controller": {
"create-post": {
"url": "/api/materielSpec/create",
"method": "post"
},
"id-delete": {
"url": "/api/materielSpec/delete/{id}",
"method": "delete"
},
"findByMaterielAndDict-get": {
"url": "/api/materielSpec/findByMaterielAndDict",
"method": "get"
},
"materielId-get": {
"url": "/api/materielSpec/getByMaterielId/{materielId}",
"method": "get"
},
"update-put": {
"url": "/api/materielSpec/update",
"method": "put"
}
},
"materiel-type-controller": {
"create-post": {
"url": "/api/materielType/create",
"method": "post"
},
"getByParentId-get": {
"url": "/api/materielType/getByParentId",
"method": "get"
},
"getChangeTree-put": {
"url": "/api/materielType/getChangeTree",
"method": "put"
},
"page-post": {
"url": "/api/materielType/page",
"method": "post"
},
"sort-put": {
"url": "/api/materielType/sort",
"method": "put"
},
"tree-get": {
"url": "/api/materielType/tree",
"method": "get"
},
"treeForMateriel-get": {
"url": "/api/materielType/treeForMateriel",
"method": "get"
},
"update-put": {
"url": "/api/materielType/update",
"method": "put"
},
"updateParent-put": {
"url": "/api/materielType/updateParent",
"method": "put"
},
"materielTypeId-delete": {
"url": "/api/materielType/{materielTypeId}",
"method": "delete"
}
},
"oven-controller": {
"getTemperatureAndStatus-get": {
"url": "/api/monitor/oven/getTemperatureAndStatus",
"method": "get"
},
"getTemperatureData-get": {
"url": "/api/monitor/oven/getTemperatureData",
"method": "get"
},
"getTrayCount-get": {
"url": "/api/monitor/oven/getTrayCount",
"method": "get"
},
"getTrayData-get": {
"url": "/api/monitor/oven/getTrayData",
"method": "get"
}
},
"packaging-line-controller": {
"getOEE-get": {
"url": "/api/monitor/packagingLine/getOEE",
"method": "get"
},
"getPackagingLineData-get": {
"url": "/api/monitor/packagingLine/getPackagingLineData",
"method": "get"
},
"getRunAmount-get": {
"url": "/api/monitor/packagingLine/getRunAmount",
"method": "get"
},
"getWarningEquipment-get": {
"url": "/api/monitor/packagingLine/getWarningEquipment",
"method": "get"
}
},
"monitor-config-controller": {
"update-post": {
"url": "/api/monitorConfig/base/update",
"method": "post"
},
"equipCode-get": {
"url": "/api/monitorConfig/equipCode",
"method": "get"
},
"findByPath-get": {
"url": "/api/monitorConfig/findByPath",
"method": "get"
},
"findPage-post": {
"url": "/api/monitorConfig/findPage",
"method": "post"
},
"getById-get": {
"url": "/api/monitorConfig/getById",
"method": "get"
}
},
"hy-process-start-controller": {
"PingIpResult-get": {
"url": "/api/newProcessStart/PingIpResult",
"method": "get"
},
"backMateriel-post": {
"url": "/api/newProcessStart/backMateriel",
"method": "post"
},
"findExecuteInfoByProductCode-get": {
"url": "/api/newProcessStart/findExecuteInfoByProductCode",
"method": "get"
},
"findMoveByMachineCode-get": {
"url": "/api/newProcessStart/findMoveByMachineCode",
"method": "get"
},
"findProcessList-get": {
"url": "/api/newProcessStart/findProcessList",
"method": "get"
},
"finishWork-post": {
"url": "/api/newProcessStart/finishWork",
"method": "post"
},
"getExecute-get": {
"url": "/api/newProcessStart/getExecute",
"method": "get"
},
"getNowProcess-get": {
"url": "/api/newProcessStart/getNowProcess",
"method": "get"
},
"getStepPresent-post": {
"url": "/api/newProcessStart/getStepPresent",
"method": "post"
},
"moveBox-get": {
"url": "/api/newProcessStart/moveBox",
"method": "get"
},
"norelationColdBox-get": {
"url": "/api/newProcessStart/norelationColdBox",
"method": "get"
},
"norelationMachine-get": {
"url": "/api/newProcessStart/norelationMachine",
"method": "get"
},
"norelationTray-post": {
"url": "/api/newProcessStart/norelationTray",
"method": "post"
},
"presentation-post": {
"url": "/api/newProcessStart/presentation",
"method": "post"
},
"relationMachine-post": {
"url": "/api/newProcessStart/relationMachine",
"method": "post"
},
"relationMaterial-post": {
"url": "/api/newProcessStart/relationMaterial",
"method": "post"
},
"relationOldbox-post": {
"url": "/api/newProcessStart/relationOldbox",
"method": "post"
},
"relationTray-post": {
"url": "/api/newProcessStart/relationTray",
"method": "post"
},
"replaceGroup-post": {
"url": "/api/newProcessStart/replaceGroup",
"method": "post"
},
"sendProgram-post": {
"url": "/api/newProcessStart/sendProgram",
"method": "post"
},
"startWork-post": {
"url": "/api/newProcessStart/startWork",
"method": "post"
},
"trayInProcess-post": {
"url": "/api/newProcessStart/trayInProcess",
"method": "post"
},
"trayOutProcess-post": {
"url": "/api/newProcessStart/trayOutProcess",
"method": "post"
},
"vaildTray-post": {
"url": "/api/newProcessStart/vaildTray",
"method": "post"
}
},
"out-storage-controller": {
"findPage-post": {
"url": "/api/outStorage/findPage",
"method": "post"
},
"getByCde-get": {
"url": "/api/outStorage/getByCde",
"method": "get"
},
"outStorage-post": {
"url": "/api/outStorage/outStorage",
"method": "post"
},
"outStorageId-get": {
"url": "/api/outStorage/{outStorageId}",
"method": "get"
}
},
"out-storage-apply-controller": {
"findPage-post": {
"url": "/api/outStorageApply/findPage",
"method": "post"
}
},
"out-storage-apply-detail-controller": {
"findPage-post": {
"url": "/api/outStorageApplyDetail/findPage",
"method": "post"
}
},
"out-storage-detail-controller": {
"findPage-post": {
"url": "/api/outStorageDetail/findPage",
"method": "post"
},
"getByCode-get": {
"url": "/api/outStorageDetail/getByCode",
"method": "get"
},
"getByOutStorageCode-get": {
"url": "/api/outStorageDetail/getByOutStorageCode",
"method": "get"
},
"getByOutStorageId-get": {
"url": "/api/outStorageDetail/getByOutStorageId",
"method": "get"
},
"outStorageDetailId-get": {
"url": "/api/outStorageDetail/{outStorageDetailId}",
"method": "get"
}
},
"production-plan-controller": {
"createPlan-post": {
"url": "/api/plan/createPlan",
"method": "post"
},
"id-delete": {
"url": "/api/plan/delPlanDetail/{id}",
"method": "delete"
},
"findPage-post": {
"url": "/api/plan/findPage",
"method": "post"
},
"getOutPut-get": {
"url": "/api/plan/getOutPut",
"method": "get"
},
"getPlanDetailAndPlan-get": {
"url": "/api/plan/getPlanDetailAndPlan",
"method": "get"
},
"handSplitPlan-post": {
"url": "/api/plan/handSplitPlan",
"method": "post"
},
"planApproved-get": {
"url": "/api/plan/planApproved",
"method": "get"
},
"queryPlan-get": {
"url": "/api/plan/queryPlan",
"method": "get"
},
"queryPlanDetail-get": {
"url": "/api/plan/queryPlanDetail",
"method": "get"
},
"sendPlanDetail-put": {
"url": "/api/plan/sendPlanDetail",
"method": "put"
},
"splitPlan-get": {
"url": "/api/plan/splitPlan",
"method": "get"
},
"updatePlan-put": {
"url": "/api/plan/updatePlan",
"method": "put"
},
"updatePlanDetail-put": {
"url": "/api/plan/updatePlanDetail",
"method": "put"
},
"updatePlanOnly-put": {
"url": "/api/plan/updatePlanOnly",
"method": "put"
}
},
"plan-detail-log-controller": {
"page-get": {
"url": "/api/planDetailLog/page",
"method": "get"
}
},
"plan-detail-controller": {
"findPage-post": {
"url": "/api/plandetail/findPage",
"method": "post"
}
},
"print-record-controller": {
"findPage-post": {
"url": "/api/printRecord/findPage",
"method": "post"
}
},
"printer-controller": {
"create-post": {
"url": "/api/printer/create",
"method": "post"
},
"findPage-post": {
"url": "/api/printer/findPage",
"method": "post"
},
"update-put": {
"url": "/api/printer/update",
"method": "put"
},
"id-delete": {
"url": "/api/printer/{id}",
"method": "delete"
}
},
"process-controller": {
"create-post": {
"url": "/api/process/create",
"method": "post"
},
"craftsRouteId-get": {
"url": "/api/process/getByRouteId/{craftsRouteId}",
"method": "get"
},
"findByRouteIdOrPositionId-get": {
"url": "/api/process/findByRouteIdOrPositionId",
"method": "get"
},
"findEnableProcessByCondition-get": {
"url": "/api/process/findEnableProcessByCondition",
"method": "get"
},
"positionId-get": {
"url": "/api/process/findFirstProcessByPositionId/{positionId}",
"method": "get"
},
"id-get": {
"url": "/api/process/getByStepId/{id}",
"method": "get"
},
"sort-put": {
"url": "/api/process/sort",
"method": "put"
},
"update-put": {
"url": "/api/process/update",
"method": "put"
},
"id-delete": {
"url": "/api/process/{id}",
"method": "delete"
}
},
"process-step-controller": {
"create-post": {
"url": "/api/processStep/create",
"method": "post" "method": "post"
}, },
"delImg-delete": { "pageList-get": {
"url": "/api/processStep/delImg", "url": "/api/channel/pageList",
"method": "delete"
},
"processId-get": {
"url": "/api/processStep/getByProcessId/{processId}",
"method": "get"
},
"id-get": {
"url": "/api/processStep/getById/{id}",
"method": "get" "method": "get"
}, },
"sort-put": {
"url": "/api/processStep/sort",
"method": "put"
},
"update-put": { "update-put": {
"url": "/api/processStep/update", "url": "/api/channel/update",
"method": "put" "method": "put"
}, },
"upload-post": { "id-get": {
"url": "/api/processStep/upload", "url": "/api/channel/{id}",
"method": "post"
},
"id-delete": {
"url": "/api/processStep/{id}",
"method": "delete"
}
},
"process-step-equipment-controller": {
"batchCreate-post": {
"url": "/api/processStepEquipment/batchCreate",
"method": "post"
},
"create-post": {
"url": "/api/processStepEquipment/create",
"method": "post"
},
"equipmentId-delete": {
"url": "/api/processStepEquipment/delete/{processStepId}/{equipmentId}",
"method": "delete"
},
"page-get": {
"url": "/api/processStepEquipment/page",
"method": "get"
},
"pageByProcessStepId-get": {
"url": "/api/processStepEquipment/pageByProcessStepId",
"method": "get"
}
},
"process-step-materiel-controller": {
"batchCreate-post": {
"url": "/api/processStepMateriel/batchCreate",
"method": "post"
},
"create-post": {
"url": "/api/processStepMateriel/create",
"method": "post"
},
"code-delete": {
"url": "/api/processStepMateriel/delete/{processStepId}/{code}",
"method": "delete"
},
"page-get": {
"url": "/api/processStepMateriel/page",
"method": "get"
},
"pageByProcessStepId-get": {
"url": "/api/processStepMateriel/pageByProcessStepId",
"method": "get"
}
},
"process-step-program-controller": {
"batchCreate-post": {
"url": "/api/processStepProgram/batchCreate",
"method": "post"
},
"create-post": {
"url": "/api/processStepProgram/create",
"method": "post"
},
"programCode-delete": {
"url": "/api/processStepProgram/delete/{processStepId}/{equipmentId}/{programCode}",
"method": "delete"
},
"page-get": {
"url": "/api/processStepProgram/page",
"method": "get"
},
"pageByProcessStepId-get": {
"url": "/api/processStepProgram/pageByProcessStepId",
"method": "get" "method": "get"
} }
}, },
"process-step-quality-crafts-controller": { "demo-controller": {
"batchCreate-post": { "page-post": {
"url": "/api/processStepQualityCrafts/batchCreate", "url": "/api/demo/page",
"method": "post"
},
"create-post": {
"url": "/api/processStepQualityCrafts/create",
"method": "post" "method": "post"
},
"qualityCraftsCode-delete": {
"url": "/api/processStepQualityCrafts/delete/{processStepId}/{qualityCraftsCode}",
"method": "delete"
},
"page-get": {
"url": "/api/processStepQualityCrafts/page",
"method": "get"
},
"pageByProcessStepId-get": {
"url": "/api/processStepQualityCrafts/pageByProcessStepId",
"method": "get"
} }
}, },
"program-file-controller": { "equip-info-controller": {
"programFile-post": { "equipCode-get": {
"url": "/api/programFile", "url": "/api/equip/equipCode/{equipCode}",
"method": "post"
},
"programFileId-get": {
"url": "/api/programFile/{programFileId}",
"method": "get" "method": "get"
}
},
"quality-crafts-controller": {
"check-put": {
"url": "/api/qualityCrafts/check",
"method": "put"
}, },
"copy-post": { "insert-post": {
"url": "/api/qualityCrafts/copy", "url": "/api/equip/insert",
"method": "post"
},
"create-post": {
"url": "/api/qualityCrafts/create",
"method": "post" "method": "post"
}, },
"id-delete": { "pageList-get": {
"url": "/api/qualityCrafts/delete/{id}", "url": "/api/equip/pageList",
"method": "delete"
},
"id-get": {
"url": "/api/qualityCrafts/findById/{id}",
"method": "get"
},
"materielCode-get": {
"url": "/api/qualityCrafts/findByMaterielCode/{materielCode}",
"method": "get"
},
"page-get": {
"url": "/api/qualityCrafts/page",
"method": "get" "method": "get"
}, },
"page-post": {
"url": "/api/qualityCrafts/page",
"method": "post"
},
"update-put": { "update-put": {
"url": "/api/qualityCrafts/update", "url": "/api/equip/update",
"method": "put" "method": "put"
}, },
"id-post": {
"url": "/api/qualityCrafts/upgrade/{id}",
"method": "post"
}
},
"quality-crafts-items-controller": {
"create-post": {
"url": "/api/qualityCraftsItem/create",
"method": "post"
},
"id-delete": {
"url": "/api/qualityCraftsItem/delete/{id}",
"method": "delete"
},
"id-get": { "id-get": {
"url": "/api/qualityCraftsItem/getById/{id}", "url": "/api/equip/{id}",
"method": "get"
},
"qualityCraftsId-get": {
"url": "/api/qualityCraftsItem/getByQualityCraftsId/{qualityCraftsId}",
"method": "get" "method": "get"
},
"update-put": {
"url": "/api/qualityCraftsItem/update",
"method": "put"
} }
}, },
"equipment-repair-controller": { "equipment-controller": {
"code-get": { "data-get": {
"url": "/api/repair/code/{code}", "url": "/api/equipment/realTime/data",
"method": "get"
},
"url-delete": {
"url": "/api/repair/delImg/{url}",
"method": "delete"
},
"delayRepair-put": {
"url": "/api/repair/delayRepair",
"method": "put"
},
"id-delete": {
"url": "/api/repair/delete/{id}",
"method": "delete"
},
"fileId-get": {
"url": "/api/repair/download/{fileId}",
"method": "get"
},
"endRepair-put": {
"url": "/api/repair/endRepair",
"method": "put"
},
"userId-get": {
"url": "/api/repair/equipment/{equipmentCode}/user/{userId}",
"method": "get" "method": "get"
},
"fileUpload-post": {
"url": "/api/repair/fileUpload",
"method": "post"
},
"page-post": {
"url": "/api/repair/page",
"method": "post"
},
"repairApply-post": {
"url": "/api/repair/repairApply",
"method": "post"
},
"startRepair-put": {
"url": "/api/repair/startRepair",
"method": "put"
},
"sumUp-put": {
"url": "/api/repair/sumUp",
"method": "put"
},
"upload-post": {
"url": "/api/repair/upload",
"method": "post"
} }
}, },
"scada-controller": { "show-field-controller": {
"url-get": { "showField-get": {
"url": "/api/scada/base/url", "url": "/api/field/showField",
"method": "get"
},
"program-get": {
"url": "/api/scada/send/program",
"method": "get" "method": "get"
} }
}, },
...@@ -1670,98 +64,22 @@ ...@@ -1670,98 +64,22 @@
"method": "get" "method": "get"
} }
}, },
"server-controller": { "equip-date-template-controller": {
"ping-get": { "insert-post": {
"url": "/api/server/ping", "url": "/api/template/insert",
"method": "get"
},
"time-get": {
"url": "/api/server/time",
"method": "get"
},
"version-get": {
"url": "/api/server/version",
"method": "get"
}
},
"shared-report-controller": {
"sharedReportList-get": {
"url": "/api/sharedReport/sharedReportList",
"method": "get"
}
},
"tmp-materiel-record-controller": {
"getByBarcode-get": {
"url": "/api/tmp/getByBarcode",
"method": "get"
},
"parseExcel-post": {
"url": "/api/tmp/parseExcel",
"method": "post"
},
"tmpToMaterielRecord-get": {
"url": "/api/tmp/tmpToMaterielRecord",
"method": "get"
},
"tongbu-get": {
"url": "/api/tmp/tongbu",
"method": "get"
}
},
"tray-info-controller": {
"TraynfoPageList-get": {
"url": "/api/tray/TraynfoPageList",
"method": "get"
},
"createTray-post": {
"url": "/api/tray/createTray",
"method": "post" "method": "post"
}, },
"id-delete": { "pageList-get": {
"url": "/api/tray/deleteTrayByCode/{id}", "url": "/api/template/pageList",
"method": "delete"
},
"page-get": {
"url": "/api/tray/page",
"method": "get" "method": "get"
}, },
"searchPage-post": { "saveItem-post": {
"url": "/api/tray/searchPage", "url": "/api/template/saveItem",
"method": "post"
},
"updateTrayInfo-put": {
"url": "/api/tray/updateTrayInfo",
"method": "put"
}
},
"uph-controller": {
"batchCreate-post": {
"url": "/api/uph/batchCreate",
"method": "post"
},
"create-post": {
"url": "/api/uph/create",
"method": "post" "method": "post"
}, },
"id-delete": { "id-get": {
"url": "/api/uph/delete/{id}", "url": "/api/template/{id}",
"method": "delete"
},
"positionId-get": {
"url": "/api/uph/getByPositionId/{positionId}",
"method": "get"
},
"proLineId-get": {
"url": "/api/uph/getByProLineId/{proLineId}",
"method": "get"
},
"materiel-get": {
"url": "/api/uph/page/materiel",
"method": "get" "method": "get"
},
"update-put": {
"url": "/api/uph/update",
"method": "put"
} }
}, },
"group-controller": { "group-controller": {
...@@ -2147,6 +465,10 @@ ...@@ -2147,6 +465,10 @@
"url": "/api/v2/workStation/pageEqpRelation", "url": "/api/v2/workStation/pageEqpRelation",
"method": "get" "method": "get"
}, },
"username-get": {
"url": "/api/v2/workStation/pdaUser/{username}",
"method": "get"
},
"update-put": { "update-put": {
"url": "/api/v2/workStation/update", "url": "/api/v2/workStation/update",
"method": "put" "method": "put"
...@@ -2186,136 +508,6 @@ ...@@ -2186,136 +508,6 @@
"method": "put" "method": "put"
} }
}, },
"warehouse-controller": {
"create-post": {
"url": "/api/warehouse/create",
"method": "post"
},
"id-delete": {
"url": "/api/warehouse/delete/{id}",
"method": "delete"
},
"findPage-post": {
"url": "/api/warehouse/findPage",
"method": "post"
},
"getByCode-get": {
"url": "/api/warehouse/getByCode",
"method": "get"
},
"getById-get": {
"url": "/api/warehouse/getById",
"method": "get"
},
"update-post": {
"url": "/api/warehouse/update",
"method": "post"
}
},
"week-code-controller": {
"create-post": {
"url": "/api/weekCode/create",
"method": "post"
},
"page-post": {
"url": "/api/weekCode/page",
"method": "post"
},
"update-put": {
"url": "/api/weekCode/update",
"method": "put"
},
"id-delete": {
"url": "/api/weekCode/{id}",
"method": "delete"
}
},
"work-execute-info-controller": {
"createWorkExecute-post": {
"url": "/api/workExecuteInfo/createWorkExecute",
"method": "post"
},
"createWorkExecuteByMaterielRecord-post": {
"url": "/api/workExecuteInfo/createWorkExecuteByMaterielRecord",
"method": "post"
},
"deleteWorkExecuteById-delete": {
"url": "/api/workExecuteInfo/deleteWorkExecuteById",
"method": "delete"
},
"findMaterialInfo-get": {
"url": "/api/workExecuteInfo/findMaterialInfo",
"method": "get"
},
"findPrinterInfo-get": {
"url": "/api/workExecuteInfo/findPrinterInfo",
"method": "get"
},
"getProcessByExecode-get": {
"url": "/api/workExecuteInfo/getProcessByExecode",
"method": "get"
},
"getProcessStepByExecode-get": {
"url": "/api/workExecuteInfo/getProcessStepByExecode",
"method": "get"
},
"isWorkExecute-post": {
"url": "/api/workExecuteInfo/isWorkExecute",
"method": "post"
},
"printWorkExecute-post": {
"url": "/api/workExecuteInfo/printWorkExecute",
"method": "post"
},
"updateworkExeCuteInfo-put": {
"url": "/api/workExecuteInfo/updateworkExeCuteInfo",
"method": "put"
}
},
"work-order-info-controller": {
"createWorkOrder-post": {
"url": "/api/workOrder/createWorkOrder",
"method": "post"
},
"id-delete": {
"url": "/api/workOrder/deleteWorkOrderByCode/{id}",
"method": "delete"
},
"findExecuteById-get": {
"url": "/api/workOrder/findExecuteById",
"method": "get"
},
"findOrderCraftRoute-get": {
"url": "/api/workOrder/findOrderCraftRoute",
"method": "get"
},
"page-get": {
"url": "/api/workOrder/page",
"method": "get"
},
"seachExecuteById-post": {
"url": "/api/workOrder/seachExecuteById",
"method": "post"
},
"seachpage-post": {
"url": "/api/workOrder/seachpage",
"method": "post"
},
"updateWorkOrderCraftRoute-get": {
"url": "/api/workOrder/updateWorkOrderCraftRoute",
"method": "get"
},
"updateworkOrderInfo-put": {
"url": "/api/workOrder/updateworkOrderInfo",
"method": "put"
}
},
"work-order-execute-materiel-record-rel-controller": {
"findPage-post": {
"url": "/api/workOrderExecuteMateriel/findPage",
"method": "post"
}
},
"work-position-button-controller": { "work-position-button-controller": {
"workPositionButton-post": { "workPositionButton-post": {
"url": "/api/workPositionButton", "url": "/api/workPositionButton",
...@@ -2339,5 +531,19 @@ ...@@ -2339,5 +531,19 @@
"url": "/auth/pda/logout", "url": "/auth/pda/logout",
"method": "post" "method": "post"
} }
},
"task-manage-controller": {
"jobGroup-post": {
"url": "/task/resume/{jobName}/{jobGroup}",
"method": "post"
},
"list-get": {
"url": "/task/list",
"method": "get"
},
"save-post": {
"url": "/task/save",
"method": "post"
}
} }
} }
\ No newline at end of file
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
methods: {}, methods: {},
mounted () { mounted () {
// // 获取ScadaUrl 相关配置 // // 获取ScadaUrl 相关配置
this.$fetch('scada-controller/url-get', '').then((response) => { // this.$fetch('scada-controller/url-get', '').then((response) => {
window.sessionStorage.setItem('Admin-scadaUrl', JSON.stringify(response)) // window.sessionStorage.setItem('Admin-scadaUrl', JSON.stringify(response))
}).catch((response) => { // }).catch((response) => {
}) // })
} }
} }
</script> </script>
......
...@@ -38,16 +38,16 @@ ...@@ -38,16 +38,16 @@
</div> </div>
<div class="tool-pack clear-float pl-15 pr-15"> <div class="tool-pack clear-float pl-15 pr-15">
<Search <Search
searchCode="MATERIEL_TYPE" searchCode="3D_LASER_CUTTING"
@search="doSearchClick" @search="doSearchClick"
@reset="doResetClick"> @reset="doResetClick">
</Search> </Search>
</div> </div>
<div class="general-list-main-pack pl-15 pr-15"> <div class="general-list-main-pack pl-15 pr-15">
<div> <div>
<Table <PreviewTable
:tableConfig="tableConfig"> :tableConfig="tableConfig">
</Table> </PreviewTable>
</div> </div>
</div> </div>
</div> </div>
...@@ -55,13 +55,13 @@ ...@@ -55,13 +55,13 @@
</template> </template>
<script> <script>
import Table from '@/components/Table/index.vue' import PreviewTable from '@/components/PreviewTable'
import Search from '@/components/Search' import Search from '@/components/Search'
export default { export default {
name: 'Parts', name: 'Parts',
components: { components: {
Table, PreviewTable,
Search Search
}, },
data () { data () {
...@@ -129,7 +129,16 @@ ...@@ -129,7 +129,16 @@
// 点击搜索组件搜索按钮 // 点击搜索组件搜索按钮
doSearchClick () {}, doSearchClick () {},
// 点击搜索组件重置按钮 // 点击搜索组件重置按钮
doResetClick () {} doResetClick () {},
// 获取列表表头展示字段
getTableLabel () {
let queryParams = { searchCode: '3D_LASER_CUTTING' }
this.$fetch('show-field-controller/showField-get', queryParams).then((response) => {
this.tableConfig.fieldList = _.cloneDeep(response)
})
},
// 获取列表数据
getTableData () {}
}, },
mounted () { mounted () {
setTimeout(() => { setTimeout(() => {
...@@ -137,6 +146,8 @@ ...@@ -137,6 +146,8 @@
this.tableConfig.height = document.querySelector('.page-pack').offsetHeight - 180 this.tableConfig.height = document.querySelector('.page-pack').offsetHeight - 180
this.$refs.sortTree.setCurrentKey(this.sortTreeData[0].id) this.$refs.sortTree.setCurrentKey(this.sortTreeData[0].id)
this.currentSort = _.cloneDeep(this.sortTreeData[0]) this.currentSort = _.cloneDeep(this.sortTreeData[0])
// 获取列表表头展示字段
this.getTableLabel()
}, 0) }, 0)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment