From 57a0306392921a7ada7faf4514be26f2c1f1708e Mon Sep 17 00:00:00 2001 From: fengdong777 <1478994744@qq.com> Date: Thu, 17 Aug 2023 18:06:27 +0800 Subject: [PATCH] 8.17 --- .../src/api/projectStaff/index.js | 32 +++ .../src/views/projectStaff/index.vue | 164 +++++++++++++--- .../src/views/NewList/needMoney.vue | 185 +++++++++++++----- .../src/views/NewList/outbound.vue | 2 +- .../src/views/NewList/warehouse.vue | 2 +- 5 files changed, 300 insertions(+), 85 deletions(-) create mode 100644 supervise-crm-ui/src/api/projectStaff/index.js diff --git a/supervise-crm-ui/src/api/projectStaff/index.js b/supervise-crm-ui/src/api/projectStaff/index.js new file mode 100644 index 00000000..d9894f03 --- /dev/null +++ b/supervise-crm-ui/src/api/projectStaff/index.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +export default { + + // 选择可用的项目 + projectinformation: function() { + return request({ + url: '/crm/v1/projectinformation/listAll ', + method: 'get', + }); + }, + getUserByType: function(id) { + return request({ + url: '/crm/userproject/getUserByType/'+ id, + method: 'get' + }) + }, + getUserProjectBySid: function(sid) { + return request({ + url: '/crm/userproject/getUserProjectBySid/'+ sid, + method: 'get' + }) + }, + userprojectSave: function(data) { + return request({ + url: '/crm/userproject/save', + method: 'post', + data: data + }); + }, + +} diff --git a/supervise-crm-ui/src/views/projectStaff/index.vue b/supervise-crm-ui/src/views/projectStaff/index.vue index b1b9dd65..0b07475e 100644 --- a/supervise-crm-ui/src/views/projectStaff/index.vue +++ b/supervise-crm-ui/src/views/projectStaff/index.vue @@ -23,36 +23,36 @@