diff --git a/src/api/base/project.js b/src/api/base/project.js
new file mode 100644
index 0000000..7736c11
--- /dev/null
+++ b/src/api/base/project.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询岗位列表
+export function listProject(query) {
+ return request({
+ url: '/bracelet/project/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询岗位详细
+export function getProject(projectId) {
+ return request({
+ url: '/bracelet/project/' + projectId,
+ method: 'get'
+ })
+}
+
+// 新增岗位
+export function addProject(data) {
+ return request({
+ url: '/bracelet/project',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改岗位
+export function updateProject(data) {
+ return request({
+ url: '/bracelet/project',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除岗位
+export function delProject(projectId) {
+ return request({
+ url: '/bracelet/project/' + projectId,
+ method: 'delete'
+ })
+}
diff --git a/src/api/query/construction.js b/src/api/query/construction.js
new file mode 100644
index 0000000..7641f09
--- /dev/null
+++ b/src/api/query/construction.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询岗位列表
+export function listConstruction(query) {
+ return request({
+ url: '/bracelet/construction/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询岗位详细
+export function getProject(projectId) {
+ return request({
+ url: '/bracelet/project/' + projectId,
+ method: 'get'
+ })
+}
+
+// 新增岗位
+export function addProject(data) {
+ return request({
+ url: '/bracelet/project',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改岗位
+export function updateProject(data) {
+ return request({
+ url: '/bracelet/project',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除岗位
+export function delProject(projectId) {
+ return request({
+ url: '/bracelet/project/' + projectId,
+ method: 'delete'
+ })
+}
diff --git a/src/utils/aescbc.js b/src/utils/aescbc.js
index f093fb9..88096a4 100644
--- a/src/utils/aescbc.js
+++ b/src/utils/aescbc.js
@@ -6,12 +6,12 @@ const cbc_iv = CryptoJS.enc.Utf8.parse('1234567812345678')
* 默认参数需要加密
* @type {boolean}
*/
-const jia_mi=true;
+const jia_mi=false;
/**
* 默认后台会自动加密
* @type {boolean}
*/
-const jie_mi=true;
+const jie_mi=false;
/**
* 加密
* @param word
diff --git a/src/utils/request.js b/src/utils/request.js
index bb45aaa..4f3d8f7 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -41,6 +41,7 @@ service.interceptors.request.use(config => {
config.params = {};
config.url = url;
}
+ console.log(config)
if (!isRepeatSubmit && (config.method === 'post' || config.method === 'put')) {
const requestObj = {
diff --git a/src/views/base/project/index.vue b/src/views/base/project/index.vue
new file mode 100644
index 0000000..f3a89c9
--- /dev/null
+++ b/src/views/base/project/index.vue
@@ -0,0 +1,297 @@
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/query/construction/index.vue b/src/views/query/construction/index.vue
new file mode 100644
index 0000000..94c0021
--- /dev/null
+++ b/src/views/query/construction/index.vue
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vue.config.js b/vue.config.js
index 627297d..e62dc84 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://localhost:18080`,
+ target: `http://127.0.0.1:18080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''