diff --git a/src/api/base/customer.js b/src/api/base/customer.js
index 2c88b91..2ab8e44 100644
--- a/src/api/base/customer.js
+++ b/src/api/base/customer.js
@@ -23,7 +23,7 @@ export default {
},
all(params) {
- return fetch('/base/customer/all', params)
+ return fetch('/base/customer/list', params)
},
findList(params) {
diff --git a/src/api/contract/index.js b/src/api/contract/index.js
index 98e813f..4432964 100644
--- a/src/api/contract/index.js
+++ b/src/api/contract/index.js
@@ -12,5 +12,9 @@ export default {
page(params) {
return fetch('/contract/page', params)
+ },
+
+ info(params){
+ return fetch('/contract/info/task', params)
}
}
diff --git a/src/views/project/components/attach/index.vue b/src/views/project/components/attach/index.vue
index 6430015..d57dafb 100644
--- a/src/views/project/components/attach/index.vue
+++ b/src/views/project/components/attach/index.vue
@@ -31,7 +31,7 @@
上一级
-
+
{
+ this.loading = false
if (res.code === 200) {
- this.list = res.data.records
- this.page.total = res.data.total
+ this.list = res.data.records
+ this.page.total = res.data.total
}
})
},
diff --git a/src/views/project/contract/components/edit-contract.vue b/src/views/project/contract/components/edit-contract.vue
new file mode 100644
index 0000000..2847359
--- /dev/null
+++ b/src/views/project/contract/components/edit-contract.vue
@@ -0,0 +1,357 @@
+
+
+
{{ info ? '编辑' : '新增合同' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project/contract/index.vue b/src/views/project/contract/index.vue
new file mode 100644
index 0000000..5c021d2
--- /dev/null
+++ b/src/views/project/contract/index.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project/index/index.vue b/src/views/project/index/index.vue
index 21c0cb9..b5c9c3f 100644
--- a/src/views/project/index/index.vue
+++ b/src/views/project/index/index.vue
@@ -21,14 +21,24 @@
-
+
+
+
+
+
+
+
@@ -103,12 +106,14 @@
import filePicker from '@/views/project/components/file-picker/index.vue'
import preview from '@/components/preview/index.vue'
import attach from "@/views/project/components/attach/index.vue";
+import contract from "@/views/project/contract/index.vue"
export default {
components: {
filePicker,
preview,
- attach
+ attach,
+ contract
},
props: {
id: {