sunlupeng 8 ماه پیش
والد
کامیت
55fa871fa4
5فایلهای تغییر یافته به همراه97 افزوده شده و 6 حذف شده
  1. 4 4
      config/dev.env.js
  2. 91 0
      package.json
  3. 0 0
      src/api/goodsTypeList.js
  4. 1 1
      src/views/goodsManage/goodsList.vue
  5. 1 1
      src/views/goodsManage/goodsTypeList.vue

+ 4 - 4
config/dev.env.js

@@ -2,12 +2,12 @@ module.exports = {
 	NODE_ENV: '"development"',
 	ENV_CONFIG: '"dev"',
   // 本地数据库:登录用户名 admin123,密码 admin123
-  // BASE_API: '"http://192.168.100.87:9083/admin"',
-  // OS_API: '"http://192.168.100.87:9083/admin"',
+  BASE_API: '"http://192.168.100.188:9085/admin"',
+  OS_API: '"http://192.168.100.188:9085/admin"',
   // BASE_API: '"http://47.103.79.143:9085/admin"',
   // OS_API: '"http://47.103.79.143:9085/admin"',
-  OS_API: '"https://xiaoyou.dgtis.com/admin"',
-  BASE_API: '"https://xiaoyou.dgtis.com/admin"',
+  // OS_API: '"https://xiaoyou.dgtis.com/admin"',
+  // BASE_API: '"https://xiaoyou.dgtis.com/admin"',
   
   
   

+ 91 - 0
package.json

@@ -0,0 +1,91 @@
+{
+  "name": "alumni-record-admin",
+  "version": "0.1.0",
+  "description": "litemall-admin basing on vue-element-admin 3.6.2",
+  "author": "linlinjava <linlinjava@163.com>",
+  "license": "MIT",
+  "private": true,
+  "scripts": {
+    "dev": "webpack-dev-server --open --inline --progress --config build/webpack.dev.conf.js",
+    "build:prod": "cross-env NODE_ENV=production env_config=prod node build/build.js",
+    "lint": "eslint --ext .js,.vue src",
+    "test": "npm run lint"
+  },
+  "dependencies": {
+    "@riophae/vue-treeselect": "0.4.0",
+    "axios": "0.17.1",
+    "clipboard": "1.7.1",
+    "echarts": "3.8.5",
+    "element-ui": "2.15.13",
+    "file-saver": "1.3.3",
+    "font-awesome": "4.7.0",
+    "js-cookie": "2.2.0",
+    "mockjs": "1.0.1-beta3",
+    "normalize.css": "7.0.0",
+    "nprogress": "0.2.0",
+    "screenfull": "3.3.2",
+    "vue": "2.6.12",
+    "vue-count-to": "1.0.13",
+    "vue-router": "3.0.1",
+    "vue-splitpane": "1.0.2",
+    "vuex": "3.0.1",
+    "xlsx": "^0.11.16"
+  },
+  "devDependencies": {
+    "autoprefixer": "7.2.3",
+    "babel-core": "6.26.0",
+    "babel-eslint": "8.0.3",
+    "babel-helper-vue-jsx-merge-props": "2.0.3",
+    "babel-loader": "7.1.2",
+    "babel-plugin-syntax-jsx": "6.18.0",
+    "babel-plugin-transform-runtime": "6.23.0",
+    "babel-plugin-transform-vue-jsx": "3.5.0",
+    "babel-preset-env": "1.6.1",
+    "babel-preset-stage-2": "6.24.1",
+    "chalk": "2.3.0",
+    "copy-webpack-plugin": "4.3.0",
+    "cross-env": "5.1.1",
+    "css-loader": "0.28.7",
+    "eslint": "4.13.1",
+    "eslint-friendly-formatter": "3.0.0",
+    "eslint-loader": "1.9.0",
+    "eslint-plugin-html": "4.0.1",
+    "extract-text-webpack-plugin": "3.0.2",
+    "file-loader": "1.1.5",
+    "friendly-errors-webpack-plugin": "1.6.1",
+    "html-webpack-plugin": "2.30.1",
+    "node-notifier": "5.1.2",
+    "node-sass": "7.0.1",
+    "optimize-css-assets-webpack-plugin": "3.2.0",
+    "ora": "1.3.0",
+    "portfinder": "1.0.13",
+    "postcss-import": "11.0.0",
+    "postcss-loader": "2.0.9",
+    "postcss-url": "7.3.0",
+    "pushstate-server": "3.0.1",
+    "rimraf": "2.6.2",
+    "sass-loader": "6.0.6",
+    "script-loader": "0.7.2",
+    "semver": "5.4.1",
+    "shelljs": "0.7.8",
+    "svg-sprite-loader": "3.5.2",
+    "uglifyjs-webpack-plugin": "1.1.3",
+    "url-loader": "0.6.2",
+    "vue-loader": "13.5.0",
+    "vue-style-loader": "3.0.3",
+    "vue-template-compiler": "2.6.12",
+    "webpack": "3.10.0",
+    "webpack-bundle-analyzer": "2.9.1",
+    "webpack-dev-server": "2.9.7",
+    "webpack-merge": "4.1.1"
+  },
+  "engines": {
+    "node": ">= 4.0.0",
+    "npm": ">= 3.0.0"
+  },
+  "browserslist": [
+    "> 1%",
+    "last 2 versions",
+    "not ie <= 8"
+  ]
+}

src/api/certManage.js → src/api/goodsTypeList.js


+ 1 - 1
src/views/goodsManage/goodsList.vue

@@ -205,7 +205,7 @@ categoryOptions<template>
 </template>
 <script>
 import { createItem, updateItem, goodsList, removeItem } from "@/api/goodsManage";
-import { listDept } from "@/api/certManage";
+import { listDept } from "@/api/goodsTypeList";
 import { listBrand } from '@/api/brand';
 import Treeselect from "@riophae/vue-treeselect";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";

+ 1 - 1
src/views/goodsManage/goodsTypeList.vue

@@ -100,7 +100,7 @@
   </template>
   
   <script>
-  import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild } from "@/api/certManage";
+  import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild } from "@/api/goodsTypeList";
   import Treeselect from "@riophae/vue-treeselect";
   import "@riophae/vue-treeselect/dist/vue-treeselect.css";
   import waves from "@/directive/waves"; // 水波纹指令