diff --git a/src/api/index.ts b/src/api/index.ts
index 610a22a..b187ba1 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -6,6 +6,8 @@ import * as scheduler from '@/modules/scheduler/api'
import * as notification from '@/modules/notification/api'
import * as workflow from '@/modules/workflow/api'
import * as businessflow from '@/modules/businessflow/api'
+import * as productManagement from '@/modules/productManagement/api'
+import * as costManagement from '@/modules/costManagement/api'
export default {
system,
@@ -15,5 +17,7 @@ export default {
scheduler,
notification,
workflow,
- businessflow
+ businessflow,
+ productManagement,
+ costManagement
}
diff --git a/src/modules/costMode/api/index.ts b/src/modules/costManagement/api/index.ts
similarity index 67%
rename from src/modules/costMode/api/index.ts
rename to src/modules/costManagement/api/index.ts
index 7131639..047fb8d 100644
--- a/src/modules/costMode/api/index.ts
+++ b/src/modules/costManagement/api/index.ts
@@ -1,7 +1,7 @@
import { COMMON_METHOD } from '@/constant/common'
import request from '@/config/axios'
-const moduleName = 'costMode'
+const moduleName = 'costManagement'
// 系统参数
// export const param = Object.assign({}, COMMON_METHOD, {
@@ -22,12 +22,39 @@ const moduleName = 'costMode'
-// 个人产品
-export const personProducts = Object.assign({}, COMMON_METHOD, {
- serveUrl: '/' + moduleName + '/' + 'personProducts' + '/',
-
+// 造价表
+export const costTable = Object.assign({}, COMMON_METHOD, {
+ serveUrl: '/' + moduleName + '/' + 'costTable' + '/',
+ // 新增
+ addCostTable(itemList) {
+ return request.post({ url: this.serveUrl + 'addCostTable', data: itemList })
+ },
+ // 查询数据
+ getCostTableDetail(id) {
+ return request.get({ url: this.serveUrl + 'getCostTableDetail/' + id })
+ },
+ modifyCostTable(params){
+ return request.put({ url: this.serveUrl + 'modifyCostTable', data: params })
+
+ }
})
+// 造价明细
+export const costItemDetail = Object.assign({}, COMMON_METHOD, {
+ serveUrl: '/' + moduleName + '/' + 'costItemDetail' + '/',
+ // 全产品造价
+ getProductsPageByType(params) {
+ return request.get({ url: this.serveUrl + 'getProductsPageByType', params })
+ },
+ // 查询数据
+ getCostTableDetail(id) {
+ return request.get({ url: this.serveUrl + 'getCostTableDetail/' + id })
+ },
+ modifyCostTable(params){
+ return request.put({ url: this.serveUrl + 'modifyCostTable', data: params })
+
+ }
+})
// 字典类型
export const dictionaryType = Object.assign({}, COMMON_METHOD, {
serveUrl: '/' + moduleName + '/' + 'dictionaryType' + '/',
diff --git a/src/modules/costManagement/components/costTypeComponents.vue b/src/modules/costManagement/components/costTypeComponents.vue
new file mode 100644
index 0000000..6da9edb
--- /dev/null
+++ b/src/modules/costManagement/components/costTypeComponents.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/costManagement/view/costIndex/index.vue b/src/modules/costManagement/view/costIndex/index.vue
new file mode 100644
index 0000000..e0a20f7
--- /dev/null
+++ b/src/modules/costManagement/view/costIndex/index.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
diff --git a/src/modules/costManagement/view/costTable/add.vue b/src/modules/costManagement/view/costTable/add.vue
new file mode 100644
index 0000000..4742e82
--- /dev/null
+++ b/src/modules/costManagement/view/costTable/add.vue
@@ -0,0 +1,368 @@
+
+
+
+
+
+
+
diff --git a/src/modules/costManagement/view/costTable/index.vue b/src/modules/costManagement/view/costTable/index.vue
new file mode 100644
index 0000000..b0945ec
--- /dev/null
+++ b/src/modules/costManagement/view/costTable/index.vue
@@ -0,0 +1,194 @@
+
+
+
+ 新增
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/costManagement/view/costTable/modify.vue b/src/modules/costManagement/view/costTable/modify.vue
new file mode 100644
index 0000000..d4636ee
--- /dev/null
+++ b/src/modules/costManagement/view/costTable/modify.vue
@@ -0,0 +1,376 @@
+
+
+
+
+
+
+
diff --git a/src/modules/costManagement/view/costTable/view.vue b/src/modules/costManagement/view/costTable/view.vue
new file mode 100644
index 0000000..d1da60d
--- /dev/null
+++ b/src/modules/costManagement/view/costTable/view.vue
@@ -0,0 +1,221 @@
+
+
+
+
+
+
+
diff --git a/src/modules/costMode/components/supplierInformationComponents.vue b/src/modules/costMode/components/supplierInformationComponents.vue
deleted file mode 100644
index 05f9f8a..0000000
--- a/src/modules/costMode/components/supplierInformationComponents.vue
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index 8b75699..39d391d 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -56,7 +56,7 @@ const schema = reactive([
{
field: 'password',
label: t('login.password'),
- value: '12345678',
+ value: 'Admin123',
component: 'InputPassword',
colProps: {
span: 24