Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
online-edu
online-edu-admin
Commits
bd092ab2
Commit
bd092ab2
authored
Sep 03, 2021
by
Liu Peng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加标签会员价格修改
parent
be93511f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
20 deletions
+39
-20
user.js
src/api/admin/user.js
+19
-18
index.vue
src/views/biz/priceConfig/index.vue
+0
-0
vue.config.js
vue.config.js
+2
-2
yarn.lock
yarn.lock
+18
-0
No files found.
src/api/admin/user.js
View file @
bd092ab2
...
@@ -3,31 +3,33 @@
...
@@ -3,31 +3,33 @@
*****************/
*****************/
// 导入请求公用方法
// 导入请求公用方法
import
{
import
{
request
}
from
"../../utils/axiosFun"
;
request
}
from
'../../utils/axiosFun'
;
export
const
fetchList
=
(
query
)
=>
{
export
const
fetchList
=
(
query
)
=>
{
return
request
(
'post'
,
'/api/sys/user/list'
,
query
,
"F"
)
return
request
(
"post"
,
"/api/sys/user/list"
,
query
,
"F"
);
}
}
;
export
const
addObj
=
(
obj
)
=>
{
export
const
addObj
=
(
obj
)
=>
{
return
request
(
'post'
,
'/api/sys/user/save'
,
obj
)
return
request
(
"post"
,
"/api/sys/user/save"
,
obj
);
}
}
;
export
const
delObj
=
(
ids
)
=>
{
export
const
delObj
=
(
ids
)
=>
{
return
request
(
'post'
,
'/api/sys/user/delete'
,
ids
)
return
request
(
"post"
,
"/api/sys/user/delete"
,
ids
);
}
}
;
export
const
putObj
=
(
obj
)
=>
{
export
const
putObj
=
(
obj
)
=>
{
return
request
(
'post'
,
'/api/sys/user/update'
,
obj
)
return
request
(
"post"
,
"/api/sys/user/update"
,
obj
);
}
}
;
export
const
getObj
=
(
id
)
=>
{
export
const
getObj
=
(
id
)
=>
{
return
request
(
'get'
,
'/api/sys/user/info/'
+
id
)
return
request
(
"get"
,
"/api/sys/user/info/"
+
id
);
}
}
;
export
const
getCurrentInfo
=
()
=>
{
export
const
getCurrentInfo
=
()
=>
{
return
request
(
'get'
,
'/api/sys/user/info'
,{})
return
request
(
"get"
,
"/api/sys/user/info"
,
{});
}
}
;
export
const
changePassword
=
(
obj
)
=>
{
export
const
changePassword
=
(
obj
)
=>
{
return
request
(
'post'
,
'/api/sys/user/password'
,
obj
)
return
request
(
"post"
,
"/api/sys/user/password"
,
obj
);
}
};
\ No newline at end of file
export
const
fetchAllUserTags
=
(
query
)
=>
{
return
request
(
"post"
,
"/api/mgr/userTag/list"
,
query
,
"F"
);
};
src/views/biz/priceConfig/index.vue
View file @
bd092ab2
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
bd092ab2
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* https://cli.vuejs.org/zh/config/#%E7%9B%AE%E6%A0%87%E6%B5%8F%E8%A7%88%E5%99%A8
* https://cli.vuejs.org/zh/config/#%E7%9B%AE%E6%A0%87%E6%B5%8F%E8%A7%88%E5%99%A8
*
*
*/
*/
//
const url = 'http://edu.qkdata.com:10081'
const
url
=
'http://edu.qkdata.com:10081'
const
url
=
'http://localhost:9090'
//
const url = 'http://localhost:9090'
// 基础路径,发布前修改这里,当前配置打包出来的资源都是相对路径
// 基础路径,发布前修改这里,当前配置打包出来的资源都是相对路径
let
publicPath
=
'/admin'
let
publicPath
=
'/admin'
...
...
yarn.lock
View file @
bd092ab2
...
@@ -1174,6 +1174,11 @@
...
@@ -1174,6 +1174,11 @@
dependencies:
dependencies:
source-map "^0.6.1"
source-map "^0.6.1"
"@types/uuid@^8.0.0":
version "8.3.1"
resolved "http://192.168.10.201:8081/repository/npm-public/@types/uuid/-/uuid-8.3.1.tgz#1a32969cf8f0364b3d8c8af9cc3555b7805df14f"
integrity sha1-GjKWnPjwNks9jIr5zDVVt4Bd8U8=
"@types/webpack-dev-server@^3.11.0":
"@types/webpack-dev-server@^3.11.0":
version "3.11.4"
version "3.11.4"
resolved "http://192.168.10.201:8081/repository/npm-public/@types/webpack-dev-server/-/webpack-dev-server-3.11.4.tgz#90d47dd660b696d409431ab8c1e9fa3615103a07"
resolved "http://192.168.10.201:8081/repository/npm-public/@types/webpack-dev-server/-/webpack-dev-server-3.11.4.tgz#90d47dd660b696d409431ab8c1e9fa3615103a07"
...
@@ -8353,6 +8358,11 @@ uuid@^3.3.2, uuid@^3.4.0:
...
@@ -8353,6 +8358,11 @@ uuid@^3.3.2, uuid@^3.4.0:
resolved "http://192.168.10.201:8081/repository/npm-public/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
resolved "http://192.168.10.201:8081/repository/npm-public/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=
integrity sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=
uuid@^8.1.0:
version "8.3.2"
resolved "http://192.168.10.201:8081/repository/npm-public/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha1-gNW1ztJxu5r2xEXyGhoExgbO++I=
validate-npm-package-license@^3.0.1:
validate-npm-package-license@^3.0.1:
version "3.0.4"
version "3.0.4"
resolved "http://192.168.10.201:8081/repository/npm-public/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
resolved "http://192.168.10.201:8081/repository/npm-public/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
...
@@ -8460,6 +8470,14 @@ vue-template-es2015-compiler@^1.9.0:
...
@@ -8460,6 +8470,14 @@ vue-template-es2015-compiler@^1.9.0:
resolved "http://192.168.10.201:8081/repository/npm-public/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
resolved "http://192.168.10.201:8081/repository/npm-public/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
integrity sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=
integrity sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=
vue-uuid@2.0.2:
version "2.0.2"
resolved "http://192.168.10.201:8081/repository/npm-public/vue-uuid/-/vue-uuid-2.0.2.tgz#0cfb739e660a3af1d4e3342743578114f79b2438"
integrity sha1-DPtznmYKOvHU4zQnQ1eBFPebJDg=
dependencies:
"@types/uuid" "^8.0.0"
uuid "^8.1.0"
vue@^2.6.10:
vue@^2.6.10:
version "2.6.12"
version "2.6.12"
resolved "http://192.168.10.201:8081/repository/npm-public/vue/-/vue-2.6.12.tgz#f5ebd4fa6bd2869403e29a896aed4904456c9123"
resolved "http://192.168.10.201:8081/repository/npm-public/vue/-/vue-2.6.12.tgz#f5ebd4fa6bd2869403e29a896aed4904456c9123"
...
...
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