提交 1f4a57b3 作者: 潘亚楠

初始化

上级 ef7b8159
......@@ -11,7 +11,8 @@
<!-- 引入vue -->
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
<!-- 引入组件库 -->
<script src="https://web.allhome.com.cn/index.js"></script>
<!-- <script src="https://web.allhome.com.cn/index.js"></script> -->
<script src="http://192.168.10.200:7400/index.js"></script>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
......
......@@ -687,6 +687,15 @@
"source-map": "^0.5.7"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
......@@ -1485,6 +1494,17 @@
"globals": "^9.18.0",
"invariant": "^2.2.2",
"lodash": "^4.17.4"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"babel-types": {
......@@ -1694,6 +1714,15 @@
"type-is": "~1.6.17"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"qs": {
"version": "6.7.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
......@@ -2505,6 +2534,15 @@
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",
"dev": true
},
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
......@@ -2536,6 +2574,17 @@
"finalhandler": "1.1.0",
"parseurl": "~1.3.2",
"utils-merge": "1.0.1"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"connect-history-api-fallback": {
......@@ -3183,12 +3232,20 @@
"dev": true
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"version": "4.1.1",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-4.1.1.tgz",
"integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=",
"dev": true,
"requires": {
"ms": "2.0.0"
"ms": "^2.1.1"
},
"dependencies": {
"ms": {
"version": "2.1.2",
"resolved": "http://39.106.145.141:9000/repository/node-public/ms/-/ms-2.1.2.tgz",
"integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=",
"dev": true
}
}
},
"decamelize": {
......@@ -4091,6 +4148,17 @@
"requires": {
"debug": "^2.6.9",
"resolve": "^1.5.0"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"eslint-loader": {
......@@ -4114,6 +4182,17 @@
"requires": {
"debug": "^2.6.8",
"pkg-dir": "^2.0.0"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"eslint-plugin-import": {
......@@ -4135,6 +4214,15 @@
"resolve": "^1.11.0"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"doctrine": {
"version": "1.5.0",
"resolved": "https://registry.npm.taobao.org/doctrine/download/doctrine-1.5.0.tgz",
......@@ -4533,6 +4621,15 @@
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",
"dev": true
},
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"finalhandler": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
......@@ -4681,6 +4778,17 @@
"debug": "2.6.9",
"mkdirp": "0.5.1",
"yauzl": "2.4.1"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"extsprintf": {
......@@ -4818,6 +4926,15 @@
"unpipe": "~1.0.0"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"statuses": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz",
......@@ -5047,7 +5164,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
......@@ -5068,12 +5186,14 @@
"balanced-match": {
"version": "1.0.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
......@@ -5088,17 +5208,20 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
......@@ -5215,7 +5338,8 @@
"inherits": {
"version": "2.0.3",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"ini": {
"version": "1.3.5",
......@@ -5227,6 +5351,7 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -5241,6 +5366,7 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
......@@ -5248,12 +5374,14 @@
"minimist": {
"version": "0.0.8",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"minipass": {
"version": "2.3.5",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
......@@ -5272,6 +5400,7 @@
"version": "0.5.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
......@@ -5352,7 +5481,8 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
......@@ -5364,6 +5494,7 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
......@@ -5449,7 +5580,8 @@
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
......@@ -5485,6 +5617,7 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
......@@ -5504,6 +5637,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
......@@ -5547,12 +5681,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.0.3",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},
......@@ -6216,6 +6352,17 @@
"agent-base": "2",
"debug": "2",
"extend": "3"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"http-proxy-middleware": {
......@@ -6286,6 +6433,15 @@
"to-regex": "^3.0.1"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"define-property": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
......@@ -6547,6 +6703,17 @@
"agent-base": "2",
"debug": "2",
"extend": "3"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"iconv-lite": {
......@@ -9101,6 +9268,17 @@
"pac-resolver": "~2.0.0",
"raw-body": "2",
"socks-proxy-agent": "2"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
"pac-resolver": {
......@@ -9402,6 +9580,15 @@
"resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
"integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",
"dev": true
},
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
}
}
},
......@@ -11531,6 +11718,15 @@
"socks-proxy-agent": "2"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"lru-cache": {
"version": "2.6.5",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.6.5.tgz",
......@@ -11847,6 +12043,15 @@
"to-regex": "^3.0.1"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"define-property": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
......@@ -12689,6 +12894,15 @@
"statuses": "~1.4.0"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"http-errors": {
"version": "1.6.3",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
......@@ -12752,6 +12966,15 @@
"negotiator": "0.6.1"
}
},
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"http-errors": {
"version": "1.6.3",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
......@@ -12958,6 +13181,15 @@
"use": "^3.1.0"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"define-property": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
......@@ -13228,6 +13460,15 @@
"url-parse": "^1.1.8"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"faye-websocket": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz",
......@@ -14597,6 +14838,15 @@
"to-regex": "^3.0.1"
},
"dependencies": {
"debug": {
"version": "2.6.9",
"resolved": "http://39.106.145.141:9000/repository/node-public/debug/-/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dev": true,
"requires": {
"ms": "2.0.0"
}
},
"define-property": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
......@@ -14868,6 +15118,16 @@
"minimalistic-assert": "^1.0.0"
}
},
"web_notebook-test1": {
"version": "1.2.3",
"resolved": "http://39.106.145.141:9000/repository/node-public/web_notebook-test1/-/web_notebook-test1-1.2.3.tgz",
"integrity": "sha512-tsBfKkPaYnHc/1jA5J3Uh+g05ivdYklZOV6GyxnnkW9N8tKhisS3akBhjJncpzbvme7wGV56j1OWZFf7jcTOAg==",
"requires": {
"axios": "^0.18.0",
"vue-router": "^3.0.1",
"vuex": "^3.1.0"
}
},
"webpack": {
"version": "3.12.0",
"resolved": "https://registry.npmjs.org/webpack/-/webpack-3.12.0.tgz",
......
......@@ -15,7 +15,8 @@
"dependencies": {
"axios": "^0.18.0",
"vue-router": "^3.0.1",
"vuex": "^3.1.0"
"vuex": "^3.1.0",
"web_notebook-test1": "^1.2.3"
},
"devDependencies": {
"autoprefixer": "^7.1.2",
......@@ -37,6 +38,7 @@
"cross-env": "^5.0.1",
"cross-spawn": "^5.0.1",
"css-loader": "^0.28.0",
"debug": "^4.1.1",
"eslint": "^4.15.0",
"eslint-config-standard": "^10.2.1",
"eslint-friendly-formatter": "^3.0.0",
......
<template>
<div id="app">
<router-view/>
<el-container>
<el-header>
<el-row>
<el-col :span="24">
<el-button @click="$router.back()">首页</el-button>
</el-col>
</el-row>
</el-header>
<el-main>
<el-row>
<el-col :span="24">
<router-view></router-view>
</el-col>
</el-row>
</el-main>
<el-footer></el-footer>
</el-container>
</div>
</template>
<script>
export default {
name: 'App'
name: "App"
};
</script>
<style lang="scss">
*{
font-family: '微软雅黑';
* {
font-family: "微软雅黑";
}
body {
margin: 0;
padding: 0;
background-color: #f7f7f7 !important;
#app{
display: flex;
}
}
</style>
......@@ -9,11 +9,10 @@ axios.interceptors.request.use((config) => {
return Promise.reject(error.response.data)
})
let version = "v1"
let path = {
// 开发
development: `http://192.168.10.200:8009/projectName/${version}`,
development: `http://192.168.10.200:8020/upaLogs`,
// 200
lan: `http://192.168.10.200:8009/projectName/${version}`,
// 测试
......
......@@ -2,6 +2,7 @@ import Vue from 'vue';
import Router from 'vue-router';
// import HelloWorld from '@/components/HelloWorld'
import Index from '@/view/index';
import ButtonClick from '@/view/ButtonClick'
Vue.use(Router);
......@@ -11,6 +12,11 @@ export default new Router({
path: '/',
name: 'index',
component: Index
},
{
path: '/buttonClick',
name: 'buttonClick',
component: ButtonClick,
}
]
});
<template>
<div>
<el-button @click="successfulClick">正常响应</el-button>
<el-button @click="errorClick">异常响应</el-button>
</div>
</template>
<script>
/**
* @date 2019.10.24
* @author 潘亚楠
* @information button点击操作日志手机测试页
*/
import debug from 'debug';
console.log(debug);
export default {
name: 'ButtonClick',
methods: {
/**
* @date 2019.10.24
* @author 潘亚楠
* @information 服务器正常响应的点击事件
*/
successfulClick() {
},
/**
* @date 2019.10.24
* @author 潘亚楠
* @information 服务器异常响应的点击事件
*/
errorClick() {
}
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div id="index">
<el-button @click="$router.push('buttonClick')">按钮测试</el-button>
<qj-demo message="基础组件说明"></qj-demo>
<qj-business msg1="业务组件说明"></qj-business>
</div>
......@@ -12,8 +13,8 @@
* @date 2019-05-17
*/
export default {
mounted () {
console.log('测试:', this);
mounted() {
console.log("测试:", this);
}
};
</script>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论