diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/views/project/xmshzn/sclcgfcl/index.vue b/src/views/project/xmshzn/sclcgfcl/index.vue new file mode 100644 index 0000000..9740867 --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/views/project/xmshzn/sclcgfcl/index.vue b/src/views/project/xmshzn/sclcgfcl/index.vue new file mode 100644 index 0000000..9740867 --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/project/xmshzn/sclcgfcl/operate.vue b/src/views/project/xmshzn/sclcgfcl/operate.vue new file mode 100644 index 0000000..03faacd --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/operate.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/views/project/xmshzn/sclcgfcl/index.vue b/src/views/project/xmshzn/sclcgfcl/index.vue new file mode 100644 index 0000000..9740867 --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/project/xmshzn/sclcgfcl/operate.vue b/src/views/project/xmshzn/sclcgfcl/operate.vue new file mode 100644 index 0000000..03faacd --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/operate.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/index.vue b/src/views/project/xmshzn/scyqgfcl/index.vue new file mode 100644 index 0000000..4f01021 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/index.vue @@ -0,0 +1,271 @@ + + + + diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/views/project/xmshzn/sclcgfcl/index.vue b/src/views/project/xmshzn/sclcgfcl/index.vue new file mode 100644 index 0000000..9740867 --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/project/xmshzn/sclcgfcl/operate.vue b/src/views/project/xmshzn/sclcgfcl/operate.vue new file mode 100644 index 0000000..03faacd --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/operate.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/index.vue b/src/views/project/xmshzn/scyqgfcl/index.vue new file mode 100644 index 0000000..4f01021 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/index.vue @@ -0,0 +1,271 @@ + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/operate.vue b/src/views/project/xmshzn/scyqgfcl/operate.vue new file mode 100644 index 0000000..9ebb8a2 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/operate.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/views/project/xmshzn/sclcgfcl/index.vue b/src/views/project/xmshzn/sclcgfcl/index.vue new file mode 100644 index 0000000..9740867 --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/project/xmshzn/sclcgfcl/operate.vue b/src/views/project/xmshzn/sclcgfcl/operate.vue new file mode 100644 index 0000000..03faacd --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/operate.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/index.vue b/src/views/project/xmshzn/scyqgfcl/index.vue new file mode 100644 index 0000000..4f01021 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/index.vue @@ -0,0 +1,271 @@ + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/operate.vue b/src/views/project/xmshzn/scyqgfcl/operate.vue new file mode 100644 index 0000000..9ebb8a2 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/operate.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/src/views/project/xmshzn/sczygl/index.vue b/src/views/project/xmshzn/sczygl/index.vue new file mode 100644 index 0000000..10b2bcd --- /dev/null +++ b/src/views/project/xmshzn/sczygl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/api/xmsczl.js b/src/api/xmsczl.js new file mode 100644 index 0000000..7cd4e25 --- /dev/null +++ b/src/api/xmsczl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' +// 分页查询项目规划许可 +export function projectExaminationGuidelinePage(params) { + return request({ + url: '/business/projectExaminationGuideline/page', + method: 'get', + params + }) +} + +// 新增项目规划许可 +export function projectPlanningPermissionAdd(data) { + return request({ + url: '/business/projectExaminationGuideline/add', + method: 'post', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionEdit(data) { + return request({ + url: '/business/projectExaminationGuideline/edit', + method: 'put', + data + }) +} + +// 修改项目规划许可 +export function projectPlanningPermissionDetail(id) { + return request({ + url: `/business/projectExaminationGuideline/${id}`, + method: 'get' + }) +} + +// 删除项目规划许可 +export function projectPlanningPermissionDel(ids) { + return request({ + url: `/business/projectExaminationGuideline/${ids}`, + method: 'delete' + }) +} + diff --git a/src/permission.js b/src/permission.js index 44cd6bb..48e6611 100644 --- a/src/permission.js +++ b/src/permission.js @@ -54,8 +54,12 @@ // 在免登录白名单,直接进入 next() } else { - location.href = 'http://192.168.1.39:8132/door'; // next(`/login?redirect=${to.fullPath}`); // 否则全部重定向到登录页 + if (process.env.NODE_ENV == 'development') { + router.push('/login') + } else { + location.href = 'http://192.168.1.39:8132/door'; + } next(); // 否则全部重定向到登录页 NProgress.done(); } diff --git a/src/views/project/xmshzn/sclcgfcl/index.vue b/src/views/project/xmshzn/sclcgfcl/index.vue new file mode 100644 index 0000000..9740867 --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/project/xmshzn/sclcgfcl/operate.vue b/src/views/project/xmshzn/sclcgfcl/operate.vue new file mode 100644 index 0000000..03faacd --- /dev/null +++ b/src/views/project/xmshzn/sclcgfcl/operate.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/index.vue b/src/views/project/xmshzn/scyqgfcl/index.vue new file mode 100644 index 0000000..4f01021 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/index.vue @@ -0,0 +1,271 @@ + + + + diff --git a/src/views/project/xmshzn/scyqgfcl/operate.vue b/src/views/project/xmshzn/scyqgfcl/operate.vue new file mode 100644 index 0000000..9ebb8a2 --- /dev/null +++ b/src/views/project/xmshzn/scyqgfcl/operate.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/src/views/project/xmshzn/sczygl/index.vue b/src/views/project/xmshzn/sczygl/index.vue new file mode 100644 index 0000000..10b2bcd --- /dev/null +++ b/src/views/project/xmshzn/sczygl/index.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/project/xmshzn/sczygl/operate.vue b/src/views/project/xmshzn/sczygl/operate.vue new file mode 100644 index 0000000..e45b66d --- /dev/null +++ b/src/views/project/xmshzn/sczygl/operate.vue @@ -0,0 +1,190 @@ + + + + +