diff --git a/jwtech-admin-page/src/api/build/ledger.js b/jwtech-admin-page/src/api/build/ledger.js new file mode 100644 index 00000000..4beaca64 --- /dev/null +++ b/jwtech-admin-page/src/api/build/ledger.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询 风险隐患台账列表 +export function listLedger(query) { + return request({ + url: '/build/ledger/list', + method: 'post', + data: query + }) +} + +// 查询 风险隐患台账详细 +export function getLedger(id) { + return request({ + url: '/build/ledger/' + id, + method: 'get' + }) +} + +// 新增 风险隐患台账 +export function addLedger(data) { + return request({ + url: '/build/ledger', + method: 'post', + data: data + }) +} + +// 修改 风险隐患台账 +export function updateLedger(data) { + return request({ + url: '/build/ledger', + method: 'put', + data: data + }) +} + +// 删除 风险隐患台账 +export function delLedger(id) { + return request({ + url: '/build/ledger/' + id, + method: 'delete' + }) +} + +// 导出 风险隐患台账 +export function exportLedger(query) { + return request({ + url: '/build/ledger/export', + method: 'get', + params: query + }) +} diff --git a/jwtech-admin-page/src/api/build/objective.js b/jwtech-admin-page/src/api/build/objective.js new file mode 100644 index 00000000..bdbe9964 --- /dev/null +++ b/jwtech-admin-page/src/api/build/objective.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询工程目标信息列表 +export function listObjective(query) { + return request({ + url: '/build/objective/list', + method: 'post', + data: query + }) +} + +// 查询工程目标信息详细 +export function getObjective(id) { + return request({ + url: '/build/objective/' + id, + method: 'get' + }) +} + +// 新增工程目标信息 +export function addObjective(data) { + return request({ + url: '/build/objective', + method: 'post', + data: data + }) +} + +// 修改工程目标信息 +export function updateObjective(data) { + return request({ + url: '/build/objective', + method: 'put', + data: data + }) +} + +// 删除工程目标信息 +export function delObjective(id) { + return request({ + url: '/build/objective/' + id, + method: 'delete' + }) +} + +// 导出工程目标信息 +export function exportObjective(query) { + return request({ + url: '/build/objective/export', + method: 'get', + params: query + }) +} diff --git a/jwtech-admin-page/src/api/build/person.js b/jwtech-admin-page/src/api/build/person.js index 524a4666..de643b41 100644 --- a/jwtech-admin-page/src/api/build/person.js +++ b/jwtech-admin-page/src/api/build/person.js @@ -1,52 +1,52 @@ import request from '@/utils/request' -// 查询项目人员名单信息列表 +// 查询项目安全生产管理机构人员信息列表 export function listPerson(query) { return request({ - url: '/build/proPerson/list', + url: '/build/person/list', method: 'post', data: query }) } -// 查询项目人员名单信息详细 +// 查询项目安全生产管理机构人员信息详细 export function getPerson(id) { return request({ - url: '/build/proPerson/' + id, + url: '/build/person/' + id, method: 'get' }) } -// 新增项目人员名单信息 +// 新增项目安全生产管理机构人员信息 export function addPerson(data) { return request({ - url: '/build/proPerson', + url: '/build/person', method: 'post', data: data }) } -// 修改项目人员名单信息 +// 修改项目安全生产管理机构人员信息 export function updatePerson(data) { return request({ - url: '/build/proPerson', + url: '/build/person', method: 'put', data: data }) } -// 删除项目人员名单信息 +// 删除项目安全生产管理机构人员信息 export function delPerson(id) { return request({ - url: '/build/proPerson/' + id, + url: '/build/person/' + id, method: 'delete' }) } -// 导出项目人员名单信息 +// 导出项目安全生产管理机构人员信息 export function exportPerson(query) { return request({ - url: '/build/proPerson/export', + url: '/build/person/export', method: 'get', params: query }) diff --git a/jwtech-admin-page/src/api/build/rectification.js b/jwtech-admin-page/src/api/build/rectification.js new file mode 100644 index 00000000..4bdc1f49 --- /dev/null +++ b/jwtech-admin-page/src/api/build/rectification.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询隐患整改台账列表 +export function listRectification(query) { + return request({ + url: '/build/rectification/list', + method: 'post', + data: query + }) +} + +// 查询隐患整改台账详细 +export function getRectification(id) { + return request({ + url: '/build/rectification/' + id, + method: 'get' + }) +} + +// 新增隐患整改台账 +export function addRectification(data) { + return request({ + url: '/build/rectification', + method: 'post', + data: data + }) +} + +// 修改隐患整改台账 +export function updateRectification(data) { + return request({ + url: '/build/rectification', + method: 'put', + data: data + }) +} + +// 删除隐患整改台账 +export function delRectification(id) { + return request({ + url: '/build/rectification/' + id, + method: 'delete' + }) +} + +// 导出隐患整改台账 +export function exportRectification(query) { + return request({ + url: '/build/rectification/export', + method: 'get', + params: query + }) +} diff --git a/jwtech-admin-page/src/api/enterprise/asset.js b/jwtech-admin-page/src/api/enterprise/asset.js new file mode 100644 index 00000000..54b95e50 --- /dev/null +++ b/jwtech-admin-page/src/api/enterprise/asset.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询资产状况信息列表 +export function listAsset(query) { + return request({ + url: '/enterprise/asset/list', + method: 'post', + data: query + }) +} + +// 查询资产状况信息详细 +export function getAsset(id) { + return request({ + url: '/enterprise/asset/' + id, + method: 'get' + }) +} + +// 新增资产状况信息 +export function addAsset(data) { + return request({ + url: '/enterprise/asset', + method: 'post', + data: data + }) +} + +// 修改资产状况信息 +export function updateAsset(data) { + return request({ + url: '/enterprise/asset', + method: 'put', + data: data + }) +} + +// 删除资产状况信息 +export function delAsset(id) { + return request({ + url: '/enterprise/asset/' + id, + method: 'delete' + }) +} + +// 导出资产状况信息 +export function exportAsset(query) { + return request({ + url: '/enterprise/asset/export', + method: 'get', + params: query + }) +} diff --git a/jwtech-admin-page/src/api/enterprise/badBehavior.js b/jwtech-admin-page/src/api/enterprise/badBehavior.js new file mode 100644 index 00000000..dbdf3dd0 --- /dev/null +++ b/jwtech-admin-page/src/api/enterprise/badBehavior.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询人员不良行为信息列表 +export function listBadBehavior(query) { + return request({ + url: '/enterprise/badBehavior/list', + method: 'post', + data: query + }) +} + +// 查询人员不良行为信息详细 +export function getBadBehavior(id) { + return request({ + url: '/enterprise/badBehavior/' + id, + method: 'get' + }) +} + +// 新增人员不良行为信息 +export function addBadBehavior(data) { + return request({ + url: '/enterprise/badBehavior', + method: 'post', + data: data + }) +} + +// 修改人员不良行为信息 +export function updateBadBehavior(data) { + return request({ + url: '/enterprise/badBehavior', + method: 'put', + data: data + }) +} + +// 删除人员不良行为信息 +export function delBadBehavior(id) { + return request({ + url: '/enterprise/badBehavior/' + id, + method: 'delete' + }) +} + +// 导出人员不良行为信息 +export function exportBadBehavior(query) { + return request({ + url: '/enterprise/badBehavior/export', + method: 'get', + params: query + }) +} diff --git a/jwtech-admin-page/src/api/enterprise/goodBehavior.js b/jwtech-admin-page/src/api/enterprise/goodBehavior.js new file mode 100644 index 00000000..42073953 --- /dev/null +++ b/jwtech-admin-page/src/api/enterprise/goodBehavior.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询人员良好行为信息列表 +export function listGoodBehavior(query) { + return request({ + url: '/enterprise/goodBehavior/list', + method: 'post', + data: query + }) +} + +// 查询人员良好行为信息详细 +export function getGoodBehavior(id) { + return request({ + url: '/enterprise/goodBehavior/' + id, + method: 'get' + }) +} + +// 新增人员良好行为信息 +export function addGoodBehavior(data) { + return request({ + url: '/enterprise/goodBehavior', + method: 'post', + data: data + }) +} + +// 修改人员良好行为信息 +export function updateGoodBehavior(data) { + return request({ + url: '/enterprise/goodBehavior', + method: 'put', + data: data + }) +} + +// 删除人员良好行为信息 +export function delGoodBehavior(id) { + return request({ + url: '/enterprise/goodBehavior/' + id, + method: 'delete' + }) +} + +// 导出人员良好行为信息 +export function exportGoodBehavior(query) { + return request({ + url: '/enterprise/goodBehavior/export', + method: 'get', + params: query + }) +} diff --git a/jwtech-admin-page/src/views/build/institution/index.vue b/jwtech-admin-page/src/views/build/institution/index.vue index 0d115fdc..2c47aaa7 100644 --- a/jwtech-admin-page/src/views/build/institution/index.vue +++ b/jwtech-admin-page/src/views/build/institution/index.vue @@ -1,12 +1,10 @@