|
@@ -0,0 +1,79 @@
|
|
|
|
+import request from '@/utils/request'
|
|
|
|
+
|
|
|
|
+// 查询钢瓶基础数据列表
|
|
|
|
+export function listSteelcylinder(query) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/steelcylinder/list',
|
|
|
|
+ method: 'get',
|
|
|
|
+ params: query
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 查询钢瓶基础数据详细
|
|
|
|
+export function getSteelcylinder(id) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/steelcylinder/' + id,
|
|
|
|
+ method: 'get'
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 新增钢瓶基础数据
|
|
|
|
+export function addSteelcylinder(data) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/steelcylinder',
|
|
|
|
+ method: 'post',
|
|
|
|
+ data: data
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 修改钢瓶基础数据
|
|
|
|
+export function updateSteelcylinder(data) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/steelcylinder',
|
|
|
|
+ method: 'put',
|
|
|
|
+ data: data
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 删除钢瓶基础数据
|
|
|
|
+export function delSteelcylinder(id) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/steelcylinder/' + id,
|
|
|
|
+ method: 'delete'
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//企业列表
|
|
|
|
+export function getEnterpriseList() {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/housingconstruction/enterprise/getListAll',
|
|
|
|
+ method: 'get'
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//车辆列表
|
|
|
|
+export function getCarList(query) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/housingCar/getCarList',
|
|
|
|
+ method: 'get',
|
|
|
|
+ params: query
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//添加流转信息
|
|
|
|
+export function addLog(data) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/log/addLog',
|
|
|
|
+ method: 'post',
|
|
|
|
+ data: data
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+//实名用户列表
|
|
|
|
+export function getUserList(query) {
|
|
|
|
+ return request({
|
|
|
|
+ url: '/center-data/realnameuser/getRealNameUserListAllByType',
|
|
|
|
+ method: 'get',
|
|
|
|
+ params: query
|
|
|
|
+ })
|
|
|
|
+}
|