From 093fd7d554ae52a461a8b9f51f72f66d8ed6bc77 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 12 Jul 2021 14:32:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=EF=BC=8C?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86=EF=BC=8C=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AD=89=EF=BC=8C=E4=BB=A5=E5=8F=8A=E5=8E=BB?= =?UTF-8?q?=E9=99=A4userId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 102 ++++++++++++++--------------- package.json | 1 - src/components/Header.vue | 25 +++---- src/utils/api.js | 50 +++++++------- src/views/customer/AddCustomer.vue | 14 ++-- src/views/data/Framework.vue | 1 - src/views/data/Product.vue | 4 +- src/views/setting/Person.vue | 100 ++++++++++++++-------------- src/views/user/AddUser.vue | 23 +++---- src/views/user/User.vue | 6 +- 10 files changed, 159 insertions(+), 167 deletions(-) diff --git a/package-lock.json b/package-lock.json index 75167d6..99505cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1522,8 +1522,8 @@ }, "abbrev": { "version": "1.1.1", - "resolved": "https://registry.npm.taobao.org/abbrev/download/abbrev-1.1.1.tgz", - "integrity": "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg=" + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, "accepts": { "version": "1.3.7", @@ -1685,8 +1685,8 @@ }, "are-we-there-yet": { "version": "1.1.5", - "resolved": "https://registry.npm.taobao.org/are-we-there-yet/download/are-we-there-yet-1.1.5.tgz", - "integrity": "sha1-SzXClE8GKov82mZBB2A1D+nd/CE=", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "requires": { "delegates": "^1.0.0", "readable-stream": "^2.0.6" @@ -2003,7 +2003,7 @@ }, "babel-plugin-syntax-dynamic-import": { "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", + "resolved": "https://registry.npm.taobao.org/babel-plugin-syntax-dynamic-import/download/babel-plugin-syntax-dynamic-import-6.18.0.tgz", "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=" }, "babel-polyfill": { @@ -5459,8 +5459,8 @@ }, "fstream": { "version": "1.0.12", - "resolved": "https://registry.npm.taobao.org/fstream/download/fstream-1.0.12.tgz", - "integrity": "sha1-Touo7i1Ivk99DeUFRVVI6uWTIEU=", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", "requires": { "graceful-fs": "^4.1.2", "inherits": "~2.0.0", @@ -5523,8 +5523,8 @@ }, "gaze": { "version": "1.1.3", - "resolved": "https://registry.npm.taobao.org/gaze/download/gaze-1.1.3.tgz", - "integrity": "sha1-xEFzPhO5J6yMD/C0w7Az8ogSkko=", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", "requires": { "globule": "^1.0.0" } @@ -5794,8 +5794,8 @@ }, "globule": { "version": "1.3.2", - "resolved": "https://registry.npm.taobao.org/globule/download/globule-1.3.2.tgz", - "integrity": "sha1-2L3Z6eTu+PluJFmZpd7n612FKcQ=", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.2.tgz", + "integrity": "sha512-7IDTQTIu2xzXkT+6mlluidnWo+BypnbSoEVVQCGfzqnl5Ik8d3e1d4wycb8Rj9tWW+Z39uPWsdlquqiqPCd/pA==", "requires": { "glob": "~7.1.1", "lodash": "~4.17.10", @@ -6938,8 +6938,8 @@ }, "in-publish": { "version": "2.0.1", - "resolved": "https://registry.npm.taobao.org/in-publish/download/in-publish-2.0.1.tgz", - "integrity": "sha1-lIsaU1yAMFYc6lIvc/ePS+NX4Aw=" + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", + "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==" }, "indent-string": { "version": "2.1.0", @@ -8358,8 +8358,8 @@ }, "node-gyp": { "version": "3.8.0", - "resolved": "https://registry.nlark.com/node-gyp/download/node-gyp-3.8.0.tgz", - "integrity": "sha1-VAMEJhwzDoDQ1e3OJTpoyzlkIYw=", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", "requires": { "fstream": "^1.0.0", "glob": "^7.0.3", @@ -8451,8 +8451,8 @@ }, "node-sass": { "version": "4.14.1", - "resolved": "https://registry.nlark.com/node-sass/download/node-sass-4.14.1.tgz", - "integrity": "sha1-mch+wu+3BH7WOPtMnbfzpC4iF7U=", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz", + "integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==", "requires": { "async-foreach": "^0.1.3", "chalk": "^1.1.1", @@ -8506,8 +8506,8 @@ }, "lru-cache": { "version": "4.1.5", - "resolved": "https://registry.npm.taobao.org/lru-cache/download/lru-cache-4.1.5.tgz?cache=0&sync_timestamp=1594427582110&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flru-cache%2Fdownload%2Flru-cache-4.1.5.tgz", - "integrity": "sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80=", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", "requires": { "pseudomap": "^1.0.2", "yallist": "^2.1.2" @@ -8585,8 +8585,8 @@ }, "npmlog": { "version": "4.1.2", - "resolved": "https://registry.npm.taobao.org/npmlog/download/npmlog-4.1.2.tgz", - "integrity": "sha1-CKfyqL9zRgR3mp76StXMcXq7lUs=", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "requires": { "are-we-there-yet": "~1.1.2", "console-control-strings": "~1.1.0", @@ -8889,8 +8889,8 @@ }, "osenv": { "version": "0.1.5", - "resolved": "https://registry.npm.taobao.org/osenv/download/osenv-0.1.5.tgz?cache=0&sync_timestamp=1589682762332&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fosenv%2Fdownload%2Fosenv-0.1.5.tgz", - "integrity": "sha1-hc36+uso6Gd/QW4odZK18/SepBA=", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "requires": { "os-homedir": "^1.0.0", "os-tmpdir": "^1.0.0" @@ -10793,8 +10793,8 @@ }, "sass-graph": { "version": "2.2.5", - "resolved": "https://registry.npm.taobao.org/sass-graph/download/sass-graph-2.2.5.tgz", - "integrity": "sha1-qYHIdEa4MZ2W3OBnHkh4eb0kwug=", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz", + "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==", "requires": { "glob": "^7.0.0", "lodash": "^4.0.0", @@ -10804,21 +10804,21 @@ "dependencies": { "emoji-regex": { "version": "7.0.3", - "resolved": "https://registry.nlark.com/emoji-regex/download/emoji-regex-7.0.3.tgz", - "integrity": "sha1-kzoEBShgyF6DwSJHnEdIqOTHIVY=" + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" }, "find-up": { "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/find-up/download/find-up-3.0.0.tgz?cache=0&sync_timestamp=1597169842138&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffind-up%2Fdownload%2Ffind-up-3.0.0.tgz", - "integrity": "sha1-SRafHXmTQwZG2mHsxa41XCHJe3M=", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "requires": { "locate-path": "^3.0.0" } }, "locate-path": { "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/locate-path/download/locate-path-3.0.0.tgz", - "integrity": "sha1-2+w7OrdZdYBxtY/ln8QYca8hQA4=", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "requires": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" @@ -10826,29 +10826,29 @@ }, "p-limit": { "version": "2.3.0", - "resolved": "https://registry.npm.taobao.org/p-limit/download/p-limit-2.3.0.tgz?cache=0&sync_timestamp=1606290276843&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fp-limit%2Fdownload%2Fp-limit-2.3.0.tgz", - "integrity": "sha1-PdM8ZHohT9//2DWTPrCG2g3CHbE=", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "requires": { "p-try": "^2.0.0" } }, "p-locate": { "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/p-locate/download/p-locate-3.0.0.tgz", - "integrity": "sha1-Mi1poFwCZLJZl9n0DNiokasAZKQ=", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "requires": { "p-limit": "^2.0.0" } }, "p-try": { "version": "2.2.0", - "resolved": "https://registry.npm.taobao.org/p-try/download/p-try-2.2.0.tgz", - "integrity": "sha1-yyhoVA4xPWHeWPr741zpAE1VQOY=" + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" }, "string-width": { "version": "3.1.0", - "resolved": "https://registry.nlark.com/string-width/download/string-width-3.1.0.tgz", - "integrity": "sha1-InZ74htirxCBV0MG9prFG2IgOWE=", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "requires": { "emoji-regex": "^7.0.1", "is-fullwidth-code-point": "^2.0.0", @@ -10857,8 +10857,8 @@ }, "yargs": { "version": "13.3.2", - "resolved": "https://registry.nlark.com/yargs/download/yargs-13.3.2.tgz?cache=0&sync_timestamp=1620086465147&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fyargs%2Fdownload%2Fyargs-13.3.2.tgz", - "integrity": "sha1-rX/+/sGqWVZayRX4Lcyzipwxot0=", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", "requires": { "cliui": "^5.0.0", "find-up": "^3.0.0", @@ -10874,8 +10874,8 @@ }, "yargs-parser": { "version": "13.1.2", - "resolved": "https://registry.nlark.com/yargs-parser/download/yargs-parser-13.1.2.tgz", - "integrity": "sha1-Ew8JcC667vJlDVTObj5XBvek+zg=", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", "requires": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" @@ -11614,8 +11614,8 @@ }, "stdout-stream": { "version": "1.4.1", - "resolved": "https://registry.npm.taobao.org/stdout-stream/download/stdout-stream-1.4.1.tgz", - "integrity": "sha1-WsF0zdXNcmEEqgwLK9g4FdjVNd4=", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", "requires": { "readable-stream": "^2.0.1" } @@ -11853,8 +11853,8 @@ }, "tar": { "version": "2.2.2", - "resolved": "https://registry.nlark.com/tar/download/tar-2.2.2.tgz?cache=0&sync_timestamp=1618847250141&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ftar%2Fdownload%2Ftar-2.2.2.tgz", - "integrity": "sha1-DKiEhWLHKZuLRG/2pNYM27I+3EA=", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz", + "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==", "requires": { "block-stream": "*", "fstream": "^1.0.12", @@ -12108,8 +12108,8 @@ }, "true-case-path": { "version": "1.0.3", - "resolved": "https://registry.npm.taobao.org/true-case-path/download/true-case-path-1.0.3.tgz", - "integrity": "sha1-+BO1qMhrQNpZYGcisUTjIleZ9H0=", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", "requires": { "glob": "^7.1.2" } @@ -13143,8 +13143,8 @@ }, "wide-align": { "version": "1.1.3", - "resolved": "https://registry.npm.taobao.org/wide-align/download/wide-align-1.1.3.tgz", - "integrity": "sha1-rgdOa9wMFKQx6ATmJFScYzsABFc=", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "requires": { "string-width": "^1.0.2 || 2" } diff --git a/package.json b/package.json index a13c960..442253c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "@vue/cli-plugin-babel": "^3.9.0", "@vue/cli-service": "^3.9.0", "element-theme-chalk": "^2.13.0", - "node-sass": "^4.14.1", "sass-loader": "^8.0.0", "vue-template-compiler": "^2.6.10" } diff --git a/src/components/Header.vue b/src/components/Header.vue index 93e4191..af3ddae 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -6,8 +6,8 @@
- - {{username}} + + {{userName}}
退出 @@ -19,20 +19,21 @@ export default { data() { return { - collapse: false, - fullscreen: false, - name: 'huoran', - message: 2, - circleUrl: "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", + avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png', + userName: '' }; }, - computed: { - username() { - let username = localStorage.getItem('ms_username'); - return username ? username : this.name; - } + mounted(){ + this.userName || this.getUserInfo() }, methods: { + getUserInfo(){ + this.$get(this.api.queryUserInfoDetails).then(res => { + let userInfo = res.result.hrUserInfo + this.avatar = userInfo.userAvatars + this.userName = userInfo.userName + }).catch(err => {}) + }, toPerson(){ this.$router.push('/person') }, diff --git a/src/utils/api.js b/src/utils/api.js index 97a38ba..b550c60 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -47,20 +47,20 @@ export default { queryPlatform: `${host}/liuwanr/userInfo/queryPlatform`, // 用户管理 - delUserAccount: `${host3}/users/userAccount/delUserAccount`, + delUserAccounts: `${host3}/users/userAccount/delUserAccounts`, queryUserInfoDetails: `${host3}/users/userAccount/queryUserInfoDetails`, queryUserInfoList: `${host3}/users/userAccount/queryUserInfoList`, resetPwd: `${host3}/users/userAccount/resetPwd`, selectAccountDetail: `${host3}/users/userAccount/selectAccountDetail`, selectUserSysBind: `${host3}/users/userAccount/selectUserSysBind`, updatePersonCenter: `${host3}/users/userAccount/updatePersonCenter`, - updateUserAvatars: `${host3}/users/userAccount/updateUserAvatars`, + updateUserAvatars: `${host2}/users/userAccount/updateUserAvatars`, userInfo: `${host3}/users/userAccount/userInfo`, - bindPhone: `${host3}/users/userAccount/bindPhone`, - sendPhoneCode: `${host3}/users/userAccount/sendPhoneCode`, - findPasswordByPhone: `${host3}/users/userAccount/findPasswordByPhone`, + bindPhoneOrEmail: `${host3}/users/userAccount/bindPhoneOrEmail`, + sendPhoneOrEmailCode: `${host3}/users/userAccount/sendPhoneOrEmailCode`, updateAccountEnable: `${host3}/users/userAccount/updateAccountEnable`, updateAccountAllEnable: `${host3}/users/userAccount/updateAccountAllEnable`, + examinePassword: `${host3}/users/userAccount/examinePassword`, queryOrder: `${host}/liuwanr/order/queryOrder`, //查询订单 queryOrderDetails: `${host}/liuwanr/order/queryOrderDetails`, //查询订单详情 @@ -97,9 +97,9 @@ export default { queryProvince: `${host3}/nakadai/province/queryProvince`, //查询省份 queryCity: `${host3}/nakadai/city/queryCity`, //查询城市 - queryCourseDiscipline: `${host}/liuwanr/course/queryCourseDiscipline`, //查询课程学科 - queryCourseProfessionalClass: `${host}/liuwanr/course/queryCourseProfessionalClass`, //查询专业类 - queryCourseProfessional: `${host}/liuwanr/course/queryCourseProfessional`, //查询专业 + queryCourseDiscipline: `${host3}/nakadai/discipline/queryDiscipline`, //查询课程学科 + queryCourseProfessionalClass: `${host3}/nakadai/professionalClass/queryProfessionalClass`, //查询专业类 + queryCourseProfessional: `${host3}/nakadai/professional/queryProfessional`, //查询专业 queryAppConfig: `${host}/liuwanr/course/queryAppConfig`, //查询应用配置 queryTrainingConfig: `${host}/liuwanr/course/queryConfig`, //查询实训配置 deleteTrainingConfig: `${host}/liuwanr/course/deleteTrainingConfig`, //删除实训配置 @@ -114,23 +114,23 @@ export default { downloadFiles: `${host}/liuwanr/aliyun/downloadFiles`, //下载文件 // 数据管理 - getIdQueryTable:`${host}/data/table/getIdQueryTable`, - getTableByClassification:`${host}/data/table/getTableByClassification`, - getTableByCondition:`${host}/data/table/getTableByCondition`, - originalList:`${host}/data/table/originalList`, - originalListById:`${host}/data/table/originalListById`, - saveCategory:`${host}/data/table/saveCategory`, - saveTable:`${host}/data/table/saveTable`, - updateCategory:`${host}/data/table/updateCategory`, - deleteCategory:`${host}/data/table/deleteCategory`, - deleteTable:`${host}/data/table/deleteTable`, - previewData:`${host}/data/preview`, + getIdQueryTable:`${host1}/data/table/getIdQueryTable`, + getTableByClassification:`${host1}/data/table/getTableByClassification`, + getTableByCondition:`${host1}/data/table/getTableByCondition`, + originalList:`${host1}/data/table/originalList`, + originalListById:`${host1}/data/table/originalListById`, + saveCategory:`${host1}/data/table/saveCategory`, + saveTable:`${host1}/data/table/saveTable`, + updateCategory:`${host1}/data/table/updateCategory`, + deleteCategory:`${host1}/data/table/deleteCategory`, + deleteTable:`${host1}/data/table/deleteTable`, + previewData:`${host1}/data/preview`, // 产品管理 - deleteProduct:`${host}/data/product/delete`, - findById:`${host}/data/product/findById`, - listByEntity:`${host}/data/product/listByEntity`, - saveProduct:`${host}/data/product/save`, - updateProduct:`${host}/data/product/update`, - saveRecord:`${host}/data/dataRecord/saveRecord`, + deleteProduct:`${host1}/data/product/delete`, + findById:`${host1}/data/product/findById`, + listByEntity:`${host1}/data/product/listByEntity`, + saveProduct:`${host1}/data/product/save`, + updateProduct:`${host1}/data/product/update`, + saveRecord:`${host1}/data/dataRecord/saveRecord`, } \ No newline at end of file diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue index ecab81f..9b0b776 100644 --- a/src/views/customer/AddCustomer.vue +++ b/src/views/customer/AddCustomer.vue @@ -7,9 +7,9 @@
返回 - +
- 确定 + 确定
@@ -171,15 +171,15 @@ - + - + - + - + - +