diff --git a/.gitignore b/.gitignore index 004766c..78a752d 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ selenium-debug.log *.local package-lock.json +yarn.lock diff --git a/src/api/base/property/position.js b/src/api/base/property/position.js new file mode 100644 index 0000000..2b1417f --- /dev/null +++ b/src/api/base/property/position.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建企业管理-资产存放位置 +export function createPropertyPos(data) { + return request({ + url: '/company/property-pos/create', + method: 'post', + data: data + }) +} + +// 更新企业管理-资产存放位置 +export function updatePropertyPos(data) { + return request({ + url: '/company/property-pos/update', + method: 'put', + data: data + }) +} + +// 删除企业管理-资产存放位置 +export function deletePropertyPos(id) { + return request({ + url: '/company/property-pos/delete?id=' + id, + method: 'delete' + }) +} + +// 获得企业管理-资产存放位置 +export function getPropertyPos(id) { + return request({ + url: '/company/property-pos/get?id=' + id, + method: 'get' + }) +} + +// 获得企业管理-资产存放位置分页 +export function getPropertyPosPage(params) { + return request({ + url: '/company/property-pos/page', + method: 'get', + params + }) +} +// 导出企业管理-资产存放位置 Excel +export function exportPropertyPosExcel(params) { + return request({ + url: '/company/property-pos/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} \ No newline at end of file diff --git a/src/api/base/property/property.js b/src/api/base/property/property.js new file mode 100644 index 0000000..f675173 --- /dev/null +++ b/src/api/base/property/property.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建企业管理-资产 +export function createProperty(data) { + return request({ + url: '/company/property/create', + method: 'post', + data: data + }) +} + +// 更新企业管理-资产 +export function updateProperty(data) { + return request({ + url: '/company/property/update', + method: 'put', + data: data + }) +} + +// 删除企业管理-资产 +export function deleteProperty(id) { + return request({ + url: '/company/property/delete?id=' + id, + method: 'delete' + }) +} + +// 获得企业管理-资产 +export function getProperty(id) { + return request({ + url: '/company/property/get?id=' + id, + method: 'get' + }) +} + +// 获得企业管理-资产分页 +export function getPropertyPage(params) { + return request({ + url: '/company/property/page', + method: 'get', + params + }) +} +// 导出企业管理-资产 Excel +export function exportPropertyExcel(params) { + return request({ + url: '/company/property/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} \ No newline at end of file diff --git a/src/api/base/property/propertydeal.js b/src/api/base/property/propertydeal.js new file mode 100644 index 0000000..46bd774 --- /dev/null +++ b/src/api/base/property/propertydeal.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建企业管理-资产处置单/变动单 +export function createPropertyDeal(data) { + return request({ + url: '/company/property-deal/create', + method: 'post', + data: data + }) +} + +// 更新企业管理-资产处置单/变动单 +export function updatePropertyDeal(data) { + return request({ + url: '/company/property-deal/update', + method: 'put', + data: data + }) +} + +// 删除企业管理-资产处置单/变动单 +export function deletePropertyDeal(id) { + return request({ + url: '/company/property-deal/delete?id=' + id, + method: 'delete' + }) +} + +// 获得企业管理-资产处置单/变动单 +export function getPropertyDeal(id) { + return request({ + url: '/company/property-deal/get?id=' + id, + method: 'get' + }) +} + +// 获得企业管理-资产处置单/变动单分页 +export function getPropertyDealPage(params) { + return request({ + url: '/company/property-deal/page', + method: 'get', + params + }) +} +// 导出企业管理-资产处置单/变动单 Excel +export function exportPropertyDealExcel(params) { + return request({ + url: '/company/property-deal/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} \ No newline at end of file diff --git a/src/api/base/property/propertydealitem.js b/src/api/base/property/propertydealitem.js new file mode 100644 index 0000000..71ed798 --- /dev/null +++ b/src/api/base/property/propertydealitem.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建企业管理-资产处置子 +export function createPropertyDealItem(data) { + return request({ + url: '/company/property-deal-item/create', + method: 'post', + data: data + }) +} + +// 更新企业管理-资产处置子 +export function updatePropertyDealItem(data) { + return request({ + url: '/company/property-deal-item/update', + method: 'put', + data: data + }) +} + +// 删除企业管理-资产处置子 +export function deletePropertyDealItem(id) { + return request({ + url: '/company/property-deal-item/delete?id=' + id, + method: 'delete' + }) +} + +// 获得企业管理-资产处置子 +export function getPropertyDealItem(id) { + return request({ + url: '/company/property-deal-item/get?id=' + id, + method: 'get' + }) +} + +// 获得企业管理-资产处置子分页 +export function getPropertyDealItemPage(params) { + return request({ + url: '/company/property-deal-item/page', + method: 'get', + params + }) +} +// 导出企业管理-资产处置子 Excel +export function exportPropertyDealItemExcel(params) { + return request({ + url: '/company/property-deal-item/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} \ No newline at end of file diff --git a/src/api/base/property/propertykeep.js b/src/api/base/property/propertykeep.js new file mode 100644 index 0000000..d99eca7 --- /dev/null +++ b/src/api/base/property/propertykeep.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建资产维修/保养记录 +export function createPropertyKeep(data) { + return request({ + url: '/company/property-keep/create', + method: 'post', + data: data + }) +} + +// 更新资产维修/保养记录 +export function updatePropertyKeep(data) { + return request({ + url: '/company/property-keep/update', + method: 'put', + data: data + }) +} + +// 删除资产维修/保养记录 +export function deletePropertyKeep(id) { + return request({ + url: '/company/property-keep/delete?id=' + id, + method: 'delete' + }) +} + +// 获得资产维修/保养记录 +export function getPropertyKeep(id) { + return request({ + url: '/company/property-keep/get?id=' + id, + method: 'get' + }) +} + +// 获得资产维修/保养记录分页 +export function getPropertyKeepPage(params) { + return request({ + url: '/company/property-keep/page', + method: 'get', + params + }) +} +// 导出资产维修/保养记录 Excel +export function exportPropertyKeepExcel(params) { + return request({ + url: '/company/property-keep/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} \ No newline at end of file diff --git a/src/views/base/carmain/check.vue b/src/views/base/carmain/check.vue index 1390a25..90dbd25 100644 --- a/src/views/base/carmain/check.vue +++ b/src/views/base/carmain/check.vue @@ -1,22 +1,27 @@ - + diff --git a/src/views/base/property/index.vue b/src/views/base/property/index.vue new file mode 100644 index 0000000..c48ba8c --- /dev/null +++ b/src/views/base/property/index.vue @@ -0,0 +1,305 @@ + + + diff --git a/src/views/base/property/position/PropertyPosForm.vue b/src/views/base/property/position/PropertyPosForm.vue new file mode 100644 index 0000000..878932b --- /dev/null +++ b/src/views/base/property/position/PropertyPosForm.vue @@ -0,0 +1,123 @@ + + + diff --git a/src/views/base/property/position/index.vue b/src/views/base/property/position/index.vue new file mode 100644 index 0000000..c5a7cd7 --- /dev/null +++ b/src/views/base/property/position/index.vue @@ -0,0 +1,179 @@ + + + diff --git a/src/views/base/property/propertydeal/PropertyDealForm.vue b/src/views/base/property/propertydeal/PropertyDealForm.vue new file mode 100644 index 0000000..93cb524 --- /dev/null +++ b/src/views/base/property/propertydeal/PropertyDealForm.vue @@ -0,0 +1,119 @@ + + + diff --git a/src/views/base/property/propertydeal/index.vue b/src/views/base/property/propertydeal/index.vue new file mode 100644 index 0000000..6092a03 --- /dev/null +++ b/src/views/base/property/propertydeal/index.vue @@ -0,0 +1,177 @@ + + + diff --git a/src/views/base/property/propertydealitem/PropertyDealItemForm.vue b/src/views/base/property/propertydealitem/PropertyDealItemForm.vue new file mode 100644 index 0000000..06669f7 --- /dev/null +++ b/src/views/base/property/propertydealitem/PropertyDealItemForm.vue @@ -0,0 +1,153 @@ + + + diff --git a/src/views/base/property/propertydealitem/index.vue b/src/views/base/property/propertydealitem/index.vue new file mode 100644 index 0000000..a30222b --- /dev/null +++ b/src/views/base/property/propertydealitem/index.vue @@ -0,0 +1,208 @@ + + + diff --git a/src/views/base/property/propertykeep/PropertyKeepForm.vue b/src/views/base/property/propertykeep/PropertyKeepForm.vue new file mode 100644 index 0000000..ee7a2e1 --- /dev/null +++ b/src/views/base/property/propertykeep/PropertyKeepForm.vue @@ -0,0 +1,112 @@ + + + diff --git a/src/views/base/property/propertykeep/index.vue b/src/views/base/property/propertykeep/index.vue new file mode 100644 index 0000000..d9b2027 --- /dev/null +++ b/src/views/base/property/propertykeep/index.vue @@ -0,0 +1,159 @@ + + + diff --git a/src/views/infra/codegen/index.vue b/src/views/infra/codegen/index.vue index 252f119..70759b2 100644 --- a/src/views/infra/codegen/index.vue +++ b/src/views/infra/codegen/index.vue @@ -34,8 +34,8 @@ - - + +