Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fd70340e
authored
May 28, 2020
by
lishengfu
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of gitlab.corp.qinqinxiaobao.com:frontend_vue/qqxb-self-service
parents
9819eaae
b7c20a82
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
143 additions
and
57 deletions
package-lock.json
package.json
src/router/employee/employee-router.ts
src/views/test.vue
vue.config.js
package-lock.json
View file @
fd70340e
...
...
@@ -1304,6 +1304,70 @@
"tslint"
:
"^5.20.1"
,
"webpack"
:
"^4.0.0"
,
"yorkie"
:
"^2.0.0"
},
"dependencies"
:
{
"braces"
:
{
"version"
:
"3.0.2"
,
"resolved"
:
"https://registry.npmjs.org/braces/-/braces-3.0.2.tgz"
,
"integrity"
:
"sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A=="
,
"dev"
:
true
,
"requires"
:
{
"fill-range"
:
"^7.0.1"
}
},
"fill-range"
:
{
"version"
:
"7.0.1"
,
"resolved"
:
"https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz"
,
"integrity"
:
"sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ=="
,
"dev"
:
true
,
"requires"
:
{
"to-regex-range"
:
"^5.0.1"
}
},
"is-number"
:
{
"version"
:
"7.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz"
,
"integrity"
:
"sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
,
"dev"
:
true
},
"micromatch"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz"
,
"integrity"
:
"sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q=="
,
"dev"
:
true
,
"requires"
:
{
"braces"
:
"^3.0.1"
,
"picomatch"
:
"^2.0.5"
}
},
"semver"
:
{
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
,
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
,
"dev"
:
true
},
"to-regex-range"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
,
"integrity"
:
"sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="
,
"dev"
:
true
,
"requires"
:
{
"is-number"
:
"^7.0.0"
}
},
"ts-loader"
:
{
"version"
:
"6.2.2"
,
"resolved"
:
"https://registry.npmjs.org/ts-loader/-/ts-loader-6.2.2.tgz"
,
"integrity"
:
"sha512-HDo5kXZCBml3EUPcc7RlZOV/JGlLHwppTLEHb3SHnr5V7NXD4klMEkrhJe5wgRbaWsSXi+Y1SIBN/K9B6zWGWQ=="
,
"dev"
:
true
,
"requires"
:
{
"chalk"
:
"^2.3.0"
,
"enhanced-resolve"
:
"^4.0.0"
,
"loader-utils"
:
"^1.0.2"
,
"micromatch"
:
"^4.0.0"
,
"semver"
:
"^6.0.0"
}
}
}
},
"@vue/cli-plugin-vuex"
:
{
...
...
@@ -1899,7 +1963,6 @@
"version"
:
"3.2.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz"
,
"integrity"
:
"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA=="
,
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^1.9.0"
}
...
...
@@ -2338,8 +2401,7 @@
"big.js"
:
{
"version"
:
"5.2.2"
,
"resolved"
:
"https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz"
,
"integrity"
:
"sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
,
"dev"
:
true
"integrity"
:
"sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
},
"binary-extensions"
:
{
"version"
:
"2.0.0"
,
...
...
@@ -2858,7 +2920,6 @@
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
...
...
@@ -3173,7 +3234,6 @@
"version"
:
"1.9.3"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz"
,
"integrity"
:
"sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg=="
,
"dev"
:
true
,
"requires"
:
{
"color-name"
:
"1.1.3"
}
...
...
@@ -3181,8 +3241,7 @@
"color-name"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz"
,
"integrity"
:
"sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
,
"dev"
:
true
"integrity"
:
"sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"color-string"
:
{
"version"
:
"1.5.3"
,
...
...
@@ -3496,8 +3555,7 @@
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
,
"integrity"
:
"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
,
"dev"
:
true
"integrity"
:
"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"cosmiconfig"
:
{
"version"
:
"5.2.1"
,
...
...
@@ -4344,8 +4402,7 @@
"emojis-list"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz"
,
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
,
"dev"
:
true
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
},
"encodeurl"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -4366,7 +4423,6 @@
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.1.tgz"
,
"integrity"
:
"sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA=="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.2"
,
"memory-fs"
:
"^0.5.0"
,
...
...
@@ -4377,7 +4433,6 @@
"version"
:
"0.5.0"
,
"resolved"
:
"https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz"
,
"integrity"
:
"sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA=="
,
"dev"
:
true
,
"requires"
:
{
"errno"
:
"^0.1.3"
,
"readable-stream"
:
"^2.0.1"
...
...
@@ -4395,7 +4450,6 @@
"version"
:
"0.1.7"
,
"resolved"
:
"https://registry.npmjs.org/errno/-/errno-0.1.7.tgz"
,
"integrity"
:
"sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg=="
,
"dev"
:
true
,
"requires"
:
{
"prr"
:
"~1.0.1"
}
...
...
@@ -4457,8 +4511,7 @@
"escape-string-regexp"
:
{
"version"
:
"1.0.5"
,
"resolved"
:
"https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz"
,
"integrity"
:
"sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
,
"dev"
:
true
"integrity"
:
"sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"eslint-scope"
:
{
"version"
:
"4.0.3"
,
...
...
@@ -5160,8 +5213,7 @@
"graceful-fs"
:
{
"version"
:
"4.2.4"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz"
,
"integrity"
:
"sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
,
"dev"
:
true
"integrity"
:
"sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
},
"gzip-size"
:
{
"version"
:
"5.1.1"
,
...
...
@@ -5224,8 +5276,7 @@
"has-flag"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz"
,
"integrity"
:
"sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
,
"dev"
:
true
"integrity"
:
"sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
},
"has-symbols"
:
{
"version"
:
"1.0.1"
,
...
...
@@ -5698,8 +5749,7 @@
"inherits"
:
{
"version"
:
"2.0.4"
,
"resolved"
:
"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
,
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
,
"dev"
:
true
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"internal-ip"
:
{
"version"
:
"4.3.0"
,
...
...
@@ -6041,8 +6091,7 @@
"isarray"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz"
,
"integrity"
:
"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
,
"dev"
:
true
"integrity"
:
"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
},
"isexe"
:
{
"version"
:
"2.0.0"
,
...
...
@@ -6319,7 +6368,6 @@
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz"
,
"integrity"
:
"sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA=="
,
"dev"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
...
...
@@ -6330,7 +6378,6 @@
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/json5/-/json5-1.0.1.tgz"
,
"integrity"
:
"sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow=="
,
"dev"
:
true
,
"requires"
:
{
"minimist"
:
"^1.2.0"
}
...
...
@@ -6660,8 +6707,7 @@
"minimist"
:
{
"version"
:
"1.2.5"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz"
,
"integrity"
:
"sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
,
"dev"
:
true
"integrity"
:
"sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
"minipass"
:
{
"version"
:
"3.1.3"
,
...
...
@@ -7416,8 +7462,7 @@
"picomatch"
:
{
"version"
:
"2.2.2"
,
"resolved"
:
"https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz"
,
"integrity"
:
"sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
,
"dev"
:
true
"integrity"
:
"sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
},
"pify"
:
{
"version"
:
"4.0.1"
,
...
...
@@ -8171,8 +8216,7 @@
"process-nextick-args"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz"
,
"integrity"
:
"sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
,
"dev"
:
true
"integrity"
:
"sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
"promise"
:
{
"version"
:
"7.3.1"
,
...
...
@@ -8203,8 +8247,7 @@
"prr"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/prr/-/prr-1.0.1.tgz"
,
"integrity"
:
"sha1-0/wRS6BplaRexok/SEzrHXj19HY="
,
"dev"
:
true
"integrity"
:
"sha1-0/wRS6BplaRexok/SEzrHXj19HY="
},
"pseudomap"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -8376,7 +8419,6 @@
"version"
:
"2.3.7"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz"
,
"integrity"
:
"sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw=="
,
"dev"
:
true
,
"requires"
:
{
"core-util-is"
:
"~1.0.0"
,
"inherits"
:
"~2.0.3"
,
...
...
@@ -8734,8 +8776,7 @@
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
,
"dev"
:
true
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"safe-regex"
:
{
"version"
:
"1.1.0"
,
...
...
@@ -9517,7 +9558,6 @@
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz"
,
"integrity"
:
"sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="
,
"dev"
:
true
,
"requires"
:
{
"safe-buffer"
:
"~5.1.0"
}
...
...
@@ -9585,7 +9625,6 @@
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
...
...
@@ -9620,8 +9659,7 @@
"tapable"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz"
,
"integrity"
:
"sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA=="
,
"dev"
:
true
"integrity"
:
"sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA=="
},
"terser"
:
{
"version"
:
"4.7.0"
,
...
...
@@ -9830,10 +9868,9 @@
}
},
"ts-loader"
:
{
"version"
:
"6.2.2"
,
"resolved"
:
"https://registry.npmjs.org/ts-loader/-/ts-loader-6.2.2.tgz"
,
"integrity"
:
"sha512-HDo5kXZCBml3EUPcc7RlZOV/JGlLHwppTLEHb3SHnr5V7NXD4klMEkrhJe5wgRbaWsSXi+Y1SIBN/K9B6zWGWQ=="
,
"dev"
:
true
,
"version"
:
"7.0.5"
,
"resolved"
:
"https://registry.npmjs.org/ts-loader/-/ts-loader-7.0.5.tgz"
,
"integrity"
:
"sha512-zXypEIT6k3oTc+OZNx/cqElrsbBtYqDknf48OZos0NQ3RTt045fBIU8RRSu+suObBzYB355aIPGOe/3kj9h7Ig=="
,
"requires"
:
{
"chalk"
:
"^2.3.0"
,
"enhanced-resolve"
:
"^4.0.0"
,
...
...
@@ -9846,7 +9883,6 @@
"version"
:
"3.0.2"
,
"resolved"
:
"https://registry.npmjs.org/braces/-/braces-3.0.2.tgz"
,
"integrity"
:
"sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A=="
,
"dev"
:
true
,
"requires"
:
{
"fill-range"
:
"^7.0.1"
}
...
...
@@ -9855,7 +9891,6 @@
"version"
:
"7.0.1"
,
"resolved"
:
"https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz"
,
"integrity"
:
"sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ=="
,
"dev"
:
true
,
"requires"
:
{
"to-regex-range"
:
"^5.0.1"
}
...
...
@@ -9863,14 +9898,12 @@
"is-number"
:
{
"version"
:
"7.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz"
,
"integrity"
:
"sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
,
"dev"
:
true
"integrity"
:
"sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
},
"micromatch"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz"
,
"integrity"
:
"sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q=="
,
"dev"
:
true
,
"requires"
:
{
"braces"
:
"^3.0.1"
,
"picomatch"
:
"^2.0.5"
...
...
@@ -9879,14 +9912,12 @@
"semver"
:
{
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
,
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
,
"dev"
:
true
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
},
"to-regex-range"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
,
"integrity"
:
"sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="
,
"dev"
:
true
,
"requires"
:
{
"is-number"
:
"^7.0.0"
}
...
...
@@ -10228,8 +10259,7 @@
"util-deprecate"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
,
"integrity"
:
"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
,
"dev"
:
true
"integrity"
:
"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"util.promisify"
:
{
"version"
:
"1.0.1"
,
...
...
package.json
View file @
fd70340e
...
...
@@ -14,6 +14,7 @@
"
oidc-client
"
:
"^1.10.1"
,
"
qs
"
:
"^6.9.4"
,
"
qs.js
"
:
"^0.1.12"
,
"
ts-loader
"
:
"^7.0.5"
,
"
vant
"
:
"^2.8.3"
,
"
vue
"
:
"^2.6.11"
,
"
vue-axios
"
:
"^2.1.5"
,
...
...
src/router/employee/employee-router.ts
View file @
fd70340e
...
...
@@ -79,5 +79,15 @@ export default [
path
:
'/paySlipsMonth'
,
name
:
'PaySlipsMonth'
,
component
:
()
=>
import
(
"@/views/PaySlipsMonth.vue"
)
},
{
// 测试页面
path
:
'/test'
,
name
:
'test'
,
component
:
()
=>
import
(
"@/views/test.vue"
),
meta
:{
title
:
'测试页面'
,
}
}
]
\ No newline at end of file
src/views/test.vue
0 → 100644
View file @
fd70340e
<
template
>
<div
class=
"home"
>
<van-button
type=
"primary"
></van-button>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Button
}
from
"vant"
;
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
Vue
.
use
(
Button
);
@
Component
({
name
:
"Home"
,
})
export
default
class
Home
extends
Vue
{
private
list
:
any
=
[];
created
()
{
this
.
$server
.
EmployeeService
.
getUserInfo
({}).
then
(
res
=>
{
console
.
log
(
res
);
});
}
}
</
script
>
\ No newline at end of file
vue.config.js
View file @
fd70340e
const
path
=
require
(
"path"
);
const
merge
=
require
(
'webpack-merge'
);
const
tsImportPluginFactory
=
require
(
'ts-import-plugin'
);
module
.
exports
=
{
// 基本路径
...
...
@@ -40,7 +42,23 @@ module.exports = {
.
use
(
'ts-loader'
)
.
loader
(
'ts-loader'
)
.
tap
(
options
=>
{
return
Object
.
assign
(
options
||
{},
{
allowTsInNodeModules
:
true
});
options
=
merge
(
options
,
{
transpileOnly
:
true
,
getCustomTransformers
:
()
=>
({
before
:
[
tsImportPluginFactory
({
libraryName
:
"vant"
,
libraryDirectory
:
"es"
,
style
:
true
})
]
}),
compilerOptions
:
{
module
:
'es2015'
}
});
return
options
;
//return Object.assign(options || {}, { allowTsInNodeModules: true });
});
},
configureWebpack
:
config
=>
{
...
...
@@ -63,7 +81,8 @@ module.exports = {
// css预设器配置项
loaderOptions
:
{},
// 启用 CSS modules for all css / pre-processor files.
modules
:
false
modules
:
false
,
//requireModuleExtension
},
// use thread-loader for babel & TS in production build
// enabled by default if the machine has more than 1 cores
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment