Pārlūkot izejas kodu

删除承重代码

zhangfu 3 gadi atpakaļ
vecāks
revīzija
22c7f34dbb

+ 81 - 79
package-lock.json

@@ -1745,16 +1745,6 @@
           "integrity": "sha1-4a1IbmxUUBY0xsOXxcEh2qODYHw=",
           "dev": true
         },
-        "ansi-styles": {
-          "version": "4.3.0",
-          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
-          "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "color-convert": "^2.0.1"
-          }
-        },
         "cacache": {
           "version": "13.0.1",
           "resolved": "https://registry.npm.taobao.org/cacache/download/cacache-13.0.1.tgz?cache=0&sync_timestamp=1594428108619&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcacache%2Fdownload%2Fcacache-13.0.1.tgz",
@@ -1781,34 +1771,6 @@
             "unique-filename": "^1.1.1"
           }
         },
-        "chalk": {
-          "version": "4.1.2",
-          "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
-          "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "ansi-styles": "^4.1.0",
-            "supports-color": "^7.1.0"
-          }
-        },
-        "color-convert": {
-          "version": "2.0.1",
-          "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
-          "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "color-name": "~1.1.4"
-          }
-        },
-        "color-name": {
-          "version": "1.1.4",
-          "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
-          "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
-          "dev": true,
-          "optional": true
-        },
         "find-cache-dir": {
           "version": "3.3.1",
           "resolved": "https://registry.npm.taobao.org/find-cache-dir/download/find-cache-dir-3.3.1.tgz",
@@ -1830,25 +1792,6 @@
             "path-exists": "^4.0.0"
           }
         },
-        "has-flag": {
-          "version": "4.0.0",
-          "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
-          "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
-          "dev": true,
-          "optional": true
-        },
-        "loader-utils": {
-          "version": "2.0.1",
-          "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.1.tgz",
-          "integrity": "sha512-g4miPa9uUrZz4iElkaVJgDFwKJGh8aQGM7pUL4ejXl6cu7kSb30seQOVGNMP6sW8j7DW77X68hJZ+GM7UGhXeQ==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "big.js": "^5.2.2",
-            "emojis-list": "^3.0.0",
-            "json5": "^2.1.2"
-          }
-        },
         "locate-path": {
           "version": "5.0.0",
           "resolved": "https://registry.npm.taobao.org/locate-path/download/locate-path-5.0.0.tgz",
@@ -1913,16 +1856,6 @@
             "minipass": "^3.1.1"
           }
         },
-        "supports-color": {
-          "version": "7.2.0",
-          "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
-          "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "has-flag": "^4.0.0"
-          }
-        },
         "terser-webpack-plugin": {
           "version": "2.3.8",
           "resolved": "https://registry.npm.taobao.org/terser-webpack-plugin/download/terser-webpack-plugin-2.3.8.tgz?cache=0&sync_timestamp=1597229595508&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser-webpack-plugin%2Fdownload%2Fterser-webpack-plugin-2.3.8.tgz",
@@ -1939,18 +1872,6 @@
             "terser": "^4.6.12",
             "webpack-sources": "^1.4.3"
           }
-        },
-        "vue-loader-v16": {
-          "version": "npm:vue-loader@16.8.2",
-          "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.2.tgz",
-          "integrity": "sha512-Nkq+z9mAsMEK+qkXgK+9Ia7D8w9uu9j4ut0IMT5coMfux3rCgIp1QBB1CYwY0M34A1nRMSONEaWXxAAw6xSl/Q==",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "chalk": "^4.1.0",
-            "hash-sum": "^2.0.0",
-            "loader-utils": "^2.0.0"
-          }
         }
       }
     },
@@ -11901,6 +11822,87 @@
         }
       }
     },
+    "vue-loader-v16": {
+      "version": "npm:vue-loader@16.8.3",
+      "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
+      "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
+      "dev": true,
+      "optional": true,
+      "requires": {
+        "chalk": "^4.1.0",
+        "hash-sum": "^2.0.0",
+        "loader-utils": "^2.0.0"
+      },
+      "dependencies": {
+        "ansi-styles": {
+          "version": "4.3.0",
+          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+          "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "color-convert": "^2.0.1"
+          }
+        },
+        "chalk": {
+          "version": "4.1.2",
+          "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+          "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "ansi-styles": "^4.1.0",
+            "supports-color": "^7.1.0"
+          }
+        },
+        "color-convert": {
+          "version": "2.0.1",
+          "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+          "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "color-name": "~1.1.4"
+          }
+        },
+        "color-name": {
+          "version": "1.1.4",
+          "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+          "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+          "dev": true,
+          "optional": true
+        },
+        "has-flag": {
+          "version": "4.0.0",
+          "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+          "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+          "dev": true,
+          "optional": true
+        },
+        "loader-utils": {
+          "version": "2.0.2",
+          "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
+          "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "big.js": "^5.2.2",
+            "emojis-list": "^3.0.0",
+            "json5": "^2.1.2"
+          }
+        },
+        "supports-color": {
+          "version": "7.2.0",
+          "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+          "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "has-flag": "^4.0.0"
+          }
+        }
+      }
+    },
     "vue-router": {
       "version": "3.5.2",
       "resolved": "https://registry.nlark.com/vue-router/download/vue-router-3.5.2.tgz",

+ 0 - 2
public/js/config.js

@@ -1,5 +1,3 @@
 window.global_config = {
-  // BASE_URL: 'http://172.16.0.130:8083' //蒋佳灿
-  // BASE_URL:'http://172.16.0.108:8083' // 商涛
   BASE_URL: 'http://221.224.53.27:20018'
 }

+ 0 - 47
src/api/baseManage/Internal.js

@@ -1,47 +0,0 @@
-import request from '@/utils/request'
-// 内返一二级分类树
-export function questionCategoryQuestionCategoryTree() {
-    return request({
-        url: '/questionCategory/questionCategoryTree',
-        method: 'get'
-    })
-}
-// 内返三级问题分类
-export function questionCategoryList(data) {
-    return request({
-        url: '/questionCategory/list',
-        method: "get",
-        params:data
-    })
-}
-// 内返三级添加
-export function questionCategoryAdd(data) {
-    return request({
-        url: "/questionCategory/add",
-        method: 'put',
-        data
-    })
-}
-//内返三级详情
-export function questionCategoryDetail(data) {
-    return request({
-        url: '/questionCategory/detail',
-        method: 'get',
-        params: data
-    })
-}
-// 内返三级编辑
-export function questionCategoryEdit(data) {
-    return request({
-        url: '/questionCategory/edit',
-        method: 'put',
-        data
-    })
-}
-// 内返三级删除
-export function questionCategorydelete(id) {
-    return request({
-        url: `/questionCategory/${id}`,
-        method: 'delete'
-    })
-}

+ 0 - 57
src/api/baseManage/department.js

@@ -1,57 +0,0 @@
-import request from '@/utils/request'
-
-export function getTreeDepartment() {
-  return request({
-    url: '/department/treeDepartment',
-    method: 'get'
-  })
-}
-export function addDepartment(data) {
-  return request({
-    url: '/department/addDepartment',
-    method: 'post',
-    data
-  })
-}
-export function editDepartment(data) {
-  return request({
-    url: '/department/editDepartment',
-    method: 'post',
-    data
-  })
-}
-
-export function delDepartment(id) {
-  return request({
-    url: '/department/deleteDepartment/' + id,
-    method: 'get'
-  })
-}
-
-export function editDepartmentShow(id) {
-  return request({
-    url: '/department/editDepartmentShow/' + id,
-    method: 'get'
-  })
-}
-//查询当前登录人部门下的员工列表
-export function loginUserDepartmentOfUserList() {
-  return request({
-    url: '/department/getLoginUserDepartmentOfUserList',
-    method: 'get'
-  })
-}
-//查询当前登录人部门下的员工列表
-export function getTreeDepartmentByDepartmentId(id) {
-  return request({
-    url: '/department/getTreeDepartmentByDepartmentId/' + id,
-    method: 'get'
-  })
-}
-// 获取基地
-export function getBasePlaces() {
-  return request({
-    url: '/department/getBasePlaces',
-    method: 'get'
-  })
-}

+ 0 - 151
src/api/baseManage/dictionary.js

@@ -1,151 +0,0 @@
-import request from '@/utils/request'
-// 数据字典维护列表
-export function getDictionary(data) {
-  return request({
-    url: '/dictionary/page',
-    method: 'get',
-    params: data
-  })
-}
-// 生产线维护列表
-export function getProductlinelist(data) {
-  return request({
-    url: '/productLine/list',
-    method: 'get',
-    params: data
-  })
-}
-// 启用的生产线列表
-export function enableList() {
-  return request({
-    url: '/productLine/enableList',
-    method: 'get'
-  })
-}
-// 生产线停启用
-export function changeStatus(data) {
-  return request({
-    url: '/productLine/changeStatus',
-    method: 'post',
-    data: data
-  })
-}
-// 生产线删除
-export function productLineDelete(data) {
-  return request({
-    url: '/productLine/delete',
-    method: 'delete',
-    data: data
-  })
-}
-// 新增生产线
-export function addproductLine(data) {
-  return request({
-    url: '/productLine/add',
-    method: 'put',
-    data: data
-  })
-}
-// 生产线详情
-export function productLineDetail(data) {
-  return request({
-    url: '/productLine/detail',
-    method: 'get',
-    params: data
-  })
-}
-// 生产线编辑
-export function productLineEdit(data) {
-  return request({
-    url: '/productLine/edit',
-    method: 'post',
-    data
-  })
-}
-
-//获取当前登录人所在生产厂的生产线
-export function getProductLines(params) {
-  return request({
-    url: '/productLine/getProductLines',
-    method: 'get',
-    params
-  })
-}
-
-// 条码新增
-export function tataLabelRuleBatchAdd(data) {
-  return request({
-    url: '/tataLabelRule/batchAdd',
-    method: 'put',
-    data
-  })
-}
-// 条码编辑
-export function tataLabelRuleBatchEdit(data) {
-  return request({
-    url: '/tataLabelRule/batchEdit',
-    method: 'post',
-    data
-  })
-}
-// 条码列表
-export function tataLabelRuleList(data) {
-  return request({
-    url: '/tataLabelRule/list',
-    method: 'get',
-    params: data
-  })
-}
-// 获取生产厂下树形部门结构
-export function departmentGetFactoryTreeDepartment(data) {
-  return request({
-    url: `/department/getFactoryTreeDepartment/${data}`,
-    method: 'get'
-  })
-}
-// 查询部门下人员列表
-export function departmentGetUserOfDepartment(data) {
-  return request({
-    url: `/department/getUserOfDepartment/${data}`,
-    method: 'get'
-  })
-}
-// 工艺环节新增
-export function tataLineProcessBatchAdd(data) {
-  return request({
-    url: '/tataLineProcess/batchAdd',
-    method: 'put',
-    data
-  })
-}
-// 工艺环节编辑
-export function tataLineProcessBatchEdit(data) {
-  return request({
-    url: '/tataLineProcess/batchEdit',
-    method: 'post',
-    data
-  })
-}
-// 工艺环节列表
-export function tataLineProcessList(data) {
-  return request({
-    url: '/tataLineProcess/list',
-    method: 'get',
-    params: data
-  })
-}
-//查看是否能删除
-export function tataLineProcessdelete(params) {
-  return request({
-    url: '/tataLineProcess/delete',
-    method: 'delete',
-    params
-  })
-}
-// 提醒人员
-export function userremindDepartmentUsers() {
-  return request({
-    url: '/user/remindDepartmentUsers',
-    method: 'get'
-  })
-}

+ 0 - 70
src/api/baseManage/doorCode.js

@@ -1,70 +0,0 @@
-import request from '@/utils/request'
-
-export function queryDoorCodeList(data) {
-  return request({
-    url: '/doorCode/queryDoorCodeList',
-    method: 'post',
-    data
-  })
-}
-export function getDoorType() {
-  return request({
-    url: '/doorCode/getDoorType',
-    method: 'get'
-  })
-}
-///doorCode/addDoorCodeShow
-
-export function addDoorCodeShow() {
-  return request({
-    url: '/doorCode/addDoorCodeShow',
-    method: 'get'
-  })
-}
-
-export function editDoorCodeShow(id) {
-  return request({
-    url: '/doorCode/editDoorCodeShow/' + id,
-    method: 'get'
-  })
-}
-// /doorCode/saveOrUpdateDoorCode
-export function saveOrUpdateDoorCode(data) {
-  return request({
-    url: '/doorCode/saveOrUpdateDoorCode',
-    method: 'post',
-    data
-  })
-}
-// /doorCode/deleteDoorCode
-export function deleteDoorCode(data) {
-  return request({
-    url: '/doorCode/deleteDoorCode',
-    method: 'delete',
-    data
-  })
-}
-// /tataRuleColumns/list
-export function getRuleList(params) {
-  return request({
-    url: '/tataRuleColumns/list',
-    method: 'get',
-    params
-  })
-}
-// /doorCode/getDoorTypeProduct
-export function getDoorTypeProduct(params) {
-  return request({
-    url: '/doorCode/getDoorTypeProduct',
-    method: 'get',
-    params
-  })
-}
-// /doorCode/getGateTypeByProductId
-export function getGateTypeByProductId(params) {
-  return request({
-    url: '/doorCode/getGateTypeByProductId',
-    method: 'get',
-    params
-  })
-}

+ 0 - 60
src/api/baseManage/dutyPost.js

@@ -1,60 +0,0 @@
-import request from '@/utils/request'
-
-export function queryDutyPostPage(params) {
-  return request({
-    url: '/dutyPost/page',
-    method: 'get',
-    params
-  })
-}
-export function dutyPost(data) {
-  return request({
-    url: '/dutyPost',
-    method: 'post',
-    data
-  })
-}
-
-export function queryProductLine() {
-  return request({
-    url: '/productLine/enableList',
-    method: 'get'
-  })
-}
-
-export function getTataLineProcess(params) {
-  return request({
-    url: '/tataLineProcess/enableList',
-    method: 'get',
-    params
-  })
-}
-
-export function getdutyPost(id) {
-  return request({
-    url: '/dutyPost/' + id,
-    method: 'get'
-  })
-}
-export function putDutyPost(data) {
-  return request({
-    url: '/dutyPost',
-    method: 'put',
-    data
-  })
-}
-export function deleteDutyPost(data) {
-  return request({
-    url: '/dutyPost',
-    method: 'delete',
-    data
-  })
-}
-export function putStatus(params) {
-  return request({
-    url: '/dutyPost/status',
-    method: 'put',
-    params
-  })
-}
-// /dutyPost/status

+ 0 - 49
src/api/baseManage/material.js

@@ -1,49 +0,0 @@
-import request from '@/utils/request'
-
-export function getMaterialCategoryList(params) {
-  return request({
-    url: '/materialCategory/list',
-    method: 'get',
-    params
-  })
-}
-
-export function getConditions() {
-  return request({
-    url: '/materialCategory/getConditions',
-    method: 'get'
-  })
-}
-
-// /materialBaseInfo/getConditions
-export function getMaterialSearch() {
-  return request({
-    url: '/materialBaseInfo/getConditions',
-    method: 'get'
-  })
-}
-// /materialBaseInfo/list
-export function getMaterialBaseInfoList(params) {
-  return request({
-    url: '/materialBaseInfo/list',
-    method: 'get',
-    params
-  })
-}
-// /materialBaseInfo/detail
-export function getMaterialBaseInfoDetail(params) {
-  return request({
-    url: '/materialBaseInfo/detail',
-    method: 'get',
-    params
-  })
-}
-
-// /materialBaseInfo/edit
-export function materialBaseInfoEdit(data) {
-  return request({
-    url: '/materialBaseInfo/edit',
-    method: 'put',
-    data
-  })
-}

+ 0 - 162
src/api/baseManage/ordPartorder.js

@@ -1,162 +0,0 @@
-import request from '@/utils/request'
-// 生产订单列表
-export function ordPartOrderQueryOrderList(data) {
-  return request({
-    url: '/ordPartOrder/queryOrderList',
-    method: 'post',
-    data
-  })
-}
-// 生产订单状态
-export function ordPartOrdergetOrderStatus() {
-  return request({
-    url: '/ordPartOrder/getOrderStatus',
-    method: 'get'
-  })
-}
-// 获取订单产品信息
-export function ordPartOrderGetOrderProductInfo(data) {
-  return request({
-    url: `/ordPartOrder/getOrderProductInfo/${data}`,
-    method: 'get'
-  })
-}
-// 查询主单信息
-export function ordPartOrderQueryOrderInfo(data) {
-  return request({
-    url: '/ordPartOrder/queryOrderInfo',
-    method: 'get',
-    params: data
-  })
-}
-// 分包信息
-export function ordPartOrderQueryOrderSubContractInfo(data) {
-  return request({
-    url: `/ordPartOrder/queryOrderSubContractInfo/${data}`,
-    method: 'get'
-  })
-}
-// 内返记录
-export function internalReturnGetInternalReturnByPartNo(data) {
-  return request({
-    url: `/internalReturn/getInternalReturnByPartNo/${data}`,
-    method: 'get'
-  })
-}
-// 分厂
-export function ordPartOrderGetSubFactory() {
-  return request({
-    url: '/ordPartOrder/getSubFactory',
-    method: 'get'
-  })
-}
-// 材质
-export function ordPartOrderGetMaterial(params) {
-  return request({
-    url: '/ordPartOrder/getMaterial',
-    method: 'get',
-    params
-  })
-}
-// 批量生产
-export function ordPartOrderOrderPatchProduction(data) {
-  return request({
-    url: '/ordPartOrder/orderPatchProduction',
-    method: 'post',
-    data
-  })
-}
-// 取消订单
-export function tataCancelOrderPage(data) {
-  return request({
-    url: '/tataCancelOrder/page',
-    method: 'get',
-    params: data
-  })
-}
-// 取消订单状态
-export function tataCancelOrderstatuslist() {
-  return request({
-    url: '/tataCancelOrder/status/list',
-    method: 'get'
-  })
-}
-// 取消订单获取一级分类
-export function tataCancelOrdermaterialStairClassifylist() {
-  return request({
-    url: '/tataCancelOrder/materialStairClassify/list',
-    method: 'get'
-  })
-}
-// 取消订单明细
-export function tataCancelOrderTabDetail(param) {
-  return request({
-    url: `/tataCancelOrder/tab/detail/${param}`,
-    method: 'get'
-  })
-}
-// 生产确定
-export function tataCancelOrderCconfirm(data) {
-  return request({
-    url: '/tataCancelOrder/confirm',
-    method: 'PUT',
-    data
-  })
-}
-
-//获取用户类型 1总部、2生产厂
-export function getAccountUserType() {
-  return request({
-    url: '/ordPartOrder/getAccountUserType',
-    method: 'get'
-  })
-}
-
-// 得到数据权限
-export function getDataScope() {
-  return request({
-    url: '/ordPartOrder/getDataScope',
-    method: 'get'
-  })
-}
-
-// 获取生产厂责任小单元
-export function getFactoryDutyUnit(data) {
-  return request({
-    url: '/ordPartOrder/getFactoryDutyUnit',
-    method: 'post',
-    data
-  })
-}
-
-// 三级问题
-export function getFactoryThreeLevelProblem(data) {
-  return request({
-    url: '/ordPartOrder/getFactoryThreeLevelProblem',
-    method: 'post',
-    data
-  })
-}
-
-// 获取工艺节点
-export function getProductLineNodes(data) {
-  return request({
-    url: '/ordPartOrder/getProductLineNodes',
-    method: 'post',
-    data
-  })
-}
-// 获取当前是否分厂
-export function ordPartOrdergetAccountUserType() {
-  return request({
-    url: '/ordPartOrder/getAccountUserType',
-    method: 'get'
-  })
-}
-export function getProductProcess(params) {
-  return request({
-    url: '/ordPartOrder/getProductProcess',
-    method: 'get',
-    params
-  })
-}

+ 0 - 91
src/api/baseManage/personInfo.js

@@ -1,91 +0,0 @@
-import request from '@/utils/request'
-
-export function queryUserOfDepartment(data) {
-  return request({
-    url: '/user/queryUserOfDepartment',
-    method: 'post',
-    data
-  })
-}
-export function organizationPersonnel(data) {
-  return request({
-    url: '/user/organizationPersonnel',
-    method: 'post',
-    data
-  })
-}
-
-export function addDepartmentUser(data) {
-  return request({
-    url: '/user/addDepartmentUser',
-    method: 'post',
-    data
-  })
-}
-
-export function updateUserInfo(data) {
-  return request({
-    url: '/user/updateUserInfo',
-    method: 'post',
-    data
-  })
-}
-// 用户明细
-export function getUserDetail(id) {
-  return request({
-    url: '/user/getUserDetail/' + id,
-    method: 'get'
-  })
-}
-
-// 编辑用户回显数据
-export function getUserInfo(id) {
-  return request({
-    url: '/user/getUserInfo/' + id,
-    method: 'get'
-  })
-}
-//
-export function addUserInitShowData(id) {
-  return request({
-    url: '/user/addUserInitShowData/' + id,
-    method: 'get'
-  })
-}
-// 显示当前用户所在厂树形部门结构
-export function loginUserTreeDepartment() {
-  return request({
-    url: '/user/loginUserTreeDepartment',
-    method: 'get'
-  })
-}
-// /user/exportUser
-export function exportUser(data) {
-  return request({
-    url: '/user/exportUser',
-    method: 'post',
-    data
-  })
-}
-// /user/deleteUsers
-export function deleteUsers(data) {
-  return request({
-    url: '/user/deleteUsers',
-    method: 'delete',
-    data
-  })
-}
-export function thoroughDeleteUsers(data) {
-  return request({
-    url: '/user/thoroughDeleteUsers',
-    method: 'delete',
-    data
-  })
-}
-export function resetPassword(data) {
-  return request({
-    url: '/user/resetPassword',
-    method: 'post',
-    data
-  })
-}

+ 0 - 96
src/api/baseManage/prduct.js

@@ -1,96 +0,0 @@
-import request from '@/utils/request'
-// 产品信息库列表
-export function productPage(data) {
-    return request({
-        url: '/product/page',
-        method: 'get',
-        params: data
-    })
-}
-// 删除产品扩展信息
-export function deleteproductExpand(data){
-    return request ({
-        url:'/productExpand',
-        method:'delete',
-        data
-    })
-}
-// 产品扩展信息
-export function productExpland(id) {
-    return request({
-        url: `/productExpand/${id}`,
-        method: 'get'
-    })
-}
-// 查询数字字典
-export function dictionaryList(data) {
-    return request({
-        url: '/dictionary/list',
-        method: 'get',
-        params: data
-    })
-}
-// 产品编辑
-export function productExpand(data) {
-    return request({
-        url: "/productExpand",
-        method: 'put',
-        data
-    })
-}
-// 产品类型与结构类型关系列表
-export function productTypeRelationPage(data) {
-    return request({
-        url: '/productTypeRelation/page',
-        method: 'get',
-        params: data
-    })
-}
-// 产品类型与结构类型关系新增
-export function productTypeRelationadd(data) {
-    return request({
-        url: '/productTypeRelation',
-        method: 'post',
-        data
-    })
-}
-// 产品类型与结构类型关系编辑
-export function productTypeRelationEdit(data) {
-    return request({
-        url: '/productTypeRelation',
-        method: "put",
-        data
-    })
-}
-// 产品类型与结构类型关系删除
-export function productTypeRelationDelete(data) {
-    return request({
-        url: '/productTypeRelation',
-        method: 'delete',
-        data
-    })
-}
-// 产品类型与结构类型关系详情
-export function productTypeRelationDetail(data) {
-    return request({
-        url: '/productTypeRelation',
-        method: 'get',
-        params: data
-    })
-}
-// 产品类型与结构类型关系获取产品类型列表
-export function productTypeRelationProductTypeList(data) {
-    return request({
-        url: '/productTypeRelation/productType/list',
-        method: 'get',
-        params: data
-    })
-}
-// 产品类型与结构类型关系编辑获取结构类型列表
-export function productTypeRelationStructureTypeList(data) {
-    return request({
-        url: "/productTypeRelation/structureType/list",
-        method: 'get',
-        params: data
-    })
-}

+ 0 - 50
src/api/baseManage/rolePermissions.js

@@ -1,50 +0,0 @@
-import request from '@/utils/request'
-
-export function queryRoleList(data) {
-  return request({
-    url: '/role/queryRoleList',
-    method: 'post',
-    data
-  })
-}
-
-export function saveOrUpdateRole(data) {
-  return request({
-    url: '/role/saveOrUpdateRole',
-    method: 'post',
-    data
-  })
-}
-export function queryRoleUsers(data) {
-  return request({
-    url: '/role/queryRoleUsers',
-    method: 'post',
-    data
-  })
-}
-export function deleteRoleByRoleId(data) {
-  return request({
-    url: '/role/deleteRoleByRoleId',
-    method: 'delete',
-    data
-  })
-}
-export function editRoleShow(id) {
-  return request({
-    url: '/role/editRoleShow/' + id,
-    method: 'get'
-  })
-}
-export function roleAuthorizeShow(id) {
-  return request({
-    url: '/role/roleAuthorizeShow/' + id,
-    method: 'put'
-  })
-}
-export function operationRolePermission(data) {
-  return request({
-    url: '/roleResource/operationRolePermission',
-    method: 'post',
-    data
-  })
-}

+ 0 - 60
src/api/baseManage/summarizing.js

@@ -1,60 +0,0 @@
-import request from '@/utils/request'
-// 分包汇总分页
-export function tataOrdSubcontractPage(data) {
-    return request({
-        url: "/tataOrdSubcontract/page",
-        method: 'get',
-        params: data
-    })
-}
-// 分包状态
-export function tataOrdSubcontractstatuslist(){
-    return request ({
-        url:"/tataOrdSubcontract/status/list",
-        method:'get'
-    })
-}
-// 条码标签列表
-export function tataspilitproductQueryBarCodeLabel(data) {
-    return request({
-        url: '/tataSplitProduct/queryBarCodeLabel',
-        method: 'post',
-        data
-    })
-}
-// 查询生产进度图
-export function tataspilitproductGetProductProcess(data) {
-    return request({
-        url: `/tataSplitProduct/getProductProcess/${data}`,
-        method: 'get'
-    })
-}
-// 获取标签信息
-export function tataspilitproductGetBarCodeInfo(data) {
-    return request({
-        url: `/tataSplitProduct/getBarCodeInfo/${data}`,
-        method: 'get'
-    })
-}
-// 获取条码标签所属主单信息
-export function tataspilitproductGetBarCodeOwnOrderInfo(data) {
-    return request({
-        url: `/tataSplitProduct/getBarCodeOwnOrderInfo/${data}`,
-        method: 'get'
-    })
-}
-// 获取进程图内返记录
-export function internalReturnGetInternalReturnByUniqueCode(id, code, data) {
-    return request({
-        url: `/internalReturn/getInternalReturnByUniqueCode/${code}/${id}`,
-        method: 'get',
-        params: data
-    })
-}
-// 获取订单枚举状态
-export function ordPartOrdergetOrderStatus(){
-    return request ({
-        url:"/ordPartOrder/getOrderStatus",
-        method:'get'
-    })
-}

+ 0 - 90
src/api/common.js

@@ -1,53 +1,6 @@
 import request from '@/utils/request'
 
 // 公用接口
-// 查询所有角色
-export function queryRoleList() {
-  return request({
-    url: '/user/queryRoleList',
-    method: 'get'
-  })
-}
-// 已配区域三级联动
-export function getAreaList() {
-  return request({
-    url: '/area/getAreaList',
-    method: 'get'
-  })
-}
-
-// 工号下拉数据
-export function getJobCodeList() {
-  return request({
-    url: '/userMaintain/getJobCodeList',
-    method: 'get'
-  })
-}
-
-// 分店下拉列表
-export function branchManangeList() {
-  return request({
-    url: '/branchManange/list',
-    method: 'get'
-  })
-}
-
-// 系列下拉数据
-export function getSeriesList() {
-  return request({
-    url: '/series/getSeriesList',
-    method: 'get'
-  })
-}
-
-// 根据日期获取日期对象
-export function getDayMaintainByDate(params) {
-  return request({
-    url: '/dayMaintain/getDayMaintainByDate',
-    method: 'get',
-    params
-  })
-}
 
 // 公用导出
 export function exportApi(url, data, method) {
@@ -87,49 +40,6 @@ export function getExcelTemplate(type) {
   })
 }
 
-// 首饰类别列表信息
-export function jewelryList(params) {
-  return request({
-    url: '/jewelryCategory/jewelryList',
-    method: 'get',
-    params
-  })
-}
-
-// ics产品系列下拉数据
-export function getIcsSeriesList(params) {
-  return request({
-    url: '/series/getIcsSeriesList',
-    method: 'get',
-    params
-  })
-}
-
-// 小系列下拉数据
-export function getSmallSeriesList(params) {
-  return request({
-    url: '/smallSeries/getSmallSeriesList',
-    method: 'get',
-    params
-  })
-}
-
-// 根据等级获取已配区域
-export function getAreaListByLevel(params) {
-  return request({
-    url: '/area/getAreaListByLevel',
-    method: 'get',
-    params
-  })
-}
-// 条码筛选
-export function tataRuleColumnsList(params){
-    return request ({
-        url:'/tataRuleColumns/list',
-        method:'get',
-        params
-    })
-}
 // 根据登录信息获取用户权限
 export function getResources(params) {
   return request({

+ 0 - 89
src/api/internalReturn/index.js

@@ -1,89 +0,0 @@
-import request from '@/utils/request'
-
-//---------内返记录信息控制器
-
-// 修改详情
-export function detail(returnId) {
-  return request({
-    url: '/internalReturn/detail?returnId='+returnId,
-    method: 'GET'
-  })
-}
-
-// 修改
-export function edit(data) {
-  return request({
-    url: '/internalReturn/edit',
-    method: 'PUT',
-    data
-  })
-} 
- 
-// 批量导出-内返记录信息
-export function batchExport(params) {
-  return request({
-    url: '/internalReturn/export',
-    method: 'GET', 
-    responseType: "blob",
-    timeout: 300000,
-    params
-  })
-}
- 
-// 修改时-责任小单元,工艺环节,问题分类,返修的工艺环节
-export function getEditSelectDatas(params) {
-  return request({
-    url: '/internalReturn/getEditSelectDatas',
-    method: 'GET',
-    params
-  })
-} 
- 
-// getInternalReturnByUniqueCode 
-export function getInternalReturnByUniqueCode(uniqueCode) {
-  return request({
-    url: '/internalReturn/getInternalReturnByUniqueCode/'+uniqueCode,
-    method: 'GET' 
-  })
-}
-
-// getInternalReturnByProductCodeAndProcedureId
-export function getInternalReturnByProductCodeAndProcedureId(uniqueCode,procedureId) {
-  return request({
-    url: '/internalReturn/getInternalReturnByUniqueCode/'+uniqueCode+'/'+procedureId,
-    method: 'GET' 
-  })
-} 
- 
-// 内返记录信息列表 
-export function list(params) {
-  return request({
-    url: '/internalReturn/list',
-    method: 'GET',
-    params
-  })
-}
-// 获取工艺环节
-export function internalReturnFindProcesss(params){
-  return request ({
-    url:'/internalReturn/findProcesss',
-    method:'get',
-    params
-  })
-}
-// 根据工艺环节获取责任小单元
-export function internalReturnFindDutyPostByProcess(params){
-  return request({
-    url:'/internalReturn/findDutyPostByProcess',
-    method:"get",
-    params
-  })
-}
-// 根据工艺环节、责任小单元获取问题分类
-export function internalReturnFindQuestions(params){
-  return request ({
-    url:'/internalReturn/findQuestions',
-    method:'get',
-    params
-  })
-}

+ 0 - 56
src/api/internalReturn/question.js

@@ -1,56 +0,0 @@
-import request from '@/utils/request'  
-//--------------- 内返问题分类(生产厂) 控制器 
- 
-// 新增
-export function add(data) {
-  return request({
-    url: '/questionFactory/add',
-    method: 'PUT',
-    data
-  })
-}
- 
-// 详情
-export function detail(params) {
-  return request({
-    url: '/questionFactory/detail',
-    method: 'GET',
-    params
-  })
-} 
- 
-// 修改
-export function edit(data) {
-  return request({
-    url: '/questionFactory/edit',
-    method: 'PUT',
-    data
-  })
-}
- 
-// 内返问题分类-新增或编辑下拉数据
-export function getSelectDatas(params) {
-  return request({
-    url: '/questionFactory/getSelectDatas',
-    method: 'GET',
-    params
-  })
-}  
- 
-// 内返问题分类-分页列表
-export function list(params) {
-  return request({
-    url: '/questionFactory/list',
-    method: 'GET',
-    params
-  })
-}  
-
-// /questionFactory/{questionFactoryIds}
-// 删除
-export function deleteFactoryIds(id) {
-  return request({ 
-    url: `/questionFactory/${id}`, 
-    method: 'DELETE', 
-  })
-} 

+ 0 - 93
src/api/orderManage/splitOrder.js

@@ -1,93 +0,0 @@
-import request from '@/utils/request'
-
-export function getSplitRuleList(params) {
-  return request({
-    url: '/tataOrderSplitRule/list',
-    method: 'get',
-    params
-  })
-}
-
-export function addSplitRule(data) {
-  return request({
-    url: '/tataOrderSplitRule/add',
-    method: 'put',
-    data
-  })
-}
-export function getSplitRule(params) {
-  return request({
-    url: '/tataOrderSplitRule/detail',
-    method: 'get',
-    params
-  })
-}
-export function editSplitRule(data) {
-  return request({
-    url: '/tataOrderSplitRule/edit',
-    method: 'post',
-    data
-  })
-}
-export function changeStatus(data) {
-  return request({
-    url: '/tataOrderSplitRule/changeStatus',
-    method: 'post',
-    data
-  })
-}
-export function deleteRules(data) {
-  return request({
-    url: '/tataOrderSplitRule/delete',
-    method: 'delete',
-    data
-  })
-}
-export function getProductList(params) {
-  return request({
-    url: '/tataOrderProduct/list',
-    method: 'get',
-    params
-  })
-}
-
-export function getBatchNo() {
-  return request({
-    url: '/tataOrderProduct/getBatchNo',
-    method: 'get'
-  })
-}
-
-export function dispatch(data) {
-  return request({
-    url: '/tataOrderProduct/dispatch',
-    method: 'post',
-    data
-  })
-}
-export function copy(params) {
-  return request({
-    url: '/tataOrderSplitRule/copy',
-    method: 'post',
-    params
-  })
-}
-// export function integration() {
-//   return request({
-//     url: '/tataOrderProduct/integration',
-//     method: 'post'
-//   })
-// }
-export function orderProductDetail(params) {
-  return request({
-    url: '/ordPartOrder/orderProductDetail',
-    method: 'get',
-    params
-  })
-}
-export function getCount() {
-  return request({
-    url: '/tataOrderProduct/getCount',
-    method: 'get'
-  })
-}

+ 0 - 39
src/api/statistical/index.js

@@ -1,39 +0,0 @@
-import request from '@/utils/request'
-
-//库存统计
-export function getStoreServiceList(params) {
-  return request({
-    url: '/storeService/list',
-    method: 'get',
-    params
-  })
-}
-
-//生产统计
-export function queryOrderProductCountInfo(data) {
-  return request({
-    url: '/ordPartOrder/queryOrderProductCountInfo',
-    method: 'post',
-    data
-  })
-}
-
-// 内返统计
-export function queryInternalReturnCountInfo(data) {
-  return request({
-    url: '/internalReturnStatistics/queryInternalReturnCountInfo',
-    method: 'post',
-    data
-  })
-}
-
-// 生产统计导出 
-export function productAccountExport(params) {
-  return request({
-    url: '/ordPartOrder/productAccountExport',
-    method: 'post',
-    responseType: 'blob',
-    timeout: 300000,
-    params
-  })
-}

+ 0 - 249
src/api/warehouse/index.js

@@ -1,249 +0,0 @@
-import request from '@/utils/request'
-
-//-----------------出入库记录管理
-
-// 入库导出
-export function tataStoreRecordInExport(params) {
-  return request({
-    url: '/tataStoreRecord/in/export',
-    method: 'get',
-    responseType: 'blob',
-    timeout: 300000,
-    params
-  })
-}
-
-// 出库导出
-export function tataStoreRecordOutExport(params) {
-  return request({
-    url: '/tataStoreRecord/out/export',
-    method: 'get',
-    responseType: 'blob',
-    timeout: 300000,
-    params
-  })
-}
-
-// 出入库分页
-export function tataStoreRecordPage(params) {
-  return request({
-    url: '/tataStoreRecord/page',
-    method: 'get',
-    params
-  })
-}
-
-//-----------------大屏链接模块
-
-// 部分入库
-export function partStoreOrders(params) {
-  return request({
-    url: '/alert-order/partStoreOrders',
-    method: 'get',
-    params
-  })
-}
-
-// 待入库
-export function producingOrder(params) {
-  return request({
-    url: '/alert-order/producingOrder',
-    method: 'get',
-    params
-  })
-}
-
-// 查询预警订单
-export function queryAlertOrder(params) {
-  return request({
-    url: '/alert-order/queryAlertOrder',
-    method: 'get',
-    params
-  })
-}
-
-//----------------- 库位分类控制器
-// 新增
-export function storeCategoryAdd(data) {
-  return request({
-    url: '/storeCategory/add',
-    method: 'PUT',
-    data
-  })
-}
-
-// 编辑
-export function storeCategoryEdit(data) {
-  return request({
-    url: '/storeCategory/edit',
-    method: 'PUT',
-    data
-  })
-}
-
-// 库位分类树形数据显示
-export function storeCategoryTree() {
-  return request({
-    url: '/storeCategory/storeCategoryTree',
-    method: 'get'
-  })
-}
-
-// 删除
-export function deleteStoreCategoryId(id) {
-  return request({
-    url: `/storeCategory/${id}`,
-    method: 'DELETE'
-  })
-}
-
-//----------------- 库位信息控制器
-
-// 新增
-export function storeAdd(data) {
-  return request({
-    url: '/store/add',
-    method: 'PUT',
-    data
-  })
-}
-
-// 批量新增
-export function storeAddBatch(data) {
-  return request({
-    url: '/store/addBatch',
-    method: 'PUT',
-    data
-  })
-}
-
-// 详情
-export function storeDetail(params) {
-  return request({
-    url: '/store/detail',
-    method: 'get',
-    params
-  })
-}
-
-// 修改
-export function storeEdit(data) {
-  return request({
-    url: '/store/edit',
-    method: 'PUT',
-    data
-  })
-}
-
-// 材质一级大类
-export function getMaterialStairClassify(params) {
-  return request({
-    url: '/store/getMaterialStairClassify',
-    method: 'get',
-    params
-  })
-}
-
-// 库位列表
-export function storelist(params) {
-  return request({
-    url: '/store/list',
-    method: 'get',
-    params
-  })
-}
-
-// 存放订单信息列表
-export function storeOrders(params) {
-  return request({
-    url: '/store/storeOrders',
-    method: 'get',
-    params
-  })
-}
-
-// 退库
-export function storeRecede(data) {
-  return request({
-    url: '/store/storeRecede',
-    method: 'POST',
-    data
-  })
-}
-
-// 删除
-export function deleteStoreIds(id) {
-  return request({
-    url: `/store/${id}`,
-    method: 'DELETE'
-  })
-}
-
-//------------订单信息
-
-// 查询成品库房订单信息
-export function queryStoreOrderList(params) {
-  return request({
-    url: '/ordPartOrder/queryStoreOrderList',
-    method: 'get',
-    params
-  })
-}
-
-// 批量导出-成品库房订单信息
-export function ordPartOrderExport(params) {
-  return request({
-    url: '/ordPartOrder/export',
-    method: 'get',
-    responseType: 'blob',
-    timeout: 300000,
-    params
-  })
-}
-
-// 查询成品库房预警订单信息
-export function queryWarningOrderList(params) {
-  return request({
-    url: '/ordPartOrder/queryWarningOrderList',
-    method: 'get',
-    params
-  })
-}
-
-// 批量导出-成品库房预警订单
-export function exportWarning(params) {
-  return request({
-    url: '/ordPartOrder/exportWarning',
-    method: 'get',
-    responseType: 'blob',
-    timeout: 300000,
-    params
-  })
-}
-
-// 根据订单状态查询成品库房订单信息
-export function queryOrderListByStatus(params) {
-  return request({
-    url: '/ordPartOrder/queryOrderListByStatus',
-    method: 'get',
-    params
-  })
-}
-
-// 根据订单状态批量导出成品库房订单信息
-export function exportFileByStatus(params) {
-  return request({
-    url: '/ordPartOrder/exportFileByStatus',
-    method: 'get',
-    responseType: 'blob',
-    timeout: 300000,
-    params
-  })
-}
-// 获取提醒人员
-export function storeCategoryGetRemindStaffIds(){
-  return request({
-    url:"storeCategory/getRemindStaffIds",
-    method:"get"
-  })
-}

+ 0 - 20
src/api/warehouse/screenLink.js

@@ -1,20 +0,0 @@
-import request from '@/utils/request'
-
-export function getpartStoreOrders() {
-  return request({
-    url: '/alert-order/partStoreOrders',
-    method: 'get'
-  })
-}
-export function queryAlertOrder() {
-  return request({
-    url: '/alert-order/queryAlertOrder',
-    method: 'get'
-  })
-}
-export function getWaitingSendOut() {
-  return request({
-    url: '/alert-order/waitingSendOut',
-    method: 'get'
-  })
-}

+ 0 - 100
src/pages/example/components/editTemplate.vue

@@ -1,100 +0,0 @@
-<template>
-  <div>
-    <div class="editTemplate">
-      <el-form
-        :model="ruleForm"
-        :rules="rules"
-        ref="ruleForm"
-        label-width="100px"
-        class="demo-ruleForm"
-      >
-        <el-form-item label="活动名称" prop="name">
-          <el-input v-model="ruleForm.name"></el-input>
-        </el-form-item>
-        <el-form-item label="活动区域" prop="region">
-          <el-select popper-class="screen" class="screen" v-model="ruleForm.region" placeholder="请选择活动区域">
-            <el-option label="区域一" value="shanghai"></el-option>
-            <el-option label="区域二" value="beijing"></el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="即时配送" prop="delivery">
-          <el-switch v-model="ruleForm.delivery"></el-switch>
-        </el-form-item>
-        <el-form-item label="活动性质" prop="type">
-          <el-checkbox-group v-model="ruleForm.type">
-            <el-checkbox label="美食/餐厅线上活动" name="type"></el-checkbox>
-            <el-checkbox label="地推活动" name="type"></el-checkbox>
-            <el-checkbox label="线下主题活动" name="type"></el-checkbox>
-            <el-checkbox label="单纯品牌曝光" name="type"></el-checkbox>
-          </el-checkbox-group>
-        </el-form-item>
-        <el-form-item label="特殊资源" prop="resource">
-          <el-radio-group v-model="ruleForm.resource">
-            <el-radio label="线上品牌商赞助"></el-radio>
-            <el-radio label="线下场地免费"></el-radio>
-          </el-radio-group>
-        </el-form-item>
-        <el-form-item label="活动形式" prop="desc">
-          <el-input type="textarea" rows="4" v-model="ruleForm.desc"></el-input>
-        </el-form-item>
-      </el-form>
-      <div class="bottomButton">
-        <el-button>取消</el-button>
-        <el-button type="primary">提交</el-button>
-      </div>
-    </div>
-  </div>
-</template>
-
-<script>
-export default {
-  name: 'editTemplate',
-  components: {},
-  props: {},
-  data() {
-    return {
-      ruleForm: {
-        name: '',
-        region: '',
-        delivery: false,
-        type: [],
-        resource: '',
-        desc: ''
-      },
-      rules: {
-        name: [
-          { required: true, message: '请输入活动名称', trigger: 'blur' },
-          { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
-        ],
-        region: [
-          { required: true, message: '请选择活动区域', trigger: 'change' }
-        ],
-        type: [
-          {
-            type: 'array',
-            required: true,
-            message: '请至少选择一个活动性质',
-            trigger: 'change'
-          }
-        ],
-        resource: [
-          { required: true, message: '请选择活动资源', trigger: 'change' }
-        ],
-        desc: [{ required: true, message: '请填写活动形式', trigger: 'blur' }]
-      }
-    }
-  },
-  created() {},
-  methods: {}
-}
-</script>
-<style lang="less">
-.editTemplate {
-  padding: 0 20px;
-  background: #fff;
-  min-height: 100%;
-  input {
-    width: 300px;
-  }
-}
-</style>

+ 0 - 13
src/pages/example/create.vue

@@ -1,13 +0,0 @@
-<template>
-  <edit-template :is-edit="0" />
-</template>
-
-<script>
-import editTemplate from './components/editTemplate'
-
-export default {
-  name: 'CreateForm',
-  components: { editTemplate }
-}
-</script>
-

+ 0 - 0
src/pages/example/index.less


+ 0 - 115
src/pages/example/index.vue

@@ -1,115 +0,0 @@
-<template>
-  <div class="example">
-    {{ this.$route.path }}
-    <search-bar @search="search" @reset="reset">
-      <el-form slot="form" ref="form" :model="form" label-width="130px" inline>
-        <el-form-item label="项目名称">
-          <el-input v-model.trim="form.name"></el-input>
-        </el-form-item>
-      </el-form>
-    </search-bar>
-    <div class="operationButton">
-      <el-button size="small" type="primary" @click="create">新增</el-button>
-      <el-button size="small" type="primary">导出</el-button>
-    </div>
-    <el-table border size="mini" :data="tableData" style="width: 100%">
-      <el-table-column type="selection" align="center" width="55"></el-table-column>
-      <el-table-column
-        prop="date"
-        label="日期"
-        width="180"
-        align="center"
-        show-overflow-tooltip
-      ></el-table-column>
-      <el-table-column
-        prop="name"
-        label="姓名"
-        width="180"
-        align="center"
-        show-overflow-tooltip
-      ></el-table-column>
-      <el-table-column
-        prop="address"
-        label="地址"
-        min-width="300"
-        align="center"
-        show-overflow-tooltip
-      ></el-table-column>
-      <el-table-column fixed="right" label="操作" width="100" align="center">
-        <template slot-scope="scope">
-          <el-button size="small" type="text">查看</el-button>
-          <el-button size="small" type="text">编辑</el-button>
-        </template>
-      </el-table-column>
-    </el-table>
-    <pagination
-      :total="total"
-      :currentPage="currentPage"
-      :pageSize="pageSize"
-      @changePage="changePage"
-      @changePageSize="changePageSize"
-    ></pagination>
-  </div>
-</template>
-
-<script>
-import searchBar from '@/components/searchBar';
-import pagination from '@/components/pagination';
-export default {
-  name: 'example',
-  components: {
-    searchBar,
-    pagination,
-  },
-  data() {
-    return {
-      form: {
-        name: '',
-      },
-      tableData: [
-        {
-          date: '2016-05-02',
-          name: '王小虎',
-          address: '上海市普陀区金沙江路 1518 弄',
-        },
-        {
-          date: '2016-05-04',
-          name: '王小虎',
-          address: '上海市普陀区金沙江路 1517 弄',
-        },
-        {
-          date: '2016-05-01',
-          name: '王小虎',
-          address: '上海市普陀区金沙江路 1519 弄',
-        },
-        {
-          date: '2016-05-03',
-          name: '王小虎',
-          address: '上海市普陀区金沙江路 1516 弄',
-        },
-      ],
-      total: 0,
-      pageSize: 10,
-      currentPage: 1,
-    };
-  },
-  // 如果列表页加了keepAlive,created则会无效,走activated
-  activated() {},
-  methods: {
-    // 搜索
-    search() {},
-    // 重置
-    reset() {
-      this.form = {
-        name: '',
-      };
-    },
-    create() {
-      this.$router.push('/createExample');
-    },
-    changePage() {},
-    changePageSize(){}
-  },
-};
-</script>
-<style lang="less"></style>

+ 0 - 9
src/pages/routeBox/index.vue

@@ -1,9 +0,0 @@
-<template>
-  <router-view />
-</template>
-
-<script>
-export default {};
-</script>
-
-<style></style>